public static enum InstanceGroupsListInstancesRequest.InstanceState extends Enum<InstanceGroupsListInstancesRequest.InstanceState> implements com.google.protobuf.ProtocolMessageEnum
A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.Protobuf enum
google.cloud.compute.v1.InstanceGroupsListInstancesRequest.InstanceState| Enum Constant and Description |
|---|
ALL
Includes all instances in the generated list regardless of their state.
|
RUNNING
Includes instances in the generated list only if they have a RUNNING state.
|
UNDEFINED_INSTANCE_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_VALUE
Includes all instances in the generated list regardless of their state.
|
static int |
RUNNING_VALUE
Includes instances in the generated list only if they have a RUNNING state.
|
static int |
UNDEFINED_INSTANCE_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceGroupsListInstancesRequest.InstanceState |
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<InstanceGroupsListInstancesRequest.InstanceState> |
internalGetValueMap() |
static InstanceGroupsListInstancesRequest.InstanceState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InstanceGroupsListInstancesRequest.InstanceState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InstanceGroupsListInstancesRequest.InstanceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceGroupsListInstancesRequest.InstanceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceGroupsListInstancesRequest.InstanceState UNDEFINED_INSTANCE_STATE
A value indicating that the enum field is not set.
UNDEFINED_INSTANCE_STATE = 0;public static final InstanceGroupsListInstancesRequest.InstanceState ALL
Includes all instances in the generated list regardless of their state.
ALL = 64897;public static final InstanceGroupsListInstancesRequest.InstanceState RUNNING
Includes instances in the generated list only if they have a RUNNING state.
RUNNING = 121282975;public static final InstanceGroupsListInstancesRequest.InstanceState UNRECOGNIZED
public static final int UNDEFINED_INSTANCE_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_INSTANCE_STATE = 0;public static final int ALL_VALUE
Includes all instances in the generated list regardless of their state.
ALL = 64897;public static final int RUNNING_VALUE
Includes instances in the generated list only if they have a RUNNING state.
RUNNING = 121282975;public static InstanceGroupsListInstancesRequest.InstanceState[] values()
for (InstanceGroupsListInstancesRequest.InstanceState c : InstanceGroupsListInstancesRequest.InstanceState.values()) System.out.println(c);
public static InstanceGroupsListInstancesRequest.InstanceState 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 InstanceGroupsListInstancesRequest.InstanceState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InstanceGroupsListInstancesRequest.InstanceState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InstanceGroupsListInstancesRequest.InstanceState> 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 InstanceGroupsListInstancesRequest.InstanceState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.