MCPcopy Create free account
hub / github.com/grpc/grpc-java / toBuilder

Method toBuilder

api/src/main/java/io/grpc/CallOptions.java:510–524  ·  view source on GitHub ↗

Copy CallOptions.

(CallOptions other)

Source from the content-addressed store, hash-verified

508 * Copy CallOptions.
509 */
510 private static Builder toBuilder(CallOptions other) {
511 Builder builder = new Builder();
512 builder.deadline = other.deadline;
513 builder.executor = other.executor;
514 builder.authority = other.authority;
515 builder.credentials = other.credentials;
516 builder.compressorName = other.compressorName;
517 builder.customOptions = other.customOptions;
518 builder.streamTracerFactories = other.streamTracerFactories;
519 builder.waitForReady = other.waitForReady;
520 builder.maxInboundMessageSize = other.maxInboundMessageSize;
521 builder.maxOutboundMessageSize = other.maxOutboundMessageSize;
522 builder.onReadyThreshold = other.onReadyThreshold;
523 return builder;
524 }
525
526 @Override
527 public String toString() {

Callers 13

withAuthorityMethod · 0.95
withCallCredentialsMethod · 0.95
withCompressionMethod · 0.95
withDeadlineMethod · 0.95
withWaitForReadyMethod · 0.95
withoutWaitForReadyMethod · 0.95
withOnReadyThresholdMethod · 0.95
clearOnReadyThresholdMethod · 0.95
withExecutorMethod · 0.95
withOptionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected