[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc V1 Client - Class State (3.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.14.0 (latest)](/php/docs/reference/cloud-dataproc/latest/V1.JobStatus.State)\n- [3.13.4](/php/docs/reference/cloud-dataproc/3.13.4/V1.JobStatus.State)\n- [3.12.0](/php/docs/reference/cloud-dataproc/3.12.0/V1.JobStatus.State)\n- [3.11.0](/php/docs/reference/cloud-dataproc/3.11.0/V1.JobStatus.State)\n- [3.10.1](/php/docs/reference/cloud-dataproc/3.10.1/V1.JobStatus.State)\n- [3.9.0](/php/docs/reference/cloud-dataproc/3.9.0/V1.JobStatus.State)\n- [3.8.1](/php/docs/reference/cloud-dataproc/3.8.1/V1.JobStatus.State)\n- [3.7.1](/php/docs/reference/cloud-dataproc/3.7.1/V1.JobStatus.State)\n- [3.6.1](/php/docs/reference/cloud-dataproc/3.6.1/V1.JobStatus.State)\n- [3.5.1](/php/docs/reference/cloud-dataproc/3.5.1/V1.JobStatus.State)\n- [3.4.0](/php/docs/reference/cloud-dataproc/3.4.0/V1.JobStatus.State)\n- [3.3.0](/php/docs/reference/cloud-dataproc/3.3.0/V1.JobStatus.State)\n- [3.2.2](/php/docs/reference/cloud-dataproc/3.2.2/V1.JobStatus.State)\n- [2.6.1](/php/docs/reference/cloud-dataproc/2.6.1/V1.JobStatus.State)\n- [2.5.0](/php/docs/reference/cloud-dataproc/2.5.0/V1.JobStatus.State)\n- [2.3.0](/php/docs/reference/cloud-dataproc/2.3.0/V1.JobStatus.State)\n- [2.2.3](/php/docs/reference/cloud-dataproc/2.2.3/V1.JobStatus.State)\n- [2.1.0](/php/docs/reference/cloud-dataproc/2.1.0/V1.JobStatus.State)\n- [2.0.0](/php/docs/reference/cloud-dataproc/2.0.0/V1.JobStatus.State) \nReference documentation and code samples for the Google Cloud Dataproc V1 Client class State.\n\nThe job state.\n\nProtobuf type `google.cloud.dataproc.v1.JobStatus.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataproc \\\\ V1 \\\\ JobStatus\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nThe job state is unknown.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### PENDING\n\n Value: 1\n\nThe job is pending; it has been submitted, but is not yet running.\n\nGenerated from protobuf enum `PENDING = 1;`\n\n### SETUP_DONE\n\n Value: 8\n\nJob has been received by the service and completed initial setup;\nit will soon be submitted to the cluster.\n\nGenerated from protobuf enum `SETUP_DONE = 8;`\n\n### RUNNING\n\n Value: 2\n\nThe job is running on the cluster.\n\nGenerated from protobuf enum `RUNNING = 2;`\n\n### CANCEL_PENDING\n\n Value: 3\n\nA CancelJob request has been received, but is pending.\n\nGenerated from protobuf enum `CANCEL_PENDING = 3;`\n\n### CANCEL_STARTED\n\n Value: 7\n\nTransient in-flight resources have been canceled, and the request to\ncancel the running job has been issued to the cluster.\n\nGenerated from protobuf enum `CANCEL_STARTED = 7;`\n\n### CANCELLED\n\n Value: 4\n\nThe job cancellation was successful.\n\nGenerated from protobuf enum `CANCELLED = 4;`\n\n### DONE\n\n Value: 5\n\nThe job has completed successfully.\n\nGenerated from protobuf enum `DONE = 5;`\n\n### ERROR\n\n Value: 6\n\nThe job has completed, but encountered an error.\n\nGenerated from protobuf enum `ERROR = 6;`\n\n### ATTEMPT_FAILURE\n\n Value: 9\n\nJob attempt has failed. The detail field contains failure details for\nthis attempt.\n\nApplies to restartable jobs only.\n\nGenerated from protobuf enum `ATTEMPT_FAILURE = 9;`"]]