Class AmazonS3BucketConditions

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

@Generated public final class AmazonS3BucketConditions extends com.google.protobuf.GeneratedMessage implements AmazonS3BucketConditionsOrBuilder
 Amazon S3 bucket conditions.
 
Protobuf type google.privacy.dlp.v2.AmazonS3BucketConditions
See Also:
  • Field Details

    • BUCKET_TYPES_FIELD_NUMBER

      public static final int BUCKET_TYPES_FIELD_NUMBER
      See Also:
    • OBJECT_STORAGE_CLASSES_FIELD_NUMBER

      public static final int OBJECT_STORAGE_CLASSES_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
    • getBucketTypesList

      public List<AmazonS3BucketConditions.BucketType> getBucketTypesList()
       Optional. Bucket types that should be profiled.
       Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType bucket_types = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketTypesList in interface AmazonS3BucketConditionsOrBuilder
      Returns:
      A list containing the bucketTypes.
    • getBucketTypesCount

      public int getBucketTypesCount()
       Optional. Bucket types that should be profiled.
       Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType bucket_types = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketTypesCount in interface AmazonS3BucketConditionsOrBuilder
      Returns:
      The count of bucketTypes.
    • getBucketTypes

      public AmazonS3BucketConditions.BucketType getBucketTypes(int index)
       Optional. Bucket types that should be profiled.
       Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType bucket_types = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketTypes in interface AmazonS3BucketConditionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The bucketTypes at the given index.
    • getBucketTypesValueList

      public List<Integer> getBucketTypesValueList()
       Optional. Bucket types that should be profiled.
       Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType bucket_types = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketTypesValueList in interface AmazonS3BucketConditionsOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for bucketTypes.
    • getBucketTypesValue

      public int getBucketTypesValue(int index)
       Optional. Bucket types that should be profiled.
       Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType bucket_types = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketTypesValue in interface AmazonS3BucketConditionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of bucketTypes at the given index.
    • getObjectStorageClassesList

      public List<AmazonS3BucketConditions.ObjectStorageClass> getObjectStorageClassesList()
       Optional. Object classes that should be profiled.
       Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass object_storage_classes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getObjectStorageClassesList in interface AmazonS3BucketConditionsOrBuilder
      Returns:
      A list containing the objectStorageClasses.
    • getObjectStorageClassesCount

      public int getObjectStorageClassesCount()
       Optional. Object classes that should be profiled.
       Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass object_storage_classes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getObjectStorageClassesCount in interface AmazonS3BucketConditionsOrBuilder
      Returns:
      The count of objectStorageClasses.
    • getObjectStorageClasses

      public AmazonS3BucketConditions.ObjectStorageClass getObjectStorageClasses(int index)
       Optional. Object classes that should be profiled.
       Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass object_storage_classes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getObjectStorageClasses in interface AmazonS3BucketConditionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The objectStorageClasses at the given index.
    • getObjectStorageClassesValueList

      public List<Integer> getObjectStorageClassesValueList()
       Optional. Object classes that should be profiled.
       Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass object_storage_classes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getObjectStorageClassesValueList in interface AmazonS3BucketConditionsOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for objectStorageClasses.
    • getObjectStorageClassesValue

      public int getObjectStorageClassesValue(int index)
       Optional. Object classes that should be profiled.
       Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.
       
      repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass object_storage_classes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getObjectStorageClassesValue in interface AmazonS3BucketConditionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of objectStorageClasses at the given index.
    • 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 AmazonS3BucketConditions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AmazonS3BucketConditions.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static AmazonS3BucketConditions getDefaultInstance()
    • parser

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

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