Class ConversationProfilesSettings.Builder (4.54.0)

public static class ConversationProfilesSettings.Builder extends ClientSettings.Builder<ConversationProfilesSettings,ConversationProfilesSettings.Builder>

Builder for ConversationProfilesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConversationProfilesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConversationProfilesSettings settings)

protected Builder(ConversationProfilesSettings settings)
Parameter
Name Description
settings ConversationProfilesSettings

Builder(ConversationProfilesStubSettings.Builder stubSettings)

protected Builder(ConversationProfilesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ConversationProfilesStubSettings.Builder

Methods

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

public ConversationProfilesSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ConversationProfilesSettings.Builder

build()

public ConversationProfilesSettings build()
Returns
Type Description
ConversationProfilesSettings
Overrides
Exceptions
Type Description
IOException

clearSuggestionFeatureConfigOperationSettings()

public OperationCallSettings.Builder<ClearSuggestionFeatureConfigRequest,ConversationProfile,ClearSuggestionFeatureConfigOperationMetadata> clearSuggestionFeatureConfigOperationSettings()

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

Returns
Type Description
Builder<ClearSuggestionFeatureConfigRequest,ConversationProfile,ClearSuggestionFeatureConfigOperationMetadata>

clearSuggestionFeatureConfigSettings()

public UnaryCallSettings.Builder<ClearSuggestionFeatureConfigRequest,Operation> clearSuggestionFeatureConfigSettings()

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

Returns
Type Description
Builder<ClearSuggestionFeatureConfigRequest,Operation>

createConversationProfileSettings()

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

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

Returns
Type Description
Builder<CreateConversationProfileRequest,ConversationProfile>

deleteConversationProfileSettings()

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

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

Returns
Type Description
Builder<DeleteConversationProfileRequest,Empty>

getConversationProfileSettings()

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

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

Returns
Type Description
Builder<GetConversationProfileRequest,ConversationProfile>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public ConversationProfilesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ConversationProfilesStubSettings.Builder

listConversationProfilesSettings()

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

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

Returns
Type Description
Builder<ListConversationProfilesRequest,ListConversationProfilesResponse,ListConversationProfilesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ConversationProfilesClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

setSuggestionFeatureConfigOperationSettings()

public OperationCallSettings.Builder<SetSuggestionFeatureConfigRequest,ConversationProfile,SetSuggestionFeatureConfigOperationMetadata> setSuggestionFeatureConfigOperationSettings()

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

Returns
Type Description
Builder<SetSuggestionFeatureConfigRequest,ConversationProfile,SetSuggestionFeatureConfigOperationMetadata>

setSuggestionFeatureConfigSettings()

public UnaryCallSettings.Builder<SetSuggestionFeatureConfigRequest,Operation> setSuggestionFeatureConfigSettings()

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

Returns
Type Description
Builder<SetSuggestionFeatureConfigRequest,Operation>

updateConversationProfileSettings()

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

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

Returns
Type Description
Builder<UpdateConversationProfileRequest,ConversationProfile>