Class OrderedJob.Builder (4.43.0)

public static final class OrderedJob.Builder extends GeneratedMessageV3.Builder<OrderedJob.Builder> implements OrderedJobOrBuilder

A job executed by the workflow.

Protobuf type google.cloud.dataproc.v1.OrderedJob

Implements

OrderedJobOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPrerequisiteStepIds(Iterable<String> values)

public OrderedJob.Builder addAllPrerequisiteStepIds(Iterable<String> values)

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
values Iterable<String>

The prerequisiteStepIds to add.

Returns
Type Description
OrderedJob.Builder

This builder for chaining.

addPrerequisiteStepIds(String value)

public OrderedJob.Builder addPrerequisiteStepIds(String value)

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
value String

The prerequisiteStepIds to add.

Returns
Type Description
OrderedJob.Builder

This builder for chaining.

addPrerequisiteStepIdsBytes(ByteString value)

public OrderedJob.Builder addPrerequisiteStepIdsBytes(ByteString value)

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
value ByteString

The bytes of the prerequisiteStepIds to add.

Returns
Type Description
OrderedJob.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OrderedJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrderedJob.Builder
Overrides

build()

public OrderedJob build()
Returns
Type Description
OrderedJob

buildPartial()

public OrderedJob buildPartial()
Returns
Type Description
OrderedJob

clear()

public OrderedJob.Builder clear()
Returns
Type Description
OrderedJob.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public OrderedJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OrderedJob.Builder
Overrides

clearHadoopJob()

public OrderedJob.Builder clearHadoopJob()

Optional. Job is a Hadoop job.

.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearHiveJob()

public OrderedJob.Builder clearHiveJob()

Optional. Job is a Hive job.

.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearJobType()

public OrderedJob.Builder clearJobType()
Returns
Type Description
OrderedJob.Builder

clearLabels()

public OrderedJob.Builder clearLabels()
Returns
Type Description
OrderedJob.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OrderedJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OrderedJob.Builder
Overrides

clearPigJob()

public OrderedJob.Builder clearPigJob()

Optional. Job is a Pig job.

.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearPrerequisiteStepIds()

public OrderedJob.Builder clearPrerequisiteStepIds()

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
OrderedJob.Builder

This builder for chaining.

clearPrestoJob()

public OrderedJob.Builder clearPrestoJob()

Optional. Job is a Presto job.

.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearPysparkJob()

public OrderedJob.Builder clearPysparkJob()

Optional. Job is a PySpark job.

.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearScheduling()

public OrderedJob.Builder clearScheduling()

Optional. Job scheduling configuration.

.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearSparkJob()

public OrderedJob.Builder clearSparkJob()

Optional. Job is a Spark job.

.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearSparkRJob()

public OrderedJob.Builder clearSparkRJob()

Optional. Job is a SparkR job.

.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearSparkSqlJob()

public OrderedJob.Builder clearSparkSqlJob()

Optional. Job is a SparkSql job.

.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OrderedJob.Builder

clearStepId()

public OrderedJob.Builder clearStepId()

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
OrderedJob.Builder

This builder for chaining.

clone()

public OrderedJob.Builder clone()
Returns
Type Description
OrderedJob.Builder
Overrides

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
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public OrderedJob getDefaultInstanceForType()
Returns
Type Description
OrderedJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHadoopJob()

public HadoopJob getHadoopJob()

Optional. Job is a Hadoop job.

.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HadoopJob

The hadoopJob.

getHadoopJobBuilder()

public HadoopJob.Builder getHadoopJobBuilder()

Optional. Job is a Hadoop job.

.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HadoopJob.Builder

getHadoopJobOrBuilder()

public HadoopJobOrBuilder getHadoopJobOrBuilder()

Optional. Job is a Hadoop job.

.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HadoopJobOrBuilder

getHiveJob()

public HiveJob getHiveJob()

Optional. Job is a Hive job.

