Package io.deephaven.protobuf
Interface MessageParserSingle
- All Superinterfaces:
MessageParser
A specialized / simplified version of
MessageParser
that produces a single unnamed function.-
Method Summary
Modifier and TypeMethodDescriptionTypedFunction<com.google.protobuf.Message>
messageParser
(com.google.protobuf.Descriptors.Descriptor descriptor, ProtobufDescriptorParserOptions options, FieldPath fieldPath) The message parsing function.default ProtobufFunctions
messageParsers
(com.google.protobuf.Descriptors.Descriptor descriptor, ProtobufDescriptorParserOptions options, FieldPath fieldPath) The protobuf functions.Methods inherited from interface io.deephaven.protobuf.MessageParser
canonicalDescriptor
-
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 descriptoroptions
- the parser optionsfieldPath
- 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 interfaceMessageParser
- Parameters:
descriptor
- the actual descriptoroptions
- the parser optionsfieldPath
- the field path- Returns:
- the protobuf functions
-