public static final class AppProfile.MultiClusterRoutingUseAny extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppProfile.MultiClusterRoutingUseAnyStatic Fields
CLUSTER_IDS_FIELD_NUMBER
public static final int CLUSTER_IDS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AppProfile.MultiClusterRoutingUseAny getDefaultInstance()
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static AppProfile.MultiClusterRoutingUseAny.Builder newBuilder()
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
newBuilder(AppProfile.MultiClusterRoutingUseAny prototype)
public static AppProfile.MultiClusterRoutingUseAny.Builder newBuilder(AppProfile.MultiClusterRoutingUseAny prototype)
Name | Description |
prototype | AppProfile.MultiClusterRoutingUseAny |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
parseDelimitedFrom(InputStream input)
public static AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppProfile.MultiClusterRoutingUseAny parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.MultiClusterRoutingUseAny |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AppProfile.MultiClusterRoutingUseAny> parser()
Type | Description |
Parser<MultiClusterRoutingUseAny> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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 |
getParserForType()
public Parser<AppProfile.MultiClusterRoutingUseAny> getParserForType()
Type | Description |
Parser<MultiClusterRoutingUseAny> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public AppProfile.MultiClusterRoutingUseAny.Builder newBuilderForType()
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppProfile.MultiClusterRoutingUseAny.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public AppProfile.MultiClusterRoutingUseAny.Builder toBuilder()
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |