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 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

       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

       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