Copy CallOptions.
(CallOptions other)
| 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() { |
no outgoing calls
no test coverage detected