public static enum Batch.State extends Enum<Batch.State> implements ProtocolMessageEnum
The batch state.Protobuf enum
google.cloud.dataproc.v1.Batch.State
Enum Constant and Description |
---|
CANCELLED
The batch cancellation was successful.
|
CANCELLING
The batch is cancelling.
|
FAILED
The batch is no longer running due to an error.
|
PENDING
The batch is created before running.
|
RUNNING
The batch is running.
|
STATE_UNSPECIFIED
The batch state is unknown.
|
SUCCEEDED
The batch completed successfully.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED_VALUE
The batch cancellation was successful.
|
static int |
CANCELLING_VALUE
The batch is cancelling.
|
static int |
FAILED_VALUE
The batch is no longer running due to an error.
|
static int |
PENDING_VALUE
The batch is created before running.
|
static int |
RUNNING_VALUE
The batch is running.
|
static int |
STATE_UNSPECIFIED_VALUE
The batch state is unknown.
|
static int |
SUCCEEDED_VALUE
The batch completed successfully.
|
Modifier and Type | Method and Description |
---|---|
static Batch.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Batch.State> |
internalGetValueMap() |
static Batch.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Batch.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Batch.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Batch.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Batch.State STATE_UNSPECIFIED
The batch state is unknown.
STATE_UNSPECIFIED = 0;
public static final Batch.State PENDING
The batch is created before running.
PENDING = 1;
public static final Batch.State RUNNING
The batch is running.
RUNNING = 2;
public static final Batch.State CANCELLING
The batch is cancelling.
CANCELLING = 3;
public static final Batch.State CANCELLED
The batch cancellation was successful.
CANCELLED = 4;
public static final Batch.State SUCCEEDED
The batch completed successfully.
SUCCEEDED = 5;
public static final Batch.State FAILED
The batch is no longer running due to an error.
FAILED = 6;
public static final Batch.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The batch state is unknown.
STATE_UNSPECIFIED = 0;
public static final int PENDING_VALUE
The batch is created before running.
PENDING = 1;
public static final int RUNNING_VALUE
The batch is running.
RUNNING = 2;
public static final int CANCELLING_VALUE
The batch is cancelling.
CANCELLING = 3;
public static final int CANCELLED_VALUE
The batch cancellation was successful.
CANCELLED = 4;
public static final int SUCCEEDED_VALUE
The batch completed successfully.
SUCCEEDED = 5;
public static final int FAILED_VALUE
The batch is no longer running due to an error.
FAILED = 6;
public static Batch.State[] values()
for (Batch.State c : Batch.State.values()) System.out.println(c);
public static Batch.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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Batch.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Batch.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Batch.State> 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 Batch.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.