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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.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

        com.google.protobuf.ByteString getData()
         May be truncated or omitted.
         
        bytes data = 2;
        Returns:
        The data.