public static class ProfileServiceSettings.Builder extends ClientSettings.Builder<ProfileServiceSettings,ProfileServiceSettings.Builder>
Builder for ProfileServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(ProfileServiceSettings settings)
protected Builder(ProfileServiceSettings settings)
Name | Description |
settings | ProfileServiceSettings |
Builder(ProfileServiceStubSettings.Builder stubSettings)
protected Builder(ProfileServiceStubSettings.Builder stubSettings)
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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
ProfileServiceSettings.Builder |
build()
public ProfileServiceSettings build()
Type | Description |
ProfileServiceSettings |
Type | Description |
IOException |
createProfileSettings()
public UnaryCallSettings.Builder<CreateProfileRequest,Profile> createProfileSettings()
Returns the builder for the settings used for calls to createProfile.
Type | Description |
Builder<CreateProfileRequest,Profile> |
deleteProfileSettings()
public UnaryCallSettings.Builder<DeleteProfileRequest,Empty> deleteProfileSettings()
Returns the builder for the settings used for calls to deleteProfile.
Type | Description |
Builder<DeleteProfileRequest,Empty> |
getProfileSettings()
public UnaryCallSettings.Builder<GetProfileRequest,Profile> getProfileSettings()
Returns the builder for the settings used for calls to getProfile.
Type | Description |
Builder<GetProfileRequest,Profile> |
getStubSettingsBuilder()
public ProfileServiceStubSettings.Builder getStubSettingsBuilder()
Type | Description |
ProfileServiceStubSettings.Builder |
listProfilesSettings()
public PagedCallSettings.Builder<ListProfilesRequest,ListProfilesResponse,ProfileServiceClient.ListProfilesPagedResponse> listProfilesSettings()
Returns the builder for the settings used for calls to listProfiles.
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.
Type | Description |
Builder<SearchProfilesRequest,SearchProfilesResponse,SearchProfilesPagedResponse> |
updateProfileSettings()
public UnaryCallSettings.Builder<UpdateProfileRequest,Profile> updateProfileSettings()
Returns the builder for the settings used for calls to updateProfile.
Type | Description |
Builder<UpdateProfileRequest,Profile> |