Interface DirectedReadOptions.IncludeReplicasOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DirectedReadOptions.IncludeReplicas, DirectedReadOptions.IncludeReplicas.Builder
Enclosing class:
DirectedReadOptions

public static interface DirectedReadOptions.IncludeReplicasOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getReplicaSelectionsList

      List<DirectedReadOptions.ReplicaSelection> getReplicaSelectionsList()
       The directed read replica selector.
       
      repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;
    • getReplicaSelections

      DirectedReadOptions.ReplicaSelection getReplicaSelections(int index)
       The directed read replica selector.
       
      repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;
    • getReplicaSelectionsCount

      int getReplicaSelectionsCount()
       The directed read replica selector.
       
      repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;
    • getReplicaSelectionsOrBuilderList

      List<? extends DirectedReadOptions.ReplicaSelectionOrBuilder> getReplicaSelectionsOrBuilderList()
       The directed read replica selector.
       
      repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;
    • getReplicaSelectionsOrBuilder

      DirectedReadOptions.ReplicaSelectionOrBuilder getReplicaSelectionsOrBuilder(int index)
       The directed read replica selector.
       
      repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1;
    • getAutoFailoverDisabled

      boolean getAutoFailoverDisabled()
       If true, Spanner will not route requests to a replica outside the
       include_replicas list when all of the specified replicas are unavailable
       or unhealthy. Default value is `false`.
       
      bool auto_failover_disabled = 2;
      Returns:
      The autoFailoverDisabled.