Class InstanceGroupManagerInstanceLifecyclePolicy (1.44.0)

public final class InstanceGroupManagerInstanceLifecyclePolicy extends GeneratedMessageV3 implements InstanceGroupManagerInstanceLifecyclePolicyOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InstanceGroupManagerInstanceLifecyclePolicy

Static Fields

FORCE_UPDATE_ON_REPAIR_FIELD_NUMBER

public static final int FORCE_UPDATE_ON_REPAIR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InstanceGroupManagerInstanceLifecyclePolicy getDefaultInstance()
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InstanceGroupManagerInstanceLifecyclePolicy.Builder newBuilder()
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy.Builder

newBuilder(InstanceGroupManagerInstanceLifecyclePolicy prototype)

public static InstanceGroupManagerInstanceLifecyclePolicy.Builder newBuilder(InstanceGroupManagerInstanceLifecyclePolicy prototype)
Parameter
NameDescription
prototypeInstanceGroupManagerInstanceLifecyclePolicy
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy.Builder

parseDelimitedFrom(InputStream input)

public static InstanceGroupManagerInstanceLifecyclePolicy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceLifecyclePolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagerInstanceLifecyclePolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InstanceGroupManagerInstanceLifecyclePolicy> parser()
Returns
TypeDescription
Parser<InstanceGroupManagerInstanceLifecyclePolicy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InstanceGroupManagerInstanceLifecyclePolicy getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy

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
TypeDescription
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
TypeDescription
ByteString

The bytes for forceUpdateOnRepair.

getParserForType()

public Parser<InstanceGroupManagerInstanceLifecyclePolicy> getParserForType()
Returns
TypeDescription
Parser<InstanceGroupManagerInstanceLifecyclePolicy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
TypeDescription
boolean

Whether the forceUpdateOnRepair field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InstanceGroupManagerInstanceLifecyclePolicy.Builder newBuilderForType()
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceGroupManagerInstanceLifecyclePolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InstanceGroupManagerInstanceLifecyclePolicy.Builder toBuilder()
Returns
TypeDescription
InstanceGroupManagerInstanceLifecyclePolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException