Class InstanceGroupManagerActionsSummary.Builder (1.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerActionsSummary build()
Returns
TypeDescription
InstanceGroupManagerActionsSummary

buildPartial()

public InstanceGroupManagerActionsSummary buildPartial()
Returns
TypeDescription
InstanceGroupManagerActionsSummary

clear()

public InstanceGroupManagerActionsSummary.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InstanceGroupManagerActionsSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupManagerActionsSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

clone()

public InstanceGroupManagerActionsSummary.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The creatingWithoutRetries.

getDefaultInstanceForType()

public InstanceGroupManagerActionsSummary getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
int

The deleting.

getDescriptorForType()

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

Whether the verifying field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupManagerActionsSummary other)

public InstanceGroupManagerActionsSummary.Builder mergeFrom(InstanceGroupManagerActionsSummary other)
Parameter
NameDescription
otherInstanceGroupManagerActionsSummary
Returns
TypeDescription
InstanceGroupManagerActionsSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagerActionsSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The abandoning to set.

Returns
TypeDescription
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
NameDescription
valueint

The creating to set.

Returns
TypeDescription
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
NameDescription
valueint

The creatingWithoutRetries to set.

Returns
TypeDescription
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
NameDescription
valueint

The deleting to set.

Returns
TypeDescription
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupManagerActionsSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The none to set.

Returns
TypeDescription
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
NameDescription
valueint

The recreating to set.

Returns
TypeDescription
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
NameDescription
valueint

The refreshing to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The restarting to set.

Returns
TypeDescription
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
NameDescription
valueint

The resuming to set.

Returns
TypeDescription
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
NameDescription
valueint

The starting to set.

Returns
TypeDescription
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
NameDescription
valueint

The stopping to set.

Returns
TypeDescription
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
NameDescription
valueint

The suspending to set.

Returns
TypeDescription
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagerActionsSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The verifying to set.

Returns
TypeDescription
InstanceGroupManagerActionsSummary.Builder

This builder for chaining.