public static final class BeamFnApi.PrimitiveTransformSplit extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
BeamFnApi.PrimitiveTransformSplit.Builder
Each primitive transform that is splittable is defined by a restriction
it is currently processing.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
COMPLETED_RESTRICTION_FIELD_NUMBER |
static int |
PRIMITIVE_TRANSFORM_REFERENCE_FIELD_NUMBER |
static int |
REMAINING_RESTRICTION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
RunnerApi.FunctionSpec |
getCompletedRestriction()
(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.
|
static BeamFnApi.PrimitiveTransformSplit |
getDefaultInstance() |
BeamFnApi.PrimitiveTransformSplit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<BeamFnApi.PrimitiveTransformSplit> |
getParserForType() |
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.FunctionSpecOrBuilder |
getRemainingRestrictionOrBuilder()
(Required) A function specification describing the restriction
representing the remainder of work for the primitive transform.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCompletedRestriction()
(Required) A function specification describing the restriction
that has been completed by the primitive transform.
|
int |
hashCode() |
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() |
static BeamFnApi.PrimitiveTransformSplit.Builder |
newBuilder() |
static BeamFnApi.PrimitiveTransformSplit.Builder |
newBuilder(BeamFnApi.PrimitiveTransformSplit prototype) |
BeamFnApi.PrimitiveTransformSplit.Builder |
newBuilderForType() |
protected BeamFnApi.PrimitiveTransformSplit.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BeamFnApi.PrimitiveTransformSplit |
parseDelimitedFrom(InputStream input) |
static BeamFnApi.PrimitiveTransformSplit |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.PrimitiveTransformSplit |
parseFrom(byte[] data) |
static BeamFnApi.PrimitiveTransformSplit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.PrimitiveTransformSplit |
parseFrom(com.google.protobuf.ByteString data) |
static BeamFnApi.PrimitiveTransformSplit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.PrimitiveTransformSplit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BeamFnApi.PrimitiveTransformSplit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.PrimitiveTransformSplit |
parseFrom(InputStream input) |
static BeamFnApi.PrimitiveTransformSplit |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BeamFnApi.PrimitiveTransformSplit> |
parser() |
BeamFnApi.PrimitiveTransformSplit.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PRIMITIVE_TRANSFORM_REFERENCE_FIELD_NUMBER
public static final int COMPLETED_RESTRICTION_FIELD_NUMBER
public static final int REMAINING_RESTRICTION_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 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 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 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 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 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 BeamFnApi.PrimitiveTransformSplit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BeamFnApi.PrimitiveTransformSplit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BeamFnApi.PrimitiveTransformSplit.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BeamFnApi.PrimitiveTransformSplit.Builder newBuilder()
public static BeamFnApi.PrimitiveTransformSplit.Builder newBuilder(BeamFnApi.PrimitiveTransformSplit prototype)
public BeamFnApi.PrimitiveTransformSplit.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BeamFnApi.PrimitiveTransformSplit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BeamFnApi.PrimitiveTransformSplit getDefaultInstance()
public static com.google.protobuf.Parser<BeamFnApi.PrimitiveTransformSplit> parser()
public com.google.protobuf.Parser<BeamFnApi.PrimitiveTransformSplit> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.PrimitiveTransformSplit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.