Interface ResourcePool.AutoscalingSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePool.AutoscalingSpec
,ResourcePool.AutoscalingSpec.Builder
- Enclosing class:
- ResourcePool
public static interface ResourcePool.AutoscalingSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMaxReplicaCount()
Optional.long
getMinReplicaCount()
Optional.boolean
hasMaxReplicaCount()
Optional.boolean
hasMinReplicaCount()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMinReplicaCount
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:
- Whether the minReplicaCount field is set.
-
getMinReplicaCount
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:
- The minReplicaCount.
-
hasMaxReplicaCount
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:
- Whether the maxReplicaCount field is set.
-
getMaxReplicaCount
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:
- The maxReplicaCount.
-
-