public enum TransferState extends java.lang.Enum<TransferState> implements ProtocolMessageEnum
Represents data transfer run state.Protobuf enum
google.cloud.bigquery.datatransfer.v1.TransferState
Enum Constant and Description |
---|
CANCELLED
Data transfer is cancelled.
|
FAILED
Data transfer failed.
|
PENDING
Data transfer is scheduled and is waiting to be picked up by
data transfer backend.
|
RUNNING
Data transfer is in progress.
|
SUCCEEDED
Data transfer completed successsfully.
|
TRANSFER_STATE_UNSPECIFIED
State placeholder.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED_VALUE
Data transfer is cancelled.
|
static int |
FAILED_VALUE
Data transfer failed.
|
static int |
PENDING_VALUE
Data transfer is scheduled and is waiting to be picked up by
data transfer backend.
|
static int |
RUNNING_VALUE
Data transfer is in progress.
|
static int |
SUCCEEDED_VALUE
Data transfer completed successsfully.
|
static int |
TRANSFER_STATE_UNSPECIFIED_VALUE
State placeholder.
|
Modifier and Type | Method and Description |
---|---|
static TransferState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<TransferState> |
internalGetValueMap() |
static TransferState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static TransferState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferState TRANSFER_STATE_UNSPECIFIED
State placeholder.
TRANSFER_STATE_UNSPECIFIED = 0;
public static final TransferState PENDING
Data transfer is scheduled and is waiting to be picked up by data transfer backend.
PENDING = 2;
public static final TransferState RUNNING
Data transfer is in progress.
RUNNING = 3;
public static final TransferState SUCCEEDED
Data transfer completed successsfully.
SUCCEEDED = 4;
public static final TransferState FAILED
Data transfer failed.
FAILED = 5;
public static final TransferState CANCELLED
Data transfer is cancelled.
CANCELLED = 6;
public static final TransferState UNRECOGNIZED
public static final int TRANSFER_STATE_UNSPECIFIED_VALUE
State placeholder.
TRANSFER_STATE_UNSPECIFIED = 0;
public static final int PENDING_VALUE
Data transfer is scheduled and is waiting to be picked up by data transfer backend.
PENDING = 2;
public static final int RUNNING_VALUE
Data transfer is in progress.
RUNNING = 3;
public static final int SUCCEEDED_VALUE
Data transfer completed successsfully.
SUCCEEDED = 4;
public static final int FAILED_VALUE
Data transfer failed.
FAILED = 5;
public static final int CANCELLED_VALUE
Data transfer is cancelled.
CANCELLED = 6;
public static TransferState[] values()
for (TransferState c : TransferState.values()) System.out.println(c);
public static TransferState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static TransferState valueOf(int value)
forNumber(int)
instead.public static TransferState forNumber(int value)
public static Internal.EnumLiteMap<TransferState> 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 TransferState valueOf(Descriptors.EnumValueDescriptor desc)