public final class OrderedJob extends GeneratedMessageV3 implements OrderedJobOrBuilder
A job executed by the workflow.
Protobuf type google.cloud.dataproc.v1.OrderedJob
Static Fields
HADOOP_JOB_FIELD_NUMBER
public static final int HADOOP_JOB_FIELD_NUMBER
Field Value
HIVE_JOB_FIELD_NUMBER
public static final int HIVE_JOB_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
PIG_JOB_FIELD_NUMBER
public static final int PIG_JOB_FIELD_NUMBER
Field Value
PREREQUISITE_STEP_IDS_FIELD_NUMBER
public static final int PREREQUISITE_STEP_IDS_FIELD_NUMBER
Field Value
PRESTO_JOB_FIELD_NUMBER
public static final int PRESTO_JOB_FIELD_NUMBER
Field Value
PYSPARK_JOB_FIELD_NUMBER
public static final int PYSPARK_JOB_FIELD_NUMBER
Field Value
SCHEDULING_FIELD_NUMBER
public static final int SCHEDULING_FIELD_NUMBER
Field Value
SPARK_JOB_FIELD_NUMBER
public static final int SPARK_JOB_FIELD_NUMBER
Field Value
SPARK_R_JOB_FIELD_NUMBER
public static final int SPARK_R_JOB_FIELD_NUMBER
Field Value
SPARK_SQL_JOB_FIELD_NUMBER
public static final int SPARK_SQL_JOB_FIELD_NUMBER
Field Value
STEP_ID_FIELD_NUMBER
public static final int STEP_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static OrderedJob getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static OrderedJob.Builder newBuilder()
Returns
newBuilder(OrderedJob prototype)
public static OrderedJob.Builder newBuilder(OrderedJob prototype)
Parameter
Returns
public static OrderedJob parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static OrderedJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static OrderedJob parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OrderedJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static OrderedJob parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrderedJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OrderedJob parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static OrderedJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OrderedJob parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static OrderedJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static OrderedJob parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OrderedJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<OrderedJob> parser()
Returns
Methods
containsLabels(String key)
public boolean containsLabels(String key)
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}{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.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public OrderedJob getDefaultInstanceForType()
Returns
getHadoopJob()
public HadoopJob getHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getHadoopJobOrBuilder()
public HadoopJobOrBuilder getHadoopJobOrBuilder()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getHiveJob()
public HiveJob getHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
getHiveJobOrBuilder()
public HiveJobOrBuilder getHiveJobOrBuilder()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
getJobTypeCase()
public OrderedJob.JobTypeCase getJobTypeCase()
Returns
getLabels()
public Map<String,String> getLabels()
Returns
getLabelsCount()
public int getLabelsCount()
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}{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.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLabelsMap()
public Map<String,String> getLabelsMap()
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}{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.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
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}{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.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Returns
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
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}{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.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getParserForType()
public Parser<OrderedJob> getParserForType()
Returns
Overrides
getPigJob()
public PigJob getPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
PigJob | The pigJob.
|
getPigJobOrBuilder()
public PigJobOrBuilder getPigJobOrBuilder()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPrerequisiteStepIds(int index)
public String getPrerequisiteStepIds(int index)
Optional. The optional list of prerequisite job step_ids.
If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The prerequisiteStepIds at the given index.
|
getPrerequisiteStepIdsBytes(int index)
public ByteString getPrerequisiteStepIdsBytes(int index)
Optional. The optional list of prerequisite job step_ids.
If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the prerequisiteStepIds at the given index.
|
getPrerequisiteStepIdsCount()
public int getPrerequisiteStepIdsCount()
Optional. The optional list of prerequisite job step_ids.
If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The count of prerequisiteStepIds.
|
getPrerequisiteStepIdsList()
public ProtocolStringList getPrerequisiteStepIdsList()
Optional. The optional list of prerequisite job step_ids.
If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPrestoJob()
public PrestoJob getPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPrestoJobOrBuilder()
public PrestoJobOrBuilder getPrestoJobOrBuilder()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPysparkJob()
public PySparkJob getPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPysparkJobOrBuilder()
public PySparkJobOrBuilder getPysparkJobOrBuilder()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getScheduling()
public JobScheduling getScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSchedulingOrBuilder()
public JobSchedulingOrBuilder getSchedulingOrBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSparkJob()
public SparkJob getSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSparkJobOrBuilder()
public SparkJobOrBuilder getSparkJobOrBuilder()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSparkRJob()
public SparkRJob getSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSparkRJobOrBuilder()
public SparkRJobOrBuilder getSparkRJobOrBuilder()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSparkSqlJob()
public SparkSqlJob getSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSparkSqlJobOrBuilder()
public SparkSqlJobOrBuilder getSparkSqlJobOrBuilder()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
getStepId()
public String 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 job
goog-dataproc-workflow-step-id
label, and in
prerequisiteStepIds field 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.
string step_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The stepId.
|
getStepIdBytes()
public ByteString getStepIdBytes()
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 job
goog-dataproc-workflow-step-id
label, and in
prerequisiteStepIds field 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.
string step_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasHadoopJob()
public boolean hasHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the hadoopJob field is set.
|
hasHiveJob()
public boolean hasHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the hiveJob field is set.
|
hasPigJob()
public boolean hasPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the pigJob field is set.
|
hasPrestoJob()
public boolean hasPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the prestoJob field is set.
|
hasPysparkJob()
public boolean hasPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the pysparkJob field is set.
|
hasScheduling()
public boolean hasScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the scheduling field is set.
|
hasSparkJob()
public boolean hasSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the sparkJob field is set.
|
hasSparkRJob()
public boolean hasSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the sparkRJob field is set.
|
hasSparkSqlJob()
public boolean hasSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the sparkSqlJob field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public OrderedJob.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OrderedJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public OrderedJob.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions