Package com.google.api.gax.rpc
Class EndpointContext
java.lang.Object
com.google.api.gax.rpc.EndpointContext
Contains the fields required to resolve the endpoint and Universe Domain
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringClientSettingsEndpoint is the endpoint value set via the ClientSettings/StubSettings classes.abstract Stringabstract MtlsProviderstatic EndpointContext.Builderabstract Stringabstract StringServiceName is host URI for Google Cloud Services.abstract booleanabstract EndpointContext.Builderabstract StringTransportChannelProviderEndpoint is the endpoint value set via the TransportChannelProvider class.abstract StringUniverse Domain is the domain for Google Cloud Services.abstract boolean
-
Constructor Details
-
EndpointContext
public EndpointContext()
-
-
Method Details
-
serviceName
ServiceName is host URI for Google Cloud Services. It follows the format of `{ServiceName}.googleapis.com`. For example, speech.googleapis.com would have a ServiceName of speech and cloudasset.googleapis.com would have a ServiceName of cloudasset. -
universeDomain
Universe Domain is the domain for Google Cloud Services. It follows the format of `{ServiceName}.{UniverseDomain}`. For example, speech.googleapis.com would have a Universe Domain value of `googleapis.com` and cloudasset.test.com would have a Universe Domain of `test.com`. If this value is not set, this will default to `googleapis.com`. -
clientSettingsEndpoint
ClientSettingsEndpoint is the endpoint value set via the ClientSettings/StubSettings classes. -
transportChannelProviderEndpoint
TransportChannelProviderEndpoint is the endpoint value set via the TransportChannelProvider class. -
mtlsEndpoint
-
switchToMtlsEndpointAllowed
public abstract boolean switchToMtlsEndpointAllowed() -
mtlsProvider
-
usingGDCH
public abstract boolean usingGDCH() -
resolvedEndpoint
-
toBuilder
-
newBuilder
-