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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Details of the final state "drop" and associated resource.
    static enum 
    Drop 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Cause that the packet is dropped.
    int
    Cause that the packet is dropped.
    static DropInfo
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Geolocation (region code) of the destination IP address (if relevant).
    com.google.protobuf.ByteString
    Geolocation (region code) of the destination IP address (if relevant).
    Destination IP address of the dropped packet (if relevant).
    com.google.protobuf.ByteString
    Destination IP address of the dropped packet (if relevant).
    com.google.protobuf.Parser<DropInfo>
     
    Region of the dropped packet (if relevant).
    com.google.protobuf.ByteString
    Region of the dropped packet (if relevant).
    URI of the resource that caused the drop.
    com.google.protobuf.ByteString
    URI of the resource that caused the drop.
    int
     
    Geolocation (region code) of the source IP address (if relevant).
    com.google.protobuf.ByteString
    Geolocation (region code) of the source IP address (if relevant).
    Source IP address of the dropped packet (if relevant).
    com.google.protobuf.ByteString
    Source IP address of the dropped packet (if relevant).
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(DropInfo prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static DropInfo
     
    static DropInfo
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DropInfo
    parseFrom(byte[] data)
     
    static DropInfo
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DropInfo
    parseFrom(com.google.protobuf.ByteString data)
     
    static DropInfo
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DropInfo
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static DropInfo
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DropInfo
     
    static DropInfo
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DropInfo
     
    static DropInfo
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<DropInfo>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getCauseValue

      public int getCauseValue()
       Cause that the packet is dropped.
       
      .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;
      Specified by:
      getCauseValue in interface DropInfoOrBuilder
      Returns:
      The enum numeric value on the wire for cause.
    • getCause

      public DropInfo.Cause getCause()
       Cause that the packet is dropped.
       
      .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1;
      Specified by:
      getCause in interface DropInfoOrBuilder
      Returns:
      The cause.
    • getResourceUri

      public String getResourceUri()
       URI of the resource that caused the drop.
       
      string resource_uri = 2;
      Specified by:
      getResourceUri in interface DropInfoOrBuilder
      Returns:
      The resourceUri.
    • getResourceUriBytes

      public com.google.protobuf.ByteString getResourceUriBytes()
       URI of the resource that caused the drop.
       
      string resource_uri = 2;
      Specified by:
      getResourceUriBytes in interface DropInfoOrBuilder
      Returns:
      The bytes for resourceUri.
    • getSourceIp

      public String getSourceIp()
       Source IP address of the dropped packet (if relevant).
       
      string source_ip = 3;
      Specified by:
      getSourceIp in interface DropInfoOrBuilder
      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:
      getSourceIpBytes in interface DropInfoOrBuilder
      Returns:
      The bytes for sourceIp.
    • getDestinationIp

      public String getDestinationIp()
       Destination IP address of the dropped packet (if relevant).
       
      string destination_ip = 4;
      Specified by:
      getDestinationIp in interface DropInfoOrBuilder
      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:
      getDestinationIpBytes in interface DropInfoOrBuilder
      Returns:
      The bytes for destinationIp.
    • getRegion

      public String getRegion()
       Region of the dropped packet (if relevant).
       
      string region = 5;
      Specified by:
      getRegion in interface DropInfoOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Region of the dropped packet (if relevant).
       
      string region = 5;
      Specified by:
      getRegionBytes in interface DropInfoOrBuilder
      Returns:
      The bytes for region.
    • getSourceGeolocationCode

      public String getSourceGeolocationCode()
       Geolocation (region code) of the source IP address (if relevant).
       
      string source_geolocation_code = 6;
      Specified by:
      getSourceGeolocationCode in interface DropInfoOrBuilder
      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:
      getSourceGeolocationCodeBytes in interface DropInfoOrBuilder
      Returns:
      The bytes for sourceGeolocationCode.
    • getDestinationGeolocationCode

      public String getDestinationGeolocationCode()
       Geolocation (region code) of the destination IP address (if relevant).
       
      string destination_geolocation_code = 7;
      Specified by:
      getDestinationGeolocationCode in interface DropInfoOrBuilder
      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:
      getDestinationGeolocationCodeBytes in interface DropInfoOrBuilder
      Returns:
      The bytes for destinationGeolocationCode.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static DropInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DropInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DropInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DropInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DropInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DropInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DropInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DropInfo.Builder newBuilder()
    • newBuilder

      public static DropInfo.Builder newBuilder(DropInfo prototype)
    • toBuilder

      public DropInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DropInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DropInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DropInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<DropInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DropInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder