public static final class IntelligenceConfig.Filter.CloudStorageBuckets.Builder extends GeneratedMessageV3.Builder<IntelligenceConfig.Filter.CloudStorageBuckets.Builder> implements IntelligenceConfig.Filter.CloudStorageBucketsOrBuilder
Collection of buckets.
Protobuf type
google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageBuckets
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBucketIdRegexes(Iterable<String> values)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder addAllBucketIdRegexes(Iterable<String> values)
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<String>
The bucketIdRegexes to add.
|
addBucketIdRegexes(String value)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder addBucketIdRegexes(String value)
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
String
The bucketIdRegexes to add.
|
addBucketIdRegexesBytes(ByteString value)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder addBucketIdRegexesBytes(ByteString value)
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes of the bucketIdRegexes to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IntelligenceConfig.Filter.CloudStorageBuckets build()
buildPartial()
public IntelligenceConfig.Filter.CloudStorageBuckets buildPartial()
clear()
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder clear()
Overrides
clearBucketIdRegexes()
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder clearBucketIdRegexes()
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder clone()
Overrides
getBucketIdRegexes(int index)
public String getBucketIdRegexes(int index)
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The bucketIdRegexes at the given index.
|
getBucketIdRegexesBytes(int index)
public ByteString getBucketIdRegexesBytes(int index)
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the bucketIdRegexes at the given index.
|
getBucketIdRegexesCount()
public int getBucketIdRegexesCount()
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of bucketIdRegexes.
|
getBucketIdRegexesList()
public ProtocolStringList getBucketIdRegexesList()
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public IntelligenceConfig.Filter.CloudStorageBuckets getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeFrom(IntelligenceConfig.Filter.CloudStorageBuckets other)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder mergeFrom(IntelligenceConfig.Filter.CloudStorageBuckets other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IntelligenceConfig.Filter.CloudStorageBuckets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBucketIdRegexes(int index, String value)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder setBucketIdRegexes(int index, String value)
Optional. A regex pattern for matching bucket names. Regex should
follow the syntax specified in
google/re2. For example,
^sample_.* matches all buckets of the form
gs://sample_bucket-1, gs://sample_bucket-2,
gs://sample_bucket-n but not gs://test_sample_bucket.
If you want to match a single bucket, say gs://sample_bucket,
use sample_bucket.
repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters |
| Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The bucketIdRegexes to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IntelligenceConfig.Filter.CloudStorageBuckets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides