Package com.google.privacy.dlp.v2
Class AmazonS3BucketConditions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AmazonS3BucketConditions.Builder>
com.google.privacy.dlp.v2.AmazonS3BucketConditions.Builder
- All Implemented Interfaces:
AmazonS3BucketConditionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AmazonS3BucketConditions
public static final class AmazonS3BucketConditions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AmazonS3BucketConditions.Builder>
implements AmazonS3BucketConditionsOrBuilder
Amazon S3 bucket conditions.Protobuf type
google.privacy.dlp.v2.AmazonS3BucketConditions-
Method Summary
Modifier and TypeMethodDescriptionaddAllBucketTypes(Iterable<? extends AmazonS3BucketConditions.BucketType> values) Optional.addAllBucketTypesValue(Iterable<Integer> values) Optional.addAllObjectStorageClasses(Iterable<? extends AmazonS3BucketConditions.ObjectStorageClass> values) Optional.Optional.Optional.addBucketTypesValue(int value) Optional.Optional.addObjectStorageClassesValue(int value) Optional.build()clear()Optional.Optional.getBucketTypes(int index) Optional.intOptional.Optional.intgetBucketTypesValue(int index) Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetObjectStorageClasses(int index) Optional.intOptional.Optional.intgetObjectStorageClassesValue(int index) Optional.Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBucketTypes(int index, AmazonS3BucketConditions.BucketType value) Optional.setBucketTypesValue(int index, int value) Optional.setObjectStorageClasses(int index, AmazonS3BucketConditions.ObjectStorageClass value) Optional.setObjectStorageClassesValue(int index, int value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<AmazonS3BucketConditions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AmazonS3BucketConditions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AmazonS3BucketConditions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AmazonS3BucketConditions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AmazonS3BucketConditions.Builder>
-
mergeFrom
public AmazonS3BucketConditions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AmazonS3BucketConditions.Builder>- Throws:
IOException
-
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:
getBucketTypesListin interfaceAmazonS3BucketConditionsOrBuilder- 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:
getBucketTypesCountin interfaceAmazonS3BucketConditionsOrBuilder- Returns:
- The count of bucketTypes.
-
getBucketTypes
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:
getBucketTypesin interfaceAmazonS3BucketConditionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The bucketTypes at the given index.
-
setBucketTypes
public AmazonS3BucketConditions.Builder setBucketTypes(int index, AmazonS3BucketConditions.BucketType value) 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];- Parameters:
index- The index to set the value at.value- The bucketTypes to set.- Returns:
- This builder for chaining.
-
addBucketTypes
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];- Parameters:
value- The bucketTypes to add.- Returns:
- This builder for chaining.
-
addAllBucketTypes
public AmazonS3BucketConditions.Builder addAllBucketTypes(Iterable<? extends AmazonS3BucketConditions.BucketType> values) 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];- Parameters:
values- The bucketTypes to add.- Returns:
- This builder for chaining.
-
clearBucketTypes
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:
- This builder for chaining.
-
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:
getBucketTypesValueListin interfaceAmazonS3BucketConditionsOrBuilder- 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:
getBucketTypesValuein interfaceAmazonS3BucketConditionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of bucketTypes at the given index.
-
setBucketTypesValue
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];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for bucketTypes to set.- Returns:
- This builder for chaining.
-
addBucketTypesValue
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];- Parameters:
value- The enum numeric value on the wire for bucketTypes to add.- Returns:
- This builder for chaining.
-
addAllBucketTypesValue
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];- Parameters:
values- The enum numeric values on the wire for bucketTypes to add.- Returns:
- This builder for chaining.
-
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:
getObjectStorageClassesListin interfaceAmazonS3BucketConditionsOrBuilder- 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:
getObjectStorageClassesCountin interfaceAmazonS3BucketConditionsOrBuilder- Returns:
- The count of objectStorageClasses.
-
getObjectStorageClasses
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:
getObjectStorageClassesin interfaceAmazonS3BucketConditionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The objectStorageClasses at the given index.
-
setObjectStorageClasses
public AmazonS3BucketConditions.Builder setObjectStorageClasses(int index, AmazonS3BucketConditions.ObjectStorageClass value) 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];- Parameters:
index- The index to set the value at.value- The objectStorageClasses to set.- Returns:
- This builder for chaining.
-
addObjectStorageClasses
public AmazonS3BucketConditions.Builder addObjectStorageClasses(AmazonS3BucketConditions.ObjectStorageClass value) 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];- Parameters:
value- The objectStorageClasses to add.- Returns:
- This builder for chaining.
-
addAllObjectStorageClasses
public AmazonS3BucketConditions.Builder addAllObjectStorageClasses(Iterable<? extends AmazonS3BucketConditions.ObjectStorageClass> values) 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];- Parameters:
values- The objectStorageClasses to add.- Returns:
- This builder for chaining.
-
clearObjectStorageClasses
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:
- This builder for chaining.
-
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:
getObjectStorageClassesValueListin interfaceAmazonS3BucketConditionsOrBuilder- 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:
getObjectStorageClassesValuein interfaceAmazonS3BucketConditionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of objectStorageClasses at the given index.
-
setObjectStorageClassesValue
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];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for objectStorageClasses to set.- Returns:
- This builder for chaining.
-
addObjectStorageClassesValue
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];- Parameters:
value- The enum numeric value on the wire for objectStorageClasses to add.- Returns:
- This builder for chaining.
-
addAllObjectStorageClassesValue
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];- Parameters:
values- The enum numeric values on the wire for objectStorageClasses to add.- Returns:
- This builder for chaining.
-