Uses of Class
tools.jackson.dataformat.protobuf.schema.ProtobufMessage
Packages that use ProtobufMessage
Package
Description
Contains functionality for generating internal Protobuf schema instances
from external protoc resources.
-
Uses of ProtobufMessage in tools.jackson.dataformat.protobuf
Fields in tools.jackson.dataformat.protobuf declared as ProtobufMessageModifier and TypeFieldDescriptionprotected ProtobufMessageProtobufParser._currentMessageThe innermost Object type ("message" in proto lingo) we are handling.protected ProtobufMessageProtobufGenerator._currMessageType of protobuf message that is currently being output: usually matches write context, but for arrays may indicate "parent" of array.protected ProtobufMessageProtobufWriteContext._messageDefinition of the closest Object that this context relates to; either object for the field (for Message/Object types), or its parent (for Array types)protected ProtobufMessageProtobufReadContext._messageTypeType of current context.protected static final ProtobufMessageProtobufGenerator.UNKNOWN_MESSAGEThis is used as a placeholder for case where we don't have an actual message to use, but know (from context) that one is expected.Methods in tools.jackson.dataformat.protobuf that return ProtobufMessageModifier and TypeMethodDescriptionProtobufReadContext.getMessageType()ProtobufWriteContext.getMessageType()Methods in tools.jackson.dataformat.protobuf with parameters of type ProtobufMessageModifier and TypeMethodDescriptionProtobufReadContext.createChildObjectContext(ProtobufMessage messageType, ProtobufField f, int endOffset) ProtobufWriteContext.createChildObjectContext(ProtobufMessage type) static ProtobufWriteContextProtobufWriteContext.createRootContext(ProtobufMessage msg) protected voidProtobufReadContext.reset(ProtobufMessage messageType, int type, int endOffset) voidProtobufReadContext.setMessageType(ProtobufMessage mt) Constructors in tools.jackson.dataformat.protobuf with parameters of type ProtobufMessageModifierConstructorDescriptionProtobufReadContext(ProtobufReadContext parent, ProtobufMessage messageType, int type, int endOffset) protectedProtobufWriteContext(int type, ProtobufWriteContext parent, ProtobufMessage msg) -
Uses of ProtobufMessage in tools.jackson.dataformat.protobuf.schema
Fields in tools.jackson.dataformat.protobuf.schema declared as ProtobufMessageModifier and TypeFieldDescriptionprotected final ProtobufMessageProtobufSchema._rootTypeprotected ProtobufMessageProtobufField.messageTypeFor main type ofFieldType.MESSAGE, reference to actual message type definition.Methods in tools.jackson.dataformat.protobuf.schema that return ProtobufMessageModifier and TypeMethodDescriptionprotected ProtobufMessageTypeResolver._resolve(com.squareup.protoparser.MessageElement rawType) static ProtobufMessageProtobufMessage.bogusMessage(String desc) final ProtobufMessageProtobufField.getMessageType()ProtobufSchema.getRootType()Accessor for getting the defaultProtobufMessagetype that is usually the root type for this schema.static ProtobufMessageTypeResolver.resolve(Collection<com.squareup.protoparser.TypeElement> nativeTypes, com.squareup.protoparser.MessageElement rawType) Main entry method for public API, for resolving specific root-level type and other types it depends on.protected ProtobufMessageTypeResolver.resolve(TypeResolver parent, com.squareup.protoparser.MessageElement rawType) Methods in tools.jackson.dataformat.protobuf.schema with parameters of type ProtobufMessageModifier and TypeMethodDescriptionprotected voidTypeResolver.addResolvedMessageType(String name, ProtobufMessage toResolve) voidProtobufField.assignMessageType(ProtobufMessage msgType) Constructors in tools.jackson.dataformat.protobuf.schema with parameters of type ProtobufMessageModifierConstructorDescriptionprotectedProtobufField(com.squareup.protoparser.FieldElement nativeField, FieldType type, ProtobufMessage msg, ProtobufEnum et) ProtobufField(com.squareup.protoparser.FieldElement nativeField, ProtobufMessage msg) ProtobufSchema(NativeProtobufSchema src, ProtobufMessage rootType)