Interface GrpcResponse


@Immutable public interface GrpcResponse
A gRPC response.
Since:
1.59.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    The unframed gRPC response protobuf message bytes, stripped of the length / compression prefix, and decompressed.
    The response gRPC status code.
    A string description of the status.
  • Method Details

    • getStatusCode

      GrpcStatusCode getStatusCode()
      The response gRPC status code.
    • getStatusDescription

      @Nullable String getStatusDescription()
      A string description of the status.
    • getResponseMessage

      byte[] getResponseMessage()
      The unframed gRPC response protobuf message bytes, stripped of the length / compression prefix, and decompressed. The resulting bytes are deserialized to an in-memory representation of the protobuf message without any additional context.