public static final class AppProfile.MultiClusterRoutingUseAny.Builder extends GeneratedMessageV3.Builder<AppProfile.MultiClusterRoutingUseAny.Builder> implements AppProfile.MultiClusterRoutingUseAnyOrBuilder
Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.
Protobuf type google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AppProfile.MultiClusterRoutingUseAny.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllClusterIds(Iterable<String> values)
public AppProfile.MultiClusterRoutingUseAny.Builder addAllClusterIds(Iterable<String> values)
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Name | Description |
values | Iterable<String> The clusterIds to add. |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder | This builder for chaining. |
addClusterIds(String value)
public AppProfile.MultiClusterRoutingUseAny.Builder addClusterIds(String value)
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Name | Description |
value | String The clusterIds to add. |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder | This builder for chaining. |
addClusterIdsBytes(ByteString value)
public AppProfile.MultiClusterRoutingUseAny.Builder addClusterIdsBytes(ByteString value)
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Name | Description |
value | ByteString The bytes of the clusterIds to add. |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppProfile.MultiClusterRoutingUseAny.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
build()
public AppProfile.MultiClusterRoutingUseAny build()
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
buildPartial()
public AppProfile.MultiClusterRoutingUseAny buildPartial()
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
clear()
public AppProfile.MultiClusterRoutingUseAny.Builder clear()
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
clearClusterIds()
public AppProfile.MultiClusterRoutingUseAny.Builder clearClusterIds()
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AppProfile.MultiClusterRoutingUseAny.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AppProfile.MultiClusterRoutingUseAny.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
clone()
public AppProfile.MultiClusterRoutingUseAny.Builder clone()
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
getClusterIds(int index)
public String getClusterIds(int index)
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The clusterIds at the given index. |
getClusterIdsBytes(int index)
public ByteString getClusterIdsBytes(int index)
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the clusterIds at the given index. |
getClusterIdsCount()
public int getClusterIdsCount()
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Type | Description |
int | The count of clusterIds. |
getClusterIdsList()
public ProtocolStringList getClusterIdsList()
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Type | Description |
ProtocolStringList | A list containing the clusterIds. |
getDefaultInstanceForType()
public AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType()
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AppProfile.MultiClusterRoutingUseAny other)
public AppProfile.MultiClusterRoutingUseAny.Builder mergeFrom(AppProfile.MultiClusterRoutingUseAny other)
Name | Description |
other | AppProfile.MultiClusterRoutingUseAny |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AppProfile.MultiClusterRoutingUseAny.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AppProfile.MultiClusterRoutingUseAny.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile.MultiClusterRoutingUseAny.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
setClusterIds(int index, String value)
public AppProfile.MultiClusterRoutingUseAny.Builder setClusterIds(int index, String value)
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;
Name | Description |
index | int The index to set the value at. |
value | String The clusterIds to set. |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AppProfile.MultiClusterRoutingUseAny.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppProfile.MultiClusterRoutingUseAny.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile.MultiClusterRoutingUseAny.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |