Class ConversationProfilesStubSettings.Builder (4.46.0)

See more code actions.
public static class ConversationProfilesStubSettings.Builder extends StubSettings.Builder<ConversationProfilesStubSettings,ConversationProfilesStubSettings.Builder>

Builder for ConversationProfilesStubSettings.

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConversationProfilesStubSettings settings)

protected Builder(ConversationProfilesStubSettings settings)
Parameter
Name Description
settings ConversationProfilesStubSettings

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

build()

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

clearSuggestionFeatureConfigOperationSettings()

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

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

clearSuggestionFeatureConfigSettings()

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

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

createConversationProfileSettings()

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

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

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.

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
Type Description
String
Overrides

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>

listConversationProfilesSettings()

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

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

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.

setSuggestionFeatureConfigSettings()

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

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

unaryMethodSettingsBuilders()

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

updateConversationProfileSettings()

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

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