Skip to content

Commit 7e36d1a

Browse files
committed
mark new public APIs as internal-only.
1 parent 812799b commit 7e36d1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ public boolean needsEndpoint() {
260260
return endpoint == null;
261261
}
262262

263+
@InternalApi("This public method is used by Gax to help configure the MTLS endpoint for S2A")
263264
@Override
264265
public boolean needsMtlsEndpoint() {
265266
return mtlsEndpoint == null;
@@ -288,6 +289,7 @@ public TransportChannelProvider withEndpoint(String endpoint) {
288289
* @return A new {@link InstantiatingGrpcChannelProvider} with the specified mTLS endpoint
289290
* configured
290291
*/
292+
@InternalApi("This public method is used by Gax to help configure the MTLS endpoint for S2A")
291293
@Override
292294
public TransportChannelProvider withMtlsEndpoint(String mtlsEndpoint) {
293295
validateEndpoint(mtlsEndpoint);
@@ -950,6 +952,7 @@ public Builder setEndpoint(String endpoint) {
950952
}
951953

952954
/** Sets the mTLS Endpoint used to reach the service, eg "localhost:8080". */
955+
@InternalApi("This public method is used by Gax to help configure the MTLS endpoint for S2A")
953956
public Builder setMtlsEndpoint(String mtlsEndpoint) {
954957
validateEndpoint(mtlsEndpoint);
955958
this.mtlsEndpoint = mtlsEndpoint;

0 commit comments

Comments
 (0)