Class OrderedJob.Builder

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

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
NameDescription
valuesIterable<String>

The prerequisiteStepIds to add.

Returns
TypeDescription
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
NameDescription
valueString

The prerequisiteStepIds to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the prerequisiteStepIds to add.

Returns
TypeDescription
OrderedJob.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OrderedJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OrderedJob.Builder
Overrides

build()

public OrderedJob build()
Returns
TypeDescription
OrderedJob

buildPartial()

public OrderedJob buildPartial()
Returns
TypeDescription
OrderedJob

clear()

public OrderedJob.Builder clear()
Returns
TypeDescription
OrderedJob.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public OrderedJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
OrderedJob.Builder

clearJobType()

public OrderedJob.Builder clearJobType()
Returns
TypeDescription
OrderedJob.Builder

clearLabels()

public OrderedJob.Builder clearLabels()
Returns
TypeDescription
OrderedJob.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OrderedJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
OrderedJob.Builder

clearScheduling()

public OrderedJob.Builder clearScheduling()

Optional. Job scheduling configuration.

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

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

This builder for chaining.

clone()

public OrderedJob.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public OrderedJob getDefaultInstanceForType()
Returns
TypeDescription
OrderedJob

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
HiveJobOrBuilder

getJobTypeCase()

public OrderedJob.JobTypeCase getJobTypeCase()
Returns
TypeDescription
OrderedJob.JobTypeCase

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PySparkJobOrBuilder

getScheduling()

public JobScheduling getScheduling()

Optional. Job scheduling configuration.

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

Returns
TypeDescription
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
TypeDescription
JobScheduling.Builder

getSchedulingOrBuilder()

public JobSchedulingOrBuilder getSchedulingOrBuilder()

Optional. Job scheduling configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sparkSqlJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OrderedJob other)

public OrderedJob.Builder mergeFrom(OrderedJob other)
Parameter
NameDescription
otherOrderedJob
Returns
TypeDescription
OrderedJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OrderedJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrderedJob.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OrderedJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueHadoopJob
Returns
TypeDescription
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
NameDescription
valueHiveJob
Returns
TypeDescription
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
NameDescription
valuePigJob
Returns
TypeDescription
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
NameDescription
valuePrestoJob
Returns
TypeDescription
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
NameDescription
valuePySparkJob
Returns
TypeDescription
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
NameDescription
valueJobScheduling
Returns
TypeDescription
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
NameDescription
valueSparkJob
Returns
TypeDescription
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
NameDescription
valueSparkRJob
Returns
TypeDescription
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
NameDescription
valueSparkSqlJob
Returns
TypeDescription
OrderedJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OrderedJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
OrderedJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OrderedJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueHadoopJob
Returns
TypeDescription
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
NameDescription
builderForValueHadoopJob.Builder
Returns
TypeDescription
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
NameDescription
valueHiveJob
Returns
TypeDescription
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
NameDescription
builderForValueHiveJob.Builder
Returns
TypeDescription
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
NameDescription
valuePigJob
Returns
TypeDescription
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
NameDescription
builderForValuePigJob.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The prerequisiteStepIds to set.

Returns
TypeDescription
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
NameDescription
valuePrestoJob
Returns
TypeDescription
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
NameDescription
builderForValuePrestoJob.Builder
Returns
TypeDescription
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
NameDescription
valuePySparkJob
Returns
TypeDescription
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
NameDescription
builderForValuePySparkJob.Builder
Returns
TypeDescription
OrderedJob.Builder

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

public OrderedJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueJobScheduling
Returns
TypeDescription
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
NameDescription
builderForValueJobScheduling.Builder
Returns
TypeDescription
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
NameDescription
valueSparkJob
Returns
TypeDescription
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
NameDescription
builderForValueSparkJob.Builder
Returns
TypeDescription
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
NameDescription
valueSparkRJob
Returns
TypeDescription
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
NameDescription
builderForValueSparkRJob.Builder
Returns
TypeDescription
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
NameDescription
valueSparkSqlJob
Returns
TypeDescription
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
NameDescription
builderForValueSparkSqlJob.Builder
Returns
TypeDescription
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
NameDescription
valueString

The stepId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for stepId to set.

Returns
TypeDescription
OrderedJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OrderedJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OrderedJob.Builder
Overrides