Class AppTopologySettings.Builder (0.3.0)

public static class AppTopologySettings.Builder extends ClientSettings.Builder<AppTopologySettings,AppTopologySettings.Builder>

Builder for AppTopologySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AppTopologySettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(AppTopologySettings settings)

protected Builder(AppTopologySettings settings)
Parameter
Name Description
settings AppTopologySettings

Builder(AppTopologyStubSettings.Builder stubSettings)

protected Builder(AppTopologyStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AppTopologyStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AppTopologySettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AppTopologySettings.Builder

build()

public AppTopologySettings build()
Returns
Type Description
AppTopologySettings
Overrides
Exceptions
Type Description
IOException

generateDiscoveredResourcesTopologySettings()

public UnaryCallSettings.Builder<GenerateDiscoveredResourcesTopologyRequest,GenerateDiscoveredResourcesTopologyResponse> generateDiscoveredResourcesTopologySettings()

Returns the builder for the settings used for calls to generateDiscoveredResourcesTopology.

Returns
Type Description
Builder<GenerateDiscoveredResourcesTopologyRequest,GenerateDiscoveredResourcesTopologyResponse>

getDomainSettings()

public UnaryCallSettings.Builder<GetDomainRequest,Domain> getDomainSettings()

Returns the builder for the settings used for calls to getDomain.

Returns
Type Description
Builder<GetDomainRequest,Domain>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getSchemaSettings()

public UnaryCallSettings.Builder<GetSchemaRequest,Schema> getSchemaSettings()

Returns the builder for the settings used for calls to getSchema.

Returns
Type Description
Builder<GetSchemaRequest,Schema>

getStubSettingsBuilder()

public AppTopologyStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AppTopologyStubSettings.Builder

listDomainsSettings()

public PagedCallSettings.Builder<ListDomainsRequest,ListDomainsResponse,AppTopologyClient.ListDomainsPagedResponse> listDomainsSettings()

Returns the builder for the settings used for calls to listDomains.

Returns
Type Description
Builder<ListDomainsRequest,ListDomainsResponse,ListDomainsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AppTopologyClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>