Class HealthProfileServiceSettings.Builder (0.4.0)

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

Builder for HealthProfileServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > HealthProfileServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(HealthProfileServiceSettings settings)

protected Builder(HealthProfileServiceSettings settings)
Parameter
Name Description
settings HealthProfileServiceSettings

Builder(HealthProfileServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>

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>