Class MetadataLocation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.MetadataLocation
All Implemented Interfaces:
MetadataLocationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class MetadataLocation extends com.google.protobuf.GeneratedMessage implements MetadataLocationOrBuilder
 Metadata Location
 
Protobuf type google.privacy.dlp.v2.MetadataLocation
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • STORAGE_LABEL_FIELD_NUMBER

      public static final int STORAGE_LABEL_FIELD_NUMBER
      See Also:
    • KEY_VALUE_METADATA_LABEL_FIELD_NUMBER

      public static final int KEY_VALUE_METADATA_LABEL_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
    • getLabelCase

      public MetadataLocation.LabelCase getLabelCase()
      Specified by:
      getLabelCase in interface MetadataLocationOrBuilder
    • getTypeValue

      public int getTypeValue()
       Type of metadata containing the finding.
       
      .google.privacy.dlp.v2.MetadataType type = 1;
      Specified by:
      getTypeValue in interface MetadataLocationOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public MetadataType getType()
       Type of metadata containing the finding.
       
      .google.privacy.dlp.v2.MetadataType type = 1;
      Specified by:
      getType in interface MetadataLocationOrBuilder
      Returns:
      The type.
    • hasStorageLabel

      public boolean hasStorageLabel()
       Storage metadata.
       
      .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
      Specified by:
      hasStorageLabel in interface MetadataLocationOrBuilder
      Returns:
      Whether the storageLabel field is set.
    • getStorageLabel

      public StorageMetadataLabel getStorageLabel()
       Storage metadata.
       
      .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
      Specified by:
      getStorageLabel in interface MetadataLocationOrBuilder
      Returns:
      The storageLabel.
    • getStorageLabelOrBuilder

      public StorageMetadataLabelOrBuilder getStorageLabelOrBuilder()
       Storage metadata.
       
      .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
      Specified by:
      getStorageLabelOrBuilder in interface MetadataLocationOrBuilder
    • hasKeyValueMetadataLabel

      public boolean hasKeyValueMetadataLabel()
       Metadata key that contains the finding.
       
      .google.privacy.dlp.v2.KeyValueMetadataLabel key_value_metadata_label = 4;
      Specified by:
      hasKeyValueMetadataLabel in interface MetadataLocationOrBuilder
      Returns:
      Whether the keyValueMetadataLabel field is set.
    • getKeyValueMetadataLabel

      public KeyValueMetadataLabel getKeyValueMetadataLabel()
       Metadata key that contains the finding.
       
      .google.privacy.dlp.v2.KeyValueMetadataLabel key_value_metadata_label = 4;
      Specified by:
      getKeyValueMetadataLabel in interface MetadataLocationOrBuilder
      Returns:
      The keyValueMetadataLabel.
    • getKeyValueMetadataLabelOrBuilder

      public KeyValueMetadataLabelOrBuilder getKeyValueMetadataLabelOrBuilder()
       Metadata key that contains the finding.
       
      .google.privacy.dlp.v2.KeyValueMetadataLabel key_value_metadata_label = 4;
      Specified by:
      getKeyValueMetadataLabelOrBuilder in interface MetadataLocationOrBuilder
    • 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 MetadataLocation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MetadataLocation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MetadataLocation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MetadataLocation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MetadataLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MetadataLocation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public static MetadataLocation.Builder newBuilder()
    • newBuilder

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

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

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

      public static MetadataLocation getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MetadataLocation> 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 MetadataLocation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder