public enum TransferState extends Enum<TransferState> implements com.google.protobuf.ProtocolMessageEnum
Represents data transfer run state.Protobuf enum
google.cloud.bigquery.datatransfer.v1.TransferState| Enum Constant and Description |
|---|
CANCELLED
Data transfer is cancelled (6).
|
FAILED
Data transfer failed (5).
|
PENDING
Data transfer is scheduled and is waiting to be picked up by
data transfer backend (2).
|
RUNNING
Data transfer is in progress (3).
|
SUCCEEDED
Data transfer completed successfully (4).
|
TRANSFER_STATE_UNSPECIFIED
State placeholder (0).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELLED_VALUE
Data transfer is cancelled (6).
|
static int |
FAILED_VALUE
Data transfer failed (5).
|
static int |
PENDING_VALUE
Data transfer is scheduled and is waiting to be picked up by
data transfer backend (2).
|
static int |
RUNNING_VALUE
Data transfer is in progress (3).
|
static int |
SUCCEEDED_VALUE
Data transfer completed successfully (4).
|
static int |
TRANSFER_STATE_UNSPECIFIED_VALUE
State placeholder (0).
|
| Modifier and Type | Method and Description |
|---|---|
static TransferState |
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<TransferState> |
internalGetValueMap() |
static TransferState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferState |
valueOf(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 (0).
TRANSFER_STATE_UNSPECIFIED = 0;public static final TransferState PENDING
Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).
PENDING = 2;public static final TransferState RUNNING
Data transfer is in progress (3).
RUNNING = 3;public static final TransferState SUCCEEDED
Data transfer completed successfully (4).
SUCCEEDED = 4;public static final TransferState FAILED
Data transfer failed (5).
FAILED = 5;public static final TransferState CANCELLED
Data transfer is cancelled (6).
CANCELLED = 6;public static final TransferState UNRECOGNIZED
public static final int TRANSFER_STATE_UNSPECIFIED_VALUE
State placeholder (0).
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 (2).
PENDING = 2;public static final int RUNNING_VALUE
Data transfer is in progress (3).
RUNNING = 3;public static final int SUCCEEDED_VALUE
Data transfer completed successfully (4).
SUCCEEDED = 4;public static final int FAILED_VALUE
Data transfer failed (5).
FAILED = 5;public static final int CANCELLED_VALUE
Data transfer is cancelled (6).
CANCELLED = 6;public static TransferState[] values()
for (TransferState c : TransferState.values()) System.out.println(c);
public static TransferState 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 TransferState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferState> 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 TransferState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.