Class InstanceGroupManagerStatus.Builder (1.58.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerStatus build()
Returns
Type Description
InstanceGroupManagerStatus

buildPartial()

public InstanceGroupManagerStatus buildPartial()
Returns
Type Description
InstanceGroupManagerStatus

clear()

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

clearAllInstancesConfig()

public InstanceGroupManagerStatus.Builder clearAllInstancesConfig()

[Output only] Status of all-instances configuration on the group.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737;

Returns
Type Description
InstanceGroupManagerStatus.Builder

clearAutoscaler()

public InstanceGroupManagerStatus.Builder clearAutoscaler()

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

optional string autoscaler = 517258967;

Returns
Type Description
InstanceGroupManagerStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupManagerStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
InstanceGroupManagerStatus.Builder

clone()

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

getAllInstancesConfig()

public InstanceGroupManagerStatusAllInstancesConfig getAllInstancesConfig()

[Output only] Status of all-instances configuration on the group.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737;

Returns
Type Description
InstanceGroupManagerStatusAllInstancesConfig

The allInstancesConfig.

getAllInstancesConfigBuilder()

public InstanceGroupManagerStatusAllInstancesConfig.Builder getAllInstancesConfigBuilder()

[Output only] Status of all-instances configuration on the group.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737;

Returns
Type Description
InstanceGroupManagerStatusAllInstancesConfig.Builder

getAllInstancesConfigOrBuilder()

public InstanceGroupManagerStatusAllInstancesConfigOrBuilder getAllInstancesConfigOrBuilder()

[Output only] Status of all-instances configuration on the group.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737;

Returns
Type Description
InstanceGroupManagerStatusAllInstancesConfigOrBuilder

getAutoscaler()

public String getAutoscaler()

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

optional string autoscaler = 517258967;

Returns
Type Description
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
Type Description
ByteString

The bytes for autoscaler.

getDefaultInstanceForType()

public InstanceGroupManagerStatus getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagerStatus

getDescriptorForType()

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

hasAllInstancesConfig()

public boolean hasAllInstancesConfig()

[Output only] Status of all-instances configuration on the group.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737;

Returns
Type Description
boolean

Whether the allInstancesConfig field is set.

hasAutoscaler()

public boolean hasAutoscaler()

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

optional string autoscaler = 517258967;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the versionTarget field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllInstancesConfig(InstanceGroupManagerStatusAllInstancesConfig value)

public InstanceGroupManagerStatus.Builder mergeAllInstancesConfig(InstanceGroupManagerStatusAllInstancesConfig value)

[Output only] Status of all-instances configuration on the group.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737;

Parameter
Name Description
value InstanceGroupManagerStatusAllInstancesConfig
Returns
Type Description
InstanceGroupManagerStatus.Builder

mergeFrom(InstanceGroupManagerStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InstanceGroupManagerStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value InstanceGroupManagerStatusStateful
Returns
Type Description
InstanceGroupManagerStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagerStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value InstanceGroupManagerStatusVersionTarget
Returns
Type Description
InstanceGroupManagerStatus.Builder

setAllInstancesConfig(InstanceGroupManagerStatusAllInstancesConfig value)

public InstanceGroupManagerStatus.Builder setAllInstancesConfig(InstanceGroupManagerStatusAllInstancesConfig value)

[Output only] Status of all-instances configuration on the group.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737;

Parameter
Name Description
value InstanceGroupManagerStatusAllInstancesConfig
Returns
Type Description
InstanceGroupManagerStatus.Builder

setAllInstancesConfig(InstanceGroupManagerStatusAllInstancesConfig.Builder builderForValue)

public InstanceGroupManagerStatus.Builder setAllInstancesConfig(InstanceGroupManagerStatusAllInstancesConfig.Builder builderForValue)

[Output only] Status of all-instances configuration on the group.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737;

Parameter
Name Description
builderForValue InstanceGroupManagerStatusAllInstancesConfig.Builder
Returns
Type Description
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
Name Description
value String

The autoscaler to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for autoscaler to set.

Returns
Type Description
InstanceGroupManagerStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The isStable to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagerStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value InstanceGroupManagerStatusVersionTarget
Returns
Type Description
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
Name Description
builderForValue InstanceGroupManagerStatusVersionTarget.Builder
Returns
Type Description
InstanceGroupManagerStatus.Builder