Class HostProjectRegistrationServiceStubSettings.Builder (0.4.0)

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

Builder for HostProjectRegistrationServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > HostProjectRegistrationServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(HostProjectRegistrationServiceStubSettings settings)

protected Builder(HostProjectRegistrationServiceStubSettings settings)
Parameter
Name Description
settings HostProjectRegistrationServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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