Package com.google.cloud.dataplex.v1
Enum DataScanJob.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DataScanJob.State>
- Enclosing class:
- DataScanJob
public static enum DataScanJob.State
extends Enum<DataScanJob.State>
implements com.google.protobuf.ProtocolMessageEnum
Execution state for the DataScanJob.Protobuf enum
google.cloud.dataplex.v1.DataScanJob.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe DataScanJob is canceling.The DataScanJob cancellation was successful.The DataScanJob is no longer running due to an error.The DataScanJob has been created but not started to run yet.The DataScanJob is running.The DataScanJob state is unspecified.The DataScanJob completed successfully. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe DataScanJob is canceling.static final intThe DataScanJob cancellation was successful.static final intThe DataScanJob is no longer running due to an error.static final intThe DataScanJob has been created but not started to run yet.static final intThe DataScanJob is running.static final intThe DataScanJob state is unspecified.static final intThe DataScanJob completed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataScanJob.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DataScanJob.State>static DataScanJob.StatevalueOf(int value) Deprecated.static DataScanJob.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DataScanJob.StateReturns the enum constant of this type with the specified name.static DataScanJob.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
The DataScanJob state is unspecified.
STATE_UNSPECIFIED = 0; -
RUNNING
The DataScanJob is running.
RUNNING = 1; -
CANCELING
The DataScanJob is canceling.
CANCELING = 2; -
CANCELLED
The DataScanJob cancellation was successful.
CANCELLED = 3; -
SUCCEEDED
The DataScanJob completed successfully.
SUCCEEDED = 4; -
FAILED
The DataScanJob is no longer running due to an error.
FAILED = 5; -
PENDING
The DataScanJob has been created but not started to run yet.
PENDING = 7; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEThe DataScanJob state is unspecified.
STATE_UNSPECIFIED = 0;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUEThe DataScanJob is running.
RUNNING = 1;- See Also:
-
CANCELING_VALUE
public static final int CANCELING_VALUEThe DataScanJob is canceling.
CANCELING = 2;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEThe DataScanJob cancellation was successful.
CANCELLED = 3;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEThe DataScanJob completed successfully.
SUCCEEDED = 4;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe DataScanJob is no longer running due to an error.
FAILED = 5;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEThe DataScanJob has been created but not started to run yet.
PENDING = 7;- 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
-