Class ConversationProfilesGrpc.ConversationProfilesStub (4.3.1)

public static final class ConversationProfilesGrpc.ConversationProfilesStub extends AbstractAsyncStub<ConversationProfilesGrpc.ConversationProfilesStub>

Service for managing ConversationProfiles.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ConversationProfilesGrpc.ConversationProfilesStub

Methods

build(Channel channel, CallOptions callOptions)

protected ConversationProfilesGrpc.ConversationProfilesStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ConversationProfilesGrpc.ConversationProfilesStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createConversationProfile(CreateConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

public void createConversationProfile(CreateConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

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.

Parameters
NameDescription
requestCreateConversationProfileRequest
responseObserverio.grpc.stub.StreamObserver<ConversationProfile>

deleteConversationProfile(DeleteConversationProfileRequest request, StreamObserver<Empty> responseObserver)

public void deleteConversationProfile(DeleteConversationProfileRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified conversation profile.

Parameters
NameDescription
requestDeleteConversationProfileRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getConversationProfile(GetConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

public void getConversationProfile(GetConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

Retrieves the specified conversation profile.

Parameters
NameDescription
requestGetConversationProfileRequest
responseObserverio.grpc.stub.StreamObserver<ConversationProfile>

listConversationProfiles(ListConversationProfilesRequest request, StreamObserver<ListConversationProfilesResponse> responseObserver)

public void listConversationProfiles(ListConversationProfilesRequest request, StreamObserver<ListConversationProfilesResponse> responseObserver)

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

Parameters
NameDescription
requestListConversationProfilesRequest
responseObserverio.grpc.stub.StreamObserver<ListConversationProfilesResponse>

updateConversationProfile(UpdateConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

public void updateConversationProfile(UpdateConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

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

Parameters
NameDescription
requestUpdateConversationProfileRequest
responseObserverio.grpc.stub.StreamObserver<ConversationProfile>