Class HostProjectRegistrationServiceSettings.Builder (0.1.0)

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

Builder for HostProjectRegistrationServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > HostProjectRegistrationServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(HostProjectRegistrationServiceSettings settings)

protected Builder(HostProjectRegistrationServiceSettings settings)
Parameter
Name Description
settings HostProjectRegistrationServiceSettings

Builder(HostProjectRegistrationServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createHostProjectRegistrationSettings()

public UnaryCallSettings.Builder<CreateHostProjectRegistrationRequest,HostProjectRegistration> createHostProjectRegistrationSettings()

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

Returns
Type Description
Builder<CreateHostProjectRegistrationRequest,HostProjectRegistration>

getHostProjectRegistrationSettings()

public UnaryCallSettings.Builder<GetHostProjectRegistrationRequest,HostProjectRegistration> getHostProjectRegistrationSettings()

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

Returns
Type Description
Builder<GetHostProjectRegistrationRequest,HostProjectRegistration>

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 HostProjectRegistrationServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
HostProjectRegistrationServiceStubSettings.Builder

listHostProjectRegistrationsSettings()

public PagedCallSettings.Builder<ListHostProjectRegistrationsRequest,ListHostProjectRegistrationsResponse,HostProjectRegistrationServiceClient.ListHostProjectRegistrationsPagedResponse> listHostProjectRegistrationsSettings()

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

Returns
Type Description
Builder<ListHostProjectRegistrationsRequest,ListHostProjectRegistrationsResponse,ListHostProjectRegistrationsPagedResponse>

listLocationsSettings()

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