public static final class BeamFnApi.PrimitiveTransformSplit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.PrimitiveTransformSplit.Builder> implements BeamFnApi.PrimitiveTransformSplitOrBuilder
Each primitive transform that is splittable is defined by a restriction
it is currently processing. During splitting, that currently active
restriction (R_initial) is split into 2 components:
* a restriction (R_done) representing all elements that will be fully
processed
* a restriction (R_todo) representing all elements that will not be fully
processed
where:
R_initial = R_done ⋃ R_todo
Protobuf type org.apache.beam.fn.v1.PrimitiveTransformSplit| Modifier and Type | Method and Description |
|---|---|
BeamFnApi.PrimitiveTransformSplit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BeamFnApi.PrimitiveTransformSplit |
build() |
BeamFnApi.PrimitiveTransformSplit |
buildPartial() |
BeamFnApi.PrimitiveTransformSplit.Builder |
clear() |
BeamFnApi.PrimitiveTransformSplit.Builder |
clearCompletedRestriction()
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BeamFnApi.PrimitiveTransformSplit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BeamFnApi.PrimitiveTransformSplit.Builder |
clearPrimitiveTransformReference()
(Required) A reference to a primitive transform with the given id that
is part of the active process bundle request with the given instruction
id.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
clearRemainingRestriction()
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
clone() |
RunnerApi.FunctionSpec |
getCompletedRestriction()
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
RunnerApi.FunctionSpec.Builder |
getCompletedRestrictionBuilder()
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
RunnerApi.FunctionSpecOrBuilder |
getCompletedRestrictionOrBuilder()
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPrimitiveTransformReference()
(Required) A reference to a primitive transform with the given id that
is part of the active process bundle request with the given instruction
id.
|
com.google.protobuf.ByteString |
getPrimitiveTransformReferenceBytes()
(Required) A reference to a primitive transform with the given id that
is part of the active process bundle request with the given instruction
id.
|
RunnerApi.FunctionSpec |
getRemainingRestriction()
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
RunnerApi.FunctionSpec.Builder |
getRemainingRestrictionBuilder()
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
RunnerApi.FunctionSpecOrBuilder |
getRemainingRestrictionOrBuilder()
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
boolean |
hasCompletedRestriction()
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
boolean |
hasRemainingRestriction()
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BeamFnApi.PrimitiveTransformSplit.Builder |
mergeCompletedRestriction(RunnerApi.FunctionSpec value)
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
mergeFrom(BeamFnApi.PrimitiveTransformSplit other) |
BeamFnApi.PrimitiveTransformSplit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BeamFnApi.PrimitiveTransformSplit.Builder |
mergeFrom(com.google.protobuf.Message other) |
BeamFnApi.PrimitiveTransformSplit.Builder |
mergeRemainingRestriction(RunnerApi.FunctionSpec value)
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BeamFnApi.PrimitiveTransformSplit.Builder |
setCompletedRestriction(RunnerApi.FunctionSpec.Builder builderForValue)
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
setCompletedRestriction(RunnerApi.FunctionSpec value)
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BeamFnApi.PrimitiveTransformSplit.Builder |
setPrimitiveTransformReference(String value)
(Required) A reference to a primitive transform with the given id that
is part of the active process bundle request with the given instruction
id.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
setPrimitiveTransformReferenceBytes(com.google.protobuf.ByteString value)
(Required) A reference to a primitive transform with the given id that
is part of the active process bundle request with the given instruction
id.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
setRemainingRestriction(RunnerApi.FunctionSpec.Builder builderForValue)
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
setRemainingRestriction(RunnerApi.FunctionSpec value)
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
BeamFnApi.PrimitiveTransformSplit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BeamFnApi.PrimitiveTransformSplit.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<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.PrimitiveTransformSplit.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<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BeamFnApi.PrimitiveTransformSplit build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BeamFnApi.PrimitiveTransformSplit buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BeamFnApi.PrimitiveTransformSplit.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.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<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.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<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.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<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.Builder mergeFrom(BeamFnApi.PrimitiveTransformSplit other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.PrimitiveTransformSplit.Builder>public BeamFnApi.PrimitiveTransformSplit.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<BeamFnApi.PrimitiveTransformSplit.Builder>IOExceptionpublic String getPrimitiveTransformReference()
(Required) A reference to a primitive transform with the given id that is part of the active process bundle request with the given instruction id.
string primitive_transform_reference = 1;getPrimitiveTransformReference in interface BeamFnApi.PrimitiveTransformSplitOrBuilderpublic com.google.protobuf.ByteString getPrimitiveTransformReferenceBytes()
(Required) A reference to a primitive transform with the given id that is part of the active process bundle request with the given instruction id.
string primitive_transform_reference = 1;getPrimitiveTransformReferenceBytes in interface BeamFnApi.PrimitiveTransformSplitOrBuilderpublic BeamFnApi.PrimitiveTransformSplit.Builder setPrimitiveTransformReference(String value)
(Required) A reference to a primitive transform with the given id that is part of the active process bundle request with the given instruction id.
string primitive_transform_reference = 1;public BeamFnApi.PrimitiveTransformSplit.Builder clearPrimitiveTransformReference()
(Required) A reference to a primitive transform with the given id that is part of the active process bundle request with the given instruction id.
string primitive_transform_reference = 1;public BeamFnApi.PrimitiveTransformSplit.Builder setPrimitiveTransformReferenceBytes(com.google.protobuf.ByteString value)
(Required) A reference to a primitive transform with the given id that is part of the active process bundle request with the given instruction id.
string primitive_transform_reference = 1;public boolean hasCompletedRestriction()
(Required) A function specification describing the restriction that has been completed by the primitive transform. For example, a remote GRPC source will have a specific urn and data block containing an ElementCountRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec completed_restriction = 2;hasCompletedRestriction in interface BeamFnApi.PrimitiveTransformSplitOrBuilderpublic RunnerApi.FunctionSpec getCompletedRestriction()
(Required) A function specification describing the restriction that has been completed by the primitive transform. For example, a remote GRPC source will have a specific urn and data block containing an ElementCountRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec completed_restriction = 2;getCompletedRestriction in interface BeamFnApi.PrimitiveTransformSplitOrBuilderpublic BeamFnApi.PrimitiveTransformSplit.Builder setCompletedRestriction(RunnerApi.FunctionSpec value)
(Required) A function specification describing the restriction that has been completed by the primitive transform. For example, a remote GRPC source will have a specific urn and data block containing an ElementCountRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec completed_restriction = 2;public BeamFnApi.PrimitiveTransformSplit.Builder setCompletedRestriction(RunnerApi.FunctionSpec.Builder builderForValue)
(Required) A function specification describing the restriction that has been completed by the primitive transform. For example, a remote GRPC source will have a specific urn and data block containing an ElementCountRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec completed_restriction = 2;public BeamFnApi.PrimitiveTransformSplit.Builder mergeCompletedRestriction(RunnerApi.FunctionSpec value)
(Required) A function specification describing the restriction that has been completed by the primitive transform. For example, a remote GRPC source will have a specific urn and data block containing an ElementCountRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec completed_restriction = 2;public BeamFnApi.PrimitiveTransformSplit.Builder clearCompletedRestriction()
(Required) A function specification describing the restriction that has been completed by the primitive transform. For example, a remote GRPC source will have a specific urn and data block containing an ElementCountRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec completed_restriction = 2;public RunnerApi.FunctionSpec.Builder getCompletedRestrictionBuilder()
(Required) A function specification describing the restriction that has been completed by the primitive transform. For example, a remote GRPC source will have a specific urn and data block containing an ElementCountRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec completed_restriction = 2;public RunnerApi.FunctionSpecOrBuilder getCompletedRestrictionOrBuilder()
(Required) A function specification describing the restriction that has been completed by the primitive transform. For example, a remote GRPC source will have a specific urn and data block containing an ElementCountRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec completed_restriction = 2;getCompletedRestrictionOrBuilder in interface BeamFnApi.PrimitiveTransformSplitOrBuilderpublic boolean hasRemainingRestriction()
(Required) A function specification describing the restriction representing the remainder of work for the primitive transform. FOr example, a remote GRPC source will have a specific urn and data block contain an ElemntCountSkipRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec remaining_restriction = 3;hasRemainingRestriction in interface BeamFnApi.PrimitiveTransformSplitOrBuilderpublic RunnerApi.FunctionSpec getRemainingRestriction()
(Required) A function specification describing the restriction representing the remainder of work for the primitive transform. FOr example, a remote GRPC source will have a specific urn and data block contain an ElemntCountSkipRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec remaining_restriction = 3;getRemainingRestriction in interface BeamFnApi.PrimitiveTransformSplitOrBuilderpublic BeamFnApi.PrimitiveTransformSplit.Builder setRemainingRestriction(RunnerApi.FunctionSpec value)
(Required) A function specification describing the restriction representing the remainder of work for the primitive transform. FOr example, a remote GRPC source will have a specific urn and data block contain an ElemntCountSkipRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec remaining_restriction = 3;public BeamFnApi.PrimitiveTransformSplit.Builder setRemainingRestriction(RunnerApi.FunctionSpec.Builder builderForValue)
(Required) A function specification describing the restriction representing the remainder of work for the primitive transform. FOr example, a remote GRPC source will have a specific urn and data block contain an ElemntCountSkipRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec remaining_restriction = 3;public BeamFnApi.PrimitiveTransformSplit.Builder mergeRemainingRestriction(RunnerApi.FunctionSpec value)
(Required) A function specification describing the restriction representing the remainder of work for the primitive transform. FOr example, a remote GRPC source will have a specific urn and data block contain an ElemntCountSkipRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec remaining_restriction = 3;public BeamFnApi.PrimitiveTransformSplit.Builder clearRemainingRestriction()
(Required) A function specification describing the restriction representing the remainder of work for the primitive transform. FOr example, a remote GRPC source will have a specific urn and data block contain an ElemntCountSkipRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec remaining_restriction = 3;public RunnerApi.FunctionSpec.Builder getRemainingRestrictionBuilder()
(Required) A function specification describing the restriction representing the remainder of work for the primitive transform. FOr example, a remote GRPC source will have a specific urn and data block contain an ElemntCountSkipRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec remaining_restriction = 3;public RunnerApi.FunctionSpecOrBuilder getRemainingRestrictionOrBuilder()
(Required) A function specification describing the restriction representing the remainder of work for the primitive transform. FOr example, a remote GRPC source will have a specific urn and data block contain an ElemntCountSkipRestriction.
.org.apache.beam.runner_api.v1.FunctionSpec remaining_restriction = 3;getRemainingRestrictionOrBuilder in interface BeamFnApi.PrimitiveTransformSplitOrBuilderpublic final BeamFnApi.PrimitiveTransformSplit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.PrimitiveTransformSplit.Builder>public final BeamFnApi.PrimitiveTransformSplit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.PrimitiveTransformSplit.Builder>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.