Class InstanceGroupManagerStatusStateful.Builder (1.41.0)

public static final class InstanceGroupManagerStatusStateful.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerStatusStateful.Builder> implements InstanceGroupManagerStatusStatefulOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusStateful

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerStatusStateful build()
Returns
TypeDescription
InstanceGroupManagerStatusStateful

buildPartial()

public InstanceGroupManagerStatusStateful buildPartial()
Returns
TypeDescription
InstanceGroupManagerStatusStateful

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHasStatefulConfig()

public InstanceGroupManagerStatusStateful.Builder clearHasStatefulConfig()

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

optional bool has_stateful_config = 110474224;

Returns
TypeDescription
InstanceGroupManagerStatusStateful.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPerInstanceConfigs()

public InstanceGroupManagerStatusStateful.Builder clearPerInstanceConfigs()

[Output Only] Status of per-instance configurations on the instance.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

Returns
TypeDescription
InstanceGroupManagerStatusStateful.Builder

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagerStatusStateful getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagerStatusStateful

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHasStatefulConfig()

public boolean getHasStatefulConfig()

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

optional bool has_stateful_config = 110474224;

Returns
TypeDescription
boolean

The hasStatefulConfig.

getPerInstanceConfigs()

public InstanceGroupManagerStatusStatefulPerInstanceConfigs getPerInstanceConfigs()

[Output Only] Status of per-instance configurations on the instance.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

Returns
TypeDescription
InstanceGroupManagerStatusStatefulPerInstanceConfigs

The perInstanceConfigs.

getPerInstanceConfigsBuilder()

public InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder getPerInstanceConfigsBuilder()

[Output Only] Status of per-instance configurations on the instance.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

Returns
TypeDescription
InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder

getPerInstanceConfigsOrBuilder()

public InstanceGroupManagerStatusStatefulPerInstanceConfigsOrBuilder getPerInstanceConfigsOrBuilder()

[Output Only] Status of per-instance configurations on the instance.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

Returns
TypeDescription
InstanceGroupManagerStatusStatefulPerInstanceConfigsOrBuilder

hasHasStatefulConfig()

public boolean hasHasStatefulConfig()

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

optional bool has_stateful_config = 110474224;

Returns
TypeDescription
boolean

Whether the hasStatefulConfig field is set.

hasPerInstanceConfigs()

public boolean hasPerInstanceConfigs()

[Output Only] Status of per-instance configurations on the instance.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

Returns
TypeDescription
boolean

Whether the perInstanceConfigs field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupManagerStatusStateful other)

public InstanceGroupManagerStatusStateful.Builder mergeFrom(InstanceGroupManagerStatusStateful other)
Parameter
NameDescription
otherInstanceGroupManagerStatusStateful
Returns
TypeDescription
InstanceGroupManagerStatusStateful.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)

public InstanceGroupManagerStatusStateful.Builder mergePerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)

[Output Only] Status of per-instance configurations on the instance.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

Parameter
NameDescription
valueInstanceGroupManagerStatusStatefulPerInstanceConfigs
Returns
TypeDescription
InstanceGroupManagerStatusStateful.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHasStatefulConfig(boolean value)

public InstanceGroupManagerStatusStateful.Builder setHasStatefulConfig(boolean value)

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

optional bool has_stateful_config = 110474224;

Parameter
NameDescription
valueboolean

The hasStatefulConfig to set.

Returns
TypeDescription
InstanceGroupManagerStatusStateful.Builder

This builder for chaining.

setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)

public InstanceGroupManagerStatusStateful.Builder setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)

[Output Only] Status of per-instance configurations on the instance.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

Parameter
NameDescription
valueInstanceGroupManagerStatusStatefulPerInstanceConfigs
Returns
TypeDescription
InstanceGroupManagerStatusStateful.Builder

setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder builderForValue)

public InstanceGroupManagerStatusStateful.Builder setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder builderForValue)

[Output Only] Status of per-instance configurations on the instance.

optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

Parameter
NameDescription
builderForValueInstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder
Returns
TypeDescription
InstanceGroupManagerStatusStateful.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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