Class ProfileServiceSettings.Builder (2.2.9)

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

Builder for ProfileServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ProfileServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProfileServiceSettings settings)

protected Builder(ProfileServiceSettings settings)
Parameter
Name Description
settings ProfileServiceSettings

Builder(ProfileServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createProfileSettings()

public UnaryCallSettings.Builder<CreateProfileRequest,Profile> createProfileSettings()

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

Returns
Type Description
Builder<CreateProfileRequest,Profile>

deleteProfileSettings()

public UnaryCallSettings.Builder<DeleteProfileRequest,Empty> deleteProfileSettings()

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

Returns
Type Description
Builder<DeleteProfileRequest,Empty>

getProfileSettings()

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

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

Returns
Type Description
Builder<GetProfileRequest,Profile>

getStubSettingsBuilder()

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

listProfilesSettings()

public PagedCallSettings.Builder<ListProfilesRequest,ListProfilesResponse,ProfileServiceClient.ListProfilesPagedResponse> listProfilesSettings()

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

Returns
Type Description
Builder<ListProfilesRequest,ListProfilesResponse,ListProfilesPagedResponse>

searchProfilesSettings()

public PagedCallSettings.Builder<SearchProfilesRequest,SearchProfilesResponse,ProfileServiceClient.SearchProfilesPagedResponse> searchProfilesSettings()

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

Returns
Type Description
Builder<SearchProfilesRequest,SearchProfilesResponse,SearchProfilesPagedResponse>

updateProfileSettings()

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

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

Returns
Type Description
Builder<UpdateProfileRequest,Profile>