Package com.google.cloud.compute.v1
Class InstanceGroupManagerStatusInstanceStatusSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerStatusInstanceStatusSummary.Builder>
com.google.cloud.compute.v1.InstanceGroupManagerStatusInstanceStatusSummary.Builder
- All Implemented Interfaces:
InstanceGroupManagerStatusInstanceStatusSummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceGroupManagerStatusInstanceStatusSummary
public static final class InstanceGroupManagerStatusInstanceStatusSummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerStatusInstanceStatusSummary.Builder>
implements InstanceGroupManagerStatusInstanceStatusSummaryOrBuilder
The list of instance statuses and the number of instances in this managed instance group that have the status. For more information about how to interpret each status check the instance lifecycle documentation. Currently only shown for TPU MIGs.Protobuf type
google.cloud.compute.v1.InstanceGroupManagerStatusInstanceStatusSummary-
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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOutput only.intOutput only.intOutput only.intOutput 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.booleanOutput 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) setDeprovisioning(int value) Output only.setNonExistent(int value) Output only.setPending(int value) Output only.setPendingStop(int value) Output only.setProvisioning(int value) Output only.setRepairing(int value) Output only.setRunning(int value) Output only.setStaging(int value) Output only.setStopped(int value) Output only.setStopping(int value) Output only.setSuspended(int value) Output only.setSuspending(int value) Output only.setTerminated(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<InstanceGroupManagerStatusInstanceStatusSummary.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<InstanceGroupManagerStatusInstanceStatusSummary.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<InstanceGroupManagerStatusInstanceStatusSummary.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
public InstanceGroupManagerStatusInstanceStatusSummary.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagerStatusInstanceStatusSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerStatusInstanceStatusSummary.Builder>
-
mergeFrom
public InstanceGroupManagerStatusInstanceStatusSummary.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<InstanceGroupManagerStatusInstanceStatusSummary.Builder>- Throws:
IOException
-
hasDeprovisioning
public boolean hasDeprovisioning()Output only. The number of instances in the managed instance group that have DEPROVISIONING status.
optional int32 deprovisioning = 462169582;- Specified by:
hasDeprovisioningin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the deprovisioning field is set.
-
getDeprovisioning
public int getDeprovisioning()Output only. The number of instances in the managed instance group that have DEPROVISIONING status.
optional int32 deprovisioning = 462169582;- Specified by:
getDeprovisioningin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The deprovisioning.
-
setDeprovisioning
Output only. The number of instances in the managed instance group that have DEPROVISIONING status.
optional int32 deprovisioning = 462169582;- Parameters:
value- The deprovisioning to set.- Returns:
- This builder for chaining.
-
clearDeprovisioning
Output only. The number of instances in the managed instance group that have DEPROVISIONING status.
optional int32 deprovisioning = 462169582;- Returns:
- This builder for chaining.
-
hasNonExistent
public boolean hasNonExistent()Output only. The number of instances that have not been created yet or have been deleted. Includes only instances that would be shown in the listManagedInstances method and not all instances that have been deleted in the lifetime of the MIG. Does not include FlexStart instances that are waiting for the resources availability, they are considered as 'pending'.
optional int32 non_existent = 468485062;- Specified by:
hasNonExistentin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the nonExistent field is set.
-
getNonExistent
public int getNonExistent()Output only. The number of instances that have not been created yet or have been deleted. Includes only instances that would be shown in the listManagedInstances method and not all instances that have been deleted in the lifetime of the MIG. Does not include FlexStart instances that are waiting for the resources availability, they are considered as 'pending'.
optional int32 non_existent = 468485062;- Specified by:
getNonExistentin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The nonExistent.
-
setNonExistent
Output only. The number of instances that have not been created yet or have been deleted. Includes only instances that would be shown in the listManagedInstances method and not all instances that have been deleted in the lifetime of the MIG. Does not include FlexStart instances that are waiting for the resources availability, they are considered as 'pending'.
optional int32 non_existent = 468485062;- Parameters:
value- The nonExistent to set.- Returns:
- This builder for chaining.
-
clearNonExistent
Output only. The number of instances that have not been created yet or have been deleted. Includes only instances that would be shown in the listManagedInstances method and not all instances that have been deleted in the lifetime of the MIG. Does not include FlexStart instances that are waiting for the resources availability, they are considered as 'pending'.
optional int32 non_existent = 468485062;- Returns:
- This builder for chaining.
-
hasPending
public boolean hasPending()Output only. The number of instances in the managed instance group that have PENDING status, that is FlexStart instances that are waiting for resources. Instances that do not exist because of the other reasons are counted as 'non_existent'.
optional int32 pending = 391154071;- Specified by:
hasPendingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the pending field is set.
-
getPending
public int getPending()Output only. The number of instances in the managed instance group that have PENDING status, that is FlexStart instances that are waiting for resources. Instances that do not exist because of the other reasons are counted as 'non_existent'.
optional int32 pending = 391154071;- Specified by:
getPendingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The pending.
-
setPending
Output only. The number of instances in the managed instance group that have PENDING status, that is FlexStart instances that are waiting for resources. Instances that do not exist because of the other reasons are counted as 'non_existent'.
optional int32 pending = 391154071;- Parameters:
value- The pending to set.- Returns:
- This builder for chaining.
-
clearPending
Output only. The number of instances in the managed instance group that have PENDING status, that is FlexStart instances that are waiting for resources. Instances that do not exist because of the other reasons are counted as 'non_existent'.
optional int32 pending = 391154071;- Returns:
- This builder for chaining.
-
hasPendingStop
public boolean hasPendingStop()Output only. The number of instances in the managed instance group that have PENDING_STOP status.
optional int32 pending_stop = 163159466;- Specified by:
hasPendingStopin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the pendingStop field is set.
-
getPendingStop
public int getPendingStop()Output only. The number of instances in the managed instance group that have PENDING_STOP status.
optional int32 pending_stop = 163159466;- Specified by:
getPendingStopin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The pendingStop.
-
setPendingStop
Output only. The number of instances in the managed instance group that have PENDING_STOP status.
optional int32 pending_stop = 163159466;- Parameters:
value- The pendingStop to set.- Returns:
- This builder for chaining.
-
clearPendingStop
Output only. The number of instances in the managed instance group that have PENDING_STOP status.
optional int32 pending_stop = 163159466;- Returns:
- This builder for chaining.
-
hasProvisioning
public boolean hasProvisioning()Output only. The number of instances in the managed instance group that have PROVISIONING status.
optional int32 provisioning = 121098989;- Specified by:
hasProvisioningin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the provisioning field is set.
-
getProvisioning
public int getProvisioning()Output only. The number of instances in the managed instance group that have PROVISIONING status.
optional int32 provisioning = 121098989;- Specified by:
getProvisioningin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The provisioning.
-
setProvisioning
Output only. The number of instances in the managed instance group that have PROVISIONING status.
optional int32 provisioning = 121098989;- Parameters:
value- The provisioning to set.- Returns:
- This builder for chaining.
-
clearProvisioning
Output only. The number of instances in the managed instance group that have PROVISIONING status.
optional int32 provisioning = 121098989;- Returns:
- This builder for chaining.
-
hasRepairing
public boolean hasRepairing()Output only. The number of instances in the managed instance group that have REPAIRING status.
optional int32 repairing = 311243061;- Specified by:
hasRepairingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the repairing field is set.
-
getRepairing
public int getRepairing()Output only. The number of instances in the managed instance group that have REPAIRING status.
optional int32 repairing = 311243061;- Specified by:
getRepairingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The repairing.
-
setRepairing
Output only. The number of instances in the managed instance group that have REPAIRING status.
optional int32 repairing = 311243061;- Parameters:
value- The repairing to set.- Returns:
- This builder for chaining.
-
clearRepairing
Output only. The number of instances in the managed instance group that have REPAIRING status.
optional int32 repairing = 311243061;- Returns:
- This builder for chaining.
-
hasRunning
public boolean hasRunning()Output only. The number of instances in the managed instance group that have RUNNING status.
optional int32 running = 477042111;- Specified by:
hasRunningin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the running field is set.
-
getRunning
public int getRunning()Output only. The number of instances in the managed instance group that have RUNNING status.
optional int32 running = 477042111;- Specified by:
getRunningin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The running.
-
setRunning
Output only. The number of instances in the managed instance group that have RUNNING status.
optional int32 running = 477042111;- Parameters:
value- The running to set.- Returns:
- This builder for chaining.
-
clearRunning
Output only. The number of instances in the managed instance group that have RUNNING status.
optional int32 running = 477042111;- Returns:
- This builder for chaining.
-
hasStaging
public boolean hasStaging()Output only. The number of instances in the managed instance group that have STAGING status.
optional int32 staging = 249960507;- Specified by:
hasStagingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the staging field is set.
-
getStaging
public int getStaging()Output only. The number of instances in the managed instance group that have STAGING status.
optional int32 staging = 249960507;- Specified by:
getStagingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The staging.
-
setStaging
Output only. The number of instances in the managed instance group that have STAGING status.
optional int32 staging = 249960507;- Parameters:
value- The staging to set.- Returns:
- This builder for chaining.
-
clearStaging
Output only. The number of instances in the managed instance group that have STAGING status.
optional int32 staging = 249960507;- Returns:
- This builder for chaining.
-
hasStopped
public boolean hasStopped()Output only. The number of instances in the managed instance group that have STOPPED status.
optional int32 stopped = 263164365;- Specified by:
hasStoppedin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the stopped field is set.
-
getStopped
public int getStopped()Output only. The number of instances in the managed instance group that have STOPPED status.
optional int32 stopped = 263164365;- Specified by:
getStoppedin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The stopped.
-
setStopped
Output only. The number of instances in the managed instance group that have STOPPED status.
optional int32 stopped = 263164365;- Parameters:
value- The stopped to set.- Returns:
- This builder for chaining.
-
clearStopped
Output only. The number of instances in the managed instance group that have STOPPED status.
optional int32 stopped = 263164365;- Returns:
- This builder for chaining.
-
hasStopping
public boolean hasStopping()Output only. The number of instances in the managed instance group that have STOPPING status.
optional int32 stopping = 105035892;- Specified by:
hasStoppingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the stopping field is set.
-
getStopping
public int getStopping()Output only. The number of instances in the managed instance group that have STOPPING status.
optional int32 stopping = 105035892;- Specified by:
getStoppingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The stopping.
-
setStopping
Output only. The number of instances in the managed instance group that have STOPPING status.
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 have STOPPING status.
optional int32 stopping = 105035892;- Returns:
- This builder for chaining.
-
hasSuspended
public boolean hasSuspended()Output only. The number of instances in the managed instance group that have SUSPENDED status.
optional int32 suspended = 485854683;- Specified by:
hasSuspendedin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the suspended field is set.
-
getSuspended
public int getSuspended()Output only. The number of instances in the managed instance group that have SUSPENDED status.
optional int32 suspended = 485854683;- Specified by:
getSuspendedin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The suspended.
-
setSuspended
Output only. The number of instances in the managed instance group that have SUSPENDED status.
optional int32 suspended = 485854683;- Parameters:
value- The suspended to set.- Returns:
- This builder for chaining.
-
clearSuspended
Output only. The number of instances in the managed instance group that have SUSPENDED status.
optional int32 suspended = 485854683;- Returns:
- This builder for chaining.
-
hasSuspending
public boolean hasSuspending()Output only. The number of instances in the managed instance group that have SUSPENDING status.
optional int32 suspending = 29113894;- Specified by:
hasSuspendingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the suspending field is set.
-
getSuspending
public int getSuspending()Output only. The number of instances in the managed instance group that have SUSPENDING status.
optional int32 suspending = 29113894;- Specified by:
getSuspendingin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The suspending.
-
setSuspending
Output only. The number of instances in the managed instance group that have SUSPENDING status.
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 have SUSPENDING status.
optional int32 suspending = 29113894;- Returns:
- This builder for chaining.
-
hasTerminated
public boolean hasTerminated()Output only. The number of instances in the managed instance group that have TERMINATED status.
optional int32 terminated = 301796899;- Specified by:
hasTerminatedin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- Whether the terminated field is set.
-
getTerminated
public int getTerminated()Output only. The number of instances in the managed instance group that have TERMINATED status.
optional int32 terminated = 301796899;- Specified by:
getTerminatedin interfaceInstanceGroupManagerStatusInstanceStatusSummaryOrBuilder- Returns:
- The terminated.
-
setTerminated
Output only. The number of instances in the managed instance group that have TERMINATED status.
optional int32 terminated = 301796899;- Parameters:
value- The terminated to set.- Returns:
- This builder for chaining.
-
clearTerminated
Output only. The number of instances in the managed instance group that have TERMINATED status.
optional int32 terminated = 301796899;- Returns:
- This builder for chaining.
-