public static final class IntelligenceConfig.Filter.CloudStorageBuckets.Builder extends GeneratedMessage.Builder<IntelligenceConfig.Filter.CloudStorageBuckets.Builder> implements IntelligenceConfig.Filter.CloudStorageBucketsOrBuilderCollection of buckets.
Protobuf type
google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageBuckets
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IntelligenceConfig.Filter.CloudStorageBuckets.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
This builder for chaining. |
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 |
StringThe bucketIdRegexes to add. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes of the bucketIdRegexes to add. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
This builder for chaining. |
build()
public IntelligenceConfig.Filter.CloudStorageBuckets build()| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets |
|
buildPartial()
public IntelligenceConfig.Filter.CloudStorageBuckets buildPartial()| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets |
|
clear()
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder clear()| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
This builder for chaining. |
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 |
intThe 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 |
intThe 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the bucketIdRegexes. |
getDefaultInstanceForType()
public IntelligenceConfig.Filter.CloudStorageBuckets getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
|
mergeFrom(IntelligenceConfig.Filter.CloudStorageBuckets other)
public IntelligenceConfig.Filter.CloudStorageBuckets.Builder mergeFrom(IntelligenceConfig.Filter.CloudStorageBuckets other)| Parameter | |
|---|---|
| Name | Description |
other |
IntelligenceConfig.Filter.CloudStorageBuckets |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
|
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 |
intThe index to set the value at. |
value |
StringThe bucketIdRegexes to set. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageBuckets.Builder |
This builder for chaining. |