Class InstanceGroupManagerStatus.Builder (1.19.0)

public static final class InstanceGroupManagerStatus.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerStatus.Builder> implements InstanceGroupManagerStatusOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerStatus build()
Returns
TypeDescription
InstanceGroupManagerStatus

buildPartial()

public InstanceGroupManagerStatus buildPartial()
Returns
TypeDescription
InstanceGroupManagerStatus

clear()

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

clearAutoscaler()

public InstanceGroupManagerStatus.Builder clearAutoscaler()

[Output Only] The URL of the Autoscaler that targets this instance group manager.

optional string autoscaler = 517258967;

Returns
TypeDescription
InstanceGroupManagerStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIsStable()

public InstanceGroupManagerStatus.Builder clearIsStable()

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

optional bool is_stable = 108410864;

Returns
TypeDescription
InstanceGroupManagerStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStateful()

public InstanceGroupManagerStatus.Builder clearStateful()

[Output Only] Stateful status of the given Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStateful stateful = 244462412;

Returns
TypeDescription
InstanceGroupManagerStatus.Builder

clearVersionTarget()

public InstanceGroupManagerStatus.Builder clearVersionTarget()

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget version_target = 289386200;

Returns
TypeDescription
InstanceGroupManagerStatus.Builder

clone()

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

getAutoscaler()

public String getAutoscaler()

[Output Only] The URL of the Autoscaler that targets this instance group manager.

optional string autoscaler = 517258967;

Returns
TypeDescription
String

The autoscaler.

getAutoscalerBytes()

public ByteString getAutoscalerBytes()

[Output Only] The URL of the Autoscaler that targets this instance group manager.

optional string autoscaler = 517258967;

Returns
TypeDescription
ByteString

The bytes for autoscaler.

getDefaultInstanceForType()

public InstanceGroupManagerStatus getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagerStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIsStable()

public boolean getIsStable()

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

optional bool is_stable = 108410864;

Returns
TypeDescription
boolean

The isStable.

getStateful()

public InstanceGroupManagerStatusStateful getStateful()

[Output Only] Stateful status of the given Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStateful stateful = 244462412;

Returns
TypeDescription
InstanceGroupManagerStatusStateful

The stateful.

getStatefulBuilder()

public InstanceGroupManagerStatusStateful.Builder getStatefulBuilder()

[Output Only] Stateful status of the given Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStateful stateful = 244462412;

Returns
TypeDescription
InstanceGroupManagerStatusStateful.Builder

getStatefulOrBuilder()

public InstanceGroupManagerStatusStatefulOrBuilder getStatefulOrBuilder()

[Output Only] Stateful status of the given Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStateful stateful = 244462412;

Returns
TypeDescription
InstanceGroupManagerStatusStatefulOrBuilder

getVersionTarget()

public InstanceGroupManagerStatusVersionTarget getVersionTarget()

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget version_target = 289386200;

Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget

The versionTarget.

getVersionTargetBuilder()

public InstanceGroupManagerStatusVersionTarget.Builder getVersionTargetBuilder()

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget version_target = 289386200;

Returns
TypeDescription
InstanceGroupManagerStatusVersionTarget.Builder

getVersionTargetOrBuilder()

public InstanceGroupManagerStatusVersionTargetOrBuilder getVersionTargetOrBuilder()

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget version_target = 289386200;

Returns
TypeDescription
InstanceGroupManagerStatusVersionTargetOrBuilder

hasAutoscaler()

public boolean hasAutoscaler()

[Output Only] The URL of the Autoscaler that targets this instance group manager.

optional string autoscaler = 517258967;

Returns
TypeDescription
boolean

Whether the autoscaler field is set.

hasIsStable()

public boolean hasIsStable()

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

optional bool is_stable = 108410864;

Returns
TypeDescription
boolean

Whether the isStable field is set.

hasStateful()

public boolean hasStateful()

[Output Only] Stateful status of the given Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStateful stateful = 244462412;

