Package com.google.cloud.dataproc.v1
Class Job
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.Job
-
- All Implemented Interfaces:
JobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Job extends com.google.protobuf.GeneratedMessageV3 implements JobOrBuilder
A Dataproc job resource.
Protobuf typegoogle.cloud.dataproc.v1.Job- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJob.BuilderA Dataproc job resource.static classJob.TypeJobCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDONE_FIELD_NUMBERstatic intDRIVER_CONTROL_FILES_URI_FIELD_NUMBERstatic intDRIVER_OUTPUT_RESOURCE_URI_FIELD_NUMBERstatic intDRIVER_SCHEDULING_CONFIG_FIELD_NUMBERstatic intHADOOP_JOB_FIELD_NUMBERstatic intHIVE_JOB_FIELD_NUMBERstatic intJOB_UUID_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intPIG_JOB_FIELD_NUMBERstatic intPLACEMENT_FIELD_NUMBERstatic intPRESTO_JOB_FIELD_NUMBERstatic intPYSPARK_JOB_FIELD_NUMBERstatic intREFERENCE_FIELD_NUMBERstatic intSCHEDULING_FIELD_NUMBERstatic intSPARK_JOB_FIELD_NUMBERstatic intSPARK_R_JOB_FIELD_NUMBERstatic intSPARK_SQL_JOB_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSTATUS_HISTORY_FIELD_NUMBERstatic intTRINO_JOB_FIELD_NUMBERstatic intYARN_APPLICATIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.booleanequals(Object obj)static JobgetDefaultInstance()JobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDone()Output only.StringgetDriverControlFilesUri()Output only.com.google.protobuf.ByteStringgetDriverControlFilesUriBytes()Output only.StringgetDriverOutputResourceUri()Output only.com.google.protobuf.ByteStringgetDriverOutputResourceUriBytes()Output only.DriverSchedulingConfiggetDriverSchedulingConfig()Optional.DriverSchedulingConfigOrBuildergetDriverSchedulingConfigOrBuilder()Optional.HadoopJobgetHadoopJob()Optional.HadoopJobOrBuildergetHadoopJobOrBuilder()Optional.HiveJobgetHiveJob()Optional.HiveJobOrBuildergetHiveJobOrBuilder()Optional.StringgetJobUuid()Output only.com.google.protobuf.ByteStringgetJobUuidBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.com.google.protobuf.Parser<Job>getParserForType()PigJobgetPigJob()Optional.PigJobOrBuildergetPigJobOrBuilder()Optional.JobPlacementgetPlacement()Required.JobPlacementOrBuildergetPlacementOrBuilder()Required.PrestoJobgetPrestoJob()Optional.PrestoJobOrBuildergetPrestoJobOrBuilder()Optional.PySparkJobgetPysparkJob()Optional.PySparkJobOrBuildergetPysparkJobOrBuilder()Optional.JobReferencegetReference()Optional.JobReferenceOrBuildergetReferenceOrBuilder()Optional.JobSchedulinggetScheduling()Optional.JobSchedulingOrBuildergetSchedulingOrBuilder()Optional.intgetSerializedSize()SparkJobgetSparkJob()Optional.SparkJobOrBuildergetSparkJobOrBuilder()Optional.SparkRJobgetSparkRJob()Optional.SparkRJobOrBuildergetSparkRJobOrBuilder()Optional.SparkSqlJobgetSparkSqlJob()Optional.SparkSqlJobOrBuildergetSparkSqlJobOrBuilder()Optional.JobStatusgetStatus()Output only.JobStatusgetStatusHistory(int index)Output only.intgetStatusHistoryCount()Output only.List<JobStatus>getStatusHistoryList()Output only.JobStatusOrBuildergetStatusHistoryOrBuilder(int index)Output only.List<? extends JobStatusOrBuilder>getStatusHistoryOrBuilderList()Output only.JobStatusOrBuildergetStatusOrBuilder()Output only.TrinoJobgetTrinoJob()Optional.TrinoJobOrBuildergetTrinoJobOrBuilder()Optional.Job.TypeJobCasegetTypeJobCase()YarnApplicationgetYarnApplications(int index)Output only.intgetYarnApplicationsCount()Output only.List<YarnApplication>getYarnApplicationsList()Output only.YarnApplicationOrBuildergetYarnApplicationsOrBuilder(int index)Output only.List<? extends YarnApplicationOrBuilder>getYarnApplicationsOrBuilderList()Output only.booleanhasDriverSchedulingConfig()Optional.booleanhasHadoopJob()Optional.inthashCode()booleanhasHiveJob()Optional.booleanhasPigJob()Optional.booleanhasPlacement()Required.booleanhasPrestoJob()Optional.booleanhasPysparkJob()Optional.booleanhasReference()Optional.booleanhasScheduling()Optional.booleanhasSparkJob()Optional.booleanhasSparkRJob()Optional.booleanhasSparkSqlJob()Optional.booleanhasStatus()Output only.booleanhasTrinoJob()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Job.BuildernewBuilder()static Job.BuildernewBuilder(Job prototype)Job.BuildernewBuilderForType()protected Job.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static JobparseDelimitedFrom(InputStream input)static JobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(byte[] data)static JobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(com.google.protobuf.ByteString data)static JobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(com.google.protobuf.CodedInputStream input)static JobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(InputStream input)static JobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(ByteBuffer data)static JobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Job>parser()Job.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
REFERENCE_FIELD_NUMBER
public static final int REFERENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLACEMENT_FIELD_NUMBER
public static final int PLACEMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HADOOP_JOB_FIELD_NUMBER
public static final int HADOOP_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPARK_JOB_FIELD_NUMBER
public static final int SPARK_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PYSPARK_JOB_FIELD_NUMBER
public static final int PYSPARK_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HIVE_JOB_FIELD_NUMBER
public static final int HIVE_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PIG_JOB_FIELD_NUMBER
public static final int PIG_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPARK_R_JOB_FIELD_NUMBER
public static final int SPARK_R_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPARK_SQL_JOB_FIELD_NUMBER
public static final int SPARK_SQL_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRESTO_JOB_FIELD_NUMBER
public static final int PRESTO_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRINO_JOB_FIELD_NUMBER
public static final int TRINO_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_HISTORY_FIELD_NUMBER
public static final int STATUS_HISTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
YARN_APPLICATIONS_FIELD_NUMBER
public static final int YARN_APPLICATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRIVER_OUTPUT_RESOURCE_URI_FIELD_NUMBER
public static final int DRIVER_OUTPUT_RESOURCE_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRIVER_CONTROL_FILES_URI_FIELD_NUMBER
public static final int DRIVER_CONTROL_FILES_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULING_FIELD_NUMBER
public static final int SCHEDULING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_UUID_FIELD_NUMBER
public static final int JOB_UUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DONE_FIELD_NUMBER
public static final int DONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRIVER_SCHEDULING_CONFIG_FIELD_NUMBER
public static final int DRIVER_SCHEDULING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTypeJobCase
public Job.TypeJobCase getTypeJobCase()
- Specified by:
getTypeJobCasein interfaceJobOrBuilder
-
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:
hasReferencein 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:
getReferencein interfaceJobOrBuilder- Returns:
- The reference.
-
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:
getReferenceOrBuilderin 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:
hasPlacementin 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:
getPlacementin interfaceJobOrBuilder- Returns:
- The placement.
-
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:
getPlacementOrBuilderin 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:
hasHadoopJobin 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:
getHadoopJobin interfaceJobOrBuilder- Returns:
- The hadoopJob.
-
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:
getHadoopJobOrBuilderin 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:
hasSparkJobin 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:
getSparkJobin interfaceJobOrBuilder- Returns:
- The sparkJob.
-
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:
getSparkJobOrBuilderin 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:
hasPysparkJobin 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:
getPysparkJobin interfaceJobOrBuilder- Returns:
- The pysparkJob.
-
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:
getPysparkJobOrBuilderin 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:
hasHiveJobin 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:
getHiveJobin interfaceJobOrBuilder- Returns:
- The hiveJob.
-
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:
getHiveJobOrBuilderin 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:
hasPigJobin 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:
getPigJobin interfaceJobOrBuilder- Returns:
- The pigJob.
-
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:
getPigJobOrBuilderin 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:
hasSparkRJobin 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:
getSparkRJobin interfaceJobOrBuilder- Returns:
- The sparkRJob.
-
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:
getSparkRJobOrBuilderin 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:
hasSparkSqlJobin 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:
getSparkSqlJobin interfaceJobOrBuilder- Returns:
- The sparkSqlJob.
-
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:
getSparkSqlJobOrBuilderin 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:
hasPrestoJobin 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:
getPrestoJobin interfaceJobOrBuilder- Returns:
- The prestoJob.
-
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:
getPrestoJobOrBuilderin 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:
hasTrinoJobin 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:
getTrinoJobin interfaceJobOrBuilder- Returns:
- The trinoJob.
-
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:
getTrinoJobOrBuilderin 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:
hasStatusin 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:
getStatusin interfaceJobOrBuilder- Returns:
- The status.
-
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:
getStatusOrBuilderin 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:
getStatusHistoryListin 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:
getStatusHistoryOrBuilderListin 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:
getStatusHistoryCountin 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:
getStatusHistoryin interfaceJobOrBuilder
-
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:
getStatusHistoryOrBuilderin interfaceJobOrBuilder
-
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:
getYarnApplicationsListin 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:
getYarnApplicationsOrBuilderListin 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:
getYarnApplicationsCountin 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:
getYarnApplicationsin interfaceJobOrBuilder
-
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:
getYarnApplicationsOrBuilderin interfaceJobOrBuilder
-
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:
getDriverOutputResourceUriin 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:
getDriverOutputResourceUriBytesin interfaceJobOrBuilder- Returns:
- The bytes for driverOutputResourceUri.
-
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:
getDriverControlFilesUriin 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:
getDriverControlFilesUriBytesin interfaceJobOrBuilder- Returns:
- The bytes for driverControlFilesUri.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:JobOrBuilderOptional. 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:
getLabelsCountin 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:
containsLabelsin interfaceJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin interfaceJobOrBuilder
-
hasScheduling
public boolean hasScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSchedulingin 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:
getSchedulingin interfaceJobOrBuilder- Returns:
- The scheduling.
-
getSchedulingOrBuilder
public JobSchedulingOrBuilder getSchedulingOrBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSchedulingOrBuilderin 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:
getJobUuidin 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:
getJobUuidBytesin interfaceJobOrBuilder- Returns:
- The bytes for jobUuid.
-
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:
getDonein interfaceJobOrBuilder- Returns:
- The done.
-
hasDriverSchedulingConfig
public boolean hasDriverSchedulingConfig()
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDriverSchedulingConfigin 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:
getDriverSchedulingConfigin interfaceJobOrBuilder- Returns:
- The driverSchedulingConfig.
-
getDriverSchedulingConfigOrBuilder
public DriverSchedulingConfigOrBuilder getDriverSchedulingConfigOrBuilder()
Optional. Driver scheduling configuration.
.google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDriverSchedulingConfigOrBuilderin interfaceJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Job parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Job parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Job parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Job parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Job parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Job parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Job.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Job.Builder newBuilder()
-
newBuilder
public static Job.Builder newBuilder(Job prototype)
-
toBuilder
public Job.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Job.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Job getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Job> parser()
-
getParserForType
public com.google.protobuf.Parser<Job> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-