Class UserSerializer
java.lang.Object
com.inductiveautomation.ignition.gateway.gan.protoserializers.user.UserSerializer
- All Implemented Interfaces:
com.inductiveautomation.metro.api.ProtobufSerializable<User,
UserProto.UserPB>
public class UserSerializer
extends Object
implements com.inductiveautomation.metro.api.ProtobufSerializable<User,UserProto.UserPB>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromProtobufMessage
(com.google.protobuf.Message theMessage) toProtobufMessage
(User theUser)
-
Constructor Details
-
UserSerializer
public UserSerializer()
-
-
Method Details
-
getProtoMsgInstance
- Specified by:
getProtoMsgInstance
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<User,
UserProto.UserPB>
-
toProtobufMessage
- Specified by:
toProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<User,
UserProto.UserPB> - Throws:
ProtobufSerializationException
-
fromProtobufMessage
public User fromProtobufMessage(com.google.protobuf.Message theMessage) throws ProtobufDeserializationException - Specified by:
fromProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<User,
UserProto.UserPB> - Throws:
ProtobufDeserializationException
-