public interface ProtobufSerDe<T>
ProtobufSerDe used to represent the API for serialize and deserialize of
 Protobuf data related to UI. The subclass should implement this trait and
 register itself to org.apache.spark.status.protobuf.ProtobufSerDe so that
 KVStoreProtobufSerializer can use ServiceLoader to load and use them.
 | Modifier and Type | Method and Description | 
|---|---|
| T | deserialize(byte[] bytes)Deserialize the input  Array[Byte]to an object of the
 typeT. | 
| byte[] | serialize(T input)Serialize the input data of the type  TtoArray[Byte]. | 
T deserialize(byte[] bytes)
Array[Byte] to an object of the
 type T.bytes - (undocumented)byte[] serialize(T input)
T to Array[Byte].input - (undocumented)