Interface MessageParserSingle

All Superinterfaces:
MessageParser

public interface MessageParserSingle extends MessageParser
A specialized / simplified version of MessageParser that produces a single unnamed function.
  • Method Details

    • messageParser

      TypedFunction<com.google.protobuf.Message> messageParser(com.google.protobuf.Descriptors.Descriptor descriptor, ProtobufDescriptorParserOptions options, FieldPath fieldPath)
      The message parsing function.
      Parameters:
      descriptor - the actual descriptor
      options - the parser options
      fieldPath - the field path
      Returns:
      the message parsing function
    • messageParsers

      default ProtobufFunctions messageParsers(com.google.protobuf.Descriptors.Descriptor descriptor, ProtobufDescriptorParserOptions options, FieldPath fieldPath)
      Description copied from interface: MessageParser
      The protobuf functions.
      Specified by:
      messageParsers in interface MessageParser
      Parameters:
      descriptor - the actual descriptor
      options - the parser options
      fieldPath - the field path
      Returns:
      the protobuf functions