Send feedback
Class AppProfile.SingleClusterRouting.Builder (2.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.13.0 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppProfile . SingleClusterRouting . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public AppProfile . SingleClusterRouting build ()
Returns
buildPartial()
public AppProfile . SingleClusterRouting buildPartial ()
Returns
clear()
public AppProfile . SingleClusterRouting . Builder clear ()
Returns
Overrides
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;
Returns
clearClusterId()
public AppProfile . SingleClusterRouting . Builder clearClusterId ()
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public AppProfile . SingleClusterRouting . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AppProfile . SingleClusterRouting . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public AppProfile . SingleClusterRouting . Builder clone ()
Returns
Overrides
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;
Returns
Type Description boolean The allowTransactionalWrites.
getClusterId()
public String getClusterId ()
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Returns
Type Description String The clusterId.
getClusterIdBytes()
public ByteString getClusterIdBytes ()
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Returns
getDefaultInstanceForType()
public AppProfile . SingleClusterRouting getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(AppProfile.SingleClusterRouting other)
public AppProfile . SingleClusterRouting . Builder mergeFrom ( AppProfile . SingleClusterRouting other )
Parameter
Returns
public AppProfile . SingleClusterRouting . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AppProfile . SingleClusterRouting . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile . SingleClusterRouting . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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;
Parameter
Name Description value boolean
The allowTransactionalWrites to set.
Returns
setClusterId(String value)
public AppProfile . SingleClusterRouting . Builder setClusterId ( String value )
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Parameter
Name Description value String
The clusterId to set.
Returns
setClusterIdBytes(ByteString value)
public AppProfile . SingleClusterRouting . Builder setClusterIdBytes ( ByteString value )
The cluster to which read/write requests should be routed.
string cluster_id = 1;
Parameter
Name Description value ByteString
The bytes for clusterId to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AppProfile . SingleClusterRouting . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppProfile . SingleClusterRouting . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile . SingleClusterRouting . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]