public static final class BeamFnApi.Elements.Data.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.Elements.Data.Builder> implements BeamFnApi.Elements.DataOrBuilder
Represents multiple encoded elements in nested context for a given named instruction and target.Protobuf type
org.apache.beam.fn.v1.Elements.Data| Modifier and Type | Method and Description |
|---|---|
BeamFnApi.Elements.Data.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BeamFnApi.Elements.Data |
build() |
BeamFnApi.Elements.Data |
buildPartial() |
BeamFnApi.Elements.Data.Builder |
clear() |
BeamFnApi.Elements.Data.Builder |
clearData()
(Optional) Represents a part of a logical byte stream.
|
BeamFnApi.Elements.Data.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BeamFnApi.Elements.Data.Builder |
clearInstructionReference()
(Required) A reference to an active instruction request with the given
instruction id.
|
BeamFnApi.Elements.Data.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BeamFnApi.Elements.Data.Builder |
clearTarget()
(Required) A definition representing a consumer or producer of this data.
|
BeamFnApi.Elements.Data.Builder |
clone() |
com.google.protobuf.ByteString |
getData()
(Optional) Represents a part of a logical byte stream.
|
BeamFnApi.Elements.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInstructionReference()
(Required) A reference to an active instruction request with the given
instruction id.
|
com.google.protobuf.ByteString |
getInstructionReferenceBytes()
(Required) A reference to an active instruction request with the given
instruction id.
|
BeamFnApi.Target |
getTarget()
(Required) A definition representing a consumer or producer of this data.
|
BeamFnApi.Target.Builder |
getTargetBuilder()
(Required) A definition representing a consumer or producer of this data.
|
BeamFnApi.TargetOrBuilder |
getTargetOrBuilder()
(Required) A definition representing a consumer or producer of this data.
|
boolean |
hasTarget()
(Required) A definition representing a consumer or producer of this data.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BeamFnApi.Elements.Data.Builder |
mergeFrom(BeamFnApi.Elements.Data other) |
BeamFnApi.Elements.Data.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BeamFnApi.Elements.Data.Builder |
mergeFrom(com.google.protobuf.Message other) |
BeamFnApi.Elements.Data.Builder |
mergeTarget(BeamFnApi.Target value)
(Required) A definition representing a consumer or producer of this data.
|
BeamFnApi.Elements.Data.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BeamFnApi.Elements.Data.Builder |
setData(com.google.protobuf.ByteString value)
(Optional) Represents a part of a logical byte stream.
|
BeamFnApi.Elements.Data.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BeamFnApi.Elements.Data.Builder |
setInstructionReference(String value)
(Required) A reference to an active instruction request with the given
instruction id.
|
BeamFnApi.Elements.Data.Builder |
setInstructionReferenceBytes(com.google.protobuf.ByteString value)
(Required) A reference to an active instruction request with the given
instruction id.
|
BeamFnApi.Elements.Data.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BeamFnApi.Elements.Data.Builder |
setTarget(BeamFnApi.Target.Builder builderForValue)
(Required) A definition representing a consumer or producer of this data.
|
BeamFnApi.Elements.Data.Builder |
setTarget(BeamFnApi.Target value)
(Required) A definition representing a consumer or producer of this data.
|
BeamFnApi.Elements.Data.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<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.Elements.Data.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<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BeamFnApi.Elements.Data build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BeamFnApi.Elements.Data buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BeamFnApi.Elements.Data.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.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<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.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<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.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<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.Builder mergeFrom(BeamFnApi.Elements.Data other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.Elements.Data.Builder>public BeamFnApi.Elements.Data.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<BeamFnApi.Elements.Data.Builder>IOExceptionpublic String getInstructionReference()
(Required) A reference to an active instruction request with the given instruction id.
string instruction_reference = 1;getInstructionReference in interface BeamFnApi.Elements.DataOrBuilderpublic com.google.protobuf.ByteString getInstructionReferenceBytes()
(Required) A reference to an active instruction request with the given instruction id.
string instruction_reference = 1;getInstructionReferenceBytes in interface BeamFnApi.Elements.DataOrBuilderpublic BeamFnApi.Elements.Data.Builder setInstructionReference(String value)
(Required) A reference to an active instruction request with the given instruction id.
string instruction_reference = 1;public BeamFnApi.Elements.Data.Builder clearInstructionReference()
(Required) A reference to an active instruction request with the given instruction id.
string instruction_reference = 1;public BeamFnApi.Elements.Data.Builder setInstructionReferenceBytes(com.google.protobuf.ByteString value)
(Required) A reference to an active instruction request with the given instruction id.
string instruction_reference = 1;public boolean hasTarget()
(Required) A definition representing a consumer or producer of this data. If received by a harness, this represents the consumer within that harness that should consume these bytes. If sent by a harness, this represents the producer of these bytes. Note that a single element may span multiple Data messages. Note that a sending/receiving pair should share the same target identifier.
.org.apache.beam.fn.v1.Target target = 2;hasTarget in interface BeamFnApi.Elements.DataOrBuilderpublic BeamFnApi.Target getTarget()
(Required) A definition representing a consumer or producer of this data. If received by a harness, this represents the consumer within that harness that should consume these bytes. If sent by a harness, this represents the producer of these bytes. Note that a single element may span multiple Data messages. Note that a sending/receiving pair should share the same target identifier.
.org.apache.beam.fn.v1.Target target = 2;getTarget in interface BeamFnApi.Elements.DataOrBuilderpublic BeamFnApi.Elements.Data.Builder setTarget(BeamFnApi.Target value)
(Required) A definition representing a consumer or producer of this data. If received by a harness, this represents the consumer within that harness that should consume these bytes. If sent by a harness, this represents the producer of these bytes. Note that a single element may span multiple Data messages. Note that a sending/receiving pair should share the same target identifier.
.org.apache.beam.fn.v1.Target target = 2;public BeamFnApi.Elements.Data.Builder setTarget(BeamFnApi.Target.Builder builderForValue)
(Required) A definition representing a consumer or producer of this data. If received by a harness, this represents the consumer within that harness that should consume these bytes. If sent by a harness, this represents the producer of these bytes. Note that a single element may span multiple Data messages. Note that a sending/receiving pair should share the same target identifier.
.org.apache.beam.fn.v1.Target target = 2;public BeamFnApi.Elements.Data.Builder mergeTarget(BeamFnApi.Target value)
(Required) A definition representing a consumer or producer of this data. If received by a harness, this represents the consumer within that harness that should consume these bytes. If sent by a harness, this represents the producer of these bytes. Note that a single element may span multiple Data messages. Note that a sending/receiving pair should share the same target identifier.
.org.apache.beam.fn.v1.Target target = 2;public BeamFnApi.Elements.Data.Builder clearTarget()
(Required) A definition representing a consumer or producer of this data. If received by a harness, this represents the consumer within that harness that should consume these bytes. If sent by a harness, this represents the producer of these bytes. Note that a single element may span multiple Data messages. Note that a sending/receiving pair should share the same target identifier.
.org.apache.beam.fn.v1.Target target = 2;public BeamFnApi.Target.Builder getTargetBuilder()
(Required) A definition representing a consumer or producer of this data. If received by a harness, this represents the consumer within that harness that should consume these bytes. If sent by a harness, this represents the producer of these bytes. Note that a single element may span multiple Data messages. Note that a sending/receiving pair should share the same target identifier.
.org.apache.beam.fn.v1.Target target = 2;public BeamFnApi.TargetOrBuilder getTargetOrBuilder()
(Required) A definition representing a consumer or producer of this data. If received by a harness, this represents the consumer within that harness that should consume these bytes. If sent by a harness, this represents the producer of these bytes. Note that a single element may span multiple Data messages. Note that a sending/receiving pair should share the same target identifier.
.org.apache.beam.fn.v1.Target target = 2;getTargetOrBuilder in interface BeamFnApi.Elements.DataOrBuilderpublic com.google.protobuf.ByteString getData()
(Optional) Represents a part of a logical byte stream. Elements within the logical byte stream are encoded in the nested context and concatenated together. An empty data block represents the end of stream for the given instruction and target.
bytes data = 3;getData in interface BeamFnApi.Elements.DataOrBuilderpublic BeamFnApi.Elements.Data.Builder setData(com.google.protobuf.ByteString value)
(Optional) Represents a part of a logical byte stream. Elements within the logical byte stream are encoded in the nested context and concatenated together. An empty data block represents the end of stream for the given instruction and target.
bytes data = 3;public BeamFnApi.Elements.Data.Builder clearData()
(Optional) Represents a part of a logical byte stream. Elements within the logical byte stream are encoded in the nested context and concatenated together. An empty data block represents the end of stream for the given instruction and target.
bytes data = 3;public final BeamFnApi.Elements.Data.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.Elements.Data.Builder>public final BeamFnApi.Elements.Data.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.Elements.Data.Builder>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.