You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 14, 2026. It is now read-only.
Investigate the impact of changing ClientConext's getEndpoint() on downstream Handwritten Libraries #2295
to be the resolved endpoint from the EndpointContext may break downstream handwritten libraries.
If there is no impact, try to change the value.
If there is impact and ClientContext needs to return the resolvedEndpoint, look into exposing a few field to return
ClientContext's getEndpoint() returns the StubSettings' getEndpoint() value which is the resolved endpoint. When data is passed between ClientContext and StubSettings, all the the endpoint information is passed between the two. StubSettings will recreated the EndpointContext with the original values so any user configurations will not be lost.
Going to close this issue as this was done in #2715
Modifying this value:
sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/rpc/ClientContext.java
Line 259 in 2cb0f9e
to be the resolved endpoint from the EndpointContext may break downstream handwritten libraries.
If there is no impact, try to change the value.
If there is impact and ClientContext needs to return the resolvedEndpoint, look into exposing a few field to return