Package com.google.spanner.v1
Interface DirectedReadOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DirectedReadOptions,DirectedReadOptions.Builder
public interface DirectedReadOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionExclude_replicas indicates that should be excluded from serving requests.Exclude_replicas indicates that should be excluded from serving requests.Include_replicas indicates the order of replicas (as they appear in this list) to process the request.Include_replicas indicates the order of replicas (as they appear in this list) to process the request.booleanExclude_replicas indicates that should be excluded from serving requests.booleanInclude_replicas indicates the order of replicas (as they appear in this list) to process 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
-
hasIncludeReplicas
boolean hasIncludeReplicas()Include_replicas indicates the order of replicas (as they appear in this list) to process the request. If auto_failover_disabled is set to true and all replicas are exhausted without finding a healthy replica, Spanner will wait for a replica in the list to become available, requests may fail due to `DEADLINE_EXCEEDED` errors.
.google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1;- Returns:
- Whether the includeReplicas field is set.
-
getIncludeReplicas
DirectedReadOptions.IncludeReplicas getIncludeReplicas()Include_replicas indicates the order of replicas (as they appear in this list) to process the request. If auto_failover_disabled is set to true and all replicas are exhausted without finding a healthy replica, Spanner will wait for a replica in the list to become available, requests may fail due to `DEADLINE_EXCEEDED` errors.
.google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1;- Returns:
- The includeReplicas.
-
getIncludeReplicasOrBuilder
DirectedReadOptions.IncludeReplicasOrBuilder getIncludeReplicasOrBuilder()Include_replicas indicates the order of replicas (as they appear in this list) to process the request. If auto_failover_disabled is set to true and all replicas are exhausted without finding a healthy replica, Spanner will wait for a replica in the list to become available, requests may fail due to `DEADLINE_EXCEEDED` errors.
.google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1; -
hasExcludeReplicas
boolean hasExcludeReplicas()Exclude_replicas indicates that should be excluded from serving requests. Spanner will not route requests to the replicas in this list.
.google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2;- Returns:
- Whether the excludeReplicas field is set.
-
getExcludeReplicas
DirectedReadOptions.ExcludeReplicas getExcludeReplicas()Exclude_replicas indicates that should be excluded from serving requests. Spanner will not route requests to the replicas in this list.
.google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2;- Returns:
- The excludeReplicas.
-
getExcludeReplicasOrBuilder
DirectedReadOptions.ExcludeReplicasOrBuilder getExcludeReplicasOrBuilder()Exclude_replicas indicates that should be excluded from serving requests. Spanner will not route requests to the replicas in this list.
.google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2; -
getReplicasCase
DirectedReadOptions.ReplicasCase getReplicasCase()
-