| Package | Description |
|---|---|
| ca.jeb.protobuf |
| Modifier and Type | Class and Description |
|---|---|
class |
ProtobufAnnotationException
Exception when raised during the serialization of Protobuf attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ProtobufSerializer.fromProtobuf(com.google.protobuf.Message protobuf,
Class<?> pojoClazz) |
Object |
IProtobufSerializer.fromProtobuf(com.google.protobuf.Message protoBuf,
Class<? extends Object> pojoClazz)
Implement the fromProtobuf method to set all ProtoBufAttributes
on the supplied POJO class.
|
com.google.protobuf.Message |
ProtobufSerializer.toProtobuf(Object pojo) |
com.google.protobuf.Message |
IProtobufSerializer.toProtobuf(Object pojo)
Implement the toProtobuf method that will convert this
object to a GeneratedMessage G.
|
Copyright © 2014. All rights reserved.