io.vertx.rxjava.grpc.common

## Class GrpcMessage

- java.lang.Object
- - io.vertx.rxjava.grpc.common.GrpcMessage

- All Implemented Interfaces:
    io.vertx.lang.rx.RxDelegate

      public class GrpcMessage
      extends Object
      implements io.vertx.lang.rx.RxDelegate

  A generic gRPC message

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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<GrpcMessage>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GrpcMessage(GrpcMessage delegate)`
    `GrpcMessage(Object delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `encoding()`
    `boolean` | `equals(Object o)`
    `GrpcMessage` | `getDelegate()`
    `int` | `hashCode()`
    `static GrpcMessage` | `message(String encoding, Buffer payload)`
    `static GrpcMessage` | `newInstance(GrpcMessage arg)`
    `Buffer` | `payload()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### 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

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public GrpcMessage getDelegate()

      Specified by:
        `getDelegate` in interface `io.vertx.lang.rx.RxDelegate`

    - #### message

          public static GrpcMessage message(String encoding,
                                            Buffer payload)

      Parameters:
        `encoding` -
        `payload` -
      Returns:
        a new message

    - #### encoding

          public String encoding()

      Returns:
        the message encoding

    - #### payload

          public Buffer payload()

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

    - #### newInstance

          public static GrpcMessage newInstance(GrpcMessage arg)

Copyright © 2025 Eclipse. All rights reserved.