Class InstanceGroupManagerStatusVersionTarget.Builder (1.53.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupManagerStatusVersionTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

build()

public InstanceGroupManagerStatusVersionTarget build()
Returns
Type Description
InstanceGroupManagerStatusVersionTarget

buildPartial()

public InstanceGroupManagerStatusVersionTarget buildPartial()
Returns
Type Description
InstanceGroupManagerStatusVersionTarget

clear()

public InstanceGroupManagerStatusVersionTarget.Builder clear()
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InstanceGroupManagerStatusVersionTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
InstanceGroupManagerStatusVersionTarget.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupManagerStatusVersionTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

clone()

public InstanceGroupManagerStatusVersionTarget.Builder clone()
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

getDefaultInstanceForType()

public InstanceGroupManagerStatusVersionTarget getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagerStatusVersionTarget

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the isReached field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupManagerStatusVersionTarget other)

public InstanceGroupManagerStatusVersionTarget.Builder mergeFrom(InstanceGroupManagerStatusVersionTarget other)
Parameter
Name Description
other InstanceGroupManagerStatusVersionTarget
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstanceGroupManagerStatusVersionTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InstanceGroupManagerStatusVersionTarget.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagerStatusVersionTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupManagerStatusVersionTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value boolean

The isReached to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagerStatusVersionTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstanceGroupManagerStatusVersionTarget.Builder
Overrides