public static final class AppProfile.SingleClusterRouting.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AppProfile.SingleClusterRouting.BuilderImplements
AppProfile.SingleClusterRoutingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppProfile.SingleClusterRouting.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
build()
public AppProfile.SingleClusterRouting build()
Type | Description |
AppProfile.SingleClusterRouting |
buildPartial()
public AppProfile.SingleClusterRouting buildPartial()
Type | Description |
AppProfile.SingleClusterRouting |
clear()
public AppProfile.SingleClusterRouting.Builder clear()
Type | Description |
AppProfile.SingleClusterRouting.Builder |
clearAllowTransactionalWrites()
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;
Type | Description |
AppProfile.SingleClusterRouting.Builder | This builder for chaining. |
clearClusterId()
public AppProfile.SingleClusterRouting.Builder clearClusterId()
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Type | Description |
AppProfile.SingleClusterRouting.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AppProfile.SingleClusterRouting.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AppProfile.SingleClusterRouting.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
clone()
public AppProfile.SingleClusterRouting.Builder clone()
Type | Description |
AppProfile.SingleClusterRouting.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AppProfile.SingleClusterRouting other)
public AppProfile.SingleClusterRouting.Builder mergeFrom(AppProfile.SingleClusterRouting other)
Name | Description |
other | AppProfile.SingleClusterRouting |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AppProfile.SingleClusterRouting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AppProfile.SingleClusterRouting.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile.SingleClusterRouting.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
setAllowTransactionalWrites(boolean value)
public 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;
Name | Description |
value | boolean The allowTransactionalWrites to set. |
Type | Description |
AppProfile.SingleClusterRouting.Builder | This builder for chaining. |
setClusterId(String value)
public AppProfile.SingleClusterRouting.Builder setClusterId(String value)
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Name | Description |
value | String The clusterId to set. |
Type | Description |
AppProfile.SingleClusterRouting.Builder | This builder for chaining. |
setClusterIdBytes(ByteString value)
public AppProfile.SingleClusterRouting.Builder setClusterIdBytes(ByteString value)
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Name | Description |
value | ByteString The bytes for clusterId to set. |
Type | Description |
AppProfile.SingleClusterRouting.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AppProfile.SingleClusterRouting.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppProfile.SingleClusterRouting.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AppProfile.SingleClusterRouting.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile.SingleClusterRouting.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AppProfile.SingleClusterRouting.Builder |