public static enum ListJobsRequest.JobStateMatcher extends Enum<ListJobsRequest.JobStateMatcher> implements ProtocolMessageEnum
A matcher that specifies categories of job states.Protobuf enum
google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher
Enum Constant and Description |
---|
ACTIVE
Only match jobs in non-terminal states: PENDING, RUNNING, or
CANCEL_PENDING.
|
ALL
Match all jobs, regardless of state.
|
NON_ACTIVE
Only match jobs in terminal states: CANCELLED, DONE, or ERROR.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_VALUE
Only match jobs in non-terminal states: PENDING, RUNNING, or
CANCEL_PENDING.
|
static int |
ALL_VALUE
Match all jobs, regardless of state.
|
static int |
NON_ACTIVE_VALUE
Only match jobs in terminal states: CANCELLED, DONE, or ERROR.
|
Modifier and Type | Method and Description |
---|---|
static ListJobsRequest.JobStateMatcher |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ListJobsRequest.JobStateMatcher> |
internalGetValueMap() |
static ListJobsRequest.JobStateMatcher |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ListJobsRequest.JobStateMatcher |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListJobsRequest.JobStateMatcher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListJobsRequest.JobStateMatcher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListJobsRequest.JobStateMatcher ALL
Match all jobs, regardless of state.
ALL = 0;
public static final ListJobsRequest.JobStateMatcher ACTIVE
Only match jobs in non-terminal states: PENDING, RUNNING, or CANCEL_PENDING.
ACTIVE = 1;
public static final ListJobsRequest.JobStateMatcher NON_ACTIVE
Only match jobs in terminal states: CANCELLED, DONE, or ERROR.
NON_ACTIVE = 2;
public static final ListJobsRequest.JobStateMatcher UNRECOGNIZED
public static final int ALL_VALUE
Match all jobs, regardless of state.
ALL = 0;
public static final int ACTIVE_VALUE
Only match jobs in non-terminal states: PENDING, RUNNING, or CANCEL_PENDING.
ACTIVE = 1;
public static final int NON_ACTIVE_VALUE
Only match jobs in terminal states: CANCELLED, DONE, or ERROR.
NON_ACTIVE = 2;
public static ListJobsRequest.JobStateMatcher[] values()
for (ListJobsRequest.JobStateMatcher c : ListJobsRequest.JobStateMatcher.values()) System.out.println(c);
public static ListJobsRequest.JobStateMatcher 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ListJobsRequest.JobStateMatcher valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ListJobsRequest.JobStateMatcher forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ListJobsRequest.JobStateMatcher> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static ListJobsRequest.JobStateMatcher valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.