Package com.google.bigtable.admin.v2
Interface AppProfile.MultiClusterRoutingUseAnyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AppProfile.MultiClusterRoutingUseAny,AppProfile.MultiClusterRoutingUseAny.Builder
- Enclosing class:
- AppProfile
public static interface AppProfile.MultiClusterRoutingUseAnyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetClusterIds(int index) The set of clusters to route to.com.google.protobuf.ByteStringgetClusterIdsBytes(int index) The set of clusters to route to.intThe set of clusters to route to.The set of clusters to route to.Row affinity sticky routing based on the row key of the request.Row affinity sticky routing based on the row key of the request.booleanRow affinity sticky routing based on the row key of the request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getClusterIdsList
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;- Returns:
- A list containing the clusterIds.
-
getClusterIdsCount
int getClusterIdsCount()The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;- Returns:
- The count of clusterIds.
-
getClusterIds
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;- Parameters:
index- The index of the element to return.- Returns:
- The clusterIds at the given index.
-
getClusterIdsBytes
com.google.protobuf.ByteString getClusterIdsBytes(int index) The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
repeated string cluster_ids = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the clusterIds at the given index.
-
hasRowAffinity
boolean hasRowAffinity()Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinity row_affinity = 3;- Returns:
- Whether the rowAffinity field is set.
-
getRowAffinity
AppProfile.MultiClusterRoutingUseAny.RowAffinity getRowAffinity()Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinity row_affinity = 3;- Returns:
- The rowAffinity.
-
getRowAffinityOrBuilder
AppProfile.MultiClusterRoutingUseAny.RowAffinityOrBuilder getRowAffinityOrBuilder()Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinity row_affinity = 3; -
getAffinityCase
AppProfile.MultiClusterRoutingUseAny.AffinityCase getAffinityCase()
-