Package com.google.cloud.dataplex.v1
Enum MetadataJob.Status.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MetadataJob.Status.State>
- Enclosing class:
- MetadataJob.Status
public static enum MetadataJob.Status.State
extends Enum<MetadataJob.Status.State>
implements com.google.protobuf.ProtocolMessageEnum
State of a metadata job.Protobuf enum
google.cloud.dataplex.v1.MetadataJob.Status.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe job is canceled.The job is being canceled.The job failed.The job is queued.The job is running.State unspecified.The job succeeded.The job completed with some errors. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe job is canceled.static final intThe job is being canceled.static final intThe job failed.static final intThe job is queued.static final intThe job is running.static final intState unspecified.static final intThe job succeeded.static final intThe job completed with some errors. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataJob.Status.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<MetadataJob.Status.State>static MetadataJob.Status.StatevalueOf(int value) Deprecated.static MetadataJob.Status.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static MetadataJob.Status.StateReturns the enum constant of this type with the specified name.static MetadataJob.Status.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
State unspecified.
STATE_UNSPECIFIED = 0; -
QUEUED
The job is queued.
QUEUED = 1; -
RUNNING
The job is running.
RUNNING = 2; -
CANCELING
The job is being canceled.
CANCELING = 3; -
CANCELED
The job is canceled.
CANCELED = 4; -
SUCCEEDED
The job succeeded.
SUCCEEDED = 5; -
FAILED
The job failed.
FAILED = 6; -
SUCCEEDED_WITH_ERRORS
The job completed with some errors.
SUCCEEDED_WITH_ERRORS = 7; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEState unspecified.
STATE_UNSPECIFIED = 0;- See Also:
-
QUEUED_VALUE
public static final int QUEUED_VALUEThe job is queued.
QUEUED = 1;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUEThe job is running.
RUNNING = 2;- See Also:
-
CANCELING_VALUE
public static final int CANCELING_VALUEThe job is being canceled.
CANCELING = 3;- See Also:
-
CANCELED_VALUE
public static final int CANCELED_VALUEThe job is canceled.
CANCELED = 4;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEThe job succeeded.
SUCCEEDED = 5;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe job failed.
FAILED = 6;- See Also:
-
SUCCEEDED_WITH_ERRORS_VALUE
public static final int SUCCEEDED_WITH_ERRORS_VALUEThe job completed with some errors.
SUCCEEDED_WITH_ERRORS = 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
public static com.google.protobuf.Internal.EnumLiteMap<MetadataJob.Status.State> 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
public static MetadataJob.Status.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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
-