Enum JobState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<JobState>
@Generated
public enum JobState
extends Enum<JobState>
implements com.google.protobuf.ProtocolMessageEnum
Describes the state of a job.Protobuf enum
google.cloud.enterpriseknowledgegraph.v1.JobState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe job has been cancelled.Entity Recon API: The clustering job is running.Entity Recon API: The exporting clusters job is running.The job failed.Entity Recon API: The knowledge extraction job is running.The service is preparing to run the job.Entity Recon API: The preprocessing job is running.The job is in progress.The job completed successfully.The job state is unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe job has been cancelled.static final intEntity Recon API: The clustering job is running.static final intEntity Recon API: The exporting clusters job is running.static final intThe job failed.static final intEntity Recon API: The knowledge extraction job is running.static final intThe service is preparing to run the job.static final intEntity Recon API: The preprocessing job is running.static final intThe job is in progress.static final intThe job completed successfully.static final intThe job state is unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<JobState>static JobStatevalueOf(int value) Deprecated.static JobStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static JobStateReturns the enum constant of this type with the specified name.static JobState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JOB_STATE_UNSPECIFIED
The job state is unspecified.
JOB_STATE_UNSPECIFIED = 0; -
JOB_STATE_PENDING
The service is preparing to run the job.
JOB_STATE_PENDING = 9; -
JOB_STATE_RUNNING
The job is in progress.
JOB_STATE_RUNNING = 1; -
JOB_STATE_SUCCEEDED
The job completed successfully.
JOB_STATE_SUCCEEDED = 2; -
JOB_STATE_FAILED
The job failed.
JOB_STATE_FAILED = 3; -
JOB_STATE_CANCELLED
The job has been cancelled.
JOB_STATE_CANCELLED = 4; -
JOB_STATE_KNOWLEDGE_EXTRACTION
Entity Recon API: The knowledge extraction job is running.
JOB_STATE_KNOWLEDGE_EXTRACTION = 5; -
JOB_STATE_RECON_PREPROCESSING
Entity Recon API: The preprocessing job is running.
JOB_STATE_RECON_PREPROCESSING = 6; -
JOB_STATE_CLUSTERING
Entity Recon API: The clustering job is running.
JOB_STATE_CLUSTERING = 7; -
JOB_STATE_EXPORTING_CLUSTERS
Entity Recon API: The exporting clusters job is running.
JOB_STATE_EXPORTING_CLUSTERS = 8; -
UNRECOGNIZED
-
-
Field Details
-
JOB_STATE_UNSPECIFIED_VALUE
public static final int JOB_STATE_UNSPECIFIED_VALUEThe job state is unspecified.
JOB_STATE_UNSPECIFIED = 0;- See Also:
-
JOB_STATE_PENDING_VALUE
public static final int JOB_STATE_PENDING_VALUEThe service is preparing to run the job.
JOB_STATE_PENDING = 9;- See Also:
-
JOB_STATE_RUNNING_VALUE
public static final int JOB_STATE_RUNNING_VALUEThe job is in progress.
JOB_STATE_RUNNING = 1;- See Also:
-
JOB_STATE_SUCCEEDED_VALUE
public static final int JOB_STATE_SUCCEEDED_VALUEThe job completed successfully.
JOB_STATE_SUCCEEDED = 2;- See Also:
-
JOB_STATE_FAILED_VALUE
public static final int JOB_STATE_FAILED_VALUEThe job failed.
JOB_STATE_FAILED = 3;- See Also:
-
JOB_STATE_CANCELLED_VALUE
public static final int JOB_STATE_CANCELLED_VALUEThe job has been cancelled.
JOB_STATE_CANCELLED = 4;- See Also:
-
JOB_STATE_KNOWLEDGE_EXTRACTION_VALUE
public static final int JOB_STATE_KNOWLEDGE_EXTRACTION_VALUEEntity Recon API: The knowledge extraction job is running.
JOB_STATE_KNOWLEDGE_EXTRACTION = 5;- See Also:
-
JOB_STATE_RECON_PREPROCESSING_VALUE
public static final int JOB_STATE_RECON_PREPROCESSING_VALUEEntity Recon API: The preprocessing job is running.
JOB_STATE_RECON_PREPROCESSING = 6;- See Also:
-
JOB_STATE_CLUSTERING_VALUE
public static final int JOB_STATE_CLUSTERING_VALUEEntity Recon API: The clustering job is running.
JOB_STATE_CLUSTERING = 7;- See Also:
-
JOB_STATE_EXPORTING_CLUSTERS_VALUE
public static final int JOB_STATE_EXPORTING_CLUSTERS_VALUEEntity Recon API: The exporting clusters job is running.
JOB_STATE_EXPORTING_CLUSTERS = 8;- 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
-