Class GrpcDataChatServiceStub
java.lang.Object
com.google.cloud.geminidataanalytics.v1beta.stub.DataChatServiceStub
com.google.cloud.geminidataanalytics.v1beta.stub.GrpcDataChatServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcDataChatServiceStub
extends DataChatServiceStub
gRPC stub implementation for the DataChatService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcDataChatServiceStub(DataChatServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcDataChatServiceStub, using the given settings.protectedGrpcDataChatServiceStub(DataChatServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcDataChatServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcDataChatServiceStubcreate(ClientContext clientContext) static final GrpcDataChatServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcDataChatServiceStubcreate(DataChatServiceStubSettings settings) UnaryCallable<DeleteConversationRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcDataChatServiceStub
protected GrpcDataChatServiceStub(DataChatServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcDataChatServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcDataChatServiceStub
protected GrpcDataChatServiceStub(DataChatServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcDataChatServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcDataChatServiceStub create(DataChatServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcDataChatServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
chatCallable
- Overrides:
chatCallablein classDataChatServiceStub
-
createConversationCallable
- Overrides:
createConversationCallablein classDataChatServiceStub
-
deleteConversationCallable
public UnaryCallable<DeleteConversationRequest,com.google.protobuf.Empty> deleteConversationCallable()- Overrides:
deleteConversationCallablein classDataChatServiceStub
-
getConversationCallable
- Overrides:
getConversationCallablein classDataChatServiceStub
-
listConversationsCallable
public UnaryCallable<ListConversationsRequest,ListConversationsResponse> listConversationsCallable()- Overrides:
listConversationsCallablein classDataChatServiceStub
-
listConversationsPagedCallable
public UnaryCallable<ListConversationsRequest,DataChatServiceClient.ListConversationsPagedResponse> listConversationsPagedCallable()- Overrides:
listConversationsPagedCallablein classDataChatServiceStub
-
listMessagesCallable
- Overrides:
listMessagesCallablein classDataChatServiceStub
-
listMessagesPagedCallable
public UnaryCallable<ListMessagesRequest,DataChatServiceClient.ListMessagesPagedResponse> listMessagesPagedCallable()- Overrides:
listMessagesPagedCallablein classDataChatServiceStub
-
queryDataCallable
- Overrides:
queryDataCallablein classDataChatServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classDataChatServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,DataChatServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classDataChatServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classDataChatServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDataChatServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-