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

       `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

       `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