Class ConversationProfilesGrpc.ConversationProfilesBlockingStub (4.40.0)

public static final class ConversationProfilesGrpc.ConversationProfilesBlockingStub extends AbstractBlockingStub<ConversationProfilesGrpc.ConversationProfilesBlockingStub>

A stub to allow clients to do synchronous rpc calls to service ConversationProfiles.

Service for managing ConversationProfiles.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ConversationProfilesGrpc.ConversationProfilesBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ConversationProfilesGrpc.ConversationProfilesBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ConversationProfilesGrpc.ConversationProfilesBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request)

public Operation clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request)

Clears a suggestion feature from a conversation profile for the given participant role. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: ClearSuggestionFeatureConfigOperationMetadata
  • response: ConversationProfile
Parameter
Name Description
request ClearSuggestionFeatureConfigRequest
Returns
Type Description
Operation

createConversationProfile(CreateConversationProfileRequest request)

public ConversationProfile createConversationProfile(CreateConversationProfileRequest request)

Creates a conversation profile in the specified project. [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via GetConversationProfile API.

Parameter
Name Description
request CreateConversationProfileRequest
Returns
Type Description
ConversationProfile

deleteConversationProfile(DeleteConversationProfileRequest request)

public Empty deleteConversationProfile(DeleteConversationProfileRequest request)

Deletes the specified conversation profile.

Parameter
Name Description
request DeleteConversationProfileRequest
Returns
Type Description
Empty

getConversationProfile(GetConversationProfileRequest request)

public ConversationProfile getConversationProfile(GetConversationProfileRequest request)

Retrieves the specified conversation profile.

Parameter
Name Description
request GetConversationProfileRequest
Returns
Type Description
ConversationProfile

listConversationProfiles(ListConversationProfilesRequest request)

public ListConversationProfilesResponse listConversationProfiles(ListConversationProfilesRequest request)

Returns the list of all conversation profiles in the specified project.

Parameter
Name Description
request ListConversationProfilesRequest
Returns
Type Description
ListConversationProfilesResponse

setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request)

public Operation setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request)

Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: SetSuggestionFeatureConfigOperationMetadata
  • response: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.
Parameter
Name Description
request SetSuggestionFeatureConfigRequest
Returns
Type Description
Operation

updateConversationProfile(UpdateConversationProfileRequest request)

public ConversationProfile updateConversationProfile(UpdateConversationProfileRequest request)

Updates the specified conversation profile. [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via GetConversationProfile API.

Parameter
Name Description
request UpdateConversationProfileRequest
Returns
Type Description
ConversationProfile