Package io.grpc.binarylog.v1
Interface MessageOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Message
,Message.Builder
public interface MessageOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteString
getData()
May be truncated or omitted.int
getLength()
Length of the message.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLength
int getLength()
Length of the message. It may not be the same as the length of the data field, as the logging payload can be truncated or omitted.
uint32 length = 1;
- Returns:
- The length.
-
getData
ByteString getData()
May be truncated or omitted.
bytes data = 2;
- Returns:
- The data.
-
-