Class HealthProfileServiceStubSettings.Builder (0.2.0)

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

Builder for HealthProfileServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > HealthProfileServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(HealthProfileServiceStubSettings settings)

protected Builder(HealthProfileServiceStubSettings settings)
Parameter
Name Description
settings HealthProfileServiceStubSettings

Methods

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

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

build()

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

getIdentitySettings()

public UnaryCallSettings.Builder<GetIdentityRequest,Identity> getIdentitySettings()

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

Returns
Type Description
Builder<GetIdentityRequest,Identity>

getIrnProfileSettings()

public UnaryCallSettings.Builder<GetIrnProfileRequest,IrnProfile> getIrnProfileSettings()

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

Returns
Type Description
Builder<GetIrnProfileRequest,IrnProfile>

getPairedDeviceSettings()

public UnaryCallSettings.Builder<GetPairedDeviceRequest,PairedDevice> getPairedDeviceSettings()

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

Returns
Type Description
Builder<GetPairedDeviceRequest,PairedDevice>

getProfileSettings()

public UnaryCallSettings.Builder<GetProfileRequest,Profile> getProfileSettings()

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

Returns
Type Description
Builder<GetProfileRequest,Profile>

getSettingsSettings()

public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()

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

Returns
Type Description
Builder<GetSettingsRequest,Settings>

listPairedDevicesSettings()

public PagedCallSettings.Builder<ListPairedDevicesRequest,ListPairedDevicesResponse,HealthProfileServiceClient.ListPairedDevicesPagedResponse> listPairedDevicesSettings()

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

Returns
Type Description
Builder<ListPairedDevicesRequest,ListPairedDevicesResponse,ListPairedDevicesPagedResponse>

unaryMethodSettingsBuilders()

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

updateProfileSettings()

public UnaryCallSettings.Builder<UpdateProfileRequest,Profile> updateProfileSettings()

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

Returns
Type Description
Builder<UpdateProfileRequest,Profile>

updateSettingsSettings()

public UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()

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

Returns
Type Description
Builder<UpdateSettingsRequest,Settings>