Interface OrderedJobOrBuilder (4.29.0)

public interface OrderedJobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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

getHadoopJob()

public abstract 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.

getHadoopJobOrBuilder()

public abstract 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 abstract 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.

getHiveJobOrBuilder()

public abstract 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 abstract OrderedJob.JobTypeCase getJobTypeCase()
Returns
TypeDescription
OrderedJob.JobTypeCase

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract 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 abstract 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 abstract 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 abstract 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

getPigJob()

public abstract 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.

getPigJobOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the prerequisiteStepIds.

getPrestoJob()

public abstract 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.

getPrestoJobOrBuilder()

public abstract 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 abstract 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.

getPysparkJobOrBuilder()

public abstract 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 abstract JobScheduling getScheduling()

Optional. Job scheduling configuration.

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

Returns
TypeDescription
JobScheduling

The scheduling.

getSchedulingOrBuilder()

public abstract JobSchedulingOrBuilder getSchedulingOrBuilder()

Optional. Job scheduling configuration.

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

Returns
TypeDescription
JobSchedulingOrBuilder

getSparkJob()

public abstract 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.

getSparkJobOrBuilder()

public abstract 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 abstract 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.

getSparkRJobOrBuilder()

public abstract 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 abstract 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.

getSparkSqlJobOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.