Class AmazonS3BucketConditions (3.59.0)

public final class AmazonS3BucketConditions extends GeneratedMessageV3 implements AmazonS3BucketConditionsOrBuilder

Amazon S3 bucket conditions.

Protobuf type google.privacy.dlp.v2.AmazonS3BucketConditions

Static Fields

BUCKET_TYPES_FIELD_NUMBER

public static final int BUCKET_TYPES_FIELD_NUMBER
Field Value
Type Description
int

OBJECT_STORAGE_CLASSES_FIELD_NUMBER

public static final int OBJECT_STORAGE_CLASSES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AmazonS3BucketConditions getDefaultInstance()
Returns
Type Description
AmazonS3BucketConditions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AmazonS3BucketConditions.Builder newBuilder()
Returns
Type Description
AmazonS3BucketConditions.Builder

newBuilder(AmazonS3BucketConditions prototype)

public static AmazonS3BucketConditions.Builder newBuilder(AmazonS3BucketConditions prototype)
Parameter
Name Description
prototype AmazonS3BucketConditions
Returns
Type Description
AmazonS3BucketConditions.Builder

parseDelimitedFrom(InputStream input)

public static AmazonS3BucketConditions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AmazonS3BucketConditions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AmazonS3BucketConditions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AmazonS3BucketConditions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AmazonS3BucketConditions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AmazonS3BucketConditions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AmazonS3BucketConditions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AmazonS3BucketConditions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AmazonS3BucketConditions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AmazonS3BucketConditions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AmazonS3BucketConditions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AmazonS3BucketConditions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3BucketConditions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AmazonS3BucketConditions> parser()
Returns
Type Description
Parser<AmazonS3BucketConditions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBucketTypes(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
AmazonS3BucketConditions.BucketType

The bucketTypes at the given index.

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];

Returns
Type Description
int

The count of bucketTypes.

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];

Returns
Type Description
List<BucketType>

A list containing the bucketTypes.

getBucketTypesValue(int index)

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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of 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];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for bucketTypes.

getDefaultInstanceForType()

public AmazonS3BucketConditions getDefaultInstanceForType()
Returns
Type Description
AmazonS3BucketConditions

getObjectStorageClasses(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
AmazonS3BucketConditions.ObjectStorageClass

The objectStorageClasses at the given index.

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];

Returns
Type Description
int

The count of objectStorageClasses.

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];

Returns
Type Description
List<ObjectStorageClass>

A list containing the objectStorageClasses.

getObjectStorageClassesValue(int index)

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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of 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];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for objectStorageClasses.

getParserForType()

public Parser<AmazonS3BucketConditions> getParserForType()
Returns
Type Description
Parser<AmazonS3BucketConditions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AmazonS3BucketConditions.Builder newBuilderForType()
Returns
Type Description
AmazonS3BucketConditions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AmazonS3BucketConditions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AmazonS3BucketConditions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AmazonS3BucketConditions.Builder toBuilder()
Returns
Type Description
AmazonS3BucketConditions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException