public static final class InstanceGroupManagerInstanceLifecyclePolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder> implements InstanceGroupManagerInstanceLifecyclePolicyOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy| Modifier and Type | Method and Description |
|---|---|
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceGroupManagerInstanceLifecyclePolicy |
build() |
InstanceGroupManagerInstanceLifecyclePolicy |
buildPartial() |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
clear() |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
clearDefaultActionOnFailure()
The action that a MIG performs on a failed or an unhealthy VM.
|
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
clearForceUpdateOnRepair()
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM.
|
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
clone() |
String |
getDefaultActionOnFailure()
The action that a MIG performs on a failed or an unhealthy VM.
|
com.google.protobuf.ByteString |
getDefaultActionOnFailureBytes()
The action that a MIG performs on a failed or an unhealthy VM.
|
InstanceGroupManagerInstanceLifecyclePolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getForceUpdateOnRepair()
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM.
|
com.google.protobuf.ByteString |
getForceUpdateOnRepairBytes()
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM.
|
boolean |
hasDefaultActionOnFailure()
The action that a MIG performs on a failed or an unhealthy VM.
|
boolean |
hasForceUpdateOnRepair()
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
mergeFrom(InstanceGroupManagerInstanceLifecyclePolicy other) |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
setDefaultActionOnFailure(String value)
The action that a MIG performs on a failed or an unhealthy VM.
|
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
setDefaultActionOnFailureBytes(com.google.protobuf.ByteString value)
The action that a MIG performs on a failed or an unhealthy VM.
|
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
setForceUpdateOnRepair(String value)
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM.
|
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
setForceUpdateOnRepairBytes(com.google.protobuf.ByteString value)
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM.
|
InstanceGroupManagerInstanceLifecyclePolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InstanceGroupManagerInstanceLifecyclePolicy.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<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.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<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InstanceGroupManagerInstanceLifecyclePolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InstanceGroupManagerInstanceLifecyclePolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InstanceGroupManagerInstanceLifecyclePolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.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<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.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<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.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<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.Builder mergeFrom(InstanceGroupManagerInstanceLifecyclePolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public InstanceGroupManagerInstanceLifecyclePolicy.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<InstanceGroupManagerInstanceLifecyclePolicy.Builder>IOExceptionpublic boolean hasDefaultActionOnFailure()
The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM. Check the DefaultActionOnFailure enum for the list of possible values.
optional string default_action_on_failure = 61383253;hasDefaultActionOnFailure in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilderpublic String getDefaultActionOnFailure()
The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM. Check the DefaultActionOnFailure enum for the list of possible values.
optional string default_action_on_failure = 61383253;getDefaultActionOnFailure in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilderpublic com.google.protobuf.ByteString getDefaultActionOnFailureBytes()
The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM. Check the DefaultActionOnFailure enum for the list of possible values.
optional string default_action_on_failure = 61383253;getDefaultActionOnFailureBytes in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilderpublic InstanceGroupManagerInstanceLifecyclePolicy.Builder setDefaultActionOnFailure(String value)
The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM. Check the DefaultActionOnFailure enum for the list of possible values.
optional string default_action_on_failure = 61383253;value - The defaultActionOnFailure to set.public InstanceGroupManagerInstanceLifecyclePolicy.Builder clearDefaultActionOnFailure()
The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM. Check the DefaultActionOnFailure enum for the list of possible values.
optional string default_action_on_failure = 61383253;public InstanceGroupManagerInstanceLifecyclePolicy.Builder setDefaultActionOnFailureBytes(com.google.protobuf.ByteString value)
The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM. Check the DefaultActionOnFailure enum for the list of possible values.
optional string default_action_on_failure = 61383253;value - The bytes for defaultActionOnFailure to set.public boolean hasForceUpdateOnRepair()
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. Check the ForceUpdateOnRepair enum for the list of possible values.
optional string force_update_on_repair = 356302027;hasForceUpdateOnRepair in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilderpublic String getForceUpdateOnRepair()
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. Check the ForceUpdateOnRepair enum for the list of possible values.
optional string force_update_on_repair = 356302027;getForceUpdateOnRepair in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilderpublic com.google.protobuf.ByteString getForceUpdateOnRepairBytes()
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. Check the ForceUpdateOnRepair enum for the list of possible values.
optional string force_update_on_repair = 356302027;getForceUpdateOnRepairBytes in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilderpublic InstanceGroupManagerInstanceLifecyclePolicy.Builder setForceUpdateOnRepair(String value)
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. Check the ForceUpdateOnRepair enum for the list of possible values.
optional string force_update_on_repair = 356302027;value - The forceUpdateOnRepair to set.public InstanceGroupManagerInstanceLifecyclePolicy.Builder clearForceUpdateOnRepair()
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. Check the ForceUpdateOnRepair enum for the list of possible values.
optional string force_update_on_repair = 356302027;public InstanceGroupManagerInstanceLifecyclePolicy.Builder setForceUpdateOnRepairBytes(com.google.protobuf.ByteString value)
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. Check the ForceUpdateOnRepair enum for the list of possible values.
optional string force_update_on_repair = 356302027;value - The bytes for forceUpdateOnRepair to set.public final InstanceGroupManagerInstanceLifecyclePolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>public final InstanceGroupManagerInstanceLifecyclePolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>Copyright © 2025 Google LLC. All rights reserved.