public final class WorkflowTemplatePlacement extends com.google.protobuf.GeneratedMessageV3 implements WorkflowTemplatePlacementOrBuilder
Specifies workflow execution target. Either `managed_cluster` or `cluster_selector` is required.Protobuf type
google.cloud.dataproc.v1.WorkflowTemplatePlacement| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowTemplatePlacement.Builder
Specifies workflow execution target.
|
static class |
WorkflowTemplatePlacement.PlacementCase |
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_SELECTOR_FIELD_NUMBER |
static int |
MANAGED_CLUSTER_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 MANAGED_CLUSTER_FIELD_NUMBER
public static final int CLUSTER_SELECTOR_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public WorkflowTemplatePlacement.PlacementCase getPlacementCase()
getPlacementCase in interface WorkflowTemplatePlacementOrBuilderpublic boolean hasManagedCluster()
Optional. A cluster that is managed by the workflow.
.google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;hasManagedCluster in interface WorkflowTemplatePlacementOrBuilderpublic ManagedCluster getManagedCluster()
Optional. A cluster that is managed by the workflow.
.google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;getManagedCluster in interface WorkflowTemplatePlacementOrBuilderpublic ManagedClusterOrBuilder getManagedClusterOrBuilder()
Optional. A cluster that is managed by the workflow.
.google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;getManagedClusterOrBuilder in interface WorkflowTemplatePlacementOrBuilderpublic boolean hasClusterSelector()
Optional. A selector that chooses target cluster for jobs based on metadata. The selector is evaluated at the time each job is submitted.
.google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;hasClusterSelector in interface WorkflowTemplatePlacementOrBuilderpublic ClusterSelector getClusterSelector()
Optional. A selector that chooses target cluster for jobs based on metadata. The selector is evaluated at the time each job is submitted.
.google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;getClusterSelector in interface WorkflowTemplatePlacementOrBuilderpublic ClusterSelectorOrBuilder getClusterSelectorOrBuilder()
Optional. A selector that chooses target cluster for jobs based on metadata. The selector is evaluated at the time each job is submitted.
.google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;getClusterSelectorOrBuilder in interface WorkflowTemplatePlacementOrBuilderpublic 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 WorkflowTemplatePlacement parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowTemplatePlacement parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowTemplatePlacement parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowTemplatePlacement parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowTemplatePlacement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowTemplatePlacement parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkflowTemplatePlacement parseFrom(InputStream input) throws IOException
IOExceptionpublic static WorkflowTemplatePlacement parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WorkflowTemplatePlacement parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WorkflowTemplatePlacement parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WorkflowTemplatePlacement parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WorkflowTemplatePlacement parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WorkflowTemplatePlacement.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WorkflowTemplatePlacement.Builder newBuilder()
public static WorkflowTemplatePlacement.Builder newBuilder(WorkflowTemplatePlacement prototype)
public WorkflowTemplatePlacement.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WorkflowTemplatePlacement.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WorkflowTemplatePlacement getDefaultInstance()
public static com.google.protobuf.Parser<WorkflowTemplatePlacement> parser()
public com.google.protobuf.Parser<WorkflowTemplatePlacement> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WorkflowTemplatePlacement getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.