public static final class IntelligenceConfig.Filter.CloudStorageLocations.Builder extends GeneratedMessage.Builder<IntelligenceConfig.Filter.CloudStorageLocations.Builder> implements IntelligenceConfig.Filter.CloudStorageLocationsOrBuilderCollection of bucket locations.
Protobuf type
google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageLocations
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IntelligenceConfig.Filter.CloudStorageLocations.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLocations(Iterable<String> values)
public IntelligenceConfig.Filter.CloudStorageLocations.Builder addAllLocations(Iterable<String> values) Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The locations to add. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
This builder for chaining. |
addLocations(String value)
public IntelligenceConfig.Filter.CloudStorageLocations.Builder addLocations(String value) Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe locations to add. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
This builder for chaining. |
addLocationsBytes(ByteString value)
public IntelligenceConfig.Filter.CloudStorageLocations.Builder addLocationsBytes(ByteString value) Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the locations to add. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
This builder for chaining. |
build()
public IntelligenceConfig.Filter.CloudStorageLocations build()| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations |
|
buildPartial()
public IntelligenceConfig.Filter.CloudStorageLocations buildPartial()| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations |
|
clear()
public IntelligenceConfig.Filter.CloudStorageLocations.Builder clear()| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
|
clearLocations()
public IntelligenceConfig.Filter.CloudStorageLocations.Builder clearLocations() Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IntelligenceConfig.Filter.CloudStorageLocations getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocations(int index)
public String getLocations(int index) Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The locations at the given index. |
getLocationsBytes(int index)
public ByteString getLocationsBytes(int index) Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 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 locations at the given index. |
getLocationsCount()
public int getLocationsCount() Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of locations. |
getLocationsList()
public ProtocolStringList getLocationsList() Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the locations. |
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.CloudStorageLocations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IntelligenceConfig.Filter.CloudStorageLocations.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
|
mergeFrom(IntelligenceConfig.Filter.CloudStorageLocations other)
public IntelligenceConfig.Filter.CloudStorageLocations.Builder mergeFrom(IntelligenceConfig.Filter.CloudStorageLocations other)| Parameter | |
|---|---|
| Name | Description |
other |
IntelligenceConfig.Filter.CloudStorageLocations |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
|
setLocations(int index, String value)
public IntelligenceConfig.Filter.CloudStorageLocations.Builder setLocations(int index, String value) Optional. Bucket locations. Location can be any of the Cloud Storage
regions specified in lower case format. For example, us-east1,
us-west1.
repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe locations to set. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig.Filter.CloudStorageLocations.Builder |
This builder for chaining. |