Class AppProfile.MultiClusterRoutingUseAny (2.17.1)

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.MultiClusterRoutingUseAny

Static Fields

CLUSTER_IDS_FIELD_NUMBER

public static final int CLUSTER_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AppProfile.MultiClusterRoutingUseAny getDefaultInstance()
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AppProfile.MultiClusterRoutingUseAny.Builder newBuilder()
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny.Builder

newBuilder(AppProfile.MultiClusterRoutingUseAny prototype)

public static AppProfile.MultiClusterRoutingUseAny.Builder newBuilder(AppProfile.MultiClusterRoutingUseAny prototype)
Parameter
NameDescription
prototypeAppProfile.MultiClusterRoutingUseAny
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny.Builder

parseDelimitedFrom(InputStream input)

public static AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppProfile.MultiClusterRoutingUseAny parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AppProfile.MultiClusterRoutingUseAny> parser()
Returns
TypeDescription
Parser<MultiClusterRoutingUseAny>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the clusterIds.

getDefaultInstanceForType()

public AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType()
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny

getParserForType()

public Parser<AppProfile.MultiClusterRoutingUseAny> getParserForType()
Returns
TypeDescription
Parser<MultiClusterRoutingUseAny>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AppProfile.MultiClusterRoutingUseAny.Builder newBuilderForType()
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppProfile.MultiClusterRoutingUseAny.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AppProfile.MultiClusterRoutingUseAny.Builder toBuilder()
Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException