Class InstanceGroupManagerStatusVersionTarget.Builder (1.18.0)

public static final class InstanceGroupManagerStatusVersionTarget.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerStatusVersionTarget.Builder> implements InstanceGroupManagerStatusVersionTargetOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupManagerStatusVersionTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

build()

public InstanceGroupManagerStatusVersionTarget build()
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget

buildPartial()

public InstanceGroupManagerStatusVersionTarget buildPartial()
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget

clear()

public InstanceGroupManagerStatusVersionTarget.Builder clear()
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InstanceGroupManagerStatusVersionTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

clearIsReached()

public InstanceGroupManagerStatusVersionTarget.Builder clearIsReached()

[Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.

optional bool is_reached = 433209149;

Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupManagerStatusVersionTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

clone()

public InstanceGroupManagerStatusVersionTarget.Builder clone()
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

getDefaultInstanceForType()

public InstanceGroupManagerStatusVersionTarget getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIsReached()

public boolean getIsReached()

[Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.

optional bool is_reached = 433209149;

Returns
TypeDescription
boolean

The isReached.

hasIsReached()

public boolean hasIsReached()

[Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.

optional bool is_reached = 433209149;

Returns
TypeDescription
boolean

Whether the isReached field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupManagerStatusVersionTarget other)

public InstanceGroupManagerStatusVersionTarget.Builder mergeFrom(InstanceGroupManagerStatusVersionTarget other)
Parameter
NameDescription
otherInstanceGroupManagerStatusVersionTarget
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstanceGroupManagerStatusVersionTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstanceGroupManagerStatusVersionTarget.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagerStatusVersionTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupManagerStatusVersionTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

setIsReached(boolean value)

public InstanceGroupManagerStatusVersionTarget.Builder setIsReached(boolean value)

[Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.

optional bool is_reached = 433209149;

Parameter
NameDescription
valueboolean

The isReached to set.

Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InstanceGroupManagerStatusVersionTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagerStatusVersionTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder
Overrides