public static interface ResourcePool.AutoscalingSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMaxReplicaCount()
public abstract long getMaxReplicaCount()Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error
optional int64 max_replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The maxReplicaCount. |
getMinReplicaCount()
public abstract long getMinReplicaCount()Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error
optional int64 min_replica_count = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The minReplicaCount. |
hasMaxReplicaCount()
public abstract boolean hasMaxReplicaCount()Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error
optional int64 max_replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxReplicaCount field is set. |
hasMinReplicaCount()
public abstract boolean hasMinReplicaCount()Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error
optional int64 min_replica_count = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minReplicaCount field is set. |