Interface Reservation.AutoscaleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Reservation.Autoscale
,Reservation.Autoscale.Builder
- Enclosing class:
- Reservation
public static interface Reservation.AutoscaleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCurrentSlots()
Output only.long
getMaxSlots()
Number of slots to be scaled when needed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCurrentSlots
long getCurrentSlots()
Output only. The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].
int64 current_slots = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The currentSlots.
-
getMaxSlots
long getMaxSlots()
Number of slots to be scaled when needed.
int64 max_slots = 2;
- Returns:
- The maxSlots.
-
-