Uses of Class
tools.jackson.dataformat.protobuf.schema.ProtobufSchema
Packages that use ProtobufSchema
Package
Description
Contains functionality for generating internal Protobuf schema instances
from external protoc resources.
Contains functionality for generating Protobuf schema instances
from POJO definitions, instead of reading external protoc definitions.
-
Uses of ProtobufSchema in tools.jackson.dataformat.protobuf
Fields in tools.jackson.dataformat.protobuf declared as ProtobufSchemaModifier and TypeFieldDescriptionprotected final ProtobufSchemaProtobufGenerator._schemaprotected ProtobufSchemaProtobufParser._schemaMethods in tools.jackson.dataformat.protobuf that return ProtobufSchemaModifier and TypeMethodDescriptionProtobufMapper.generateSchemaFor(Class<?> type) Convenience method for constructing protoc definition that matches given Java type.ProtobufMapper.generateSchemaFor(tools.jackson.core.type.TypeReference<?> type) Convenience method for constructing protoc definition that matches given Java type.ProtobufMapper.generateSchemaFor(tools.jackson.databind.JavaType type) Convenience method for constructing protoc definition that matches given Java type.ProtobufGenerator.getSchema()ProtobufParser.getSchema()Methods in tools.jackson.dataformat.protobuf with parameters of type ProtobufSchemaConstructors in tools.jackson.dataformat.protobuf with parameters of type ProtobufSchemaModifierConstructorDescriptionProtobufGenerator(tools.jackson.core.ObjectWriteContext writeCtxt, tools.jackson.core.io.IOContext ioCtxt, int streamWriteFeatures, ProtobufSchema schema, OutputStream output) ProtobufParser(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.io.IOContext ioCtxt, int parserFeatures, ProtobufSchema schema, InputStream in, byte[] inputBuffer, int start, int end, boolean bufferRecyclable) -
Uses of ProtobufSchema in tools.jackson.dataformat.protobuf.schema
Methods in tools.jackson.dataformat.protobuf.schema that return ProtobufSchemaModifier and TypeMethodDescriptionNativeProtobufSchema.forFirstType()Factory method for constructing Jackson-digestible schema using the first Message type defined in the underlying native protobuf schema.Factory method for constructing Jackson-digestible schema using specified Message type from native protobuf schema.ProtobufSchemaLoader.load(InputStream in) Method for loading and parsing a protoc definition from given stream, assuming UTF-8 encoding.ProtobufSchemaLoader.load(InputStream in, String rootTypeName) Method for loading and parsing a protoc definition from given stream, assuming UTF-8 encoding.Method for parsing given protoc schema definition, constructing schema object Jackson can use.FileDescriptorSet.schemaForFirstType()ProtobufSchema.withRootType(String typeName) Method that can be called to choose different root type (of types defined in protoc); a new schema instance will be constructed if type is different from current root type. -
Uses of ProtobufSchema in tools.jackson.dataformat.protobuf.schemagen
Methods in tools.jackson.dataformat.protobuf.schemagen that return ProtobufSchemaModifier and TypeMethodDescriptionProtobufSchemaGenerator.getGeneratedSchema()ProtobufSchemaGenerator.getGeneratedSchema(boolean appendDependencies)