Returns
TypeDescription
boolean

Whether the stateful field is set.

hasVersionTarget()

public boolean hasVersionTarget()

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget version_target = 289386200;

Returns
TypeDescription
boolean

Whether the versionTarget field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupManagerStatus other)

public InstanceGroupManagerStatus.Builder mergeFrom(InstanceGroupManagerStatus other)
Parameter
NameDescription
otherInstanceGroupManagerStatus
Returns
TypeDescription
InstanceGroupManagerStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStateful(InstanceGroupManagerStatusStateful value)

public InstanceGroupManagerStatus.Builder mergeStateful(InstanceGroupManagerStatusStateful value)

[Output Only] Stateful status of the given Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStateful stateful = 244462412;

Parameter
NameDescription
valueInstanceGroupManagerStatusStateful
Returns
TypeDescription
InstanceGroupManagerStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVersionTarget(InstanceGroupManagerStatusVersionTarget value)

public InstanceGroupManagerStatus.Builder mergeVersionTarget(InstanceGroupManagerStatusVersionTarget value)

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget version_target = 289386200;

Parameter
NameDescription
valueInstanceGroupManagerStatusVersionTarget
Returns
TypeDescription
InstanceGroupManagerStatus.Builder

setAutoscaler(String value)

public InstanceGroupManagerStatus.Builder setAutoscaler(String value)

[Output Only] The URL of the Autoscaler that targets this instance group manager.

optional string autoscaler = 517258967;

Parameter
NameDescription
valueString

The autoscaler to set.

Returns
TypeDescription
InstanceGroupManagerStatus.Builder

This builder for chaining.

setAutoscalerBytes(ByteString value)

public InstanceGroupManagerStatus.Builder setAutoscalerBytes(ByteString value)

[Output Only] The URL of the Autoscaler that targets this instance group manager.

optional string autoscaler = 517258967;

Parameter
NameDescription
valueByteString

The bytes for autoscaler to set.

Returns
TypeDescription
InstanceGroupManagerStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsStable(boolean value)

public InstanceGroupManagerStatus.Builder setIsStable(boolean value)

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

optional bool is_stable = 108410864;

Parameter
NameDescription
valueboolean

The isStable to set.

Returns
TypeDescription
InstanceGroupManagerStatus.Builder

This builder for chaining.

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

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

setStateful(InstanceGroupManagerStatusStateful value)

public InstanceGroupManagerStatus.Builder setStateful(InstanceGroupManagerStatusStateful value)

[Output Only] Stateful status of the given Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStateful stateful = 244462412;

Parameter
NameDescription
valueInstanceGroupManagerStatusStateful
Returns
TypeDescription
InstanceGroupManagerStatus.Builder

setStateful(InstanceGroupManagerStatusStateful.Builder builderForValue)

public InstanceGroupManagerStatus.Builder setStateful(InstanceGroupManagerStatusStateful.Builder builderForValue)

[Output Only] Stateful status of the given Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStateful stateful = 244462412;

Parameter
NameDescription
builderForValueInstanceGroupManagerStatusStateful.Builder
Returns
TypeDescription
InstanceGroupManagerStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersionTarget(InstanceGroupManagerStatusVersionTarget value)

public InstanceGroupManagerStatus.Builder setVersionTarget(InstanceGroupManagerStatusVersionTarget value)

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget version_target = 289386200;

Parameter
NameDescription
valueInstanceGroupManagerStatusVersionTarget
Returns
TypeDescription
InstanceGroupManagerStatus.Builder

setVersionTarget(InstanceGroupManagerStatusVersionTarget.Builder builderForValue)

public InstanceGroupManagerStatus.Builder setVersionTarget(InstanceGroupManagerStatusVersionTarget.Builder builderForValue)

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget version_target = 289386200;

Parameter
NameDescription
builderForValueInstanceGroupManagerStatusVersionTarget.Builder
Returns
TypeDescription
InstanceGroupManagerStatus.Builder