Class InstanceGroupManagerStatusStateful.Builder (1.59.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerStatusStateful build()
Returns
Type Description
InstanceGroupManagerStatusStateful

buildPartial()

public InstanceGroupManagerStatusStateful buildPartial()
Returns
Type Description
InstanceGroupManagerStatusStateful

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPerInstanceConfigs()

public InstanceGroupManagerStatusStateful.Builder clearPerInstanceConfigs()

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

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

Returns
Type Description
InstanceGroupManagerStatusStateful.Builder

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagerStatusStateful getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagerStatusStateful

getDescriptorForType()

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

The hasStatefulConfig.

getPerInstanceConfigs()

public InstanceGroupManagerStatusStatefulPerInstanceConfigs getPerInstanceConfigs()

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

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

Returns
Type Description
InstanceGroupManagerStatusStatefulPerInstanceConfigs

The perInstanceConfigs.

getPerInstanceConfigsBuilder()

public InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder getPerInstanceConfigsBuilder()

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

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

Returns
Type Description
InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder

getPerInstanceConfigsOrBuilder()

public InstanceGroupManagerStatusStatefulPerInstanceConfigsOrBuilder getPerInstanceConfigsOrBuilder()

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

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

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

Whether the hasStatefulConfig field is set.

hasPerInstanceConfigs()

public boolean hasPerInstanceConfigs()

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

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

Returns
Type Description
boolean

Whether the perInstanceConfigs field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupManagerStatusStateful other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)

public InstanceGroupManagerStatusStateful.Builder mergePerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)

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

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

Parameter
Name Description
value InstanceGroupManagerStatusStatefulPerInstanceConfigs
Returns
Type Description
InstanceGroupManagerStatusStateful.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The hasStatefulConfig to set.

Returns
Type Description
InstanceGroupManagerStatusStateful.Builder

This builder for chaining.

setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)

public InstanceGroupManagerStatusStateful.Builder setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)

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

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

Parameter
Name Description
value InstanceGroupManagerStatusStatefulPerInstanceConfigs
Returns
Type Description
InstanceGroupManagerStatusStateful.Builder

setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder builderForValue)

public InstanceGroupManagerStatusStateful.Builder setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder
Returns
Type Description
InstanceGroupManagerStatusStateful.Builder

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

public InstanceGroupManagerStatusStateful.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InstanceGroupManagerStatusStateful.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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