Interface Instance.StateInfo.UpdateInfoOrBuilder (0.1.0)

public static interface Instance.StateInfo.UpdateInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTargetReplicaCount()

public abstract int getTargetReplicaCount()

Output only. Target number of replica nodes per shard for the instance.

optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The targetReplicaCount.

getTargetShardCount()

public abstract int getTargetShardCount()

Output only. Target number of shards for the instance.

optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The targetShardCount.

hasTargetReplicaCount()

public abstract boolean hasTargetReplicaCount()

Output only. Target number of replica nodes per shard for the instance.

optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the targetReplicaCount field is set.

hasTargetShardCount()

public abstract boolean hasTargetShardCount()

Output only. Target number of shards for the instance.

optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the targetShardCount field is set.