Class InstanceGroupManagerActionsSummary.Builder (1.62.0)

public static final class InstanceGroupManagerActionsSummary.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerActionsSummary.Builder> implements InstanceGroupManagerActionsSummaryOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerActionsSummary

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerActionsSummary build()
Returns
Type Description
InstanceGroupManagerActionsSummary

buildPartial()

public InstanceGroupManagerActionsSummary buildPartial()
Returns
Type Description
InstanceGroupManagerActionsSummary

clear()

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

clearAbandoning()

public InstanceGroupManagerActionsSummary.Builder clearAbandoning()

[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.

optional int32 abandoning = 440023373;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearCreating()

public InstanceGroupManagerActionsSummary.Builder clearCreating()

[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.

optional int32 creating = 209809081;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearCreatingWithoutRetries()

public InstanceGroupManagerActionsSummary.Builder clearCreatingWithoutRetries()

[Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.

optional int32 creating_without_retries = 369916745;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearDeleting()

public InstanceGroupManagerActionsSummary.Builder clearDeleting()

[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.

optional int32 deleting = 282846120;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InstanceGroupManagerActionsSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InstanceGroupManagerActionsSummary.Builder
Overrides

clearNone()

public InstanceGroupManagerActionsSummary.Builder clearNone()

[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.

optional int32 none = 3387192;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRecreating()

public InstanceGroupManagerActionsSummary.Builder clearRecreating()

[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.

optional int32 recreating = 339057132;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearRefreshing()

public InstanceGroupManagerActionsSummary.Builder clearRefreshing()

[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.

optional int32 refreshing = 215044903;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearRestarting()

public InstanceGroupManagerActionsSummary.Builder clearRestarting()

[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.

optional int32 restarting = 372312947;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearResuming()

public InstanceGroupManagerActionsSummary.Builder clearResuming()

[Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.

optional int32 resuming = 201100714;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearStarting()

public InstanceGroupManagerActionsSummary.Builder clearStarting()

[Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.

optional int32 starting = 243064896;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearStopping()

public InstanceGroupManagerActionsSummary.Builder clearStopping()

[Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.

optional int32 stopping = 105035892;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearSuspending()

public InstanceGroupManagerActionsSummary.Builder clearSuspending()

[Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.

optional int32 suspending = 29113894;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearVerifying()

public InstanceGroupManagerActionsSummary.Builder clearVerifying()

[Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.

optional int32 verifying = 451612873;

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clone()

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

getAbandoning()

public int getAbandoning()

[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.

optional int32 abandoning = 440023373;

Returns
Type Description
int

The abandoning.

getCreating()

public int getCreating()

[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.

optional int32 creating = 209809081;

Returns
Type Description
int

The creating.

getCreatingWithoutRetries()

public int getCreatingWithoutRetries()

[Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.

optional int32 creating_without_retries = 369916745;

Returns
Type Description
int

The creatingWithoutRetries.

getDefaultInstanceForType()

public InstanceGroupManagerActionsSummary getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagerActionsSummary

getDeleting()

public int getDeleting()

[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.

optional int32 deleting = 282846120;

Returns
Type Description
int

The deleting.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNone()

public int getNone()

[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.

optional int32 none = 3387192;

Returns
Type Description
int

The none.

getRecreating()

public int getRecreating()

[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.

optional int32 recreating = 339057132;

Returns
Type Description
int

The recreating.

getRefreshing()

public int getRefreshing()

[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.

optional int32 refreshing = 215044903;

Returns
Type Description
int

The refreshing.

getRestarting()

public int getRestarting()

[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.

optional int32 restarting = 372312947;

Returns
Type Description
int

The restarting.

getResuming()

public int getResuming()

[Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.

optional int32 resuming = 201100714;

Returns
Type Description
int

The resuming.

getStarting()

public int getStarting()

[Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.

optional int32 starting = 243064896;

Returns
Type Description
int

The starting.

getStopping()

public int getStopping()

[Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.

optional int32 stopping = 105035892;

Returns
Type Description
int

The stopping.

getSuspending()

public int getSuspending()

[Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.

optional int32 suspending = 29113894;

Returns
Type Description
int

The suspending.

getVerifying()

public int getVerifying()

[Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.

optional int32 verifying = 451612873;

Returns
Type Description
int

The verifying.

hasAbandoning()

public boolean hasAbandoning()

[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.

optional int32 abandoning = 440023373;

Returns
Type Description
boolean

Whether the abandoning field is set.

hasCreating()

public boolean hasCreating()

[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.

optional int32 creating = 209809081;

Returns
Type Description
boolean

Whether the creating field is set.

hasCreatingWithoutRetries()

public boolean hasCreatingWithoutRetries()

[Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.

optional int32 creating_without_retries = 369916745;

Returns
Type Description
boolean

Whether the creatingWithoutRetries field is set.

hasDeleting()

public boolean hasDeleting()

[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.

optional int32 deleting = 282846120;

Returns
Type Description
boolean

Whether the deleting field is set.

hasNone()

public boolean hasNone()

[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.

optional int32 none = 3387192;

Returns
Type Description
boolean

Whether the none field is set.

hasRecreating()

public boolean hasRecreating()

[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.

optional int32 recreating = 339057132;

Returns
Type Description
boolean

Whether the recreating field is set.

hasRefreshing()

public boolean hasRefreshing()

[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.

optional int32 refreshing = 215044903;

Returns
Type Description
boolean

Whether the refreshing field is set.

hasRestarting()

public boolean hasRestarting()

[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.

optional int32 restarting = 372312947;

Returns
Type Description
boolean

Whether the restarting field is set.

hasResuming()

public boolean hasResuming()

[Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.

optional int32 resuming = 201100714;

Returns
Type Description
boolean

Whether the resuming field is set.

hasStarting()

public boolean hasStarting()

[Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.

optional int32 starting = 243064896;

Returns
Type Description
boolean

Whether the starting field is set.

hasStopping()

public boolean hasStopping()

[Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.

optional int32 stopping = 105035892;

Returns
Type Description
boolean

Whether the stopping field is set.

hasSuspending()

public boolean hasSuspending()

[Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.

optional int32 suspending = 29113894;

Returns
Type Description
boolean

Whether the suspending field is set.

hasVerifying()

public boolean hasVerifying()

[Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.

optional int32 verifying = 451612873;

Returns
Type Description
boolean

Whether the verifying field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupManagerActionsSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAbandoning(int value)

public InstanceGroupManagerActionsSummary.Builder setAbandoning(int value)

[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.

optional int32 abandoning = 440023373;

Parameter
Name Description
value int

The abandoning to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setCreating(int value)

public InstanceGroupManagerActionsSummary.Builder setCreating(int value)

[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.

optional int32 creating = 209809081;

Parameter
Name Description
value int

The creating to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setCreatingWithoutRetries(int value)

public InstanceGroupManagerActionsSummary.Builder setCreatingWithoutRetries(int value)

[Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.

optional int32 creating_without_retries = 369916745;

Parameter
Name Description
value int

The creatingWithoutRetries to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setDeleting(int value)

public InstanceGroupManagerActionsSummary.Builder setDeleting(int value)

[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.

optional int32 deleting = 282846120;

Parameter
Name Description
value int

The deleting to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setNone(int value)

public InstanceGroupManagerActionsSummary.Builder setNone(int value)

[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.

optional int32 none = 3387192;

Parameter
Name Description
value int

The none to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setRecreating(int value)

public InstanceGroupManagerActionsSummary.Builder setRecreating(int value)

[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.

optional int32 recreating = 339057132;

Parameter
Name Description
value int

The recreating to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setRefreshing(int value)

public InstanceGroupManagerActionsSummary.Builder setRefreshing(int value)

[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.

optional int32 refreshing = 215044903;

Parameter
Name Description
value int

The refreshing to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

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

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

setRestarting(int value)

public InstanceGroupManagerActionsSummary.Builder setRestarting(int value)

[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.

optional int32 restarting = 372312947;

Parameter
Name Description
value int

The restarting to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setResuming(int value)

public InstanceGroupManagerActionsSummary.Builder setResuming(int value)

[Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.

optional int32 resuming = 201100714;

Parameter
Name Description
value int

The resuming to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setStarting(int value)

public InstanceGroupManagerActionsSummary.Builder setStarting(int value)

[Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.

optional int32 starting = 243064896;

Parameter
Name Description
value int

The starting to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setStopping(int value)

public InstanceGroupManagerActionsSummary.Builder setStopping(int value)

[Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.

optional int32 stopping = 105035892;

Parameter
Name Description
value int

The stopping to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setSuspending(int value)

public InstanceGroupManagerActionsSummary.Builder setSuspending(int value)

[Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.

optional int32 suspending = 29113894;

Parameter
Name Description
value int

The suspending to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVerifying(int value)

public InstanceGroupManagerActionsSummary.Builder setVerifying(int value)

[Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.

optional int32 verifying = 451612873;

Parameter
Name Description
value int

The verifying to set.

Returns
Type Description
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.