Interface ReplicaComputeCapacityOrBuilder (6.83.0)

public interface ReplicaComputeCapacityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComputeCapacityCase()

public abstract ReplicaComputeCapacity.ComputeCapacityCase getComputeCapacityCase()
Returns
Type Description
ReplicaComputeCapacity.ComputeCapacityCase

getNodeCount()

public abstract 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
Type Description
int

The nodeCount.

getProcessingUnits()

public abstract 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
Type Description
int

The processingUnits.

getReplicaSelection()

public abstract 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
Type Description
ReplicaSelection

The replicaSelection.

getReplicaSelectionOrBuilder()

public abstract 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];

Returns
Type Description
ReplicaSelectionOrBuilder

hasNodeCount()

public abstract 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
Type Description
boolean

Whether the nodeCount field is set.

hasProcessingUnits()

public abstract 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
Type Description
boolean

Whether the processingUnits field is set.

hasReplicaSelection()

public abstract 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
Type Description
boolean

Whether the replicaSelection field is set.