Interface DataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Data,Data.Builder
public interface DataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetData()The raw payload databooleanIndicates whether this is the last data frame in the current direction.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getData
com.google.protobuf.ByteString getData()The raw payload data
bytes data = 1;- Returns:
- The data.
-
getEndOfStream
boolean getEndOfStream()Indicates whether this is the last data frame in the current direction. The external processor should still respond to this message even if there is no more data expected in this direction.
bool end_of_stream = 2;- Returns:
- The endOfStream.
-