Package com.google.cloud.compute.v1
Interface InstanceGroupManagerStandbyPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceGroupManagerStandbyPolicy,InstanceGroupManagerStandbyPolicy.Builder
@Generated
public interface InstanceGroupManagerStandbyPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintSpecifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created.getMode()Defines how a MIG resumes or starts VMs from a standby pool when the group scales out.com.google.protobuf.ByteStringDefines how a MIG resumes or starts VMs from a standby pool when the group scales out.booleanSpecifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created.booleanhasMode()Defines how a MIG resumes or starts VMs from a standby pool when the group scales out.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInitialDelaySec
boolean hasInitialDelaySec()Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
optional int32 initial_delay_sec = 263207002;- Returns:
- Whether the initialDelaySec field is set.
-
getInitialDelaySec
int getInitialDelaySec()Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
optional int32 initial_delay_sec = 263207002;- Returns:
- The initialDelaySec.
-
hasMode
boolean hasMode()Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is `MANUAL`. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Returns:
- Whether the mode field is set.
-
getMode
String getMode()Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is `MANUAL`. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Returns:
- The mode.
-
getModeBytes
com.google.protobuf.ByteString getModeBytes()Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is `MANUAL`. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Returns:
- The bytes for mode.
-