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
NameDescription
clientContextClientContext

Builder(ProfileServiceSettings settings)

protected Builder(ProfileServiceSettings settings)
Parameter
NameDescription
settingsProfileServiceSettings

Builder(ProfileServiceStubSettings.Builder stubSettings)

protected Builder(ProfileServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsProfileServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns

build()

public ProfileServiceSettings build()
Returns
TypeDescription
ProfileServiceSettings
Overrides Exceptions
TypeDescription
IOException

createProfileSettings()

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

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

Returns

deleteProfileSettings()

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

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

Returns

getProfileSettings()

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

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

Returns

getStubSettingsBuilder()

public ProfileServiceStubSettings.Builder getStubSettingsBuilder()
Returns

listProfilesSettings()

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

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

Returns

searchProfilesSettings()

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

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

Returns

updateProfileSettings()

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

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

Returns