Interface ReplicaComputeCapacityOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ReplicaComputeCapacity, ReplicaComputeCapacity.Builder

public interface ReplicaComputeCapacityOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasReplicaSelection

      boolean hasReplicaSelection()
       Required. Identifies replicas by specified properties.
       All replicas in the selection have the same amount of compute capacity.
       
      .google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the replicaSelection field is set.
    • getReplicaSelection

      ReplicaSelection getReplicaSelection()
       Required. Identifies replicas by specified properties.
       All replicas in the selection have the same amount of compute capacity.
       
      .google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The replicaSelection.
    • getReplicaSelectionOrBuilder

      ReplicaSelectionOrBuilder getReplicaSelectionOrBuilder()
       Required. Identifies replicas by specified properties.
       All replicas in the selection have the same amount of compute capacity.
       
      .google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasNodeCount

      boolean hasNodeCount()
       The number of nodes allocated to each replica.
      
       This may be zero in API responses for instances that are not yet in
       state `READY`.
       
      int32 node_count = 2;
      Returns:
      Whether the nodeCount field is set.
    • getNodeCount

      int getNodeCount()
       The number of nodes allocated to each replica.
      
       This may be zero in API responses for instances that are not yet in
       state `READY`.
       
      int32 node_count = 2;
      Returns:
      The nodeCount.
    • hasProcessingUnits

      boolean hasProcessingUnits()
       The number of processing units allocated to each replica.
      
       This may be zero in API responses for instances that are not yet in
       state `READY`.
       
      int32 processing_units = 3;
      Returns:
      Whether the processingUnits field is set.
    • getProcessingUnits

      int getProcessingUnits()
       The number of processing units allocated to each replica.
      
       This may be zero in API responses for instances that are not yet in
       state `READY`.
       
      int32 processing_units = 3;
      Returns:
      The processingUnits.
    • getComputeCapacityCase