| Package | Description | 
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | |
| com.fasterxml.jackson.dataformat.protobuf.schema | Contains functionality for generating internal Protobuf schema instances
 from external protoc resources. | 
| com.fasterxml.jackson.dataformat.protobuf.schemagen | Contains functionality for generating Protobuf schema instances
 from POJO definitions, instead of reading external protoc definitions. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ProtobufSchema | ProtobufParser. _schema | 
| protected ProtobufSchema | ProtobufGenerator. _schema | 
| Modifier and Type | Method and Description | 
|---|---|
| ProtobufSchema | ProtobufMapper. generateSchemaFor(Class<?> type)Convenience method for constructing protoc definition that matches
 given Java type. | 
| ProtobufSchema | ProtobufMapper. generateSchemaFor(com.fasterxml.jackson.databind.JavaType type)Convenience method for constructing protoc definition that matches
 given Java type. | 
| ProtobufSchema | ProtobufParser. getSchema() | 
| ProtobufSchema | ProtobufGenerator. getSchema() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ProtobufParser. setSchema(ProtobufSchema schema) | 
| void | ProtobufGenerator. setSchema(ProtobufSchema schema) | 
| Modifier and Type | Method and Description | 
|---|---|
| ProtobufSchema | NativeProtobufSchema. forFirstType()Factory method for constructing Jackson-digestible schema using the first
 Message type defined in the underlying native protobuf schema. | 
| ProtobufSchema | NativeProtobufSchema. forType(String messageTypeName)Factory method for constructing Jackson-digestible schema using specified Message type
 from native protobuf schema. | 
| ProtobufSchema | ProtobufSchemaLoader. load(File f) | 
| ProtobufSchema | ProtobufSchemaLoader. load(File f,
    String rootTypeName) | 
| ProtobufSchema | ProtobufSchemaLoader. load(InputStream in)Method for loading and parsing a protoc definition from given
 stream, assuming UTF-8 encoding. | 
| ProtobufSchema | ProtobufSchemaLoader. load(InputStream in,
    String rootTypeName) | 
| ProtobufSchema | ProtobufSchemaLoader. load(Reader r)Method for loading and parsing a protoc definition from given
 stream, assuming UTF-8 encoding. | 
| ProtobufSchema | ProtobufSchemaLoader. load(Reader r,
    String rootTypeName) | 
| ProtobufSchema | ProtobufSchemaLoader. load(URL url) | 
| ProtobufSchema | ProtobufSchemaLoader. load(URL url,
    String rootTypeName) | 
| ProtobufSchema | ProtobufSchemaLoader. parse(String schemaAsString)Method for parsing given protoc schema definition, constructing
 schema object Jackson can use. | 
| ProtobufSchema | ProtobufSchemaLoader. parse(String schemaAsString,
     String rootTypeName) | 
| ProtobufSchema | FileDescriptorSet. schemaFor(String rootTypeName) | 
| ProtobufSchema | FileDescriptorSet. schemaForFirstType() | 
| ProtobufSchema | 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| ProtobufSchema | ProtobufSchemaGenerator. getGeneratedSchema() | 
| ProtobufSchema | ProtobufSchemaGenerator. getGeneratedSchema(boolean appendDependencies) | 
Copyright © 2017 FasterXML. All rights reserved.