public static final class AppProfile.SingleClusterRouting.Builder extends com.google.protobuf.GeneratedMessage.Builder<AppProfile.SingleClusterRouting.Builder> 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| Modifier and Type | Method and Description |
|---|---|
AppProfile.SingleClusterRouting |
build() |
AppProfile.SingleClusterRouting |
buildPartial() |
AppProfile.SingleClusterRouting.Builder |
clear() |
AppProfile.SingleClusterRouting.Builder |
clearAllowTransactionalWrites()
Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
allowed by this app profile.
|
AppProfile.SingleClusterRouting.Builder |
clearClusterId()
The cluster to which read/write requests should be routed.
|
boolean |
getAllowTransactionalWrites()
Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
allowed by this app profile.
|
String |
getClusterId()
The cluster to which read/write requests should be routed.
|
com.google.protobuf.ByteString |
getClusterIdBytes()
The cluster to which read/write requests should be routed.
|
AppProfile.SingleClusterRouting |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AppProfile.SingleClusterRouting.Builder |
mergeFrom(AppProfile.SingleClusterRouting other) |
AppProfile.SingleClusterRouting.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AppProfile.SingleClusterRouting.Builder |
mergeFrom(com.google.protobuf.Message other) |
AppProfile.SingleClusterRouting.Builder |
setAllowTransactionalWrites(boolean value)
Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
allowed by this app profile.
|
AppProfile.SingleClusterRouting.Builder |
setClusterId(String value)
The cluster to which read/write requests should be routed.
|
AppProfile.SingleClusterRouting.Builder |
setClusterIdBytes(com.google.protobuf.ByteString value)
The cluster to which read/write requests should be routed.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AppProfile.SingleClusterRouting.Builder>public AppProfile.SingleClusterRouting.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AppProfile.SingleClusterRouting.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AppProfile.SingleClusterRouting.Builder>public AppProfile.SingleClusterRouting getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AppProfile.SingleClusterRouting build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AppProfile.SingleClusterRouting buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AppProfile.SingleClusterRouting.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AppProfile.SingleClusterRouting.Builder>public AppProfile.SingleClusterRouting.Builder mergeFrom(AppProfile.SingleClusterRouting other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AppProfile.SingleClusterRouting.Builder>public AppProfile.SingleClusterRouting.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AppProfile.SingleClusterRouting.Builder>IOExceptionpublic String getClusterId()
The cluster to which read/write requests should be routed.
string cluster_id = 1;getClusterId in interface AppProfile.SingleClusterRoutingOrBuilderpublic com.google.protobuf.ByteString getClusterIdBytes()
The cluster to which read/write requests should be routed.
string cluster_id = 1;getClusterIdBytes in interface AppProfile.SingleClusterRoutingOrBuilderpublic AppProfile.SingleClusterRouting.Builder setClusterId(String value)
The cluster to which read/write requests should be routed.
string cluster_id = 1;value - The clusterId to set.public AppProfile.SingleClusterRouting.Builder clearClusterId()
The cluster to which read/write requests should be routed.
string cluster_id = 1;public AppProfile.SingleClusterRouting.Builder setClusterIdBytes(com.google.protobuf.ByteString value)
The cluster to which read/write requests should be routed.
string cluster_id = 1;value - The bytes for clusterId to set.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;getAllowTransactionalWrites in interface AppProfile.SingleClusterRoutingOrBuilderpublic AppProfile.SingleClusterRouting.Builder setAllowTransactionalWrites(boolean value)
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;value - The allowTransactionalWrites to set.public AppProfile.SingleClusterRouting.Builder clearAllowTransactionalWrites()
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;Copyright © 2026 Google LLC. All rights reserved.