ProtobufSchema to use for
reading/writing protobuf encoded content
| Modifier and Type | Field and Description |
|---|---|
| protected volatile String[] | |
| protected final String | |
| protected final Collection |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected MessageElement | |
| private String[] | |
| protected MessageElement | |
| public static NativeProtobufSchema | |
| public static NativeProtobufSchema | |
| public ProtobufSchema | forFirstType()
Factory method for constructing Jackson-digestible schema using the first Message type defined in the underlying native protobuf schema. |
| public ProtobufSchema | |
| public List | |
| public boolean | hasMessageType(String messageTypeName)
Method for checking whether specified message type is defined by the native schema |
| public String | |
| public String |
| _messageNames | back to summary |
|---|---|
| protected volatile String[] _messageNames | |
| _name | back to summary |
|---|---|
| protected final String _name | |
| _nativeTypes | back to summary |
|---|---|
| protected final Collection<TypeElement> _nativeTypes | |
| NativeProtobufSchema | back to summary |
|---|---|
| protected NativeProtobufSchema(ProtoFile input) | |
| NativeProtobufSchema | back to summary |
|---|---|
| protected NativeProtobufSchema(String name, Collection<TypeElement> types) | |
| _firstMessageType | back to summary |
|---|---|
| protected MessageElement _firstMessageType() | |
| _getMessageNames | back to summary |
|---|---|
| private String[] _getMessageNames() | |
| _messageType | back to summary |
|---|---|
| protected MessageElement _messageType(String name) | |
| construct | back to summary |
|---|---|
| public static NativeProtobufSchema construct(ProtoFile input) | |
| construct | back to summary |
|---|---|
| public static NativeProtobufSchema construct(String name, Collection<TypeElement> types) | |
| forFirstType | back to summary |
|---|---|
| public ProtobufSchema forFirstType() Factory method for constructing Jackson-digestible schema using the first Message type defined in the underlying native protobuf schema. | |
| forType | back to summary |
|---|---|
| public ProtobufSchema forType(String messageTypeName) Factory method for constructing Jackson-digestible schema using specified Message type from native protobuf schema. | |
| getMessageNames | back to summary |
|---|---|
| public List | |
| hasMessageType | back to summary |
|---|---|
| public boolean hasMessageType(String messageTypeName) Method for checking whether specified message type is defined by the native schema | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| toString | back to summary |
|---|---|
| public String toString(String name) | |