public static final class AppProfile.SingleClusterRouting extends GeneratedMessageV3 implements AppProfile.SingleClusterRoutingOrBuilder
Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability.
Protobuf type google.bigtable.admin.v2.AppProfile.SingleClusterRouting
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppProfile.SingleClusterRoutingImplements
AppProfile.SingleClusterRoutingOrBuilderStatic Fields
ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER
public static final int ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER
Type | Description |
int |
CLUSTER_ID_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AppProfile.SingleClusterRouting getDefaultInstance()
Type | Description |
AppProfile.SingleClusterRouting |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static AppProfile.SingleClusterRouting.Builder newBuilder()
Type | Description |
AppProfile.SingleClusterRouting.Builder |
newBuilder(AppProfile.SingleClusterRouting prototype)
public static AppProfile.SingleClusterRouting.Builder newBuilder(AppProfile.SingleClusterRouting prototype)
Name | Description |
prototype | AppProfile.SingleClusterRouting |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
parseDelimitedFrom(InputStream input)
public static AppProfile.SingleClusterRouting parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile.SingleClusterRouting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AppProfile.SingleClusterRouting parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppProfile.SingleClusterRouting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AppProfile.SingleClusterRouting parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppProfile.SingleClusterRouting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AppProfile.SingleClusterRouting parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile.SingleClusterRouting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AppProfile.SingleClusterRouting parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile.SingleClusterRouting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AppProfile.SingleClusterRouting parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppProfile.SingleClusterRouting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.SingleClusterRouting |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AppProfile.SingleClusterRouting> parser()
Type | Description |
Parser<SingleClusterRouting> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAllowTransactionalWrites()
public boolean getAllowTransactionalWrites()
Whether or not CheckAndMutateRow
and ReadModifyWriteRow
requests are
allowed by this app profile. It is unsafe to send these requests to
the same table/row/column in multiple clusters.
bool allow_transactional_writes = 2;
Type | Description |
boolean | The allowTransactionalWrites. |
getClusterId()
public String getClusterId()
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Type | Description |
String | The clusterId. |
getClusterIdBytes()
public ByteString getClusterIdBytes()
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Type | Description |
ByteString | The bytes for clusterId. |
getDefaultInstanceForType()
public AppProfile.SingleClusterRouting getDefaultInstanceForType()
Type | Description |
AppProfile.SingleClusterRouting |
getParserForType()
public Parser<AppProfile.SingleClusterRouting> getParserForType()
Type | Description |
Parser<SingleClusterRouting> |
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.SingleClusterRouting.Builder newBuilderForType()
Type | Description |
AppProfile.SingleClusterRouting.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppProfile.SingleClusterRouting.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public AppProfile.SingleClusterRouting.Builder toBuilder()
Type | Description |
AppProfile.SingleClusterRouting.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |