Class ProfileServiceStubSettings.Builder

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

Builder for ProfileServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ProfileServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ProfileServiceStubSettings settings)

protected Builder(ProfileServiceStubSettings settings)
Parameter
NameDescription
settingsProfileServiceStubSettings

Methods

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

public ProfileServiceStubSettings.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
TypeDescription
ProfileServiceStubSettings.Builder

build()

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

createProfileSettings()

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

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

Returns
TypeDescription
Builder<CreateProfileRequest,Profile>

deleteProfileSettings()

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

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

Returns
TypeDescription
Builder<DeleteProfileRequest,Empty>

getProfileSettings()

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

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

Returns
TypeDescription
Builder<GetProfileRequest,Profile>

listProfilesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<SearchProfilesRequest,SearchProfilesResponse,SearchProfilesPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateProfileRequest,Profile>