Package com.google.cloud.dataproc.v1
Class Job.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
- com.google.cloud.dataproc.v1.Job.Builder
-
- All Implemented Interfaces:
JobOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Job
public static final class Job.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
A Dataproc job resource.
Protobuf typegoogle.cloud.dataproc.v1.Job
-
-
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<Job.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clear
public Job.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<Job.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<Job.Builder>
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Job build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Job buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Job.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<Job.Builder>
-
setField
public Job.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<Job.Builder>
-
clearField
public Job.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<Job.Builder>
-
clearOneof
public Job.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<Job.Builder>
-
setRepeatedField
public Job.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<Job.Builder>
-
addRepeatedField
public Job.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<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.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<Job.Builder>
- Throws:
IOException
-
getTypeJobCase
public Job.TypeJobCase getTypeJobCase()
- Specified by:
getTypeJobCase
in interfaceJobOrBuilder
-
clearTypeJob
public Job.Builder clearTypeJob()
-
hasReference
public boolean hasReference()
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
.google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasReference
in interfaceJobOrBuilder
- Returns:
- Whether the reference field is set.
-
getReference
public JobReference getReference()
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
.google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReference
in interfaceJobOrBuilder
- Returns:
- The reference.
-
setReference
public Job.Builder setReference(JobReference value)
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
.google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
-
setReference
public Job.Builder setReference(JobReference.Builder builderForValue)
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
.google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
-
mergeReference
public Job.Builder mergeReference(JobReference value)
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
.google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
-
clearReference
public Job.Builder clearReference()
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
.google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getReferenceBuilder
public JobReference.Builder getReferenceBuilder()
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
.google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getReferenceOrBuilder
public JobReferenceOrBuilder getReferenceOrBuilder()
Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>.
.google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReferenceOrBuilder
in interfaceJobOrBuilder
-
hasPlacement
public boolean hasPlacement()
Required. Job information, including how, when, and where to run the job.
.google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasPlacement
in interfaceJobOrBuilder
- Returns:
- Whether the placement field is set.
-
getPlacement
public JobPlacement getPlacement()
Required. Job information, including how, when, and where to run the job.
.google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPlacement
in interfaceJobOrBuilder
- Returns:
- The placement.
-
setPlacement
public Job.Builder setPlacement(JobPlacement value)
Required. Job information, including how, when, and where to run the job.
.google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
-
setPlacement
public Job.Builder setPlacement(JobPlacement.Builder builderForValue)
Required. Job information, including how, when, and where to run the job.
.google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
-
mergePlacement
public Job.Builder mergePlacement(JobPlacement value)
Required. Job information, including how, when, and where to run the job.
.google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearPlacement
public Job.Builder clearPlacement()
Required. Job information, including how, when, and where to run the job.
.google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
-
getPlacementBuilder
public JobPlacement.Builder getPlacementBuilder()
Required. Job information, including how, when, and where to run the job.
.google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
-
getPlacementOrBuilder
public JobPlacementOrBuilder getPlacementOrBuilder()
Required. Job information, including how, when, and where to run the job.
.google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPlacementOrBuilder
in interfaceJobOrBuilder
-
hasHadoopJob
public boolean hasHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasHadoopJob
in interfaceJobOrBuilder
- Returns:
- Whether the hadoopJob field is set.
-
getHadoopJob
public HadoopJob getHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getHadoopJob
in interfaceJobOrBuilder
- Returns:
- The hadoopJob.
-
setHadoopJob
public Job.Builder setHadoopJob(HadoopJob value)
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
-
setHadoopJob
public Job.Builder setHadoopJob(HadoopJob.Builder builderForValue)
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
-
mergeHadoopJob
public Job.Builder mergeHadoopJob(HadoopJob value)
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
-
clearHadoopJob
public Job.Builder clearHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getHadoopJobBuilder
public HadoopJob.Builder getHadoopJobBuilder()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getHadoopJobOrBuilder
public HadoopJobOrBuilder getHadoopJobOrBuilder()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getHadoopJobOrBuilder
in interfaceJobOrBuilder
-
hasSparkJob
public boolean hasSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkJob
in interfaceJobOrBuilder
- Returns:
- Whether the sparkJob field is set.
-
getSparkJob
public SparkJob getSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkJob
in interfaceJobOrBuilder
- Returns:
- The sparkJob.
-
setSparkJob
public Job.Builder setSparkJob(SparkJob value)
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
-
setSparkJob
public Job.Builder setSparkJob(SparkJob.Builder builderForValue)
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
-
mergeSparkJob
public Job.Builder mergeSparkJob(SparkJob value)
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
-
clearSparkJob
public Job.Builder clearSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkJobBuilder
public SparkJob.Builder getSparkJobBuilder()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkJobOrBuilder
public SparkJobOrBuilder getSparkJobOrBuilder()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkJobOrBuilder
in interfaceJobOrBuilder
-
hasPysparkJob
public boolean hasPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPysparkJob
in interfaceJobOrBuilder
- Returns:
- Whether the pysparkJob field is set.
-
getPysparkJob
public PySparkJob getPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPysparkJob
in interfaceJobOrBuilder
- Returns:
- The pysparkJob.
-
setPysparkJob
public Job.Builder setPysparkJob(PySparkJob value)
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
-
setPysparkJob
public Job.Builder setPysparkJob(PySparkJob.Builder builderForValue)
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
-
mergePysparkJob
public Job.Builder mergePysparkJob(PySparkJob value)
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
-
clearPysparkJob
public Job.Builder clearPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getPysparkJobBuilder
public PySparkJob.Builder getPysparkJobBuilder()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getPysparkJobOrBuilder
public PySparkJobOrBuilder getPysparkJobOrBuilder()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPysparkJobOrBuilder
in interfaceJobOrBuilder
-
hasHiveJob
public boolean hasHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasHiveJob
in interfaceJobOrBuilder
- Returns:
- Whether the hiveJob field is set.
-
getHiveJob
public HiveJob getHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getHiveJob
in interfaceJobOrBuilder
- Returns:
- The hiveJob.
-
setHiveJob
public Job.Builder setHiveJob(HiveJob value)
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
-
setHiveJob
public Job.Builder setHiveJob(HiveJob.Builder builderForValue)
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
-
mergeHiveJob
public Job.Builder mergeHiveJob(HiveJob value)
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
-
clearHiveJob
public Job.Builder clearHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getHiveJobBuilder
public HiveJob.Builder getHiveJobBuilder()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getHiveJobOrBuilder
public HiveJobOrBuilder getHiveJobOrBuilder()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getHiveJobOrBuilder
in interfaceJobOrBuilder
-
hasPigJob
public boolean hasPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPigJob
in interfaceJobOrBuilder
- Returns:
- Whether the pigJob field is set.
-
getPigJob
public PigJob getPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPigJob
in interfaceJobOrBuilder
- Returns:
- The pigJob.
-
setPigJob
public Job.Builder setPigJob(PigJob value)
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
-
setPigJob
public Job.Builder setPigJob(PigJob.Builder builderForValue)
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
-
mergePigJob
public Job.Builder mergePigJob(PigJob value)
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
-
clearPigJob
public Job.Builder clearPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getPigJobBuilder
public PigJob.Builder getPigJobBuilder()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getPigJobOrBuilder
public PigJobOrBuilder getPigJobOrBuilder()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPigJobOrBuilder
in interfaceJobOrBuilder
-
hasSparkRJob
public boolean hasSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkRJob
in interfaceJobOrBuilder
- 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 = 21 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkRJob
in interfaceJobOrBuilder
- Returns:
- The sparkRJob.
-
setSparkRJob
public Job.Builder setSparkRJob(SparkRJob value)
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
-
setSparkRJob
public Job.Builder setSparkRJob(SparkRJob.Builder builderForValue)
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
-
mergeSparkRJob
public Job.Builder mergeSparkRJob(SparkRJob value)
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
-
clearSparkRJob
public Job.Builder clearSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkRJobBuilder
public SparkRJob.Builder getSparkRJobBuilder()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkRJobOrBuilder
public SparkRJobOrBuilder getSparkRJobOrBuilder()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkRJobOrBuilder
in interfaceJobOrBuilder
-
hasSparkSqlJob
public boolean hasSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSparkSqlJob
in interfaceJobOrBuilder
- 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 = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkSqlJob
in interfaceJobOrBuilder
- Returns:
- The sparkSqlJob.
-
setSparkSqlJob
public Job.Builder setSparkSqlJob(SparkSqlJob value)
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
-
setSparkSqlJob
public Job.Builder setSparkSqlJob(SparkSqlJob.Builder builderForValue)
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
-
mergeSparkSqlJob
public Job.Builder mergeSparkSqlJob(SparkSqlJob value)
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
-
clearSparkSqlJob
public Job.Builder clearSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkSqlJobBuilder
public SparkSqlJob.Builder getSparkSqlJobBuilder()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
-
getSparkSqlJobOrBuilder
public SparkSqlJobOrBuilder getSparkSqlJobOrBuilder()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSparkSqlJobOrBuilder
in interfaceJobOrBuilder
-
hasPrestoJob
public boolean hasPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPrestoJob
in interfaceJobOrBuilder
- Returns:
- Whether the prestoJob field is set.
-
getPrestoJob
public PrestoJob getPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPrestoJob
in interfaceJobOrBuilder
- Returns:
- The prestoJob.
-
setPrestoJob
public Job.Builder setPrestoJob(PrestoJob value)
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
-
setPrestoJob
public Job.Builder setPrestoJob(PrestoJob.Builder builderForValue)
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
-
mergePrestoJob
public Job.Builder mergePrestoJob(PrestoJob value)
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
-
clearPrestoJob
public Job.Builder clearPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
-
getPrestoJobBuilder
public PrestoJob.Builder getPrestoJobBuilder()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
-
getPrestoJobOrBuilder
public PrestoJobOrBuilder getPrestoJobOrBuilder()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPrestoJobOrBuilder
in interfaceJobOrBuilder
-
hasTrinoJob
public boolean hasTrinoJob()
Optional. Job is a Trino job.
.google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasTrinoJob
in interfaceJobOrBuilder
- Returns:
- Whether the trinoJob field is set.
-
getTrinoJob
public TrinoJob getTrinoJob()
Optional. Job is a Trino job.
.google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTrinoJob
in interfaceJobOrBuilder
- Returns:
- The trinoJob.
-
setTrinoJob
public Job.Builder setTrinoJob(TrinoJob value)
Optional. Job is a Trino job.
.google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
-
setTrinoJob
public Job.Builder setTrinoJob(TrinoJob.Builder builderForValue)
Optional. Job is a Trino job.
.google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
-
mergeTrinoJob
public Job.Builder mergeTrinoJob(TrinoJob value)
Optional. Job is a Trino job.
.google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
-
clearTrinoJob
public Job.Builder clearTrinoJob()
Optional. Job is a Trino job.
.google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
-
getTrinoJobBuilder
public TrinoJob.Builder getTrinoJobBuilder()
Optional. Job is a Trino job.
.google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
-
getTrinoJobOrBuilder
public TrinoJobOrBuilder getTrinoJobOrBuilder()
Optional. Job is a Trino job.
.google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTrinoJobOrBuilder
in interfaceJobOrBuilder
-
hasStatus
public boolean hasStatus()
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
.google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasStatus
in interfaceJobOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public JobStatus getStatus()
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
.google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatus
in interfaceJobOrBuilder
- Returns:
- The status.
-
setStatus
public Job.Builder setStatus(JobStatus value)
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
.google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStatus
public Job.Builder setStatus(JobStatus.Builder builderForValue)
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
.google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeStatus
public Job.Builder mergeStatus(JobStatus value)
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
.google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStatus
public Job.Builder clearStatus()
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
.google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusBuilder
public JobStatus.Builder getStatusBuilder()
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
.google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusOrBuilder
public JobStatusOrBuilder getStatusOrBuilder()
Output only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields.
.google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusOrBuilder
in interfaceJobOrBuilder
-
getStatusHistoryList
public List<JobStatus> getStatusHistoryList()
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusHistoryList
in interfaceJobOrBuilder
-
getStatusHistoryCount
public int getStatusHistoryCount()
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusHistoryCount
in interfaceJobOrBuilder
-
getStatusHistory
public JobStatus getStatusHistory(int index)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusHistory
in interfaceJobOrBuilder
-
setStatusHistory
public Job.Builder setStatusHistory(int index, JobStatus value)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStatusHistory
public Job.Builder setStatusHistory(int index, JobStatus.Builder builderForValue)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addStatusHistory
public Job.Builder addStatusHistory(JobStatus value)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addStatusHistory
public Job.Builder addStatusHistory(int index, JobStatus value)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addStatusHistory
public Job.Builder addStatusHistory(JobStatus.Builder builderForValue)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addStatusHistory
public Job.Builder addStatusHistory(int index, JobStatus.Builder builderForValue)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllStatusHistory
public Job.Builder addAllStatusHistory(Iterable<? extends JobStatus> values)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStatusHistory
public Job.Builder clearStatusHistory()
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeStatusHistory
public Job.Builder removeStatusHistory(int index)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusHistoryBuilder
public JobStatus.Builder getStatusHistoryBuilder(int index)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusHistoryOrBuilder
public JobStatusOrBuilder getStatusHistoryOrBuilder(int index)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusHistoryOrBuilder
in interfaceJobOrBuilder
-
getStatusHistoryOrBuilderList
public List<? extends JobStatusOrBuilder> getStatusHistoryOrBuilderList()
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusHistoryOrBuilderList
in interfaceJobOrBuilder
-
addStatusHistoryBuilder
public JobStatus.Builder addStatusHistoryBuilder()
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addStatusHistoryBuilder
public JobStatus.Builder addStatusHistoryBuilder(int index)
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusHistoryBuilderList
public List<JobStatus.Builder> getStatusHistoryBuilderList()
Output only. The previous job status.
repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getYarnApplicationsList
public List<YarnApplication> getYarnApplicationsList()
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getYarnApplicationsList
in interfaceJobOrBuilder
-
getYarnApplicationsCount
public int getYarnApplicationsCount()
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getYarnApplicationsCount
in interfaceJobOrBuilder
-
getYarnApplications
public YarnApplication getYarnApplications(int index)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getYarnApplications
in interfaceJobOrBuilder
-
setYarnApplications
public Job.Builder setYarnApplications(int index, YarnApplication value)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setYarnApplications
public Job.Builder setYarnApplications(int index, YarnApplication.Builder builderForValue)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addYarnApplications
public Job.Builder addYarnApplications(YarnApplication value)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addYarnApplications
public Job.Builder addYarnApplications(int index, YarnApplication value)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addYarnApplications
public Job.Builder addYarnApplications(YarnApplication.Builder builderForValue)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addYarnApplications
public Job.Builder addYarnApplications(int index, YarnApplication.Builder builderForValue)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllYarnApplications
public Job.Builder addAllYarnApplications(Iterable<? extends YarnApplication> values)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearYarnApplications
public Job.Builder clearYarnApplications()
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeYarnApplications
public Job.Builder removeYarnApplications(int index)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getYarnApplicationsBuilder
public YarnApplication.Builder getYarnApplicationsBuilder(int index)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getYarnApplicationsOrBuilder
public YarnApplicationOrBuilder getYarnApplicationsOrBuilder(int index)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getYarnApplicationsOrBuilder
in interfaceJobOrBuilder
-
getYarnApplicationsOrBuilderList
public List<? extends YarnApplicationOrBuilder> getYarnApplicationsOrBuilderList()
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getYarnApplicationsOrBuilderList
in interfaceJobOrBuilder
-
addYarnApplicationsBuilder
public YarnApplication.Builder addYarnApplicationsBuilder()
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addYarnApplicationsBuilder
public YarnApplication.Builder addYarnApplicationsBuilder(int index)
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getYarnApplicationsBuilderList
public List<YarnApplication.Builder> getYarnApplicationsBuilderList()
Output only. The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.
repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDriverOutputResourceUri
public String getDriverOutputResourceUri()
Output only. A URI pointing to the location of the stdout of the job's driver program.
string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDriverOutputResourceUri
in interfaceJobOrBuilder
- Returns:
- The driverOutputResourceUri.
-
getDriverOutputResourceUriBytes
public com.google.protobuf.ByteString getDriverOutputResourceUriBytes()
Output only. A URI pointing to the location of the stdout of the job's driver program.
string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDriverOutputResourceUriBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for driverOutputResourceUri.
-
setDriverOutputResourceUri
public Job.Builder setDriverOutputResourceUri(String value)
Output only. A URI pointing to the location of the stdout of the job's driver program.
string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The driverOutputResourceUri to set.- Returns:
- This builder for chaining.
-
clearDriverOutputResourceUri
public Job.Builder clearDriverOutputResourceUri()
Output only. A URI pointing to the location of the stdout of the job's driver program.
string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setDriverOutputResourceUriBytes
public Job.Builder setDriverOutputResourceUriBytes(com.google.protobuf.ByteString value)
Output only. A URI pointing to the location of the stdout of the job's driver program.
string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for driverOutputResourceUri to set.- Returns:
- This builder for chaining.
-
getDriverControlFilesUri
public String getDriverControlFilesUri()
Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as `driver_output_uri`.
string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDriverControlFilesUri
in interfaceJobOrBuilder
- Returns:
- The driverControlFilesUri.
-
getDriverControlFilesUriBytes
public com.google.protobuf.ByteString getDriverControlFilesUriBytes()
Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as `driver_output_uri`.
string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDriverControlFilesUriBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for driverControlFilesUri.
-
setDriverControlFilesUri
public Job.Builder setDriverControlFilesUri(String value)
Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as `driver_output_uri`.
string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The driverControlFilesUri to set.- Returns:
- This builder for chaining.
-
clearDriverControlFilesUri
public Job.Builder clearDriverControlFilesUri()
Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as `driver_output_uri`.
string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setDriverControlFilesUriBytes
public Job.Builder setDriverControlFilesUriBytes(com.google.protobuf.ByteString value)
Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as `driver_output_uri`.
string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for driverControlFilesUri to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:JobOrBuilder
Optional. The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceJobOrBuilder
-
clearLabels
public Job.Builder clearLabels()
-
removeLabels
public Job.Builder removeLabels(String key)
Optional. The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Job.Builder putLabels(String key, String value)
Optional. The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public Job.Builder putAllLabels(Map<String,String> values)
Optional. The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];
-
hasScheduling
public boolean hasScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasScheduling
in interfaceJobOrBuilder
- Returns:
- Whether the scheduling field is set.
-
getScheduling
public JobScheduling getScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getScheduling
in interfaceJobOrBuilder
- Returns:
- The scheduling.
-
setScheduling
public Job.Builder setScheduling(JobScheduling value)
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
-
setScheduling
public Job.Builder setScheduling(JobScheduling.Builder builderForValue)
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
-
mergeScheduling
public Job.Builder mergeScheduling(JobScheduling value)
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
-
clearScheduling
public Job.Builder clearScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
-
getSchedulingBuilder
public JobScheduling.Builder getSchedulingBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
-
getSchedulingOrBuilder
public JobSchedulingOrBuilder getSchedulingOrBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSchedulingOrBuilder
in interfaceJobOrBuilder
-
getJobUuid
public String getJobUuid()
Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.
string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getJobUuid
in interfaceJobOrBuilder
- Returns:
- The jobUuid.
-
getJobUuidBytes
public com.google.protobuf.ByteString getJobUuidBytes()
Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.
string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getJobUuidBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for jobUuid.
-
setJobUuid
public Job.Builder setJobUuid(String value)
Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.
string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The jobUuid to set.- Returns:
- This builder for chaining.
-
clearJobUuid
public Job.Builder clearJobUuid()
Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.
string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setJobUuidBytes
public Job.Builder setJobUuidBytes(com.google.protobuf.ByteString value)
Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.
string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for jobUuid to set.- Returns:
- This builder for chaining.
-
getDone
public boolean getDone()
Output only. Indicates whether the job is completed. If the value is `false`, the job is still in progress. If `true`, the job is completed, and `status.state` field will indicate if it was successful, failed, or cancelled.
bool done = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDone
in interfaceJobOrBuilder
- Returns:
- The done.
-
setDone
public Job.Builder setDone(boolean value)
Output only. Indicates whether the job is completed. If the value is `false`, the job is still in progress. If `true`, the job is completed, and `status.state` field will indicate if it was successful, failed, or cancelled.
bool done = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The done to set.- Returns:
- This builder for chaining.
-
clearDone
public Job.Builder clearDone()
Output only. Indicates whether the job is completed. If the value is `false`, the job is still in progress. If `true`, the job is completed, and `status.state` field will indicate if it was successful, failed, or cancelled.
bool done = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasDriverSchedulingConfig
public boolean hasDriverSchedulingConfig()
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasDriverSchedulingConfig
in interfaceJobOrBuilder
- Returns:
- Whether the driverSchedulingConfig field is set.
-
getDriverSchedulingConfig
public DriverSchedulingConfig getDriverSchedulingConfig()
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDriverSchedulingConfig
in interfaceJobOrBuilder
- Returns:
- The driverSchedulingConfig.
-
setDriverSchedulingConfig
public Job.Builder setDriverSchedulingConfig(DriverSchedulingConfig value)
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
setDriverSchedulingConfig
public Job.Builder setDriverSchedulingConfig(DriverSchedulingConfig.Builder builderForValue)
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
mergeDriverSchedulingConfig
public Job.Builder mergeDriverSchedulingConfig(DriverSchedulingConfig value)
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
clearDriverSchedulingConfig
public Job.Builder clearDriverSchedulingConfig()
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
getDriverSchedulingConfigBuilder
public DriverSchedulingConfig.Builder getDriverSchedulingConfigBuilder()
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
getDriverSchedulingConfigOrBuilder
public DriverSchedulingConfigOrBuilder getDriverSchedulingConfigOrBuilder()
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDriverSchedulingConfigOrBuilder
in interfaceJobOrBuilder
-
setUnknownFields
public final Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeUnknownFields
public final Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
-