public final class OrderedJob extends GeneratedMessageV3 implements OrderedJobOrBuilder
A job executed by the workflow.Protobuf type
google.cloud.dataproc.v1.OrderedJob
Modifier and Type | Class and Description |
---|---|
static class |
OrderedJob.Builder
A job executed by the workflow.
|
static class |
OrderedJob.JobTypeCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
HADOOP_JOB_FIELD_NUMBER |
static int |
HIVE_JOB_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
PIG_JOB_FIELD_NUMBER |
static int |
PREREQUISITE_STEP_IDS_FIELD_NUMBER |
static int |
PRESTO_JOB_FIELD_NUMBER |
static int |
PYSPARK_JOB_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 |
STEP_ID_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int STEP_ID_FIELD_NUMBER
public static final int HADOOP_JOB_FIELD_NUMBER
public static final int SPARK_JOB_FIELD_NUMBER
public static final int PYSPARK_JOB_FIELD_NUMBER
public static final int HIVE_JOB_FIELD_NUMBER
public static final int PIG_JOB_FIELD_NUMBER
public static final int SPARK_R_JOB_FIELD_NUMBER
public static final int SPARK_SQL_JOB_FIELD_NUMBER
public static final int PRESTO_JOB_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int SCHEDULING_FIELD_NUMBER
public static final int PREREQUISITE_STEP_IDS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public OrderedJob.JobTypeCase getJobTypeCase()
getJobTypeCase
in interface OrderedJobOrBuilder
public String getStepId()
Required. The step id. The id must be unique among all jobs within the template. The step id is used as prefix for job id, as job `goog-dataproc-workflow-step-id` label, and in [prerequisiteStepIds][google.cloud.dataproc.v1.OrderedJob.prerequisite_step_ids] field from other steps. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
string step_id = 1 [(.google.api.field_behavior) = REQUIRED];
getStepId
in interface OrderedJobOrBuilder
public ByteString getStepIdBytes()
Required. The step id. The id must be unique among all jobs within the template. The step id is used as prefix for job id, as job `goog-dataproc-workflow-step-id` label, and in [prerequisiteStepIds][google.cloud.dataproc.v1.OrderedJob.prerequisite_step_ids] field from other steps. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
string step_id = 1 [(.google.api.field_behavior) = REQUIRED];
getStepIdBytes
in interface OrderedJobOrBuilder
public boolean hasHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
hasHadoopJob
in interface OrderedJobOrBuilder
public HadoopJob getHadoopJob()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
getHadoopJob
in interface OrderedJobOrBuilder
public HadoopJobOrBuilder getHadoopJobOrBuilder()
Optional. Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2 [(.google.api.field_behavior) = OPTIONAL];
getHadoopJobOrBuilder
in interface OrderedJobOrBuilder
public boolean hasSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
hasSparkJob
in interface OrderedJobOrBuilder
public SparkJob getSparkJob()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
getSparkJob
in interface OrderedJobOrBuilder
public SparkJobOrBuilder getSparkJobOrBuilder()
Optional. Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3 [(.google.api.field_behavior) = OPTIONAL];
getSparkJobOrBuilder
in interface OrderedJobOrBuilder
public boolean hasPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
hasPysparkJob
in interface OrderedJobOrBuilder
public PySparkJob getPysparkJob()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
getPysparkJob
in interface OrderedJobOrBuilder
public PySparkJobOrBuilder getPysparkJobOrBuilder()
Optional. Job is a PySpark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
getPysparkJobOrBuilder
in interface OrderedJobOrBuilder
public boolean hasHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
hasHiveJob
in interface OrderedJobOrBuilder
public HiveJob getHiveJob()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
getHiveJob
in interface OrderedJobOrBuilder
public HiveJobOrBuilder getHiveJobOrBuilder()
Optional. Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5 [(.google.api.field_behavior) = OPTIONAL];
getHiveJobOrBuilder
in interface OrderedJobOrBuilder
public boolean hasPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
hasPigJob
in interface OrderedJobOrBuilder
public PigJob getPigJob()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
getPigJob
in interface OrderedJobOrBuilder
public PigJobOrBuilder getPigJobOrBuilder()
Optional. Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6 [(.google.api.field_behavior) = OPTIONAL];
getPigJobOrBuilder
in interface OrderedJobOrBuilder
public boolean hasSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
hasSparkRJob
in interface OrderedJobOrBuilder
public SparkRJob getSparkRJob()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
getSparkRJob
in interface OrderedJobOrBuilder
public SparkRJobOrBuilder getSparkRJobOrBuilder()
Optional. Job is a SparkR job.
.google.cloud.dataproc.v1.SparkRJob spark_r_job = 11 [(.google.api.field_behavior) = OPTIONAL];
getSparkRJobOrBuilder
in interface OrderedJobOrBuilder
public boolean hasSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
hasSparkSqlJob
in interface OrderedJobOrBuilder
public SparkSqlJob getSparkSqlJob()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
getSparkSqlJob
in interface OrderedJobOrBuilder
public SparkSqlJobOrBuilder getSparkSqlJobOrBuilder()
Optional. Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7 [(.google.api.field_behavior) = OPTIONAL];
getSparkSqlJobOrBuilder
in interface OrderedJobOrBuilder
public boolean hasPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
hasPrestoJob
in interface OrderedJobOrBuilder
public PrestoJob getPrestoJob()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
getPrestoJob
in interface OrderedJobOrBuilder
public PrestoJobOrBuilder getPrestoJobOrBuilder()
Optional. Job is a Presto job.
.google.cloud.dataproc.v1.PrestoJob presto_job = 12 [(.google.api.field_behavior) = OPTIONAL];
getPrestoJobOrBuilder
in interface OrderedJobOrBuilder
public int getLabelsCount()
OrderedJobOrBuilder
Optional. The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabelsCount
in interface OrderedJobOrBuilder
public boolean containsLabels(String key)
Optional. The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
containsLabels
in interface OrderedJobOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface OrderedJobOrBuilder
public Map<String,String> getLabelsMap()
Optional. The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabelsMap
in interface OrderedJobOrBuilder
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault
in interface OrderedJobOrBuilder
public String getLabelsOrThrow(String key)
Optional. The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 32 labels can be associated with a given job.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrThrow
in interface OrderedJobOrBuilder
public boolean hasScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
hasScheduling
in interface OrderedJobOrBuilder
public JobScheduling getScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
getScheduling
in interface OrderedJobOrBuilder
public JobSchedulingOrBuilder getSchedulingOrBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9 [(.google.api.field_behavior) = OPTIONAL];
getSchedulingOrBuilder
in interface OrderedJobOrBuilder
public ProtocolStringList getPrerequisiteStepIdsList()
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
getPrerequisiteStepIdsList
in interface OrderedJobOrBuilder
public int getPrerequisiteStepIdsCount()
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
getPrerequisiteStepIdsCount
in interface OrderedJobOrBuilder
public String getPrerequisiteStepIds(int index)
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
getPrerequisiteStepIds
in interface OrderedJobOrBuilder
index
- The index of the element to return.public ByteString getPrerequisiteStepIdsBytes(int index)
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10 [(.google.api.field_behavior) = OPTIONAL];
getPrerequisiteStepIdsBytes
in interface OrderedJobOrBuilder
index
- The index of the value to return.public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static OrderedJob parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OrderedJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OrderedJob parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OrderedJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OrderedJob parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OrderedJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OrderedJob parseFrom(InputStream input) throws IOException
IOException
public static OrderedJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OrderedJob parseDelimitedFrom(InputStream input) throws IOException
IOException
public static OrderedJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OrderedJob parseFrom(CodedInputStream input) throws IOException
IOException
public static OrderedJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public OrderedJob.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static OrderedJob.Builder newBuilder()
public static OrderedJob.Builder newBuilder(OrderedJob prototype)
public OrderedJob.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected OrderedJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static OrderedJob getDefaultInstance()
public static Parser<OrderedJob> parser()
public Parser<OrderedJob> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public OrderedJob getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.