Package com.google.cloud.dataproc.v1
Interface OrderedJobOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OrderedJob
,OrderedJob.Builder
public interface OrderedJobOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStepId
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][google.cloud.dataproc.v1.OrderedJob.prerequisite_step_ids] 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:
- The stepId.
-
getStepIdBytes
com.google.protobuf.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][google.cloud.dataproc.v1.OrderedJob.prerequisite_step_ids] 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:
- The bytes for stepId.
-
hasHadoopJob
boolean hasHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the hadoopJob field is set.
-
getHadoopJob
HadoopJob getHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The hadoopJob.
-
getHadoopJobOrBuilder
HadoopJobOrBuilder getHadoopJobOrBuilder()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
-
hasSparkJob
boolean hasSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the sparkJob field is set.
-
getSparkJob
SparkJob getSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The sparkJob.
-
getSparkJobOrBuilder
SparkJobOrBuilder getSparkJobOrBuilder()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
-
hasPysparkJob
boolean hasPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the pysparkJob field is set.
-
getPysparkJob
PySparkJob getPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The pysparkJob.
-
getPysparkJobOrBuilder
PySparkJobOrBuilder getPysparkJobOrBuilder()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
-
hasHiveJob
boolean hasHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the hiveJob field is set.
-
getHiveJob
HiveJob getHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The hiveJob.
-
getHiveJobOrBuilder
HiveJobOrBuilder getHiveJobOrBuilder()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
-
hasPigJob
boolean hasPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the pigJob field is set.
-
getPigJob
PigJob getPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The pigJob.
-
getPigJobOrBuilder
PigJobOrBuilder getPigJobOrBuilder()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
-
hasSparkRJob
boolean hasSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the sparkRJob field is set.
-
getSparkRJob
SparkRJob getSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The sparkRJob.
-
getSparkRJobOrBuilder
SparkRJobOrBuilder getSparkRJobOrBuilder()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
-
hasSparkSqlJob
boolean hasSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the sparkSqlJob field is set.
-
getSparkSqlJob
SparkSqlJob getSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The sparkSqlJob.
-
getSparkSqlJobOrBuilder
SparkSqlJobOrBuilder getSparkSqlJobOrBuilder()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
-
hasPrestoJob
boolean hasPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the prestoJob field is set.
-
getPrestoJob
PrestoJob getPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The prestoJob.
-
getPrestoJobOrBuilder
PrestoJobOrBuilder getPrestoJobOrBuilder()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsCount
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}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
-
containsLabels
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}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
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}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrDefault
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}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrThrow
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}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
-
hasScheduling
boolean hasScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the scheduling field is set.
-
getScheduling
JobScheduling getScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The scheduling.
-
getSchedulingOrBuilder
JobSchedulingOrBuilder getSchedulingOrBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getPrerequisiteStepIdsList
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:
- A list containing the prerequisiteStepIds.
-
getPrerequisiteStepIdsCount
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:
- The count of prerequisiteStepIds.
-
getPrerequisiteStepIds
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];
- Parameters:
index
- The index of the element to return.- Returns:
- The prerequisiteStepIds at the given index.
-
getPrerequisiteStepIdsBytes
com.google.protobuf.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];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the prerequisiteStepIds at the given index.
-
getJobTypeCase
OrderedJob.JobTypeCase getJobTypeCase()
-
-