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 class
Job.Builder
A Dataproc job resource.static class
Job.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 int
DONE_FIELD_NUMBER
static int
DRIVER_CONTROL_FILES_URI_FIELD_NUMBER
static int
DRIVER_OUTPUT_RESOURCE_URI_FIELD_NUMBER
static int
DRIVER_SCHEDULING_CONFIG_FIELD_NUMBER
static int
HADOOP_JOB_FIELD_NUMBER
static int
HIVE_JOB_FIELD_NUMBER
static int
JOB_UUID_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
PIG_JOB_FIELD_NUMBER
static int
PLACEMENT_FIELD_NUMBER
static int
PRESTO_JOB_FIELD_NUMBER
static int
PYSPARK_JOB_FIELD_NUMBER
static int
REFERENCE_FIELD_NUMBER
static int
SCHEDULING_FIELD_NUMBER
static int
SPARK_JOB_FIELD_NUMBER
static int
SPARK_R_JOB_FIELD_NUMBER
static int
SPARK_SQL_JOB_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
static int
STATUS_HISTORY_FIELD_NUMBER
static int
TRINO_JOB_FIELD_NUMBER
static int
YARN_APPLICATIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.boolean
equals(Object obj)
static Job
getDefaultInstance()
Job
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getDone()
Output only.String
getDriverControlFilesUri()
Output only.com.google.protobuf.ByteString
getDriverControlFilesUriBytes()
Output only.String
getDriverOutputResourceUri()
Output only.com.google.protobuf.ByteString
getDriverOutputResourceUriBytes()
Output only.DriverSchedulingConfig
getDriverSchedulingConfig()
Optional.DriverSchedulingConfigOrBuilder
getDriverSchedulingConfigOrBuilder()
Optional.HadoopJob
getHadoopJob()
Optional.HadoopJobOrBuilder
getHadoopJobOrBuilder()
Optional.HiveJob
getHiveJob()
Optional.HiveJobOrBuilder
getHiveJobOrBuilder()
Optional.String
getJobUuid()
Output only.com.google.protobuf.ByteString
getJobUuidBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.com.google.protobuf.Parser<Job>
getParserForType()
PigJob
getPigJob()
Optional.PigJobOrBuilder
getPigJobOrBuilder()
Optional.JobPlacement
getPlacement()
Required.JobPlacementOrBuilder
getPlacementOrBuilder()
Required.PrestoJob
getPrestoJob()
Optional.PrestoJobOrBuilder
getPrestoJobOrBuilder()
Optional.PySparkJob
getPysparkJob()
Optional.PySparkJobOrBuilder
getPysparkJobOrBuilder()
Optional.JobReference
getReference()
Optional.JobReferenceOrBuilder
getReferenceOrBuilder()
Optional.JobScheduling
getScheduling()
Optional.JobSchedulingOrBuilder
getSchedulingOrBuilder()
Optional.int
getSerializedSize()
SparkJob
getSparkJob()
Optional.SparkJobOrBuilder
getSparkJobOrBuilder()
Optional.SparkRJob
getSparkRJob()
Optional.SparkRJobOrBuilder
getSparkRJobOrBuilder()
Optional.SparkSqlJob
getSparkSqlJob()
Optional.SparkSqlJobOrBuilder
getSparkSqlJobOrBuilder()
Optional.JobStatus
getStatus()
Output only.JobStatus
getStatusHistory(int index)
Output only.int
getStatusHistoryCount()
Output only.List<JobStatus>
getStatusHistoryList()
Output only.JobStatusOrBuilder
getStatusHistoryOrBuilder(int index)
Output only.List<? extends JobStatusOrBuilder>
getStatusHistoryOrBuilderList()
Output only.JobStatusOrBuilder
getStatusOrBuilder()
Output only.TrinoJob
getTrinoJob()
Optional.TrinoJobOrBuilder
getTrinoJobOrBuilder()
Optional.Job.TypeJobCase
getTypeJobCase()
YarnApplication
getYarnApplications(int index)
Output only.int
getYarnApplicationsCount()
Output only.List<YarnApplication>
getYarnApplicationsList()
Output only.YarnApplicationOrBuilder
getYarnApplicationsOrBuilder(int index)
Output only.List<? extends YarnApplicationOrBuilder>
getYarnApplicationsOrBuilderList()
Output only.boolean
hasDriverSchedulingConfig()
Optional.boolean
hasHadoopJob()
Optional.int
hashCode()
boolean
hasHiveJob()
Optional.boolean
hasPigJob()
Optional.boolean
hasPlacement()
Required.boolean
hasPrestoJob()
Optional.boolean
hasPysparkJob()
Optional.boolean
hasReference()
Optional.boolean
hasScheduling()
Optional.boolean
hasSparkJob()
Optional.boolean
hasSparkRJob()
Optional.boolean
hasSparkSqlJob()
Optional.boolean
hasStatus()
Output only.boolean
hasTrinoJob()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Job.Builder
newBuilder()
static Job.Builder
newBuilder(Job prototype)
Job.Builder
newBuilderForType()
protected Job.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Job
parseDelimitedFrom(InputStream input)
static Job
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(byte[] data)
static Job
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(com.google.protobuf.ByteString data)
static Job
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(com.google.protobuf.CodedInputStream input)
static Job
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(InputStream input)
static Job
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(ByteBuffer data)
static Job
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Job>
parser()
Job.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getTypeJobCase
public Job.TypeJobCase getTypeJobCase()
- Specified by:
getTypeJobCase
in 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:
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Job.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-