Package com.google.cloud.compute.v1
Class InstanceGroupManagerActionsSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerActionsSummary.Builder>
com.google.cloud.compute.v1.InstanceGroupManagerActionsSummary.Builder
- All Implemented Interfaces:
InstanceGroupManagerActionsSummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceGroupManagerActionsSummary
public static final class InstanceGroupManagerActionsSummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerActionsSummary.Builder>
implements InstanceGroupManagerActionsSummaryOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceGroupManagerActionsSummary-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.intOutput only.intOutput only.intOutput only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintgetNone()Output only.intOutput only.intOutput only.intOutput only.intOutput only.intOutput only.intOutput only.intOutput only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasNone()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAbandoning(int value) Output only.setCreating(int value) Output only.setCreatingWithoutRetries(int value) Output only.setDeleting(int value) Output only.setNone(int value) Output only.setRecreating(int value) Output only.setRefreshing(int value) Output only.setRestarting(int value) Output only.setResuming(int value) Output only.setStarting(int value) Output only.setStopping(int value) Output only.setSuspending(int value) Output only.setVerifying(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerActionsSummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerActionsSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerActionsSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagerActionsSummary.Builder>
-
mergeFrom
public InstanceGroupManagerActionsSummary.Builder mergeFrom(InstanceGroupManagerActionsSummary other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerActionsSummary.Builder>
-
mergeFrom
public InstanceGroupManagerActionsSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagerActionsSummary.Builder>- Throws:
IOException
-
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;- Specified by:
hasAbandoningin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the abandoning field is set.
-
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;- Specified by:
getAbandoningin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The abandoning.
-
setAbandoning
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;- Parameters:
value- The abandoning to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasCreatingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the creating field is set.
-
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;- Specified by:
getCreatingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The creating.
-
setCreating
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;- Parameters:
value- The creating to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasCreatingWithoutRetriesin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the creatingWithoutRetries field is set.
-
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;- Specified by:
getCreatingWithoutRetriesin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The creatingWithoutRetries.
-
setCreatingWithoutRetries
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;- Parameters:
value- The creatingWithoutRetries to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasDeletingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the deleting field is set.
-
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;- Specified by:
getDeletingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The deleting.
-
setDeleting
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;- Parameters:
value- The deleting to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasNonein interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the none field is set.
-
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;- Specified by:
getNonein interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The none.
-
setNone
Output only. The number of instances in the managed instance group that are running and have no scheduled actions.
optional int32 none = 3387192;- Parameters:
value- The none to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasRecreatingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the recreating field is set.
-
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;- Specified by:
getRecreatingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The recreating.
-
setRecreating
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;- Parameters:
value- The recreating to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasRefreshingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the refreshing field is set.
-
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;- Specified by:
getRefreshingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The refreshing.
-
setRefreshing
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;- Parameters:
value- The refreshing to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasRestartingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the restarting field is set.
-
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;- Specified by:
getRestartingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The restarting.
-
setRestarting
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;- Parameters:
value- The restarting to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasResumingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the resuming field is set.
-
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;- Specified by:
getResumingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The resuming.
-
setResuming
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;- Parameters:
value- The resuming to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasStartingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the starting field is set.
-
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;- Specified by:
getStartingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The starting.
-
setStarting
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;- Parameters:
value- The starting to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasStoppingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the stopping field is set.
-
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;- Specified by:
getStoppingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The stopping.
-
setStopping
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;- Parameters:
value- The stopping to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasSuspendingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the suspending field is set.
-
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;- Specified by:
getSuspendingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The suspending.
-
setSuspending
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;- Parameters:
value- The suspending to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasVerifyingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- Whether the verifying field is set.
-
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;- Specified by:
getVerifyingin interfaceInstanceGroupManagerActionsSummaryOrBuilder- Returns:
- The verifying.
-
setVerifying
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;- Parameters:
value- The verifying to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-