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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerStatusStateful.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InstanceGroupManagerStatusStateful build()
Returns
buildPartial()
public InstanceGroupManagerStatusStateful buildPartial()
Returns
clear()
public InstanceGroupManagerStatusStateful.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupManagerStatusStateful.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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 config 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
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupManagerStatusStateful.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPerInstanceConfigs()
public InstanceGroupManagerStatusStateful.Builder clearPerInstanceConfigs()
[Output Only] Status of per-instance configs on the instance.
optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
Returns
clone()
public InstanceGroupManagerStatusStateful.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InstanceGroupManagerStatusStateful getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 config 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 configs on the instance.
optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
Returns
getPerInstanceConfigsBuilder()
public InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder getPerInstanceConfigsBuilder()
[Output Only] Status of per-instance configs on the instance.
optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
Returns
getPerInstanceConfigsOrBuilder()
public InstanceGroupManagerStatusStatefulPerInstanceConfigsOrBuilder getPerInstanceConfigsOrBuilder()
[Output Only] Status of per-instance configs on the instance.
optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
Returns
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 config 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 configs on the instance.
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InstanceGroupManagerStatusStateful other)
public InstanceGroupManagerStatusStateful.Builder mergeFrom(InstanceGroupManagerStatusStateful other)
Parameter
Returns
public InstanceGroupManagerStatusStateful.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstanceGroupManagerStatusStateful.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)
public InstanceGroupManagerStatusStateful.Builder mergePerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)
[Output Only] Status of per-instance configs on the instance.
optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerStatusStateful.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerStatusStateful.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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 config 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
setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)
public InstanceGroupManagerStatusStateful.Builder setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value)
[Output Only] Status of per-instance configs on the instance.
optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
Parameter
Returns
setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder builderForValue)
public InstanceGroupManagerStatusStateful.Builder setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder builderForValue)
[Output Only] Status of per-instance configs on the instance.
optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupManagerStatusStateful.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerStatusStateful.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides