public static class ProfileServiceStubSettings.Builder extends StubSettings.Builder<ProfileServiceStubSettings,ProfileServiceStubSettings.Builder>
Builder for ProfileServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(ProfileServiceStubSettings settings)
protected Builder(ProfileServiceStubSettings settings)
Name | Description |
settings | ProfileServiceStubSettings |
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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
ProfileServiceStubSettings.Builder |
build()
public ProfileServiceStubSettings build()
Type | Description |
ProfileServiceStubSettings |
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> |
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> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateProfileSettings()
public UnaryCallSettings.Builder<UpdateProfileRequest,Profile> updateProfileSettings()
Returns the builder for the settings used for calls to updateProfile.
Type | Description |
Builder<UpdateProfileRequest,Profile> |