Class ConversationProfilesStubSettings.Builder (4.3.1)

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

Builder for ConversationProfilesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConversationProfilesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ConversationProfilesStubSettings settings)

protected Builder(ConversationProfilesStubSettings settings)
Parameter
NameDescription
settingsConversationProfilesStubSettings

Methods

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

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

build()

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

createConversationProfileSettings()

public UnaryCallSettings.Builder<CreateConversationProfileRequest,ConversationProfile> createConversationProfileSettings()

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

Returns
TypeDescription
Builder<CreateConversationProfileRequest,ConversationProfile>

deleteConversationProfileSettings()

public UnaryCallSettings.Builder<DeleteConversationProfileRequest,Empty> deleteConversationProfileSettings()

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

Returns
TypeDescription
Builder<DeleteConversationProfileRequest,Empty>

getConversationProfileSettings()

public UnaryCallSettings.Builder<GetConversationProfileRequest,ConversationProfile> getConversationProfileSettings()

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

Returns
TypeDescription
Builder<GetConversationProfileRequest,ConversationProfile>

listConversationProfilesSettings()

public PagedCallSettings.Builder<ListConversationProfilesRequest,ListConversationProfilesResponse,ConversationProfilesClient.ListConversationProfilesPagedResponse> listConversationProfilesSettings()

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

Returns
TypeDescription
Builder<ListConversationProfilesRequest,ListConversationProfilesResponse,ListConversationProfilesPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateConversationProfileSettings()

public UnaryCallSettings.Builder<UpdateConversationProfileRequest,ConversationProfile> updateConversationProfileSettings()

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

Returns
TypeDescription
Builder<UpdateConversationProfileRequest,ConversationProfile>