.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HiveJob

The hiveJob.

getHiveJobBuilder()

public HiveJob.Builder getHiveJobBuilder()

Optional. Job is a Hive job.

.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HiveJob.Builder

getHiveJobOrBuilder()

public HiveJobOrBuilder getHiveJobOrBuilder()

Optional. Job is a Hive job.

.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HiveJobOrBuilder

getJobTypeCase()

public OrderedJob.JobTypeCase getJobTypeCase()
Returns
Type Description
OrderedJob.JobTypeCase

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

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
Type Description
int

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
Type Description
Map<String,String>

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
Name Description
key String
defaultValue String
Returns
Type Description
String

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
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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.

getPigJobBuilder()

public PigJob.Builder getPigJobBuilder()

Optional. Job is a Pig job.

.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PigJob.Builder

getPigJobOrBuilder()

public PigJobOrBuilder getPigJobOrBuilder()

Optional. Job is a Pig job.

.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PigJobOrBuilder

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
Type Description
ProtocolStringList

A list containing the prerequisiteStepIds.

getPrestoJob()

public PrestoJob getPrestoJob()

Optional. Job is a Presto job.

.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrestoJob

The prestoJob.

getPrestoJobBuilder()

public PrestoJob.Builder getPrestoJobBuilder()

Optional. Job is a Presto job.

.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrestoJob.Builder

getPrestoJobOrBuilder()

public PrestoJobOrBuilder getPrestoJobOrBuilder()

Optional. Job is a Presto job.

.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrestoJobOrBuilder

getPysparkJob()

public PySparkJob getPysparkJob()

Optional. Job is a PySpark job.

.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PySparkJob

The pysparkJob.

getPysparkJobBuilder()

public PySparkJob.Builder getPysparkJobBuilder()

Optional. Job is a PySpark job.

.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PySparkJob.Builder

getPysparkJobOrBuilder()

public PySparkJobOrBuilder getPysparkJobOrBuilder()

Optional. Job is a PySpark job.

.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PySparkJobOrBuilder

getScheduling()

public JobScheduling getScheduling()

Optional. Job scheduling configuration.

.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
JobScheduling

The scheduling.

getSchedulingBuilder()

public JobScheduling.Builder getSchedulingBuilder()

Optional. Job scheduling configuration.

.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
JobScheduling.Builder

getSchedulingOrBuilder()

public JobSchedulingOrBuilder getSchedulingOrBuilder()

Optional. Job scheduling configuration.

.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
JobSchedulingOrBuilder

getSparkJob()

public SparkJob getSparkJob()

Optional. Job is a Spark job.

.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SparkJob

The sparkJob.

getSparkJobBuilder()

public SparkJob.Builder getSparkJobBuilder()

Optional. Job is a Spark job.

.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SparkJob.Builder

getSparkJobOrBuilder()

public SparkJobOrBuilder getSparkJobOrBuilder()

Optional. Job is a Spark job.

.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SparkJobOrBuilder

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
Type Description
SparkRJob

The sparkRJob.

getSparkRJobBuilder()

public SparkRJob.Builder getSparkRJobBuilder()

Optional. Job is a SparkR job.

.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SparkRJob.Builder

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
Type Description
SparkRJobOrBuilder

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
Type Description
SparkSqlJob

The sparkSqlJob.

getSparkSqlJobBuilder()

public SparkSqlJob.Builder getSparkSqlJobBuilder()

Optional. Job is a SparkSql job.

.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SparkSqlJob.Builder

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
Type Description
SparkSqlJobOrBuilder

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
Type Description
ByteString

The bytes for stepId.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OrderedJob other)

public OrderedJob.Builder mergeFrom(OrderedJob other)
Parameter
Name Description
other OrderedJob
Returns
Type Description
OrderedJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OrderedJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrderedJob.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OrderedJob.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OrderedJob.Builder
Overrides

mergeHadoopJob(HadoopJob value)

