| Modifier and Type | Field and Description |
|---|---|
| protected TypeElementBuilder | _builder
When visiting Object (Record) types, Enums, Arrays, we get this type builder. |
| protected final DefinedTypeElementBuilders | |
| protected boolean | |
| protected DataType | _simpleType
When visiting simple scalar types, we'll get this assigned |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ProtoBufSchemaVisitor(SerializationContext provider, DefinedTypeElementBuilders defBuilders, boolean isNested)
|
| Modifier and Type | Method and Description |
|---|---|
| protected <T> T | |
| protected <T> T | |
| public TypeElement | |
| public Set | |
| public JsonAnyFormatVisitor | |
| public JsonArrayFormatVisitor | |
| public JsonBooleanFormatVisitor | |
| public JsonIntegerFormatVisitor | |
| public JsonMapFormatVisitor | expectMapFormat(JavaType mapType)
Overrides tools. Implements tools. Method called when type is of Java |
| public JsonNullFormatVisitor | |
| public JsonNumberFormatVisitor | |
| public JsonObjectFormatVisitor | |
| public JsonStringFormatVisitor | |
| public DataType |
| _builder | back to summary |
|---|---|
| protected TypeElementBuilder _builder When visiting Object (Record) types, Enums, Arrays, we get this type builder. | |
| _definedTypeElementBuilders | back to summary |
|---|---|
| protected final DefinedTypeElementBuilders _definedTypeElementBuilders | |
| _isNested | back to summary |
|---|---|
| protected boolean _isNested | |
| _simpleType | back to summary |
|---|---|
| protected DataType _simpleType When visiting simple scalar types, we'll get this assigned | |
| ProtoBufSchemaVisitor | back to summary |
|---|---|
| protected ProtoBufSchemaVisitor() | |
| ProtoBufSchemaVisitor | back to summary |
|---|---|
| public ProtoBufSchemaVisitor(SerializationContext provider, DefinedTypeElementBuilders defBuilders, boolean isNested) | |
| _throwUnsupported | back to summary |
|---|---|
| protected <T> T _throwUnsupported() | |
| _throwUnsupported | back to summary |
|---|---|
| protected <T> T _throwUnsupported(String msg) | |
| build | back to summary |
|---|---|
| public TypeElement build() Implements tools.
| |
| buildWithDependencies | back to summary |
|---|---|
| public Set | |
| expectAnyFormat | back to summary |
|---|---|
| public JsonAnyFormatVisitor expectAnyFormat(JavaType convertedType) Overrides tools. Implements tools.
| |
| expectArrayFormat | back to summary |
|---|---|
| public JsonArrayFormatVisitor expectArrayFormat(JavaType type) Overrides tools. Implements tools.
| |
| expectBooleanFormat | back to summary |
|---|---|
| public JsonBooleanFormatVisitor expectBooleanFormat(JavaType convertedType) Overrides tools. Implements tools.
| |
| expectIntegerFormat | back to summary |
|---|---|
| public JsonIntegerFormatVisitor expectIntegerFormat(JavaType type) Overrides tools. Implements tools.
| |
| expectMapFormat | back to summary |
|---|---|
| public JsonMapFormatVisitor expectMapFormat(JavaType mapType) Overrides tools. Implements tools. Doc from tools. Method called when type is of Java
| |
| expectNullFormat | back to summary |
|---|---|
| public JsonNullFormatVisitor expectNullFormat(JavaType convertedType) Overrides tools. Implements tools.
| |
| expectNumberFormat | back to summary |
|---|---|
| public JsonNumberFormatVisitor expectNumberFormat(JavaType type) Overrides tools. Implements tools.
| |
| expectObjectFormat | back to summary |
|---|---|
| public JsonObjectFormatVisitor expectObjectFormat(JavaType type) Overrides tools. Implements tools.
| |
| expectStringFormat | back to summary |
|---|---|
| public JsonStringFormatVisitor expectStringFormat(JavaType type) Overrides tools. Implements tools.
| |
| getSimpleType | back to summary |
|---|---|
| public DataType getSimpleType() | |