public static final class BeamFnApi.Elements.Data extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
BeamFnApi.Elements.Data.Builder
Represents multiple encoded elements in nested context for a given named
instruction and target.
|
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 |
DATA_FIELD_NUMBER |
static int |
INSTRUCTION_REFERENCE_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getData()
(Optional) Represents a part of a logical byte stream.
|
static BeamFnApi.Elements.Data |
getDefaultInstance() |
BeamFnApi.Elements.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<BeamFnApi.Elements.Data> |
getParserForType() |
int |
getSerializedSize() |
BeamFnApi.Target |
getTarget()
(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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTarget()
(Required) A definition representing a consumer or producer of this data.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BeamFnApi.Elements.Data.Builder |
newBuilder() |
static BeamFnApi.Elements.Data.Builder |
newBuilder(BeamFnApi.Elements.Data prototype) |
BeamFnApi.Elements.Data.Builder |
newBuilderForType() |
protected BeamFnApi.Elements.Data.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BeamFnApi.Elements.Data |
parseDelimitedFrom(InputStream input) |
static BeamFnApi.Elements.Data |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.Elements.Data |
parseFrom(byte[] data) |
static BeamFnApi.Elements.Data |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.Elements.Data |
parseFrom(com.google.protobuf.ByteString data) |
static BeamFnApi.Elements.Data |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.Elements.Data |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BeamFnApi.Elements.Data |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.Elements.Data |
parseFrom(InputStream input) |
static BeamFnApi.Elements.Data |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BeamFnApi.Elements.Data> |
parser() |
BeamFnApi.Elements.Data.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 INSTRUCTION_REFERENCE_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
public static final int DATA_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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.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 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 BeamFnApi.Elements.Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.Elements.Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.Elements.Data parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.Elements.Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.Elements.Data parseFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.Elements.Data parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.Elements.Data parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.Elements.Data parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.Elements.Data parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BeamFnApi.Elements.Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BeamFnApi.Elements.Data.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BeamFnApi.Elements.Data.Builder newBuilder()
public static BeamFnApi.Elements.Data.Builder newBuilder(BeamFnApi.Elements.Data prototype)
public BeamFnApi.Elements.Data.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BeamFnApi.Elements.Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BeamFnApi.Elements.Data getDefaultInstance()
public static com.google.protobuf.Parser<BeamFnApi.Elements.Data> parser()
public com.google.protobuf.Parser<BeamFnApi.Elements.Data> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.Elements.Data getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.