Send feedback
Class AppProfile.SingleClusterRouting (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.11.0 keyboard_arrow_down
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
Static Fields
ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER
public static final int ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER
Field Value
CLUSTER_ID_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AppProfile . SingleClusterRouting getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static AppProfile . SingleClusterRouting . Builder newBuilder ()
Returns
newBuilder(AppProfile.SingleClusterRouting prototype)
public static AppProfile . SingleClusterRouting . Builder newBuilder ( AppProfile . SingleClusterRouting prototype )
Parameter
Returns
public static AppProfile . SingleClusterRouting parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AppProfile . SingleClusterRouting parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AppProfile . SingleClusterRouting parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppProfile . SingleClusterRouting parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AppProfile . SingleClusterRouting parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppProfile . SingleClusterRouting parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AppProfile . SingleClusterRouting parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static AppProfile . SingleClusterRouting parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AppProfile . SingleClusterRouting parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AppProfile . SingleClusterRouting parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AppProfile . SingleClusterRouting parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppProfile . SingleClusterRouting parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<AppProfile . SingleClusterRouting > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
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
getParserForType()
public Parser<AppProfile . SingleClusterRouting > getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public AppProfile . SingleClusterRouting . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppProfile . SingleClusterRouting . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public AppProfile . SingleClusterRouting . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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."],[],[]]