code: @ExperimentalApi("https://github.com/grpc/grpc-java/issues/2563")
    public CallOptions withMaxOutboundMessageSize(int maxSize) {
      checkArgument(maxSize >= 0, "invalid maxsize %s", maxSize);
      CallOptions newOptions = new CallOptions(this);
      newOptions.maxOutboundMessageSize = maxSize;
      return newOptions;
    }
docs: Sets the maximum allowed message size acceptable sent to the remote peer.