GRPCMessage
public protocol GRPCMessage : MessageGRPCMessage is a protocol that is implemented by gRPC protocol buffer message structures that are generated by the code generator.
Every implementation is associated with a GRPCModel which can be used to instantiate a GRPCMessage that also offers a method that convertd the message to a model type.
 Implementations of this protocol also need to conform to the Message protocol provided by the SwiftProtobuf framework which includes all the necessary requirements to encode a GRPCMessage as a protocol buffer message.
- 
                  
                  Initializes a GRPCMessageusing an instance of the associated type. This initializer initializes the message’s attributes by mapping the model objects attributes. Its implementation is usually generated by the code generator.DeclarationSwift init(modelObject: ModelType)ParametersmodelObjectModelTypeinstance that provides the values for the message’s attributes.
- 
                  
                  Creates and returns an instance of the associated GRPCModelwith the messages attribute values mapped to the model instance.This method will instantiate the associated GRPCModelusing its empty initializer and map the message’s attribute to the attributes of the model instance. Its implementation is usually generated by the code generator.DeclarationSwift func toModel() -> ModelTypeReturn ValueAn instance of the associated GRPCModel
 View on GitHub
            View on GitHub
           GRPCMessage Protocol Reference
      GRPCMessage Protocol Reference