public static final class RunnerApi.ParDoPayload extends com.google.protobuf.GeneratedMessageV3 implements RunnerApi.ParDoPayloadOrBuilder
The payload for the primitive ParDo transform.Protobuf type
org.apache.beam.runner_api.v1.ParDoPayload| Modifier and Type | Class and Description |
|---|---|
static class |
RunnerApi.ParDoPayload.Builder
The payload for the primitive ParDo 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 |
DO_FN_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static int |
SIDE_INPUTS_FIELD_NUMBER |
static int |
SPLITTABLE_FIELD_NUMBER |
static int |
STATE_SPECS_FIELD_NUMBER |
static int |
TIMER_SPECS_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 |
containsStateSpecs(String key)
(Optional) A mapping of local state names to state specifications.
|
boolean |
containsTimerSpecs(String key)
(Optional) A mapping of local timer names to timer specifications.
|
boolean |
equals(Object obj) |
static RunnerApi.ParDoPayload |
getDefaultInstance() |
RunnerApi.ParDoPayload |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RunnerApi.SdkFunctionSpec |
getDoFn()
(Required) The SdkFunctionSpec of the DoFn.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getDoFnOrBuilder()
(Required) The SdkFunctionSpec of the DoFn.
|
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.ParDoPayload> |
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.
|
boolean |
getSplittable()
Whether the DoFn is splittable
|
Map<String,RunnerApi.StateSpec> |
getStateSpecs()
Deprecated.
|
int |
getStateSpecsCount()
(Optional) A mapping of local state names to state specifications.
|
Map<String,RunnerApi.StateSpec> |
getStateSpecsMap()
(Optional) A mapping of local state names to state specifications.
|
RunnerApi.StateSpec |
getStateSpecsOrDefault(String key,
RunnerApi.StateSpec defaultValue)
(Optional) A mapping of local state names to state specifications.
|
RunnerApi.StateSpec |
getStateSpecsOrThrow(String key)
(Optional) A mapping of local state names to state specifications.
|
Map<String,RunnerApi.TimerSpec> |
getTimerSpecs()
Deprecated.
|
int |
getTimerSpecsCount()
(Optional) A mapping of local timer names to timer specifications.
|
Map<String,RunnerApi.TimerSpec> |
getTimerSpecsMap()
(Optional) A mapping of local timer names to timer specifications.
|
RunnerApi.TimerSpec |
getTimerSpecsOrDefault(String key,
RunnerApi.TimerSpec defaultValue)
(Optional) A mapping of local timer names to timer specifications.
|
RunnerApi.TimerSpec |
getTimerSpecsOrThrow(String key)
(Optional) A mapping of local timer names to timer specifications.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDoFn()
(Required) The SdkFunctionSpec of the DoFn.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static RunnerApi.ParDoPayload.Builder |
newBuilder() |
static RunnerApi.ParDoPayload.Builder |
newBuilder(RunnerApi.ParDoPayload prototype) |
RunnerApi.ParDoPayload.Builder |
newBuilderForType() |
protected RunnerApi.ParDoPayload.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RunnerApi.ParDoPayload |
parseDelimitedFrom(InputStream input) |
static RunnerApi.ParDoPayload |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.ParDoPayload |
parseFrom(byte[] data) |
static RunnerApi.ParDoPayload |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.ParDoPayload |
parseFrom(com.google.protobuf.ByteString data) |
static RunnerApi.ParDoPayload |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.ParDoPayload |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RunnerApi.ParDoPayload |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.ParDoPayload |
parseFrom(InputStream input) |
static RunnerApi.ParDoPayload |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RunnerApi.ParDoPayload> |
parser() |
RunnerApi.ParDoPayload.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 DO_FN_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int SIDE_INPUTS_FIELD_NUMBER
public static final int STATE_SPECS_FIELD_NUMBER
public static final int TIMER_SPECS_FIELD_NUMBER
public static final int SPLITTABLE_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 hasDoFn()
(Required) The SdkFunctionSpec of the DoFn.
.org.apache.beam.runner_api.v1.SdkFunctionSpec do_fn = 1;hasDoFn in interface RunnerApi.ParDoPayloadOrBuilderpublic RunnerApi.SdkFunctionSpec getDoFn()
(Required) The SdkFunctionSpec of the DoFn.
.org.apache.beam.runner_api.v1.SdkFunctionSpec do_fn = 1;getDoFn in interface RunnerApi.ParDoPayloadOrBuilderpublic RunnerApi.SdkFunctionSpecOrBuilder getDoFnOrBuilder()
(Required) The SdkFunctionSpec of the DoFn.
.org.apache.beam.runner_api.v1.SdkFunctionSpec do_fn = 1;getDoFnOrBuilder in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 2;getParametersList in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 2;getParametersOrBuilderList in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 2;getParametersCount in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 2;getParameters in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 2;getParametersOrBuilder in interface RunnerApi.ParDoPayloadOrBuilderpublic int getSideInputsCount()
RunnerApi.ParDoPayloadOrBuilder(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 = 3;getSideInputsCount in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 3;containsSideInputs in interface RunnerApi.ParDoPayloadOrBuilder@Deprecated public Map<String,RunnerApi.SideInput> getSideInputs()
getSideInputsMap() instead.getSideInputs in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 3;getSideInputsMap in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 3;getSideInputsOrDefault in interface RunnerApi.ParDoPayloadOrBuilderpublic 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 = 3;getSideInputsOrThrow in interface RunnerApi.ParDoPayloadOrBuilderpublic int getStateSpecsCount()
RunnerApi.ParDoPayloadOrBuilder(Optional) A mapping of local state names to state specifications.
map<string, .org.apache.beam.runner_api.v1.StateSpec> state_specs = 4;getStateSpecsCount in interface RunnerApi.ParDoPayloadOrBuilderpublic boolean containsStateSpecs(String key)
(Optional) A mapping of local state names to state specifications.
map<string, .org.apache.beam.runner_api.v1.StateSpec> state_specs = 4;containsStateSpecs in interface RunnerApi.ParDoPayloadOrBuilder@Deprecated public Map<String,RunnerApi.StateSpec> getStateSpecs()
getStateSpecsMap() instead.getStateSpecs in interface RunnerApi.ParDoPayloadOrBuilderpublic Map<String,RunnerApi.StateSpec> getStateSpecsMap()
(Optional) A mapping of local state names to state specifications.
map<string, .org.apache.beam.runner_api.v1.StateSpec> state_specs = 4;getStateSpecsMap in interface RunnerApi.ParDoPayloadOrBuilderpublic RunnerApi.StateSpec getStateSpecsOrDefault(String key, RunnerApi.StateSpec defaultValue)
(Optional) A mapping of local state names to state specifications.
map<string, .org.apache.beam.runner_api.v1.StateSpec> state_specs = 4;getStateSpecsOrDefault in interface RunnerApi.ParDoPayloadOrBuilderpublic RunnerApi.StateSpec getStateSpecsOrThrow(String key)
(Optional) A mapping of local state names to state specifications.
map<string, .org.apache.beam.runner_api.v1.StateSpec> state_specs = 4;getStateSpecsOrThrow in interface RunnerApi.ParDoPayloadOrBuilderpublic int getTimerSpecsCount()
RunnerApi.ParDoPayloadOrBuilder(Optional) A mapping of local timer names to timer specifications.
map<string, .org.apache.beam.runner_api.v1.TimerSpec> timer_specs = 5;getTimerSpecsCount in interface RunnerApi.ParDoPayloadOrBuilderpublic boolean containsTimerSpecs(String key)
(Optional) A mapping of local timer names to timer specifications.
map<string, .org.apache.beam.runner_api.v1.TimerSpec> timer_specs = 5;containsTimerSpecs in interface RunnerApi.ParDoPayloadOrBuilder@Deprecated public Map<String,RunnerApi.TimerSpec> getTimerSpecs()
getTimerSpecsMap() instead.getTimerSpecs in interface RunnerApi.ParDoPayloadOrBuilderpublic Map<String,RunnerApi.TimerSpec> getTimerSpecsMap()
(Optional) A mapping of local timer names to timer specifications.
map<string, .org.apache.beam.runner_api.v1.TimerSpec> timer_specs = 5;getTimerSpecsMap in interface RunnerApi.ParDoPayloadOrBuilderpublic RunnerApi.TimerSpec getTimerSpecsOrDefault(String key, RunnerApi.TimerSpec defaultValue)
(Optional) A mapping of local timer names to timer specifications.
map<string, .org.apache.beam.runner_api.v1.TimerSpec> timer_specs = 5;getTimerSpecsOrDefault in interface RunnerApi.ParDoPayloadOrBuilderpublic RunnerApi.TimerSpec getTimerSpecsOrThrow(String key)
(Optional) A mapping of local timer names to timer specifications.
map<string, .org.apache.beam.runner_api.v1.TimerSpec> timer_specs = 5;getTimerSpecsOrThrow in interface RunnerApi.ParDoPayloadOrBuilderpublic boolean getSplittable()
Whether the DoFn is splittable
bool splittable = 6;getSplittable in interface RunnerApi.ParDoPayloadOrBuilderpublic 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.ParDoPayload parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.ParDoPayload parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.ParDoPayload parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.ParDoPayload parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.ParDoPayload parseFrom(InputStream input) throws IOException
IOExceptionpublic static RunnerApi.ParDoPayload parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RunnerApi.ParDoPayload parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RunnerApi.ParDoPayload parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RunnerApi.ParDoPayload parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RunnerApi.ParDoPayload parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RunnerApi.ParDoPayload.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RunnerApi.ParDoPayload.Builder newBuilder()
public static RunnerApi.ParDoPayload.Builder newBuilder(RunnerApi.ParDoPayload prototype)
public RunnerApi.ParDoPayload.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RunnerApi.ParDoPayload.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RunnerApi.ParDoPayload getDefaultInstance()
public static com.google.protobuf.Parser<RunnerApi.ParDoPayload> parser()
public com.google.protobuf.Parser<RunnerApi.ParDoPayload> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RunnerApi.ParDoPayload getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.