code: public static StatusRuntimeException toStatusRuntimeException(com.google.rpc.Status statusProto) {
      return toStatus(statusProto).asRuntimeException(toMetadata(statusProto));
    }
docs: Convert a {@link com.google.rpc.Status} instance to a {@link StatusRuntimeException}.
  
  <p>The returned {@link StatusRuntimeException} will wrap a {@link Status} whose code and
  description are set from the code and message in {@code statusProto}. {@code statusProto} will
  be serialized and placed into the metadata of the returned {@link StatusRuntimeException}.
  
  @throws IllegalArgumentException if the value of {@code statusProto.getCode()} is not a valid
  gRPC status code.
  @since 1.3.0