public static final class InstanceGroupManagerInstanceLifecyclePolicy.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder> implements InstanceGroupManagerInstanceLifecyclePolicyOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceGroupManagerInstanceLifecyclePolicy build()
buildPartial()
public InstanceGroupManagerInstanceLifecyclePolicy buildPartial()
clear()
public InstanceGroupManagerInstanceLifecyclePolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearForceUpdateOnRepair()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstanceGroupManagerInstanceLifecyclePolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public InstanceGroupManagerInstanceLifecyclePolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getForceUpdateOnRepair()
public 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;
Returns |
---|
Type | Description |
String | The forceUpdateOnRepair.
|
getForceUpdateOnRepairBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for forceUpdateOnRepair.
|
hasForceUpdateOnRepair()
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;
Returns |
---|
Type | Description |
boolean | Whether the forceUpdateOnRepair field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstanceGroupManagerInstanceLifecyclePolicy other)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder mergeFrom(InstanceGroupManagerInstanceLifecyclePolicy other)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerInstanceLifecyclePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setForceUpdateOnRepair(String value)
public 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;
Parameter |
---|
Name | Description |
value | String
The forceUpdateOnRepair to set.
|
setForceUpdateOnRepairBytes(ByteString value)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder setForceUpdateOnRepairBytes(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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for forceUpdateOnRepair to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupManagerInstanceLifecyclePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerInstanceLifecyclePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides