public final class OrderedJob extends com.google.protobuf.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 |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
PYSPARK_JOB_FIELD_NUMBER |
static int |
SCHEDULING_FIELD_NUMBER |
static int |
SPARK_JOB_FIELD_NUMBER |
static int |
SPARK_SQL_JOB_FIELD_NUMBER |
static int |
STEP_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
boolean |
equals(Object obj) |
static OrderedJob |
getDefaultInstance() |
OrderedJob |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HadoopJob |
getHadoopJob()
Job is a Hadoop job.
|
HadoopJobOrBuilder |
getHadoopJobOrBuilder()
Job is a Hadoop job.
|
HiveJob |
getHiveJob()
Job is a Hive job.
|
HiveJobOrBuilder |
getHiveJobOrBuilder()
Job is a Hive job.
|
OrderedJob.JobTypeCase |
getJobTypeCase() |
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<OrderedJob> |
getParserForType() |
PigJob |
getPigJob()
Job is a Pig job.
|
PigJobOrBuilder |
getPigJobOrBuilder()
Job is a Pig job.
|
String |
getPrerequisiteStepIds(int index)
Optional.
|
com.google.protobuf.ByteString |
getPrerequisiteStepIdsBytes(int index)
Optional.
|
int |
getPrerequisiteStepIdsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getPrerequisiteStepIdsList()
Optional.
|
PySparkJob |
getPysparkJob()
Job is a Pyspark job.
|
PySparkJobOrBuilder |
getPysparkJobOrBuilder()
Job is a Pyspark job.
|
JobScheduling |
getScheduling()
Optional.
|
JobSchedulingOrBuilder |
getSchedulingOrBuilder()
Optional.
|
int |
getSerializedSize() |
SparkJob |
getSparkJob()
Job is a Spark job.
|
SparkJobOrBuilder |
getSparkJobOrBuilder()
Job is a Spark job.
|
SparkSqlJob |
getSparkSqlJob()
Job is a SparkSql job.
|
SparkSqlJobOrBuilder |
getSparkSqlJobOrBuilder()
Job is a SparkSql job.
|
String |
getStepId()
Required.
|
com.google.protobuf.ByteString |
getStepIdBytes()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasHadoopJob()
Job is a Hadoop job.
|
int |
hashCode() |
boolean |
hasHiveJob()
Job is a Hive job.
|
boolean |
hasPigJob()
Job is a Pig job.
|
boolean |
hasPysparkJob()
Job is a Pyspark job.
|
boolean |
hasScheduling()
Optional.
|
boolean |
hasSparkJob()
Job is a Spark job.
|
boolean |
hasSparkSqlJob()
Job is a SparkSql job.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static OrderedJob.Builder |
newBuilder() |
static OrderedJob.Builder |
newBuilder(OrderedJob prototype) |
OrderedJob.Builder |
newBuilderForType() |
protected OrderedJob.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static OrderedJob |
parseDelimitedFrom(InputStream input) |
static OrderedJob |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OrderedJob |
parseFrom(byte[] data) |
static OrderedJob |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OrderedJob |
parseFrom(ByteBuffer data) |
static OrderedJob |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OrderedJob |
parseFrom(com.google.protobuf.ByteString data) |
static OrderedJob |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OrderedJob |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OrderedJob |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OrderedJob |
parseFrom(InputStream input) |
static OrderedJob |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OrderedJob> |
parser() |
OrderedJob.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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_SQL_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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public OrderedJob.JobTypeCase getJobTypeCase()
getJobTypeCase in interface OrderedJobOrBuilderpublic 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;getStepId in interface OrderedJobOrBuilderpublic com.google.protobuf.ByteString getStepIdBytes()
Required. The step id. The id must be unique among all jobs within the template. The step id is used as prefix for job id, as job `goog-dataproc-workflow-step-id` label, and in [prerequisiteStepIds][google.cloud.dataproc.v1.OrderedJob.prerequisite_step_ids] field from other steps. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
string step_id = 1;getStepIdBytes in interface OrderedJobOrBuilderpublic boolean hasHadoopJob()
Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2;hasHadoopJob in interface OrderedJobOrBuilderpublic HadoopJob getHadoopJob()
Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2;getHadoopJob in interface OrderedJobOrBuilderpublic HadoopJobOrBuilder getHadoopJobOrBuilder()
Job is a Hadoop job.
.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2;getHadoopJobOrBuilder in interface OrderedJobOrBuilderpublic boolean hasSparkJob()
Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3;hasSparkJob in interface OrderedJobOrBuilderpublic SparkJob getSparkJob()
Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3;getSparkJob in interface OrderedJobOrBuilderpublic SparkJobOrBuilder getSparkJobOrBuilder()
Job is a Spark job.
.google.cloud.dataproc.v1.SparkJob spark_job = 3;getSparkJobOrBuilder in interface OrderedJobOrBuilderpublic boolean hasPysparkJob()
Job is a Pyspark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4;hasPysparkJob in interface OrderedJobOrBuilderpublic PySparkJob getPysparkJob()
Job is a Pyspark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4;getPysparkJob in interface OrderedJobOrBuilderpublic PySparkJobOrBuilder getPysparkJobOrBuilder()
Job is a Pyspark job.
.google.cloud.dataproc.v1.PySparkJob pyspark_job = 4;getPysparkJobOrBuilder in interface OrderedJobOrBuilderpublic boolean hasHiveJob()
Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5;hasHiveJob in interface OrderedJobOrBuilderpublic HiveJob getHiveJob()
Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5;getHiveJob in interface OrderedJobOrBuilderpublic HiveJobOrBuilder getHiveJobOrBuilder()
Job is a Hive job.
.google.cloud.dataproc.v1.HiveJob hive_job = 5;getHiveJobOrBuilder in interface OrderedJobOrBuilderpublic boolean hasPigJob()
Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6;hasPigJob in interface OrderedJobOrBuilderpublic PigJob getPigJob()
Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6;getPigJob in interface OrderedJobOrBuilderpublic PigJobOrBuilder getPigJobOrBuilder()
Job is a Pig job.
.google.cloud.dataproc.v1.PigJob pig_job = 6;getPigJobOrBuilder in interface OrderedJobOrBuilderpublic boolean hasSparkSqlJob()
Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7;hasSparkSqlJob in interface OrderedJobOrBuilderpublic SparkSqlJob getSparkSqlJob()
Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7;getSparkSqlJob in interface OrderedJobOrBuilderpublic SparkSqlJobOrBuilder getSparkSqlJobOrBuilder()
Job is a SparkSql job.
.google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 7;getSparkSqlJobOrBuilder in interface OrderedJobOrBuilderpublic 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;getLabelsCount in interface OrderedJobOrBuilderpublic 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;containsLabels in interface OrderedJobOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface OrderedJobOrBuilderpublic 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;getLabelsMap in interface OrderedJobOrBuilderpublic 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;getLabelsOrDefault in interface OrderedJobOrBuilderpublic 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;getLabelsOrThrow in interface OrderedJobOrBuilderpublic boolean hasScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9;hasScheduling in interface OrderedJobOrBuilderpublic JobScheduling getScheduling()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9;getScheduling in interface OrderedJobOrBuilderpublic JobSchedulingOrBuilder getSchedulingOrBuilder()
Optional. Job scheduling configuration.
.google.cloud.dataproc.v1.JobScheduling scheduling = 9;getSchedulingOrBuilder in interface OrderedJobOrBuilderpublic com.google.protobuf.ProtocolStringList getPrerequisiteStepIdsList()
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10;getPrerequisiteStepIdsList in interface OrderedJobOrBuilderpublic 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;getPrerequisiteStepIdsCount in interface OrderedJobOrBuilderpublic 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;getPrerequisiteStepIds in interface OrderedJobOrBuilderpublic com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index)
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
repeated string prerequisite_step_ids = 10;getPrerequisiteStepIdsBytes in interface OrderedJobOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OrderedJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrderedJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrderedJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrderedJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrderedJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrderedJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrderedJob parseFrom(InputStream input) throws IOException
IOExceptionpublic static OrderedJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OrderedJob parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OrderedJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OrderedJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OrderedJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OrderedJob.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OrderedJob.Builder newBuilder()
public static OrderedJob.Builder newBuilder(OrderedJob prototype)
public OrderedJob.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OrderedJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OrderedJob getDefaultInstance()
public static com.google.protobuf.Parser<OrderedJob> parser()
public com.google.protobuf.Parser<OrderedJob> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OrderedJob getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.