public OrderedJob.Builder mergeHadoopJob(HadoopJob value)

Optional. Job is a Hadoop job.

.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HadoopJob
Returns
Type Description
OrderedJob.Builder

mergeHiveJob(HiveJob value)

public OrderedJob.Builder mergeHiveJob(HiveJob value)

Optional. Job is a Hive job.

.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HiveJob
Returns
Type Description
OrderedJob.Builder

mergePigJob(PigJob value)

public OrderedJob.Builder mergePigJob(PigJob value)

Optional. Job is a Pig job.

.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PigJob
Returns
Type Description
OrderedJob.Builder

mergePrestoJob(PrestoJob value)

public OrderedJob.Builder mergePrestoJob(PrestoJob value)

Optional. Job is a Presto job.

.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PrestoJob
Returns
Type Description
OrderedJob.Builder

mergePysparkJob(PySparkJob value)

public OrderedJob.Builder mergePysparkJob(PySparkJob value)

Optional. Job is a PySpark job.

.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PySparkJob
Returns
Type Description
OrderedJob.Builder

mergeScheduling(JobScheduling value)

public OrderedJob.Builder mergeScheduling(JobScheduling value)

Optional. Job scheduling configuration.

.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value JobScheduling
Returns
Type Description
OrderedJob.Builder

mergeSparkJob(SparkJob value)

public OrderedJob.Builder mergeSparkJob(SparkJob value)

Optional. Job is a Spark job.

.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SparkJob
Returns
Type Description
OrderedJob.Builder

mergeSparkRJob(SparkRJob value)

public OrderedJob.Builder mergeSparkRJob(SparkRJob value)

Optional. Job is a SparkR job.

.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SparkRJob
Returns
Type Description
OrderedJob.Builder

mergeSparkSqlJob(SparkSqlJob value)

public OrderedJob.Builder mergeSparkSqlJob(SparkSqlJob value)

Optional. Job is a SparkSql job.

.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SparkSqlJob
Returns
Type Description
OrderedJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OrderedJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OrderedJob.Builder
Overrides

putAllLabels(Map<String,String> values)

public OrderedJob.Builder putAllLabels(Map<String,String> values)

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
Name Description
values Map<String,String>
Returns
Type Description
OrderedJob.Builder

putLabels(String key, String value)

public OrderedJob.Builder putLabels(String key, String value)

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
Name Description
key String
value String
Returns
Type Description
OrderedJob.Builder

removeLabels(String key)

public OrderedJob.Builder removeLabels(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
Name Description
key String
Returns
Type Description
OrderedJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OrderedJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrderedJob.Builder
Overrides

setHadoopJob(HadoopJob value)

public OrderedJob.Builder setHadoopJob(HadoopJob value)

Optional. Job is a Hadoop job.

.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HadoopJob
Returns
Type Description
OrderedJob.Builder

setHadoopJob(HadoopJob.Builder builderForValue)

public OrderedJob.Builder setHadoopJob(HadoopJob.Builder builderForValue)

Optional. Job is a Hadoop job.

.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue HadoopJob.Builder
Returns
Type Description
OrderedJob.Builder

setHiveJob(HiveJob value)

public OrderedJob.Builder setHiveJob(HiveJob value)

Optional. Job is a Hive job.

.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value HiveJob
Returns
Type Description
OrderedJob.Builder

setHiveJob(HiveJob.Builder builderForValue)

public OrderedJob.Builder setHiveJob(HiveJob.Builder builderForValue)

Optional. Job is a Hive job.

.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue HiveJob.Builder
Returns
Type Description
OrderedJob.Builder

setPigJob(PigJob value)

public OrderedJob.Builder setPigJob(PigJob value)

Optional. Job is a Pig job.

.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PigJob
Returns
Type Description
OrderedJob.Builder

setPigJob(PigJob.Builder builderForValue)

public OrderedJob.Builder setPigJob(PigJob.Builder builderForValue)

Optional. Job is a Pig job.

.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PigJob.Builder
Returns
Type Description
OrderedJob.Builder

setPrerequisiteStepIds(int index, String value)

public OrderedJob.Builder setPrerequisiteStepIds(int index, String value)

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];

