public static final class RunnerApi.SideInput.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.SideInput.Builder> implements RunnerApi.SideInputOrBuilder
A specification for how to "side input" a PCollection.Protobuf type
org.apache.beam.runner_api.v1.SideInput| Modifier and Type | Method and Description |
|---|---|
RunnerApi.SideInput.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunnerApi.SideInput |
build() |
RunnerApi.SideInput |
buildPartial() |
RunnerApi.SideInput.Builder |
clear() |
RunnerApi.SideInput.Builder |
clearAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
RunnerApi.SideInput.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunnerApi.SideInput.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunnerApi.SideInput.Builder |
clearViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SideInput.Builder |
clearWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
RunnerApi.SideInput.Builder |
clone() |
RunnerApi.FunctionSpec |
getAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
RunnerApi.FunctionSpec.Builder |
getAccessPatternBuilder()
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
RunnerApi.FunctionSpecOrBuilder |
getAccessPatternOrBuilder()
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
RunnerApi.SideInput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RunnerApi.SdkFunctionSpec |
getViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SdkFunctionSpec.Builder |
getViewFnBuilder()
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getViewFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SdkFunctionSpec |
getWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
RunnerApi.SdkFunctionSpec.Builder |
getWindowMappingFnBuilder()
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getWindowMappingFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
boolean |
hasAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
boolean |
hasViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
boolean |
hasWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunnerApi.SideInput.Builder |
mergeAccessPattern(RunnerApi.FunctionSpec value)
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
RunnerApi.SideInput.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunnerApi.SideInput.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunnerApi.SideInput.Builder |
mergeFrom(RunnerApi.SideInput other) |
RunnerApi.SideInput.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunnerApi.SideInput.Builder |
mergeViewFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SideInput.Builder |
mergeWindowMappingFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
RunnerApi.SideInput.Builder |
setAccessPattern(RunnerApi.FunctionSpec.Builder builderForValue)
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
RunnerApi.SideInput.Builder |
setAccessPattern(RunnerApi.FunctionSpec value)
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
RunnerApi.SideInput.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunnerApi.SideInput.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunnerApi.SideInput.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunnerApi.SideInput.Builder |
setViewFn(RunnerApi.SdkFunctionSpec.Builder builderForValue)
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SideInput.Builder |
setViewFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SideInput.Builder |
setWindowMappingFn(RunnerApi.SdkFunctionSpec.Builder builderForValue)
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
RunnerApi.SideInput.Builder |
setWindowMappingFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
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.SideInput.Builder>public RunnerApi.SideInput.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.SideInput.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.SideInput.Builder>public RunnerApi.SideInput getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RunnerApi.SideInput build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RunnerApi.SideInput buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RunnerApi.SideInput.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.SideInput.Builder>public RunnerApi.SideInput.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.SideInput.Builder>public RunnerApi.SideInput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.SideInput.Builder>public RunnerApi.SideInput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.SideInput.Builder>public RunnerApi.SideInput.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.SideInput.Builder>public RunnerApi.SideInput.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.SideInput.Builder>public RunnerApi.SideInput.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunnerApi.SideInput.Builder>public RunnerApi.SideInput.Builder mergeFrom(RunnerApi.SideInput other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.SideInput.Builder>public RunnerApi.SideInput.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.SideInput.Builder>IOExceptionpublic boolean hasAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;hasAccessPattern in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.FunctionSpec getAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;getAccessPattern in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SideInput.Builder setAccessPattern(RunnerApi.FunctionSpec value)
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;public RunnerApi.SideInput.Builder setAccessPattern(RunnerApi.FunctionSpec.Builder builderForValue)
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;public RunnerApi.SideInput.Builder mergeAccessPattern(RunnerApi.FunctionSpec value)
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;public RunnerApi.SideInput.Builder clearAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;public RunnerApi.FunctionSpec.Builder getAccessPatternBuilder()
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;public RunnerApi.FunctionSpecOrBuilder getAccessPatternOrBuilder()
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;getAccessPatternOrBuilder in interface RunnerApi.SideInputOrBuilderpublic boolean hasViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;hasViewFn in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SdkFunctionSpec getViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;getViewFn in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SideInput.Builder setViewFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;public RunnerApi.SideInput.Builder setViewFn(RunnerApi.SdkFunctionSpec.Builder builderForValue)
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;public RunnerApi.SideInput.Builder mergeViewFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;public RunnerApi.SideInput.Builder clearViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;public RunnerApi.SdkFunctionSpec.Builder getViewFnBuilder()
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;public RunnerApi.SdkFunctionSpecOrBuilder getViewFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;getViewFnOrBuilder in interface RunnerApi.SideInputOrBuilderpublic boolean hasWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;hasWindowMappingFn in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SdkFunctionSpec getWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;getWindowMappingFn in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SideInput.Builder setWindowMappingFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;public RunnerApi.SideInput.Builder setWindowMappingFn(RunnerApi.SdkFunctionSpec.Builder builderForValue)
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;public RunnerApi.SideInput.Builder mergeWindowMappingFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;public RunnerApi.SideInput.Builder clearWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;public RunnerApi.SdkFunctionSpec.Builder getWindowMappingFnBuilder()
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;public RunnerApi.SdkFunctionSpecOrBuilder getWindowMappingFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;getWindowMappingFnOrBuilder in interface RunnerApi.SideInputOrBuilderpublic final RunnerApi.SideInput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.SideInput.Builder>public final RunnerApi.SideInput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.SideInput.Builder>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.