Package | Description |
---|---|
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 | Class and Description |
---|---|
class |
EnumElementVisitor |
class |
MessageElementVisitor |
class |
ProtobufSchemaGenerator
Class that can generate a
ProtobufSchema for a given Java POJO, using
definitions Jackson would use for serialization. |
class |
ProtoBufSchemaVisitor |
Modifier and Type | Field and Description |
---|---|
protected TypeElementBuilder |
ProtoBufSchemaVisitor._builder
When visiting Object (Record) types, Enums, Arrays, we get
this type builder.
|
Modifier and Type | Field and Description |
---|---|
protected Map<com.fasterxml.jackson.databind.JavaType,TypeElementBuilder> |
DefinedTypeElementBuilders._definedTypeElementBuilders |
Modifier and Type | Method and Description |
---|---|
TypeElementBuilder |
DefinedTypeElementBuilders.getBuilderFor(com.fasterxml.jackson.databind.JavaType type) |
Modifier and Type | Method and Description |
---|---|
Set<TypeElementBuilder> |
DefinedTypeElementBuilders.getAllBuilders() |
protected HashSet<TypeElementBuilder> |
DefinedTypeElementBuilders.getAllBuildersFor(Collection<com.fasterxml.jackson.databind.JavaType> types) |
Set<TypeElementBuilder> |
DefinedTypeElementBuilders.getAllNestedBuilders() |
Set<TypeElementBuilder> |
DefinedTypeElementBuilders.getDependencyBuilders() |
Set<TypeElementBuilder> |
DefinedTypeElementBuilders.getNonNestedBuilders() |
Set<TypeElementBuilder> |
DefinedTypeElementBuilders.getNonNestedBuilders(boolean excludeRoot) |
Modifier and Type | Method and Description |
---|---|
void |
DefinedTypeElementBuilders.addTypeElement(com.fasterxml.jackson.databind.JavaType type,
TypeElementBuilder builder,
boolean isNested) |
Copyright © 2022 FasterXML. All rights reserved.