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 TypeMethodDescription`Exclude_replicas` indicates that specified replicas should be excluded from serving requests.`Exclude_replicas` indicates that specified replicas 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.boolean`Exclude_replicas` indicates that specified replicas should be excluded from serving requests.boolean`Include_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 waits for a replica in the list to become available, requests might 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 waits for a replica in the list to become available, requests might 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 waits for a replica in the list to become available, requests might fail due to `DEADLINE_EXCEEDED` errors.
.google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1; -
hasExcludeReplicas
boolean hasExcludeReplicas()`Exclude_replicas` indicates that specified replicas should be excluded from serving requests. Spanner doesn't 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 specified replicas should be excluded from serving requests. Spanner doesn't 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 specified replicas should be excluded from serving requests. Spanner doesn't route requests to the replicas in this list.
.google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2; -
getReplicasCase
DirectedReadOptions.ReplicasCase getReplicasCase()
-