Package io.grpc.binarylog.v1
Interface MessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Message
,Message.Builder
public interface MessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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 Details
-
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
com.google.protobuf.ByteString getData()May be truncated or omitted.
bytes data = 2;
- Returns:
- The data.
-