public static interface BeamFnApi.Elements.DataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getData()
(Optional) Represents a part of a logical byte stream.
|
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.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getInstructionReference()
(Required) A reference to an active instruction request with the given instruction id.
string instruction_reference = 1;com.google.protobuf.ByteString getInstructionReferenceBytes()
(Required) A reference to an active instruction request with the given instruction id.
string instruction_reference = 1;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;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;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;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;Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.