public static final class ConversationProfilesGrpc.ConversationProfilesFutureStub extends AbstractFutureStub<ConversationProfilesGrpc.ConversationProfilesFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ConversationProfiles.
Service for managing
ConversationProfiles.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
ConversationProfilesGrpc.ConversationProfilesFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected ConversationProfilesGrpc.ConversationProfilesFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request)
public ListenableFuture<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
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createConversationProfile(CreateConversationProfileRequest request)
public ListenableFuture<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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ConversationProfile> |
|
deleteConversationProfile(DeleteConversationProfileRequest request)
public ListenableFuture<Empty> deleteConversationProfile(DeleteConversationProfileRequest request)
Deletes the specified conversation profile.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getConversationProfile(GetConversationProfileRequest request)
public ListenableFuture<ConversationProfile> getConversationProfile(GetConversationProfileRequest request)
Retrieves the specified conversation profile.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ConversationProfile> |
|
listConversationProfiles(ListConversationProfilesRequest request)
public ListenableFuture<ListConversationProfilesResponse> listConversationProfiles(ListConversationProfilesRequest request)
Returns the list of all conversation profiles in the specified project.
setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request)
public ListenableFuture<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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateConversationProfile(UpdateConversationProfileRequest request)
public ListenableFuture<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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ConversationProfile> |
|