Class DropInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkmanagement.v1beta1.DropInfo
- All Implemented Interfaces:
DropInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DropInfo
extends com.google.protobuf.GeneratedMessage
implements DropInfoOrBuilder
Details of the final state "drop" and associated resource.Protobuf type
google.cloud.networkmanagement.v1beta1.DropInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails of the final state "drop" and associated resource.static enumDrop cause types:Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCause()Cause that the packet is dropped.intCause that the packet is dropped.static DropInfostatic final com.google.protobuf.Descriptors.DescriptorGeolocation (region code) of the destination IP address (if relevant).com.google.protobuf.ByteStringGeolocation (region code) of the destination IP address (if relevant).Destination IP address of the dropped packet (if relevant).com.google.protobuf.ByteStringDestination IP address of the dropped packet (if relevant).com.google.protobuf.Parser<DropInfo>Region of the dropped packet (if relevant).com.google.protobuf.ByteStringRegion of the dropped packet (if relevant).URI of the resource that caused the drop.com.google.protobuf.ByteStringURI of the resource that caused the drop.intGeolocation (region code) of the source IP address (if relevant).com.google.protobuf.ByteStringGeolocation (region code) of the source IP address (if relevant).Source IP address of the dropped packet (if relevant).com.google.protobuf.ByteStringSource IP address of the dropped packet (if relevant).inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DropInfo.Builderstatic DropInfo.BuildernewBuilder(DropInfo prototype) protected DropInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DropInfoparseDelimitedFrom(InputStream input) static DropInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DropInfoparseFrom(byte[] data) static DropInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DropInfoparseFrom(com.google.protobuf.ByteString data) static DropInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DropInfoparseFrom(com.google.protobuf.CodedInputStream input) static DropInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DropInfoparseFrom(InputStream input) static DropInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DropInfoparseFrom(ByteBuffer data) static DropInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DropInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CAUSE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER- See Also:
-
RESOURCE_URI_FIELD_NUMBER
public static final int RESOURCE_URI_FIELD_NUMBER- See Also:
-
SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER- See Also:
-
DESTINATION_IP_FIELD_NUMBER
public static final int DESTINATION_IP_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
SOURCE_GEOLOCATION_CODE_FIELD_NUMBER
public static final int SOURCE_GEOLOCATION_CODE_FIELD_NUMBER- See Also:
-
DESTINATION_GEOLOCATION_CODE_FIELD_NUMBER
public static final int DESTINATION_GEOLOCATION_CODE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getCauseValue
public int getCauseValue()Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;- Specified by:
getCauseValuein interfaceDropInfoOrBuilder- Returns:
- The enum numeric value on the wire for cause.
-
getCause
Cause that the packet is dropped.
.google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;- Specified by:
getCausein interfaceDropInfoOrBuilder- Returns:
- The cause.
-
getResourceUri
URI of the resource that caused the drop.
string resource_uri = 2;- Specified by:
getResourceUriin interfaceDropInfoOrBuilder- Returns:
- The resourceUri.
-
getResourceUriBytes
public com.google.protobuf.ByteString getResourceUriBytes()URI of the resource that caused the drop.
string resource_uri = 2;- Specified by:
getResourceUriBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for resourceUri.
-
getSourceIp
Source IP address of the dropped packet (if relevant).
string source_ip = 3;- Specified by:
getSourceIpin interfaceDropInfoOrBuilder- Returns:
- The sourceIp.
-
getSourceIpBytes
public com.google.protobuf.ByteString getSourceIpBytes()Source IP address of the dropped packet (if relevant).
string source_ip = 3;- Specified by:
getSourceIpBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for sourceIp.
-
getDestinationIp
Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;- Specified by:
getDestinationIpin interfaceDropInfoOrBuilder- Returns:
- The destinationIp.
-
getDestinationIpBytes
public com.google.protobuf.ByteString getDestinationIpBytes()Destination IP address of the dropped packet (if relevant).
string destination_ip = 4;- Specified by:
getDestinationIpBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for destinationIp.
-
getRegion
Region of the dropped packet (if relevant).
string region = 5;- Specified by:
getRegionin interfaceDropInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Region of the dropped packet (if relevant).
string region = 5;- Specified by:
getRegionBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for region.
-
getSourceGeolocationCode
Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;- Specified by:
getSourceGeolocationCodein interfaceDropInfoOrBuilder- Returns:
- The sourceGeolocationCode.
-
getSourceGeolocationCodeBytes
public com.google.protobuf.ByteString getSourceGeolocationCodeBytes()Geolocation (region code) of the source IP address (if relevant).
string source_geolocation_code = 6;- Specified by:
getSourceGeolocationCodeBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for sourceGeolocationCode.
-
getDestinationGeolocationCode
Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;- Specified by:
getDestinationGeolocationCodein interfaceDropInfoOrBuilder- Returns:
- The destinationGeolocationCode.
-
getDestinationGeolocationCodeBytes
public com.google.protobuf.ByteString getDestinationGeolocationCodeBytes()Geolocation (region code) of the destination IP address (if relevant).
string destination_geolocation_code = 7;- Specified by:
getDestinationGeolocationCodeBytesin interfaceDropInfoOrBuilder- Returns:
- The bytes for destinationGeolocationCode.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DropInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DropInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DropInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DropInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DropInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DropInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DropInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DropInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DropInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DropInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-