Class ProvisioningSettings.Builder (0.1.0)

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

Builder for ProvisioningSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ProvisioningSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProvisioningSettings settings)

protected Builder(ProvisioningSettings settings)
Parameter
Name Description
settings ProvisioningSettings

Builder(ProvisioningStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public ProvisioningSettings build()
Returns
Type Description
ProvisioningSettings
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>

getStubSettingsBuilder()

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

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>