Class GrpcMessage


  • public class GrpcMessage
    extends Object
    A generic gRPC message

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<GrpcMessage> __TYPE_ARG
    • Constructor Detail

      • GrpcMessage

        public GrpcMessage​(GrpcMessage delegate)
      • GrpcMessage

        public GrpcMessage​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • message

        public static GrpcMessage message​(String encoding,
                                          WireFormat format,
                                          Buffer payload)
        Parameters:
        encoding -
        format -
        payload -
        Returns:
        a new message
      • message

        public static GrpcMessage message​(String encoding,
                                          Buffer payload)
        Parameters:
        encoding -
        payload -
        Returns:
        a new message in proto format
      • encoding

        public String encoding()
        Returns:
        the message encoding
      • format

        public WireFormat format()
        Returns:
        the message format
      • payload

        public Buffer payload()
        Returns:
        the message payload, usually in Protobuf format encoded in the encoding() format