public static final class RunnerApi.Coder.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Coder.Builder> implements RunnerApi.CoderOrBuilder
A coder, the binary format for serialization and deserialization of data in a pipeline.Protobuf type
org.apache.beam.runner_api.v1.Coder| Modifier and Type | Method and Description |
|---|---|
RunnerApi.Coder.Builder |
addAllComponentCoderIds(Iterable<String> values)
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
RunnerApi.Coder.Builder |
addComponentCoderIds(String value)
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
RunnerApi.Coder.Builder |
addComponentCoderIdsBytes(com.google.protobuf.ByteString value)
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
RunnerApi.Coder.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunnerApi.Coder |
build() |
RunnerApi.Coder |
buildPartial() |
RunnerApi.Coder.Builder |
clear() |
RunnerApi.Coder.Builder |
clearComponentCoderIds()
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
RunnerApi.Coder.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunnerApi.Coder.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunnerApi.Coder.Builder |
clearSpec()
(Required) A specification for the coder, as a URN plus parameters.
|
RunnerApi.Coder.Builder |
clone() |
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.
|
com.google.protobuf.ProtocolStringList |
getComponentCoderIdsList()
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
RunnerApi.Coder |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RunnerApi.SdkFunctionSpec |
getSpec()
(Required) A specification for the coder, as a URN plus parameters.
|
RunnerApi.SdkFunctionSpec.Builder |
getSpecBuilder()
(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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunnerApi.Coder.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunnerApi.Coder.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunnerApi.Coder.Builder |
mergeFrom(RunnerApi.Coder other) |
RunnerApi.Coder.Builder |
mergeSpec(RunnerApi.SdkFunctionSpec value)
(Required) A specification for the coder, as a URN plus parameters.
|
RunnerApi.Coder.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunnerApi.Coder.Builder |
setComponentCoderIds(int index,
String value)
(Optional) If this coder is parametric, such as ListCoder(VarIntCoder),
this is a list of the components.
|
RunnerApi.Coder.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunnerApi.Coder.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunnerApi.Coder.Builder |
setSpec(RunnerApi.SdkFunctionSpec.Builder builderForValue)
(Required) A specification for the coder, as a URN plus parameters.
|
RunnerApi.Coder.Builder |
setSpec(RunnerApi.SdkFunctionSpec value)
(Required) A specification for the coder, as a URN plus parameters.
|
RunnerApi.Coder.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<RunnerApi.Coder.Builder>public RunnerApi.Coder.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Coder.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<RunnerApi.Coder.Builder>public RunnerApi.Coder getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RunnerApi.Coder build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RunnerApi.Coder buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RunnerApi.Coder.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Coder.Builder>public RunnerApi.Coder.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<RunnerApi.Coder.Builder>public RunnerApi.Coder.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Coder.Builder>public RunnerApi.Coder.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Coder.Builder>public RunnerApi.Coder.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<RunnerApi.Coder.Builder>public RunnerApi.Coder.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<RunnerApi.Coder.Builder>public RunnerApi.Coder.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunnerApi.Coder.Builder>public RunnerApi.Coder.Builder mergeFrom(RunnerApi.Coder other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Coder.Builder>public RunnerApi.Coder.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<RunnerApi.Coder.Builder>IOExceptionpublic boolean 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;hasSpec in interface RunnerApi.CoderOrBuilderpublic 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;getSpec in interface RunnerApi.CoderOrBuilderpublic RunnerApi.Coder.Builder setSpec(RunnerApi.SdkFunctionSpec value)
(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;public RunnerApi.Coder.Builder setSpec(RunnerApi.SdkFunctionSpec.Builder builderForValue)
(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;public RunnerApi.Coder.Builder mergeSpec(RunnerApi.SdkFunctionSpec value)
(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;public RunnerApi.Coder.Builder clearSpec()
(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;public RunnerApi.SdkFunctionSpec.Builder getSpecBuilder()
(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;public 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;getSpecOrBuilder in interface RunnerApi.CoderOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getComponentCoderIdsList in interface RunnerApi.CoderOrBuilderpublic 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;getComponentCoderIdsCount in interface RunnerApi.CoderOrBuilderpublic 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;getComponentCoderIds in interface RunnerApi.CoderOrBuilderpublic 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;getComponentCoderIdsBytes in interface RunnerApi.CoderOrBuilderpublic RunnerApi.Coder.Builder setComponentCoderIds(int index, String value)
(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;public RunnerApi.Coder.Builder addComponentCoderIds(String value)
(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;public RunnerApi.Coder.Builder addAllComponentCoderIds(Iterable<String> values)
(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;public RunnerApi.Coder.Builder clearComponentCoderIds()
(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;public RunnerApi.Coder.Builder addComponentCoderIdsBytes(com.google.protobuf.ByteString value)
(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;public final RunnerApi.Coder.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Coder.Builder>public final RunnerApi.Coder.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.Coder.Builder>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.