Parameters
Name Description
index int

The index to set the value at.

value String

The prerequisiteStepIds to set.

Returns
Type Description
OrderedJob.Builder

This builder for chaining.

setPrestoJob(PrestoJob value)

public OrderedJob.Builder setPrestoJob(PrestoJob value)

Optional. Job is a Presto job.

.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PrestoJob
Returns
Type Description
OrderedJob.Builder

setPrestoJob(PrestoJob.Builder builderForValue)

public OrderedJob.Builder setPrestoJob(PrestoJob.Builder builderForValue)

Optional. Job is a Presto job.

.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PrestoJob.Builder
Returns
Type Description
OrderedJob.Builder

setPysparkJob(PySparkJob value)

public OrderedJob.Builder setPysparkJob(PySparkJob value)

Optional. Job is a PySpark job.

.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PySparkJob
Returns
Type Description
OrderedJob.Builder

setPysparkJob(PySparkJob.Builder builderForValue)

public OrderedJob.Builder setPysparkJob(PySparkJob.Builder builderForValue)

Optional. Job is a PySpark job.

.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PySparkJob.Builder
Returns
Type Description
OrderedJob.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OrderedJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OrderedJob.Builder
Overrides

setScheduling(JobScheduling value)

public OrderedJob.Builder setScheduling(JobScheduling value)

Optional. Job scheduling configuration.

.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value JobScheduling
Returns
Type Description
OrderedJob.Builder

setScheduling(JobScheduling.Builder builderForValue)

public OrderedJob.Builder setScheduling(JobScheduling.Builder builderForValue)

Optional. Job scheduling configuration.

.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue JobScheduling.Builder
Returns
Type Description
OrderedJob.Builder

setSparkJob(SparkJob value)

public OrderedJob.Builder setSparkJob(SparkJob value)

Optional. Job is a Spark job.

.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SparkJob
Returns
Type Description
OrderedJob.Builder

setSparkJob(SparkJob.Builder builderForValue)

public OrderedJob.Builder setSparkJob(SparkJob.Builder builderForValue)

Optional. Job is a Spark job.

.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SparkJob.Builder
Returns
Type Description
OrderedJob.Builder

setSparkRJob(SparkRJob value)

public OrderedJob.Builder setSparkRJob(SparkRJob value)

Optional. Job is a SparkR job.

.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SparkRJob
Returns
Type Description
OrderedJob.Builder

setSparkRJob(SparkRJob.Builder builderForValue)

public OrderedJob.Builder setSparkRJob(SparkRJob.Builder builderForValue)

Optional. Job is a SparkR job.

.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SparkRJob.Builder
Returns
Type Description
OrderedJob.Builder

setSparkSqlJob(SparkSqlJob value)

public OrderedJob.Builder setSparkSqlJob(SparkSqlJob value)

Optional. Job is a SparkSql job.

.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SparkSqlJob
Returns
Type Description
OrderedJob.Builder

setSparkSqlJob(SparkSqlJob.Builder builderForValue)

public OrderedJob.Builder setSparkSqlJob(SparkSqlJob.Builder builderForValue)

Optional. Job is a SparkSql job.

.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SparkSqlJob.Builder
Returns
Type Description
OrderedJob.Builder

setStepId(String value)

public OrderedJob.Builder setStepId(String value)

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];

Parameter
Name Description
value String

The stepId to set.

Returns
Type Description
OrderedJob.Builder

This builder for chaining.

setStepIdBytes(ByteString value)

public OrderedJob.Builder setStepIdBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for stepId to set.

Returns
Type Description
OrderedJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OrderedJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OrderedJob.Builder
Overrides