public static final class RunnerApi.Pipeline.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder> implements RunnerApi.PipelineOrBuilder
A Pipeline is a hierarchical graph of PTransforms, linked by PCollections. This is represented by a number of by-reference maps to nodes, PCollections, SDK environments, UDF, etc., for supporting compact reuse and arbitrary graph structure. All of the keys in the maps here are arbitrary strings that are only required to be internally consistent within this proto message.Protobuf type
org.apache.beam.runner_api.v1.Pipeline| Modifier and Type | Method and Description |
|---|---|
RunnerApi.Pipeline.Builder |
addAllRootTransformIds(Iterable<String> values)
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
RunnerApi.Pipeline.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunnerApi.Pipeline.Builder |
addRootTransformIds(String value)
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
RunnerApi.Pipeline.Builder |
addRootTransformIdsBytes(com.google.protobuf.ByteString value)
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
RunnerApi.Pipeline |
build() |
RunnerApi.Pipeline |
buildPartial() |
RunnerApi.Pipeline.Builder |
clear() |
RunnerApi.Pipeline.Builder |
clearComponents()
(Required) The coders, UDFs, graph nodes, etc, that make up
this pipeline.
|
RunnerApi.Pipeline.Builder |
clearDisplayData()
(Optional) Static display data for the pipeline.
|
RunnerApi.Pipeline.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunnerApi.Pipeline.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunnerApi.Pipeline.Builder |
clearRootTransformIds()
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
RunnerApi.Pipeline.Builder |
clone() |
RunnerApi.Components |
getComponents()
(Required) The coders, UDFs, graph nodes, etc, that make up
this pipeline.
|
RunnerApi.Components.Builder |
getComponentsBuilder()
(Required) The coders, UDFs, graph nodes, etc, that make up
this pipeline.
|
RunnerApi.ComponentsOrBuilder |
getComponentsOrBuilder()
(Required) The coders, UDFs, graph nodes, etc, that make up
this pipeline.
|
RunnerApi.Pipeline |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RunnerApi.DisplayData |
getDisplayData()
(Optional) Static display data for the pipeline.
|
RunnerApi.DisplayData.Builder |
getDisplayDataBuilder()
(Optional) Static display data for the pipeline.
|
RunnerApi.DisplayDataOrBuilder |
getDisplayDataOrBuilder()
(Optional) Static display data for the pipeline.
|
String |
getRootTransformIds(int index)
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
com.google.protobuf.ByteString |
getRootTransformIdsBytes(int index)
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
int |
getRootTransformIdsCount()
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
com.google.protobuf.ProtocolStringList |
getRootTransformIdsList()
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
boolean |
hasComponents()
(Required) The coders, UDFs, graph nodes, etc, that make up
this pipeline.
|
boolean |
hasDisplayData()
(Optional) Static display data for the pipeline.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunnerApi.Pipeline.Builder |
mergeComponents(RunnerApi.Components value)
(Required) The coders, UDFs, graph nodes, etc, that make up
this pipeline.
|
RunnerApi.Pipeline.Builder |
mergeDisplayData(RunnerApi.DisplayData value)
(Optional) Static display data for the pipeline.
|
RunnerApi.Pipeline.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunnerApi.Pipeline.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunnerApi.Pipeline.Builder |
mergeFrom(RunnerApi.Pipeline other) |
RunnerApi.Pipeline.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunnerApi.Pipeline.Builder |
setComponents(RunnerApi.Components.Builder builderForValue)
(Required) The coders, UDFs, graph nodes, etc, that make up
this pipeline.
|
RunnerApi.Pipeline.Builder |
setComponents(RunnerApi.Components value)
(Required) The coders, UDFs, graph nodes, etc, that make up
this pipeline.
|
RunnerApi.Pipeline.Builder |
setDisplayData(RunnerApi.DisplayData.Builder builderForValue)
(Optional) Static display data for the pipeline.
|
RunnerApi.Pipeline.Builder |
setDisplayData(RunnerApi.DisplayData value)
(Optional) Static display data for the pipeline.
|
RunnerApi.Pipeline.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunnerApi.Pipeline.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunnerApi.Pipeline.Builder |
setRootTransformIds(int index,
String value)
(Required) The ids of all PTransforms that are not contained within another PTransform.
|
RunnerApi.Pipeline.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RunnerApi.Pipeline build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RunnerApi.Pipeline buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RunnerApi.Pipeline.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder mergeFrom(RunnerApi.Pipeline other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public RunnerApi.Pipeline.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunnerApi.Pipeline.Builder>IOExceptionpublic boolean hasComponents()
(Required) The coders, UDFs, graph nodes, etc, that make up this pipeline.
.org.apache.beam.runner_api.v1.Components components = 1;hasComponents in interface RunnerApi.PipelineOrBuilderpublic RunnerApi.Components getComponents()
(Required) The coders, UDFs, graph nodes, etc, that make up this pipeline.
.org.apache.beam.runner_api.v1.Components components = 1;getComponents in interface RunnerApi.PipelineOrBuilderpublic RunnerApi.Pipeline.Builder setComponents(RunnerApi.Components value)
(Required) The coders, UDFs, graph nodes, etc, that make up this pipeline.
.org.apache.beam.runner_api.v1.Components components = 1;public RunnerApi.Pipeline.Builder setComponents(RunnerApi.Components.Builder builderForValue)
(Required) The coders, UDFs, graph nodes, etc, that make up this pipeline.
.org.apache.beam.runner_api.v1.Components components = 1;public RunnerApi.Pipeline.Builder mergeComponents(RunnerApi.Components value)
(Required) The coders, UDFs, graph nodes, etc, that make up this pipeline.
.org.apache.beam.runner_api.v1.Components components = 1;public RunnerApi.Pipeline.Builder clearComponents()
(Required) The coders, UDFs, graph nodes, etc, that make up this pipeline.
.org.apache.beam.runner_api.v1.Components components = 1;public RunnerApi.Components.Builder getComponentsBuilder()
(Required) The coders, UDFs, graph nodes, etc, that make up this pipeline.
.org.apache.beam.runner_api.v1.Components components = 1;public RunnerApi.ComponentsOrBuilder getComponentsOrBuilder()
(Required) The coders, UDFs, graph nodes, etc, that make up this pipeline.
.org.apache.beam.runner_api.v1.Components components = 1;getComponentsOrBuilder in interface RunnerApi.PipelineOrBuilderpublic com.google.protobuf.ProtocolStringList getRootTransformIdsList()
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;getRootTransformIdsList in interface RunnerApi.PipelineOrBuilderpublic int getRootTransformIdsCount()
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;getRootTransformIdsCount in interface RunnerApi.PipelineOrBuilderpublic String getRootTransformIds(int index)
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;getRootTransformIds in interface RunnerApi.PipelineOrBuilderpublic com.google.protobuf.ByteString getRootTransformIdsBytes(int index)
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;getRootTransformIdsBytes in interface RunnerApi.PipelineOrBuilderpublic RunnerApi.Pipeline.Builder setRootTransformIds(int index, String value)
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;public RunnerApi.Pipeline.Builder addRootTransformIds(String value)
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;public RunnerApi.Pipeline.Builder addAllRootTransformIds(Iterable<String> values)
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;public RunnerApi.Pipeline.Builder clearRootTransformIds()
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;public RunnerApi.Pipeline.Builder addRootTransformIdsBytes(com.google.protobuf.ByteString value)
(Required) The ids of all PTransforms that are not contained within another PTransform. These must be in shallow topological order, so that traversing them recursively in this order yields a recursively topological traversal.
repeated string root_transform_ids = 2;public boolean hasDisplayData()
(Optional) Static display data for the pipeline. If there is none, it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 3;hasDisplayData in interface RunnerApi.PipelineOrBuilderpublic RunnerApi.DisplayData getDisplayData()
(Optional) Static display data for the pipeline. If there is none, it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 3;getDisplayData in interface RunnerApi.PipelineOrBuilderpublic RunnerApi.Pipeline.Builder setDisplayData(RunnerApi.DisplayData value)
(Optional) Static display data for the pipeline. If there is none, it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 3;public RunnerApi.Pipeline.Builder setDisplayData(RunnerApi.DisplayData.Builder builderForValue)
(Optional) Static display data for the pipeline. If there is none, it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 3;public RunnerApi.Pipeline.Builder mergeDisplayData(RunnerApi.DisplayData value)
(Optional) Static display data for the pipeline. If there is none, it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 3;public RunnerApi.Pipeline.Builder clearDisplayData()
(Optional) Static display data for the pipeline. If there is none, it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 3;public RunnerApi.DisplayData.Builder getDisplayDataBuilder()
(Optional) Static display data for the pipeline. If there is none, it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 3;public RunnerApi.DisplayDataOrBuilder getDisplayDataOrBuilder()
(Optional) Static display data for the pipeline. If there is none, it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 3;getDisplayDataOrBuilder in interface RunnerApi.PipelineOrBuilderpublic final RunnerApi.Pipeline.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>public final RunnerApi.Pipeline.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Pipeline.Builder>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.