Package com.google.cloud.dataproc.v1
Class OrderedJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
- com.google.cloud.dataproc.v1.OrderedJob.Builder
-
- All Implemented Interfaces:
OrderedJobOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- OrderedJob
public static final class OrderedJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder> implements OrderedJobOrBuilder
A job executed by the workflow.
Protobuf typegoogle.cloud.dataproc.v1.OrderedJob
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
clear
public OrderedJob.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
getDefaultInstanceForType
public OrderedJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OrderedJob build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OrderedJob buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OrderedJob.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
setField
public OrderedJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
clearField
public OrderedJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
clearOneof
public OrderedJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
setRepeatedField
public OrderedJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
addRepeatedField
public OrderedJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
mergeFrom
public OrderedJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OrderedJob.Builder>
-
mergeFrom
public OrderedJob.Builder mergeFrom(OrderedJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
mergeFrom
public OrderedJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OrderedJob.Builder>
- Throws:
IOException
-
getJobTypeCase
public OrderedJob.JobTypeCase getJobTypeCase()
- Specified by:
getJobTypeCase
in interfaceOrderedJobOrBuilder
-
clearJobType
public OrderedJob.Builder clearJobType()
-
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][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];
- Specified by:
getStepId
in interfaceOrderedJobOrBuilder
- Returns:
- The stepId.
-
getStepIdBytes
public 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];
- Specified by:
getStepIdBytes
in interfaceOrderedJobOrBuilder
- Returns:
- The bytes for stepId.
-
setStepId
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][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];
- Parameters:
value
- The stepId to set.- Returns:
- This builder for chaining.
-
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][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:
- This builder for chaining.
-
setStepIdBytes
public OrderedJob.Builder setStepIdBytes(com.google.protobuf.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][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];
- Parameters:
value
- The bytes for stepId to set.- Returns:
- This builder for chaining.
-
hasHadoopJob
public boolean hasHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasHadoopJob
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the hadoopJob field is set.
-
getHadoopJob
public HadoopJob getHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getHadoopJob
in interfaceOrderedJobOrBuilder
- Returns:
- The hadoopJob.
-
setHadoopJob
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];
-
setHadoopJob
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];
-
mergeHadoopJob
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];
-
clearHadoopJob
public OrderedJob.Builder clearHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getHadoopJobBuilder
public HadoopJob.Builder getHadoopJobBuilder()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getHadoopJobOrBuilder
public HadoopJobOrBuilder getHadoopJobOrBuilder()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getHadoopJobOrBuilder
in interfaceOrderedJobOrBuilder
-
hasSparkJob
public boolean hasSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkJob
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the sparkJob field is set.
-
getSparkJob
public SparkJob getSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkJob
in interfaceOrderedJobOrBuilder
- Returns:
- The sparkJob.
-
setSparkJob
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];
-
setSparkJob
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];
-
mergeSparkJob
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];
-
clearSparkJob
public OrderedJob.Builder clearSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkJobBuilder
public SparkJob.Builder getSparkJobBuilder()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkJobOrBuilder
public SparkJobOrBuilder getSparkJobOrBuilder()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkJobOrBuilder
in interfaceOrderedJobOrBuilder
-
hasPysparkJob
public boolean hasPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPysparkJob
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the pysparkJob field is set.
-
getPysparkJob
public PySparkJob getPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPysparkJob
in interfaceOrderedJobOrBuilder
- Returns:
- The pysparkJob.
-
setPysparkJob
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];
-
setPysparkJob
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];
-
mergePysparkJob
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];
-
clearPysparkJob
public OrderedJob.Builder clearPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPysparkJobBuilder
public PySparkJob.Builder getPysparkJobBuilder()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPysparkJobOrBuilder
public PySparkJobOrBuilder getPysparkJobOrBuilder()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPysparkJobOrBuilder
in interfaceOrderedJobOrBuilder
-
hasHiveJob
public boolean hasHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasHiveJob
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the hiveJob field is set.
-
getHiveJob
public HiveJob getHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getHiveJob
in interfaceOrderedJobOrBuilder
- Returns:
- The hiveJob.
-
setHiveJob
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];
-
setHiveJob
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];
-
mergeHiveJob
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];
-
clearHiveJob
public OrderedJob.Builder clearHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getHiveJobBuilder
public HiveJob.Builder getHiveJobBuilder()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getHiveJobOrBuilder
public HiveJobOrBuilder getHiveJobOrBuilder()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getHiveJobOrBuilder
in interfaceOrderedJobOrBuilder
-
hasPigJob
public boolean hasPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPigJob
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the pigJob field is set.
-
getPigJob
public PigJob getPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPigJob
in interfaceOrderedJobOrBuilder
- Returns:
- The pigJob.
-
setPigJob
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];
-
setPigJob
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];
-
mergePigJob
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];
-
clearPigJob
public OrderedJob.Builder clearPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getPigJobBuilder
public PigJob.Builder getPigJobBuilder()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getPigJobOrBuilder
public PigJobOrBuilder getPigJobOrBuilder()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPigJobOrBuilder
in interfaceOrderedJobOrBuilder
-
hasSparkRJob
public boolean hasSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkRJob
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the sparkRJob field is set.
-
getSparkRJob
public SparkRJob getSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkRJob
in interfaceOrderedJobOrBuilder
- Returns:
- The sparkRJob.
-
setSparkRJob
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];
-
setSparkRJob
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];
-
mergeSparkRJob
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];
-
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];
-
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];
-
getSparkRJobOrBuilder
public SparkRJobOrBuilder getSparkRJobOrBuilder()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkRJobOrBuilder
in interfaceOrderedJobOrBuilder
-
hasSparkSqlJob
public boolean hasSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkSqlJob
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the sparkSqlJob field is set.
-
getSparkSqlJob
public SparkSqlJob getSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkSqlJob
in interfaceOrderedJobOrBuilder
- Returns:
- The sparkSqlJob.
-
setSparkSqlJob
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];
-
setSparkSqlJob
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];
-
mergeSparkSqlJob
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];
-
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];
-
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];
-
getSparkSqlJobOrBuilder
public SparkSqlJobOrBuilder getSparkSqlJobOrBuilder()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkSqlJobOrBuilder
in interfaceOrderedJobOrBuilder
-
hasPrestoJob
public boolean hasPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPrestoJob
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the prestoJob field is set.
-
getPrestoJob
public PrestoJob getPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPrestoJob
in interfaceOrderedJobOrBuilder
- Returns:
- The prestoJob.
-
setPrestoJob
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];
-
setPrestoJob
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];
-
mergePrestoJob
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];
-
clearPrestoJob
public OrderedJob.Builder clearPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
-
getPrestoJobBuilder
public PrestoJob.Builder getPrestoJobBuilder()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
-
getPrestoJobOrBuilder
public PrestoJobOrBuilder getPrestoJobOrBuilder()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPrestoJobOrBuilder
in interfaceOrderedJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:OrderedJobOrBuilder
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];
- Specified by:
getLabelsCount
in interfaceOrderedJobOrBuilder
-
containsLabels
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}][\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];
- Specified by:
containsLabels
in interfaceOrderedJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceOrderedJobOrBuilder
-
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}][\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];
- Specified by:
getLabelsMap
in interfaceOrderedJobOrBuilder
-
getLabelsOrDefault
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}][\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];
- Specified by:
getLabelsOrDefault
in interfaceOrderedJobOrBuilder
-
getLabelsOrThrow
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}][\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];
- Specified by:
getLabelsOrThrow
in interfaceOrderedJobOrBuilder
-
clearLabels
public OrderedJob.Builder clearLabels()
-
removeLabels
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}][\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];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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}][\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];
-
putAllLabels
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}][\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
public boolean hasScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasScheduling
in interfaceOrderedJobOrBuilder
- Returns:
- Whether the scheduling field is set.
-
getScheduling
public JobScheduling getScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getScheduling
in interfaceOrderedJobOrBuilder
- Returns:
- The scheduling.
-
setScheduling
public OrderedJob.Builder setScheduling(JobScheduling value)
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
-
setScheduling
public OrderedJob.Builder setScheduling(JobScheduling.Builder builderForValue)
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
-
mergeScheduling
public OrderedJob.Builder mergeScheduling(JobScheduling value)
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
-
clearScheduling
public OrderedJob.Builder clearScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getSchedulingBuilder
public JobScheduling.Builder getSchedulingBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getSchedulingOrBuilder
public JobSchedulingOrBuilder getSchedulingOrBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSchedulingOrBuilder
in interfaceOrderedJobOrBuilder
-
getPrerequisiteStepIdsList
public com.google.protobuf.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];
- Specified by:
getPrerequisiteStepIdsList
in interfaceOrderedJobOrBuilder
- Returns:
- A list containing the prerequisiteStepIds.
-
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];
- Specified by:
getPrerequisiteStepIdsCount
in interfaceOrderedJobOrBuilder
- Returns:
- The count of prerequisiteStepIds.
-
getPrerequisiteStepIds
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];
- Specified by:
getPrerequisiteStepIds
in interfaceOrderedJobOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The prerequisiteStepIds at the given index.
-
getPrerequisiteStepIdsBytes
public 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];
- Specified by:
getPrerequisiteStepIdsBytes
in interfaceOrderedJobOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the prerequisiteStepIds at the given index.
-
setPrerequisiteStepIds
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:
index
- The index to set the value at.value
- The prerequisiteStepIds to set.- Returns:
- This builder for chaining.
-
addPrerequisiteStepIds
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];
- Parameters:
value
- The prerequisiteStepIds to add.- Returns:
- This builder for chaining.
-
addAllPrerequisiteStepIds
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];
- Parameters:
values
- The prerequisiteStepIds to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addPrerequisiteStepIdsBytes
public OrderedJob.Builder addPrerequisiteStepIdsBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes of the prerequisiteStepIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final OrderedJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
mergeUnknownFields
public final OrderedJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OrderedJob.Builder>
-
-