public static interface RunnerApi.CoderOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentCoderIds(int index)
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
com.google.protobuf.ByteString |
getComponentCoderIdsBytes(int index)
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
int |
getComponentCoderIdsCount()
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
List<String> |
getComponentCoderIdsList()
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
RunnerApi.SdkFunctionSpec |
getSpec()
(Required) A specification for the coder, as a URN plus parameters.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getSpecOrBuilder()
(Required) A specification for the coder, as a URN plus parameters.
|
boolean |
hasSpec()
(Required) A specification for the coder, as a URN plus parameters.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasSpec()
(Required) A specification for the coder, as a URN plus parameters. This may be a cross-language agreed-upon format, or it may be a "custom coder" that can only be used by a particular SDK. It does not include component coders, as it is beneficial for these to be comprehensible to a runner regardless of whether the binary format is agree-upon.
.org.apache.beam.runner_api.v1.SdkFunctionSpec spec = 1;RunnerApi.SdkFunctionSpec getSpec()
(Required) A specification for the coder, as a URN plus parameters. This may be a cross-language agreed-upon format, or it may be a "custom coder" that can only be used by a particular SDK. It does not include component coders, as it is beneficial for these to be comprehensible to a runner regardless of whether the binary format is agree-upon.
.org.apache.beam.runner_api.v1.SdkFunctionSpec spec = 1;RunnerApi.SdkFunctionSpecOrBuilder getSpecOrBuilder()
(Required) A specification for the coder, as a URN plus parameters. This may be a cross-language agreed-upon format, or it may be a "custom coder" that can only be used by a particular SDK. It does not include component coders, as it is beneficial for these to be comprehensible to a runner regardless of whether the binary format is agree-upon.
.org.apache.beam.runner_api.v1.SdkFunctionSpec spec = 1;List<String> getComponentCoderIdsList()
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder), this is a list of the components. In order for encodings to be identical, the SdkFunctionSpec and all components must be identical, recursively.
repeated string component_coder_ids = 2;int getComponentCoderIdsCount()
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder), this is a list of the components. In order for encodings to be identical, the SdkFunctionSpec and all components must be identical, recursively.
repeated string component_coder_ids = 2;String getComponentCoderIds(int index)
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder), this is a list of the components. In order for encodings to be identical, the SdkFunctionSpec and all components must be identical, recursively.
repeated string component_coder_ids = 2;com.google.protobuf.ByteString getComponentCoderIdsBytes(int index)
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder), this is a list of the components. In order for encodings to be identical, the SdkFunctionSpec and all components must be identical, recursively.
repeated string component_coder_ids = 2;Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.