public final class WorkflowMetadata extends GeneratedMessageV3 implements WorkflowMetadataOrBuilder
A Dataproc workflow template resource.Protobuf type
google.cloud.dataproc.v1.WorkflowMetadata
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowMetadata.Builder
A Dataproc workflow template resource.
|
static class |
WorkflowMetadata.State
The operation state.
|
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 |
CLUSTER_NAME_FIELD_NUMBER |
static int |
CLUSTER_UUID_FIELD_NUMBER |
static int |
CREATE_CLUSTER_FIELD_NUMBER |
static int |
DAG_END_TIME_FIELD_NUMBER |
static int |
DAG_START_TIME_FIELD_NUMBER |
static int |
DAG_TIMEOUT_FIELD_NUMBER |
static int |
DELETE_CLUSTER_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
GRAPH_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TEMPLATE_FIELD_NUMBER |
static int |
VERSION_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 TEMPLATE_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int CREATE_CLUSTER_FIELD_NUMBER
public static final int GRAPH_FIELD_NUMBER
public static final int DELETE_CLUSTER_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int CLUSTER_UUID_FIELD_NUMBER
public static final int DAG_TIMEOUT_FIELD_NUMBER
public static final int DAG_START_TIME_FIELD_NUMBER
public static final int DAG_END_TIME_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 String getTemplate()
Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.workflowTemplates`, the resource name of the template has the following format: `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` * For `projects.locations.workflowTemplates`, the resource name of the template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTemplate
in interface WorkflowMetadataOrBuilder
public ByteString getTemplateBytes()
Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.workflowTemplates`, the resource name of the template has the following format: `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` * For `projects.locations.workflowTemplates`, the resource name of the template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTemplateBytes
in interface WorkflowMetadataOrBuilder
public int getVersion()
Output only. The version of template at the time of workflow instantiation.
int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVersion
in interface WorkflowMetadataOrBuilder
public boolean hasCreateCluster()
Output only. The create cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateCluster
in interface WorkflowMetadataOrBuilder
public ClusterOperation getCreateCluster()
Output only. The create cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateCluster
in interface WorkflowMetadataOrBuilder
public ClusterOperationOrBuilder getCreateClusterOrBuilder()
Output only. The create cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateClusterOrBuilder
in interface WorkflowMetadataOrBuilder
public boolean hasGraph()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasGraph
in interface WorkflowMetadataOrBuilder
public WorkflowGraph getGraph()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGraph
in interface WorkflowMetadataOrBuilder
public WorkflowGraphOrBuilder getGraphOrBuilder()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGraphOrBuilder
in interface WorkflowMetadataOrBuilder
public boolean hasDeleteCluster()
Output only. The delete cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteCluster
in interface WorkflowMetadataOrBuilder
public ClusterOperation getDeleteCluster()
Output only. The delete cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteCluster
in interface WorkflowMetadataOrBuilder
public ClusterOperationOrBuilder getDeleteClusterOrBuilder()
Output only. The delete cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteClusterOrBuilder
in interface WorkflowMetadataOrBuilder
public int getStateValue()
Output only. The workflow state.
.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue
in interface WorkflowMetadataOrBuilder
public WorkflowMetadata.State getState()
Output only. The workflow state.
.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState
in interface WorkflowMetadataOrBuilder
public String getClusterName()
Output only. The name of the target cluster.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterName
in interface WorkflowMetadataOrBuilder
public ByteString getClusterNameBytes()
Output only. The name of the target cluster.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterNameBytes
in interface WorkflowMetadataOrBuilder
public int getParametersCount()
WorkflowMetadataOrBuilder
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;
getParametersCount
in interface WorkflowMetadataOrBuilder
public boolean containsParameters(String key)
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;
containsParameters
in interface WorkflowMetadataOrBuilder
@Deprecated public Map<String,String> getParameters()
getParametersMap()
instead.getParameters
in interface WorkflowMetadataOrBuilder
public Map<String,String> getParametersMap()
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;
getParametersMap
in interface WorkflowMetadataOrBuilder
public String getParametersOrDefault(String key, String defaultValue)
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;
getParametersOrDefault
in interface WorkflowMetadataOrBuilder
public String getParametersOrThrow(String key)
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;
getParametersOrThrow
in interface WorkflowMetadataOrBuilder
public boolean hasStartTime()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime
in interface WorkflowMetadataOrBuilder
public Timestamp getStartTime()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTime
in interface WorkflowMetadataOrBuilder
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder
in interface WorkflowMetadataOrBuilder
public boolean hasEndTime()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime
in interface WorkflowMetadataOrBuilder
public Timestamp getEndTime()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime
in interface WorkflowMetadataOrBuilder
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder
in interface WorkflowMetadataOrBuilder
public String getClusterUuid()
Output only. The UUID of target cluster.
string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterUuid
in interface WorkflowMetadataOrBuilder
public ByteString getClusterUuidBytes()
Output only. The UUID of target cluster.
string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterUuidBytes
in interface WorkflowMetadataOrBuilder
public boolean hasDagTimeout()
Output only. The timeout duration for the DAG of jobs, expressed in seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDagTimeout
in interface WorkflowMetadataOrBuilder
public Duration getDagTimeout()
Output only. The timeout duration for the DAG of jobs, expressed in seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDagTimeout
in interface WorkflowMetadataOrBuilder
public DurationOrBuilder getDagTimeoutOrBuilder()
Output only. The timeout duration for the DAG of jobs, expressed in seconds (see [JSON representation of duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDagTimeoutOrBuilder
in interface WorkflowMetadataOrBuilder
public boolean hasDagStartTime()
Output only. DAG start time, only set for workflows with [dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout] when DAG begins.
.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDagStartTime
in interface WorkflowMetadataOrBuilder
public Timestamp getDagStartTime()
Output only. DAG start time, only set for workflows with [dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout] when DAG begins.
.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDagStartTime
in interface WorkflowMetadataOrBuilder
public TimestampOrBuilder getDagStartTimeOrBuilder()
Output only. DAG start time, only set for workflows with [dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout] when DAG begins.
.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDagStartTimeOrBuilder
in interface WorkflowMetadataOrBuilder
public boolean hasDagEndTime()
Output only. DAG end time, only set for workflows with [dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout] when DAG ends.
.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDagEndTime
in interface WorkflowMetadataOrBuilder
public Timestamp getDagEndTime()
Output only. DAG end time, only set for workflows with [dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout] when DAG ends.
.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDagEndTime
in interface WorkflowMetadataOrBuilder
public TimestampOrBuilder getDagEndTimeOrBuilder()
Output only. DAG end time, only set for workflows with [dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout] when DAG ends.
.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDagEndTimeOrBuilder
in interface WorkflowMetadataOrBuilder
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 WorkflowMetadata parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WorkflowMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WorkflowMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WorkflowMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WorkflowMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WorkflowMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WorkflowMetadata parseFrom(InputStream input) throws IOException
IOException
public static WorkflowMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WorkflowMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WorkflowMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WorkflowMetadata parseFrom(CodedInputStream input) throws IOException
IOException
public static WorkflowMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public WorkflowMetadata.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static WorkflowMetadata.Builder newBuilder()
public static WorkflowMetadata.Builder newBuilder(WorkflowMetadata prototype)
public WorkflowMetadata.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected WorkflowMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static WorkflowMetadata getDefaultInstance()
public static Parser<WorkflowMetadata> parser()
public Parser<WorkflowMetadata> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public WorkflowMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.