## Uses of Class
com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchema

- Packages that use ProtobufSchema
  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.

- - ### Uses of ProtobufSchema in com.fasterxml.jackson.dataformat.protobuf

    Fields in com.fasterxml.jackson.dataformat.protobuf declared as ProtobufSchema
    Modifier and Type | Field and Description
    --- | ---
    `protected ProtobufSchema` | ProtobufParser.`_schema`
    `protected ProtobufSchema` | ProtobufGenerator.`_schema`

    Methods in com.fasterxml.jackson.dataformat.protobuf that return ProtobufSchema
    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()`

    Methods in com.fasterxml.jackson.dataformat.protobuf with parameters of type ProtobufSchema
    Modifier and Type | Method and Description
    --- | ---
    `void` | ProtobufParser.`setSchema(ProtobufSchema schema)`
    `void` | ProtobufGenerator.`setSchema(ProtobufSchema schema)`

  - ### Uses of ProtobufSchema in com.fasterxml.jackson.dataformat.protobuf.schema

    Methods in com.fasterxml.jackson.dataformat.protobuf.schema that return ProtobufSchema
    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.

  - ### Uses of ProtobufSchema in com.fasterxml.jackson.dataformat.protobuf.schemagen

    Methods in com.fasterxml.jackson.dataformat.protobuf.schemagen that return ProtobufSchema
    Modifier and Type | Method and Description
    --- | ---
    `ProtobufSchema` | ProtobufSchemaGenerator.`getGeneratedSchema()`
    `ProtobufSchema` | ProtobufSchemaGenerator.`getGeneratedSchema(boolean appendDependencies)`

Copyright © 2017 FasterXML. All rights reserved.