UnaryCallSettings { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("retryableCodes", retryableCodes) .add("retrySettings", retrySettings) .toString(); } protected  UnaryCallSettings(Builder<RequestT, ResponseT> builder); final Set<StatusCode.Code> getRetryableCodes(); final RetrySettings getRetrySettings(); static Builder<RequestT, ResponseT> newUnaryCallSettingsBuilder(); Builder<RequestT, ResponseT> toBuilder(); @Override String toString();  }
@Test public void testToString() { RetrySettings retrySettings = RetrySettings.newBuilder().build(); Set<StatusCode.Code> retryableCodes = ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED); UnaryCallSettings unaryCallSettings = UnaryCallSettings.newUnaryCallSettingsBuilder() .setRetrySettings(retrySettings) .setRetryableCodes(retryableCodes) .build(); assertThat(unaryCallSettings.toString()).contains("retryableCodes=" + retryableCodes); assertThat(unaryCallSettings.toString()).contains("retrySettings=" + retrySettings); }