Skip to content

Commit 28adb31

Browse files
committed
add mtlsEndpoint to ClientSettings.
1 parent e880fbe commit 28adb31

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

gax-java/gax/src/main/java/com/google/api/gax/rpc/ClientSettings.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ public final String getEndpoint() {
103103
return stubSettings.getEndpoint();
104104
}
105105

106+
public final String getMtlsEndpoint() {
107+
return stubSettings.getMtlsEndpoint();
108+
}
109+
106110
public final String getQuotaProjectId() {
107111
return stubSettings.getQuotaProjectId();
108112
}
@@ -145,6 +149,7 @@ public String toString() {
145149
.add("clock", getClock())
146150
.add("universeDomain", getUniverseDomain())
147151
.add("endpoint", getEndpoint())
152+
.add("mtlsEndpoint", getMtlsEndpoint())
148153
.add("quotaProjectId", getQuotaProjectId())
149154
.add("watchdogProvider", getWatchdogProvider())
150155
.add("watchdogCheckInterval", getWatchdogCheckInterval())
@@ -272,6 +277,11 @@ public B setEndpoint(String endpoint) {
272277
return self();
273278
}
274279

280+
public B setMtlsEndpoint(String mtlsEndpoint) {
281+
stubSettings.setMtlsEndpoint(mtlsEndpoint);
282+
return self();
283+
}
284+
275285
public B setQuotaProjectId(String quotaProjectId) {
276286
stubSettings.setQuotaProjectId(quotaProjectId);
277287
return self();
@@ -375,6 +385,10 @@ public String getEndpoint() {
375385
return stubSettings.getEndpoint();
376386
}
377387

388+
public String getMtlsEndpoint() {
389+
return stubSettings.getMtlsEndpoint();
390+
}
391+
378392
/** Gets the QuotaProjectId that was previously set on this Builder. */
379393
public String getQuotaProjectId() {
380394
return stubSettings.getQuotaProjectId();
@@ -427,6 +441,7 @@ public String toString() {
427441
.add("internalHeaderProvider", getInternalHeaderProvider())
428442
.add("clock", getClock())
429443
.add("endpoint", getEndpoint())
444+
.add("mtlsEndpoint", getMtlsEndpoint())
430445
.add("quotaProjectId", getQuotaProjectId())
431446
.add("watchdogProvider", getWatchdogProvider())
432447
.add("watchdogCheckInterval", getWatchdogCheckIntervalDuration())

0 commit comments

Comments
 (0)