Reference documentation and code samples for the Google Cloud Dataproc V1 Client class OrderedJob.
A job executed by the workflow.
Generated from protobuf messagegoogle.cloud.dataproc.v1.OrderedJob
Namespace
Google \ Cloud \ Dataproc \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ step_id
string
Required. The step id. The id must be unique among all jobs within the template. The step id is used as prefix for job id, as jobgoog-dataproc-workflow-step-idlabel, and inprerequisiteStepIdsfield from other steps. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
Optional. The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 32 labels can be associated with a given job.
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
getStepId
Required. The step id. The id must be unique among all jobs
within the template.
The step id is used as prefix for job id, as jobgoog-dataproc-workflow-step-idlabel, and inprerequisiteStepIdsfield from other steps.
The id must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-). Cannot begin or end with underscore
or hyphen. Must consist of between 3 and 50 characters.
Returns
Type
Description
string
setStepId
Required. The step id. The id must be unique among all jobs
within the template.
The step id is used as prefix for job id, as jobgoog-dataproc-workflow-step-idlabel, and inprerequisiteStepIdsfield from other steps.
The id must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-). Cannot begin or end with underscore
or hyphen. Must consist of between 3 and 50 characters.
Label keys must be between 1 and 63 characters long, and must conform to
the following regular expression:
[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62}
Label values must be between 1 and 63 characters long, and must conform to
the following regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63}
No more than 32 labels can be associated with a given job.
Label keys must be between 1 and 63 characters long, and must conform to
the following regular expression:
[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62}
Label values must be between 1 and 63 characters long, and must conform to
the following regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63}
No more than 32 labels can be associated with a given job.
[[["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 OrderedJob (3.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.14.0 (latest)](/php/docs/reference/cloud-dataproc/latest/V1.OrderedJob)\n- [3.13.4](/php/docs/reference/cloud-dataproc/3.13.4/V1.OrderedJob)\n- [3.12.0](/php/docs/reference/cloud-dataproc/3.12.0/V1.OrderedJob)\n- [3.11.0](/php/docs/reference/cloud-dataproc/3.11.0/V1.OrderedJob)\n- [3.10.1](/php/docs/reference/cloud-dataproc/3.10.1/V1.OrderedJob)\n- [3.9.0](/php/docs/reference/cloud-dataproc/3.9.0/V1.OrderedJob)\n- [3.8.1](/php/docs/reference/cloud-dataproc/3.8.1/V1.OrderedJob)\n- [3.7.1](/php/docs/reference/cloud-dataproc/3.7.1/V1.OrderedJob)\n- [3.6.1](/php/docs/reference/cloud-dataproc/3.6.1/V1.OrderedJob)\n- [3.5.1](/php/docs/reference/cloud-dataproc/3.5.1/V1.OrderedJob)\n- [3.4.0](/php/docs/reference/cloud-dataproc/3.4.0/V1.OrderedJob)\n- [3.3.0](/php/docs/reference/cloud-dataproc/3.3.0/V1.OrderedJob)\n- [3.2.2](/php/docs/reference/cloud-dataproc/3.2.2/V1.OrderedJob)\n- [2.6.1](/php/docs/reference/cloud-dataproc/2.6.1/V1.OrderedJob)\n- [2.5.0](/php/docs/reference/cloud-dataproc/2.5.0/V1.OrderedJob)\n- [2.3.0](/php/docs/reference/cloud-dataproc/2.3.0/V1.OrderedJob)\n- [2.2.3](/php/docs/reference/cloud-dataproc/2.2.3/V1.OrderedJob)\n- [2.1.0](/php/docs/reference/cloud-dataproc/2.1.0/V1.OrderedJob)\n- [2.0.0](/php/docs/reference/cloud-dataproc/2.0.0/V1.OrderedJob) \nReference documentation and code samples for the Google Cloud Dataproc V1 Client class OrderedJob.\n\nA job executed by the workflow.\n\nGenerated from protobuf message `google.cloud.dataproc.v1.OrderedJob`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataproc \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStepId\n\nRequired. The step id. The id must be unique among all jobs\nwithin the template.\n\nThe step id is used as prefix for job id, as job\n`goog-dataproc-workflow-step-id` label, and in\n[prerequisiteStepIds](/php/docs/reference/cloud-dataproc/latest/V1.OrderedJob#_Google_Cloud_Dataproc_V1_OrderedJob__getPrerequisiteStepIds__)\nfield from other steps.\nThe id must contain only letters (a-z, A-Z), numbers (0-9),\nunderscores (_), and hyphens (-). Cannot begin or end with underscore\nor hyphen. Must consist of between 3 and 50 characters.\n\n### setStepId\n\nRequired. The step id. The id must be unique among all jobs\nwithin the template.\n\nThe step id is used as prefix for job id, as job\n`goog-dataproc-workflow-step-id` label, and in\n[prerequisiteStepIds](/php/docs/reference/cloud-dataproc/latest/V1.OrderedJob#_Google_Cloud_Dataproc_V1_OrderedJob__getPrerequisiteStepIds__)\nfield from other steps.\nThe id must contain only letters (a-z, A-Z), numbers (0-9),\nunderscores (_), and hyphens (-). Cannot begin or end with underscore\nor hyphen. Must consist of between 3 and 50 characters.\n\n### getHadoopJob\n\nOptional. Job is a Hadoop job.\n\n### hasHadoopJob\n\n### setHadoopJob\n\nOptional. Job is a Hadoop job.\n\n### getSparkJob\n\nOptional. Job is a Spark job.\n\n### hasSparkJob\n\n### setSparkJob\n\nOptional. Job is a Spark job.\n\n### getPysparkJob\n\nOptional. Job is a PySpark job.\n\n### hasPysparkJob\n\n### setPysparkJob\n\nOptional. Job is a PySpark job.\n\n### getHiveJob\n\nOptional. Job is a Hive job.\n\n### hasHiveJob\n\n### setHiveJob\n\nOptional. Job is a Hive job.\n\n### getPigJob\n\nOptional. Job is a Pig job.\n\n### hasPigJob\n\n### setPigJob\n\nOptional. Job is a Pig job.\n\n### getSparkRJob\n\nOptional. Job is a SparkR job.\n\n### hasSparkRJob\n\n### setSparkRJob\n\nOptional. Job is a SparkR job.\n\n### getSparkSqlJob\n\nOptional. Job is a SparkSql job.\n\n### hasSparkSqlJob\n\n### setSparkSqlJob\n\nOptional. Job is a SparkSql job.\n\n### getPrestoJob\n\nOptional. Job is a Presto job.\n\n### hasPrestoJob\n\n### setPrestoJob\n\nOptional. Job is a Presto job.\n\n### getLabels\n\nOptional. The labels to associate with this job.\n\nLabel keys must be between 1 and 63 characters long, and must conform to\nthe following regular expression:\n\\[\\\\p{Ll}\\\\p{Lo}\\]\\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}*-\\]{0,62}\nLabel values must be between 1 and 63 characters long, and must conform to\nthe following regular expression: \\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}*-\\]{0,63}\nNo more than 32 labels can be associated with a given job.\n\n### setLabels\n\nOptional. The labels to associate with this job.\n\nLabel keys must be between 1 and 63 characters long, and must conform to\nthe following regular expression:\n\\[\\\\p{Ll}\\\\p{Lo}\\]\\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}*-\\]{0,62}\nLabel values must be between 1 and 63 characters long, and must conform to\nthe following regular expression: \\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}*-\\]{0,63}\nNo more than 32 labels can be associated with a given job.\n\n### getScheduling\n\nOptional. Job scheduling configuration.\n\n### hasScheduling\n\n### clearScheduling\n\n### setScheduling\n\nOptional. Job scheduling configuration.\n\n### getPrerequisiteStepIds\n\nOptional. The optional list of prerequisite job step_ids.\n\nIf not specified, the job will start at the beginning of workflow.\n\n### setPrerequisiteStepIds\n\nOptional. The optional list of prerequisite job step_ids.\n\nIf not specified, the job will start at the beginning of workflow.\n\n### getJobType"]]