public final class WorkflowMetadata extends com.google.protobuf.GeneratedMessageV3 implements WorkflowMetadataOrBuilder
A Cloud Dataproc workflow template resource.Protobuf type
google.cloud.dataproc.v1.WorkflowMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowMetadata.Builder
A Cloud Dataproc workflow template resource.
|
static class |
WorkflowMetadata.State
The operation state.
|
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 |
CLUSTER_NAME_FIELD_NUMBER |
static int |
CLUSTER_UUID_FIELD_NUMBER |
static int |
CREATE_CLUSTER_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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsParameters(String key)
Map from parameter names to values that were used for those parameters.
|
boolean |
equals(Object obj) |
String |
getClusterName()
Output only.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
Output only.
|
String |
getClusterUuid()
Output only.
|
com.google.protobuf.ByteString |
getClusterUuidBytes()
Output only.
|
ClusterOperation |
getCreateCluster()
Output only.
|
ClusterOperationOrBuilder |
getCreateClusterOrBuilder()
Output only.
|
static WorkflowMetadata |
getDefaultInstance() |
WorkflowMetadata |
getDefaultInstanceForType() |
ClusterOperation |
getDeleteCluster()
Output only.
|
ClusterOperationOrBuilder |
getDeleteClusterOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
WorkflowGraph |
getGraph()
Output only.
|
WorkflowGraphOrBuilder |
getGraphOrBuilder()
Output only.
|
Map<String,String> |
getParameters()
Deprecated.
|
int |
getParametersCount()
Map from parameter names to values that were used for those parameters.
|
Map<String,String> |
getParametersMap()
Map from parameter names to values that were used for those parameters.
|
String |
getParametersOrDefault(String key,
String defaultValue)
Map from parameter names to values that were used for those parameters.
|
String |
getParametersOrThrow(String key)
Map from parameter names to values that were used for those parameters.
|
com.google.protobuf.Parser<WorkflowMetadata> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
WorkflowMetadata.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getTemplate()
Output only.
|
com.google.protobuf.ByteString |
getTemplateBytes()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVersion()
Output only.
|
boolean |
hasCreateCluster()
Output only.
|
boolean |
hasDeleteCluster()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasGraph()
Output only.
|
int |
hashCode() |
boolean |
hasStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static WorkflowMetadata.Builder |
newBuilder() |
static WorkflowMetadata.Builder |
newBuilder(WorkflowMetadata prototype) |
WorkflowMetadata.Builder |
newBuilderForType() |
protected WorkflowMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static WorkflowMetadata |
parseDelimitedFrom(InputStream input) |
static WorkflowMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkflowMetadata |
parseFrom(byte[] data) |
static WorkflowMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkflowMetadata |
parseFrom(ByteBuffer data) |
static WorkflowMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkflowMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static WorkflowMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkflowMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WorkflowMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkflowMetadata |
parseFrom(InputStream input) |
static WorkflowMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WorkflowMetadata> |
parser() |
WorkflowMetadata.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 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 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 String getTemplate()
Output only. The "resource name" of the template.
string template = 1;getTemplate in interface WorkflowMetadataOrBuilderpublic com.google.protobuf.ByteString getTemplateBytes()
Output only. The "resource name" of the template.
string template = 1;getTemplateBytes in interface WorkflowMetadataOrBuilderpublic int getVersion()
Output only. The version of template at the time of workflow instantiation.
int32 version = 2;getVersion in interface WorkflowMetadataOrBuilderpublic boolean hasCreateCluster()
Output only. The create cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3;hasCreateCluster in interface WorkflowMetadataOrBuilderpublic ClusterOperation getCreateCluster()
Output only. The create cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3;getCreateCluster in interface WorkflowMetadataOrBuilderpublic ClusterOperationOrBuilder getCreateClusterOrBuilder()
Output only. The create cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3;getCreateClusterOrBuilder in interface WorkflowMetadataOrBuilderpublic boolean hasGraph()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4;hasGraph in interface WorkflowMetadataOrBuilderpublic WorkflowGraph getGraph()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4;getGraph in interface WorkflowMetadataOrBuilderpublic WorkflowGraphOrBuilder getGraphOrBuilder()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4;getGraphOrBuilder in interface WorkflowMetadataOrBuilderpublic boolean hasDeleteCluster()
Output only. The delete cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5;hasDeleteCluster in interface WorkflowMetadataOrBuilderpublic ClusterOperation getDeleteCluster()
Output only. The delete cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5;getDeleteCluster in interface WorkflowMetadataOrBuilderpublic ClusterOperationOrBuilder getDeleteClusterOrBuilder()
Output only. The delete cluster operation metadata.
.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5;getDeleteClusterOrBuilder in interface WorkflowMetadataOrBuilderpublic int getStateValue()
Output only. The workflow state.
.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6;getStateValue in interface WorkflowMetadataOrBuilderpublic WorkflowMetadata.State getState()
Output only. The workflow state.
.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6;getState in interface WorkflowMetadataOrBuilderpublic String getClusterName()
Output only. The name of the target cluster.
string cluster_name = 7;getClusterName in interface WorkflowMetadataOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Output only. The name of the target cluster.
string cluster_name = 7;getClusterNameBytes in interface WorkflowMetadataOrBuilderpublic int getParametersCount()
WorkflowMetadataOrBuilderMap from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;getParametersCount in interface WorkflowMetadataOrBuilderpublic 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 WorkflowMetadataOrBuilderpublic Map<String,String> getParametersMap()
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;getParametersMap in interface WorkflowMetadataOrBuilderpublic 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 WorkflowMetadataOrBuilderpublic String getParametersOrThrow(String key)
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;getParametersOrThrow in interface WorkflowMetadataOrBuilderpublic boolean hasStartTime()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9;hasStartTime in interface WorkflowMetadataOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9;getStartTime in interface WorkflowMetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9;getStartTimeOrBuilder in interface WorkflowMetadataOrBuilderpublic boolean hasEndTime()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10;hasEndTime in interface WorkflowMetadataOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10;getEndTime in interface WorkflowMetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10;getEndTimeOrBuilder in interface WorkflowMetadataOrBuilderpublic String getClusterUuid()
Output only. The UUID of target cluster.
string cluster_uuid = 11;getClusterUuid in interface WorkflowMetadataOrBuilderpublic com.google.protobuf.ByteString getClusterUuidBytes()
Output only. The UUID of target cluster.
string cluster_uuid = 11;getClusterUuidBytes in interface WorkflowMetadataOrBuilderpublic 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 WorkflowMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static WorkflowMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WorkflowMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WorkflowMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WorkflowMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WorkflowMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WorkflowMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WorkflowMetadata.Builder newBuilder()
public static WorkflowMetadata.Builder newBuilder(WorkflowMetadata prototype)
public WorkflowMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WorkflowMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WorkflowMetadata getDefaultInstance()
public static com.google.protobuf.Parser<WorkflowMetadata> parser()
public com.google.protobuf.Parser<WorkflowMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WorkflowMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.