public static enum InstanceGroupManagerResizeRequest.State extends Enum<InstanceGroupManagerResizeRequest.State> implements com.google.protobuf.ProtocolMessageEnum
[Output only] Current state of the request.Protobuf enum
google.cloud.compute.v1.InstanceGroupManagerResizeRequest.State| Enum Constant and Description |
|---|
ACCEPTED
The request was created successfully and was accepted for provisioning when the capacity becomes available.
|
CANCELLED
The request is cancelled.
|
CREATING
Resize request is being created and may still fail creation.
|
FAILED
The request failed before or during provisioning.
|
STATE_UNSPECIFIED
Default value.
|
SUCCEEDED
The request succeeded.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPTED_VALUE
The request was created successfully and was accepted for provisioning when the capacity becomes available.
|
static int |
CANCELLED_VALUE
The request is cancelled.
|
static int |
CREATING_VALUE
Resize request is being created and may still fail creation.
|
static int |
FAILED_VALUE
The request failed before or during provisioning.
|
static int |
STATE_UNSPECIFIED_VALUE
Default value.
|
static int |
SUCCEEDED_VALUE
The request succeeded.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceGroupManagerResizeRequest.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<InstanceGroupManagerResizeRequest.State> |
internalGetValueMap() |
static InstanceGroupManagerResizeRequest.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InstanceGroupManagerResizeRequest.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InstanceGroupManagerResizeRequest.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceGroupManagerResizeRequest.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceGroupManagerResizeRequest.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final InstanceGroupManagerResizeRequest.State ACCEPTED
The request was created successfully and was accepted for provisioning when the capacity becomes available.
ACCEPTED = 246714279;public static final InstanceGroupManagerResizeRequest.State CANCELLED
The request is cancelled.
CANCELLED = 41957681;public static final InstanceGroupManagerResizeRequest.State CREATING
Resize request is being created and may still fail creation.
CREATING = 455564985;public static final InstanceGroupManagerResizeRequest.State FAILED
The request failed before or during provisioning. If the request fails during provisioning, any VMs that were created during provisioning are rolled back and removed from the MIG.
FAILED = 455706685;public static final InstanceGroupManagerResizeRequest.State STATE_UNSPECIFIED
Default value. This value should never be returned.
STATE_UNSPECIFIED = 470755401;public static final InstanceGroupManagerResizeRequest.State SUCCEEDED
The request succeeded.
SUCCEEDED = 511103553;public static final InstanceGroupManagerResizeRequest.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int ACCEPTED_VALUE
The request was created successfully and was accepted for provisioning when the capacity becomes available.
ACCEPTED = 246714279;public static final int CANCELLED_VALUE
The request is cancelled.
CANCELLED = 41957681;public static final int CREATING_VALUE
Resize request is being created and may still fail creation.
CREATING = 455564985;public static final int FAILED_VALUE
The request failed before or during provisioning. If the request fails during provisioning, any VMs that were created during provisioning are rolled back and removed from the MIG.
FAILED = 455706685;public static final int STATE_UNSPECIFIED_VALUE
Default value. This value should never be returned.
STATE_UNSPECIFIED = 470755401;public static final int SUCCEEDED_VALUE
The request succeeded.
SUCCEEDED = 511103553;public static InstanceGroupManagerResizeRequest.State[] values()
for (InstanceGroupManagerResizeRequest.State c : InstanceGroupManagerResizeRequest.State.values()) System.out.println(c);
public static InstanceGroupManagerResizeRequest.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static InstanceGroupManagerResizeRequest.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InstanceGroupManagerResizeRequest.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InstanceGroupManagerResizeRequest.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static InstanceGroupManagerResizeRequest.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.