public static final class InstanceGroupManagerStandbyPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder> implements InstanceGroupManagerStandbyPolicyOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy| Modifier and Type | Method and Description |
|---|---|
InstanceGroupManagerStandbyPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceGroupManagerStandbyPolicy |
build() |
InstanceGroupManagerStandbyPolicy |
buildPartial() |
InstanceGroupManagerStandbyPolicy.Builder |
clear() |
InstanceGroupManagerStandbyPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InstanceGroupManagerStandbyPolicy.Builder |
clearInitialDelaySec()
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created.
|
InstanceGroupManagerStandbyPolicy.Builder |
clearMode()
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out.
|
InstanceGroupManagerStandbyPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InstanceGroupManagerStandbyPolicy.Builder |
clone() |
InstanceGroupManagerStandbyPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getInitialDelaySec()
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created.
|
String |
getMode()
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out.
|
com.google.protobuf.ByteString |
getModeBytes()
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out.
|
boolean |
hasInitialDelaySec()
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created.
|
boolean |
hasMode()
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InstanceGroupManagerStandbyPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InstanceGroupManagerStandbyPolicy.Builder |
mergeFrom(InstanceGroupManagerStandbyPolicy other) |
InstanceGroupManagerStandbyPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
InstanceGroupManagerStandbyPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceGroupManagerStandbyPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceGroupManagerStandbyPolicy.Builder |
setInitialDelaySec(int value)
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created.
|
InstanceGroupManagerStandbyPolicy.Builder |
setMode(String value)
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out.
|
InstanceGroupManagerStandbyPolicy.Builder |
setModeBytes(com.google.protobuf.ByteString value)
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out.
|
InstanceGroupManagerStandbyPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InstanceGroupManagerStandbyPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InstanceGroupManagerStandbyPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InstanceGroupManagerStandbyPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InstanceGroupManagerStandbyPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder mergeFrom(InstanceGroupManagerStandbyPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public InstanceGroupManagerStandbyPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceGroupManagerStandbyPolicy.Builder>IOExceptionpublic 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;hasInitialDelaySec in interface InstanceGroupManagerStandbyPolicyOrBuilderpublic 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;getInitialDelaySec in interface InstanceGroupManagerStandbyPolicyOrBuilderpublic InstanceGroupManagerStandbyPolicy.Builder setInitialDelaySec(int value)
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;value - The initialDelaySec to set.public InstanceGroupManagerStandbyPolicy.Builder clearInitialDelaySec()
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;public 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;hasMode in interface InstanceGroupManagerStandbyPolicyOrBuilderpublic 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;getMode in interface InstanceGroupManagerStandbyPolicyOrBuilderpublic 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;getModeBytes in interface InstanceGroupManagerStandbyPolicyOrBuilderpublic InstanceGroupManagerStandbyPolicy.Builder setMode(String value)
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;value - The mode to set.public InstanceGroupManagerStandbyPolicy.Builder clearMode()
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;public InstanceGroupManagerStandbyPolicy.Builder setModeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for mode to set.public final InstanceGroupManagerStandbyPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>public final InstanceGroupManagerStandbyPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerStandbyPolicy.Builder>Copyright © 2025 Google LLC. All rights reserved.