Package com.google.cloud.dialogflow.v2
Class ConversationProfilesGrpc.ConversationProfilesBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ConversationProfilesGrpc.ConversationProfilesBlockingV2Stub>
com.google.cloud.dialogflow.v2.ConversationProfilesGrpc.ConversationProfilesBlockingV2Stub
- Enclosing class:
- ConversationProfilesGrpc
public static final class ConversationProfilesGrpc.ConversationProfilesBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ConversationProfilesGrpc.ConversationProfilesBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service ConversationProfiles.
Service for managing [ConversationProfiles][google.cloud.dialogflow.v2.ConversationProfile].
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Clears a suggestion feature from a conversation profile for the given participant role.Creates a conversation profile in the specified project.com.google.protobuf.EmptyDeletes the specified conversation profile.Retrieves the specified conversation profile.Returns the list of all conversation profiles in the specified project.Adds or updates a suggestion feature in a conversation profile.Updates the specified conversation profile.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ConversationProfilesGrpc.ConversationProfilesBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ConversationProfilesGrpc.ConversationProfilesBlockingV2Stub>
-
listConversationProfiles
public ListConversationProfilesResponse listConversationProfiles(ListConversationProfilesRequest request) throws io.grpc.StatusException Returns the list of all conversation profiles in the specified project.
- Throws:
io.grpc.StatusException
-
getConversationProfile
public ConversationProfile getConversationProfile(GetConversationProfileRequest request) throws io.grpc.StatusException Retrieves the specified conversation profile.
- Throws:
io.grpc.StatusException
-
createConversationProfile
public ConversationProfile createConversationProfile(CreateConversationProfileRequest request) throws io.grpc.StatusException Creates a conversation profile in the specified project. [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] and [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.
- Throws:
io.grpc.StatusException
-
updateConversationProfile
public ConversationProfile updateConversationProfile(UpdateConversationProfileRequest request) throws io.grpc.StatusException Updates the specified conversation profile. [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] and [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.
- Throws:
io.grpc.StatusException
-
deleteConversationProfile
public com.google.protobuf.Empty deleteConversationProfile(DeleteConversationProfileRequest request) throws io.grpc.StatusException Deletes the specified conversation profile.
- Throws:
io.grpc.StatusException
-
setSuggestionFeatureConfig
public Operation setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request) throws io.grpc.StatusException 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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.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.
- Throws:
io.grpc.StatusException
-
clearSuggestionFeatureConfig
public Operation clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request) throws io.grpc.StatusException Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]
- Throws:
io.grpc.StatusException
-