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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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;
Parameter
Returns
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;
Parameter
Name | Description |
value | String
The clusterIds to add.
|
Returns
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;
Parameter
Name | Description |
value | ByteString
The bytes of the clusterIds to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppProfile.MultiClusterRoutingUseAny.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AppProfile.MultiClusterRoutingUseAny build()
Returns
buildPartial()
public AppProfile.MultiClusterRoutingUseAny buildPartial()
Returns
clear()
public AppProfile.MultiClusterRoutingUseAny.Builder clear()
Returns
Overrides
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public AppProfile.MultiClusterRoutingUseAny.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AppProfile.MultiClusterRoutingUseAny.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AppProfile.MultiClusterRoutingUseAny.Builder clone()
Returns
Overrides
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;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
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;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AppProfile.MultiClusterRoutingUseAny other)
public AppProfile.MultiClusterRoutingUseAny.Builder mergeFrom(AppProfile.MultiClusterRoutingUseAny other)
Parameter
Returns
public AppProfile.MultiClusterRoutingUseAny.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AppProfile.MultiClusterRoutingUseAny.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile.MultiClusterRoutingUseAny.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The clusterIds to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AppProfile.MultiClusterRoutingUseAny.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppProfile.MultiClusterRoutingUseAny.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile.MultiClusterRoutingUseAny.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides