Class ProvisioningStubSettings.Builder (0.8.0)

public static class ProvisioningStubSettings.Builder extends StubSettings.Builder<ProvisioningStubSettings,ProvisioningStubSettings.Builder>

Builder for ProvisioningStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ProvisioningStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProvisioningStubSettings settings)

protected Builder(ProvisioningStubSettings settings)
Parameter
Name Description
settings ProvisioningStubSettings

Methods

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

public ProvisioningStubSettings.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
ProvisioningStubSettings.Builder

build()

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

createApiHubInstanceOperationSettings()

public OperationCallSettings.Builder<CreateApiHubInstanceRequest,ApiHubInstance,OperationMetadata> createApiHubInstanceOperationSettings()

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

Returns
Type Description
Builder<CreateApiHubInstanceRequest,ApiHubInstance,OperationMetadata>

createApiHubInstanceSettings()

public UnaryCallSettings.Builder<CreateApiHubInstanceRequest,Operation> createApiHubInstanceSettings()

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

Returns
Type Description
Builder<CreateApiHubInstanceRequest,Operation>

getApiHubInstanceSettings()

public UnaryCallSettings.Builder<GetApiHubInstanceRequest,ApiHubInstance> getApiHubInstanceSettings()

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

Returns
Type Description
Builder<GetApiHubInstanceRequest,ApiHubInstance>

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>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ProvisioningClient.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>

lookupApiHubInstanceSettings()

public UnaryCallSettings.Builder<LookupApiHubInstanceRequest,LookupApiHubInstanceResponse> lookupApiHubInstanceSettings()

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

Returns
Type Description
Builder<LookupApiHubInstanceRequest,LookupApiHubInstanceResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>