Enum TransferState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TransferState>
@Generated
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 Summary
Enum ConstantsEnum ConstantDescriptionData transfer is cancelled (6).Data transfer failed (5).Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).Data transfer is in progress (3).Data transfer completed successfully (4).State placeholder (0). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intData transfer is cancelled (6).static final intData transfer failed (5).static final intData transfer is scheduled and is waiting to be picked up by data transfer backend (2).static final intData transfer is in progress (3).static final intData transfer completed successfully (4).static final intState placeholder (0). -
Method Summary
Modifier and TypeMethodDescriptionstatic TransferStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TransferState>static TransferStatevalueOf(int value) Deprecated.static TransferStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TransferStateReturns 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.
-
Enum Constant Details
-
TRANSFER_STATE_UNSPECIFIED
State placeholder (0).
TRANSFER_STATE_UNSPECIFIED = 0; -
PENDING
Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).
PENDING = 2; -
RUNNING
Data transfer is in progress (3).
RUNNING = 3; -
SUCCEEDED
Data transfer completed successfully (4).
SUCCEEDED = 4; -
FAILED
Data transfer failed (5).
FAILED = 5; -
CANCELLED
Data transfer is cancelled (6).
CANCELLED = 6; -
UNRECOGNIZED
-
-
Field Details
-
TRANSFER_STATE_UNSPECIFIED_VALUE
public static final int TRANSFER_STATE_UNSPECIFIED_VALUEState placeholder (0).
TRANSFER_STATE_UNSPECIFIED = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEData transfer is scheduled and is waiting to be picked up by data transfer backend (2).
PENDING = 2;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUEData transfer is in progress (3).
RUNNING = 3;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEData transfer completed successfully (4).
SUCCEEDED = 4;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEData transfer failed (5).
FAILED = 5;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEData transfer is cancelled (6).
CANCELLED = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-