Package com.google.cloud.dataplex.v1
Enum Job.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Job.State>
- Enclosing class:
- Job
public static enum Job.State
extends Enum<Job.State>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.dataplex.v1.Job.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe job was cancelled outside of Dataplex Universal Catalog.The job cancellation was successful.The job is cancelling.The job is no longer running due to an error.The job is running.The job state is unknown.The job completed successfully. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe job was cancelled outside of Dataplex Universal Catalog.static final intThe job cancellation was successful.static final intThe job is cancelling.static final intThe job is no longer running due to an error.static final intThe job is running.static final intThe job state is unknown.static final intThe job completed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic Job.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<Job.State>static Job.StatevalueOf(int value) Deprecated.static Job.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Job.StateReturns the enum constant of this type with the specified name.static Job.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
The job state is unknown.
STATE_UNSPECIFIED = 0; -
RUNNING
The job is running.
RUNNING = 1; -
CANCELLING
The job is cancelling.
CANCELLING = 2; -
CANCELLED
The job cancellation was successful.
CANCELLED = 3; -
SUCCEEDED
The job completed successfully.
SUCCEEDED = 4; -
FAILED
The job is no longer running due to an error.
FAILED = 5; -
ABORTED
The job was cancelled outside of Dataplex Universal Catalog.
ABORTED = 6; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEThe job state is unknown.
STATE_UNSPECIFIED = 0;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUEThe job is running.
RUNNING = 1;- See Also:
-
CANCELLING_VALUE
public static final int CANCELLING_VALUEThe job is cancelling.
CANCELLING = 2;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEThe job cancellation was successful.
CANCELLED = 3;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEThe job completed successfully.
SUCCEEDED = 4;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe job is no longer running due to an error.
FAILED = 5;- See Also:
-
ABORTED_VALUE
public static final int ABORTED_VALUEThe job was cancelled outside of Dataplex Universal Catalog.
ABORTED = 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
-