@BetaApi @Generated(value="by gapic-generator-java") public class GrpcConversationHistoryStub extends ConversationHistoryStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcConversationHistoryStub(ConversationHistoryStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcConversationHistoryStub, using the given settings.
|
protected |
GrpcConversationHistoryStub(ConversationHistoryStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConversationHistoryStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcConversationHistoryStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcConversationHistoryStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcConversationHistoryStub |
create(ConversationHistoryStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<DeleteConversationRequest,com.google.protobuf.Empty> |
deleteConversationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetConversationRequest,Conversation> |
getConversationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListConversationsRequest,ListConversationsResponse> |
listConversationsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListConversationsRequest,ConversationHistoryClient.ListConversationsPagedResponse> |
listConversationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ConversationHistoryClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcConversationHistoryStub(ConversationHistoryStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcConversationHistoryStub(ConversationHistoryStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcConversationHistoryStub create(ConversationHistoryStubSettings settings) throws IOException
IOExceptionpublic static final GrpcConversationHistoryStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcConversationHistoryStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ListConversationsRequest,ListConversationsResponse> listConversationsCallable()
listConversationsCallable in class ConversationHistoryStubpublic com.google.api.gax.rpc.UnaryCallable<ListConversationsRequest,ConversationHistoryClient.ListConversationsPagedResponse> listConversationsPagedCallable()
listConversationsPagedCallable in class ConversationHistoryStubpublic com.google.api.gax.rpc.UnaryCallable<GetConversationRequest,Conversation> getConversationCallable()
getConversationCallable in class ConversationHistoryStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteConversationRequest,com.google.protobuf.Empty> deleteConversationCallable()
deleteConversationCallable in class ConversationHistoryStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class ConversationHistoryStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ConversationHistoryClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class ConversationHistoryStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class ConversationHistoryStubpublic final void close()
close in interface AutoCloseableclose in class ConversationHistoryStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.