public static final class RunnerApi.CombinePayload extends com.google.protobuf.GeneratedMessageV3 implements RunnerApi.CombinePayloadOrBuilder
The payload for the special-but-not-primitive Combine transform.Protobuf type
org.apache.beam.runner_api.v1.CombinePayload| Modifier and Type | Class and Description |
|---|---|
static class |
RunnerApi.CombinePayload.Builder
The payload for the special-but-not-primitive Combine transform.
|
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 |
ACCUMULATOR_CODER_ID_FIELD_NUMBER |
static int |
COMBINE_FN_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static int |
SIDE_INPUTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSideInputs(String key)
(Optional) A mapping of local input names to side inputs, describing
the expected access pattern.
|
boolean |
equals(Object obj) |
String |
getAccumulatorCoderId()
(Required) A reference to the Coder to use for accumulators of the CombineFn
|
com.google.protobuf.ByteString |
getAccumulatorCoderIdBytes()
(Required) A reference to the Coder to use for accumulators of the CombineFn
|
RunnerApi.SdkFunctionSpec |
getCombineFn()
(Required) The SdkFunctionSpec of the CombineFn.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getCombineFnOrBuilder()
(Required) The SdkFunctionSpec of the CombineFn.
|
static RunnerApi.CombinePayload |
getDefaultInstance() |
RunnerApi.CombinePayload |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RunnerApi.Parameter |
getParameters(int index)
(Required) Additional pieces of context the DoFn may require that
are not otherwise represented in the payload.
|
int |
getParametersCount()
(Required) Additional pieces of context the DoFn may require that
are not otherwise represented in the payload.
|
List<RunnerApi.Parameter> |
getParametersList()
(Required) Additional pieces of context the DoFn may require that
are not otherwise represented in the payload.
|
RunnerApi.ParameterOrBuilder |
getParametersOrBuilder(int index)
(Required) Additional pieces of context the DoFn may require that
are not otherwise represented in the payload.
|
List<? extends RunnerApi.ParameterOrBuilder> |
getParametersOrBuilderList()
(Required) Additional pieces of context the DoFn may require that
are not otherwise represented in the payload.
|
com.google.protobuf.Parser<RunnerApi.CombinePayload> |
getParserForType() |
int |
getSerializedSize() |
Map<String,RunnerApi.SideInput> |
getSideInputs()
Deprecated.
|
int |
getSideInputsCount()
(Optional) A mapping of local input names to side inputs, describing
the expected access pattern.
|
Map<String,RunnerApi.SideInput> |
getSideInputsMap()
(Optional) A mapping of local input names to side inputs, describing
the expected access pattern.
|
RunnerApi.SideInput |
getSideInputsOrDefault(String key,
RunnerApi.SideInput defaultValue)
(Optional) A mapping of local input names to side inputs, describing
the expected access pattern.
|
RunnerApi.SideInput |
getSideInputsOrThrow(String key)
(Optional) A mapping of local input names to side inputs, describing
the expected access pattern.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCombineFn()
(Required) The SdkFunctionSpec of the CombineFn.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static RunnerApi.CombinePayload.Builder |
newBuilder() |
static RunnerApi.CombinePayload.Builder |
newBuilder(RunnerApi.CombinePayload prototype) |
RunnerApi.CombinePayload.Builder |
newBuilderForType() |
protected RunnerApi.CombinePayload.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RunnerApi.CombinePayload |
parseDelimitedFrom(InputStream input) |
static RunnerApi.CombinePayload |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.CombinePayload |
parseFrom(byte[] data) |
static RunnerApi.CombinePayload |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.CombinePayload |
parseFrom(com.google.protobuf.ByteString data) |
static RunnerApi.CombinePayload |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.CombinePayload |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RunnerApi.CombinePayload |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.CombinePayload |
parseFrom(InputStream input) |
static RunnerApi.CombinePayload |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RunnerApi.CombinePayload> |
parser() |
RunnerApi.CombinePayload.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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 COMBINE_FN_FIELD_NUMBER
public static final int ACCUMULATOR_CODER_ID_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int SIDE_INPUTS_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCombineFn()
(Required) The SdkFunctionSpec of the CombineFn.
.org.apache.beam.runner_api.v1.SdkFunctionSpec combine_fn = 1;hasCombineFn in interface RunnerApi.CombinePayloadOrBuilderpublic RunnerApi.SdkFunctionSpec getCombineFn()
(Required) The SdkFunctionSpec of the CombineFn.
.org.apache.beam.runner_api.v1.SdkFunctionSpec combine_fn = 1;getCombineFn in interface RunnerApi.CombinePayloadOrBuilderpublic RunnerApi.SdkFunctionSpecOrBuilder getCombineFnOrBuilder()
(Required) The SdkFunctionSpec of the CombineFn.
.org.apache.beam.runner_api.v1.SdkFunctionSpec combine_fn = 1;getCombineFnOrBuilder in interface RunnerApi.CombinePayloadOrBuilderpublic String getAccumulatorCoderId()
(Required) A reference to the Coder to use for accumulators of the CombineFn
string accumulator_coder_id = 2;getAccumulatorCoderId in interface RunnerApi.CombinePayloadOrBuilderpublic com.google.protobuf.ByteString getAccumulatorCoderIdBytes()
(Required) A reference to the Coder to use for accumulators of the CombineFn
string accumulator_coder_id = 2;getAccumulatorCoderIdBytes in interface RunnerApi.CombinePayloadOrBuilderpublic List<RunnerApi.Parameter> getParametersList()
(Required) Additional pieces of context the DoFn may require that are not otherwise represented in the payload. (may force runners to execute the ParDo differently)
repeated .org.apache.beam.runner_api.v1.Parameter parameters = 3;getParametersList in interface RunnerApi.CombinePayloadOrBuilderpublic List<? extends RunnerApi.ParameterOrBuilder> getParametersOrBuilderList()
(Required) Additional pieces of context the DoFn may require that are not otherwise represented in the payload. (may force runners to execute the ParDo differently)
repeated .org.apache.beam.runner_api.v1.Parameter parameters = 3;getParametersOrBuilderList in interface RunnerApi.CombinePayloadOrBuilderpublic int getParametersCount()
(Required) Additional pieces of context the DoFn may require that are not otherwise represented in the payload. (may force runners to execute the ParDo differently)
repeated .org.apache.beam.runner_api.v1.Parameter parameters = 3;getParametersCount in interface RunnerApi.CombinePayloadOrBuilderpublic RunnerApi.Parameter getParameters(int index)
(Required) Additional pieces of context the DoFn may require that are not otherwise represented in the payload. (may force runners to execute the ParDo differently)
repeated .org.apache.beam.runner_api.v1.Parameter parameters = 3;getParameters in interface RunnerApi.CombinePayloadOrBuilderpublic RunnerApi.ParameterOrBuilder getParametersOrBuilder(int index)
(Required) Additional pieces of context the DoFn may require that are not otherwise represented in the payload. (may force runners to execute the ParDo differently)
repeated .org.apache.beam.runner_api.v1.Parameter parameters = 3;getParametersOrBuilder in interface RunnerApi.CombinePayloadOrBuilderpublic int getSideInputsCount()
RunnerApi.CombinePayloadOrBuilder(Optional) A mapping of local input names to side inputs, describing the expected access pattern.
map<string, .org.apache.beam.runner_api.v1.SideInput> side_inputs = 4;getSideInputsCount in interface RunnerApi.CombinePayloadOrBuilderpublic boolean containsSideInputs(String key)
(Optional) A mapping of local input names to side inputs, describing the expected access pattern.
map<string, .org.apache.beam.runner_api.v1.SideInput> side_inputs = 4;containsSideInputs in interface RunnerApi.CombinePayloadOrBuilder@Deprecated public Map<String,RunnerApi.SideInput> getSideInputs()
getSideInputsMap() instead.getSideInputs in interface RunnerApi.CombinePayloadOrBuilderpublic Map<String,RunnerApi.SideInput> getSideInputsMap()
(Optional) A mapping of local input names to side inputs, describing the expected access pattern.
map<string, .org.apache.beam.runner_api.v1.SideInput> side_inputs = 4;getSideInputsMap in interface RunnerApi.CombinePayloadOrBuilderpublic RunnerApi.SideInput getSideInputsOrDefault(String key, RunnerApi.SideInput defaultValue)
(Optional) A mapping of local input names to side inputs, describing the expected access pattern.
map<string, .org.apache.beam.runner_api.v1.SideInput> side_inputs = 4;getSideInputsOrDefault in interface RunnerApi.CombinePayloadOrBuilderpublic RunnerApi.SideInput getSideInputsOrThrow(String key)
(Optional) A mapping of local input names to side inputs, describing the expected access pattern.
map<string, .org.apache.beam.runner_api.v1.SideInput> side_inputs = 4;getSideInputsOrThrow in interface RunnerApi.CombinePayloadOrBuilderpublic 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 RunnerApi.CombinePayload parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.CombinePayload parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.CombinePayload parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.CombinePayload parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.CombinePayload parseFrom(InputStream input) throws IOException
IOExceptionpublic static RunnerApi.CombinePayload parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RunnerApi.CombinePayload parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RunnerApi.CombinePayload parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RunnerApi.CombinePayload parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RunnerApi.CombinePayload parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RunnerApi.CombinePayload.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RunnerApi.CombinePayload.Builder newBuilder()
public static RunnerApi.CombinePayload.Builder newBuilder(RunnerApi.CombinePayload prototype)
public RunnerApi.CombinePayload.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RunnerApi.CombinePayload.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RunnerApi.CombinePayload getDefaultInstance()
public static com.google.protobuf.Parser<RunnerApi.CombinePayload> parser()
public com.google.protobuf.Parser<RunnerApi.CombinePayload> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RunnerApi.CombinePayload getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.