Enum JobState
- java.lang.Object
-
- java.lang.Enum<JobState>
-
- com.google.cloud.enterpriseknowledgegraph.v1.JobState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<JobState>
public enum JobState extends Enum<JobState> implements com.google.protobuf.ProtocolMessageEnum
Describes the state of a job.
Protobuf enumgoogle.cloud.enterpriseknowledgegraph.v1.JobState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOB_STATE_CANCELLEDThe job has been cancelled.JOB_STATE_CLUSTERINGEntity Recon API: The clustering job is running.JOB_STATE_EXPORTING_CLUSTERSEntity Recon API: The exporting clusters job is running.JOB_STATE_FAILEDThe job failed.JOB_STATE_KNOWLEDGE_EXTRACTIONEntity Recon API: The knowledge extraction job is running.JOB_STATE_PENDINGThe service is preparing to run the job.JOB_STATE_RECON_PREPROCESSINGEntity Recon API: The preprocessing job is running.JOB_STATE_RUNNINGThe job is in progress.JOB_STATE_SUCCEEDEDThe job completed successfully.JOB_STATE_UNSPECIFIEDThe job state is unspecified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intJOB_STATE_CANCELLED_VALUEThe job has been cancelled.static intJOB_STATE_CLUSTERING_VALUEEntity Recon API: The clustering job is running.static intJOB_STATE_EXPORTING_CLUSTERS_VALUEEntity Recon API: The exporting clusters job is running.static intJOB_STATE_FAILED_VALUEThe job failed.static intJOB_STATE_KNOWLEDGE_EXTRACTION_VALUEEntity Recon API: The knowledge extraction job is running.static intJOB_STATE_PENDING_VALUEThe service is preparing to run the job.static intJOB_STATE_RECON_PREPROCESSING_VALUEEntity Recon API: The preprocessing job is running.static intJOB_STATE_RUNNING_VALUEThe job is in progress.static intJOB_STATE_SUCCEEDED_VALUEThe job completed successfully.static intJOB_STATE_UNSPECIFIED_VALUEThe job state is unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static JobStateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<JobState>internalGetValueMap()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 JobStatevalueOf(String name)Returns 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 Detail
-
JOB_STATE_UNSPECIFIED
public static final JobState JOB_STATE_UNSPECIFIED
The job state is unspecified.
JOB_STATE_UNSPECIFIED = 0;
-
JOB_STATE_PENDING
public static final JobState JOB_STATE_PENDING
The service is preparing to run the job.
JOB_STATE_PENDING = 9;
-
JOB_STATE_RUNNING
public static final JobState JOB_STATE_RUNNING
The job is in progress.
JOB_STATE_RUNNING = 1;
-
JOB_STATE_SUCCEEDED
public static final JobState JOB_STATE_SUCCEEDED
The job completed successfully.
JOB_STATE_SUCCEEDED = 2;
-
JOB_STATE_FAILED
public static final JobState JOB_STATE_FAILED
The job failed.
JOB_STATE_FAILED = 3;
-
JOB_STATE_CANCELLED
public static final JobState JOB_STATE_CANCELLED
The job has been cancelled.
JOB_STATE_CANCELLED = 4;
-
JOB_STATE_KNOWLEDGE_EXTRACTION
public static final JobState JOB_STATE_KNOWLEDGE_EXTRACTION
Entity Recon API: The knowledge extraction job is running.
JOB_STATE_KNOWLEDGE_EXTRACTION = 5;
-
JOB_STATE_RECON_PREPROCESSING
public static final JobState JOB_STATE_RECON_PREPROCESSING
Entity Recon API: The preprocessing job is running.
JOB_STATE_RECON_PREPROCESSING = 6;
-
JOB_STATE_CLUSTERING
public static final JobState JOB_STATE_CLUSTERING
Entity Recon API: The clustering job is running.
JOB_STATE_CLUSTERING = 7;
-
JOB_STATE_EXPORTING_CLUSTERS
public static final JobState JOB_STATE_EXPORTING_CLUSTERS
Entity Recon API: The exporting clusters job is running.
JOB_STATE_EXPORTING_CLUSTERS = 8;
-
UNRECOGNIZED
public static final JobState UNRECOGNIZED
-
-
Field Detail
-
JOB_STATE_UNSPECIFIED_VALUE
public static final int JOB_STATE_UNSPECIFIED_VALUE
The job state is unspecified.
JOB_STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
JOB_STATE_PENDING_VALUE
public static final int JOB_STATE_PENDING_VALUE
The service is preparing to run the job.
JOB_STATE_PENDING = 9;- See Also:
- Constant Field Values
-
JOB_STATE_RUNNING_VALUE
public static final int JOB_STATE_RUNNING_VALUE
The job is in progress.
JOB_STATE_RUNNING = 1;- See Also:
- Constant Field Values
-
JOB_STATE_SUCCEEDED_VALUE
public static final int JOB_STATE_SUCCEEDED_VALUE
The job completed successfully.
JOB_STATE_SUCCEEDED = 2;- See Also:
- Constant Field Values
-
JOB_STATE_FAILED_VALUE
public static final int JOB_STATE_FAILED_VALUE
The job failed.
JOB_STATE_FAILED = 3;- See Also:
- Constant Field Values
-
JOB_STATE_CANCELLED_VALUE
public static final int JOB_STATE_CANCELLED_VALUE
The job has been cancelled.
JOB_STATE_CANCELLED = 4;- See Also:
- Constant Field Values
-
JOB_STATE_KNOWLEDGE_EXTRACTION_VALUE
public static final int JOB_STATE_KNOWLEDGE_EXTRACTION_VALUE
Entity Recon API: The knowledge extraction job is running.
JOB_STATE_KNOWLEDGE_EXTRACTION = 5;- See Also:
- Constant Field Values
-
JOB_STATE_RECON_PREPROCESSING_VALUE
public static final int JOB_STATE_RECON_PREPROCESSING_VALUE
Entity Recon API: The preprocessing job is running.
JOB_STATE_RECON_PREPROCESSING = 6;- See Also:
- Constant Field Values
-
JOB_STATE_CLUSTERING_VALUE
public static final int JOB_STATE_CLUSTERING_VALUE
Entity Recon API: The clustering job is running.
JOB_STATE_CLUSTERING = 7;- See Also:
- Constant Field Values
-
JOB_STATE_EXPORTING_CLUSTERS_VALUE
public static final int JOB_STATE_EXPORTING_CLUSTERS_VALUE
Entity Recon API: The exporting clusters job is running.
JOB_STATE_EXPORTING_CLUSTERS = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static JobState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JobState c : JobState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobState valueOf(String name)
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 public static JobState valueOf(int value)
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
public static JobState forNumber(int value)
- 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<JobState> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static JobState 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
-
-