@Generated(value="by gapic-generator-java") public class GrpcConversationDatasetsStub extends ConversationDatasetsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcConversationDatasetsStub(ConversationDatasetsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcConversationDatasetsStub, using the given settings.
|
protected |
GrpcConversationDatasetsStub(ConversationDatasetsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConversationDatasetsStub, using the given settings.
|
getHttpJsonOperationsStub
protected GrpcConversationDatasetsStub(ConversationDatasetsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcConversationDatasetsStub(ConversationDatasetsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcConversationDatasetsStub create(ConversationDatasetsStubSettings settings) throws IOException
IOException
public static final GrpcConversationDatasetsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcConversationDatasetsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class ConversationDatasetsStub
public UnaryCallable<CreateConversationDatasetRequest,Operation> createConversationDatasetCallable()
createConversationDatasetCallable
in class ConversationDatasetsStub
public OperationCallable<CreateConversationDatasetRequest,ConversationDataset,CreateConversationDatasetOperationMetadata> createConversationDatasetOperationCallable()
createConversationDatasetOperationCallable
in class ConversationDatasetsStub
public UnaryCallable<GetConversationDatasetRequest,ConversationDataset> getConversationDatasetCallable()
getConversationDatasetCallable
in class ConversationDatasetsStub
public UnaryCallable<ListConversationDatasetsRequest,ListConversationDatasetsResponse> listConversationDatasetsCallable()
listConversationDatasetsCallable
in class ConversationDatasetsStub
public UnaryCallable<ListConversationDatasetsRequest,ConversationDatasetsClient.ListConversationDatasetsPagedResponse> listConversationDatasetsPagedCallable()
listConversationDatasetsPagedCallable
in class ConversationDatasetsStub
public UnaryCallable<DeleteConversationDatasetRequest,Operation> deleteConversationDatasetCallable()
deleteConversationDatasetCallable
in class ConversationDatasetsStub
public OperationCallable<DeleteConversationDatasetRequest,Empty,DeleteConversationDatasetOperationMetadata> deleteConversationDatasetOperationCallable()
deleteConversationDatasetOperationCallable
in class ConversationDatasetsStub
public UnaryCallable<ImportConversationDataRequest,Operation> importConversationDataCallable()
importConversationDataCallable
in class ConversationDatasetsStub
public OperationCallable<ImportConversationDataRequest,ImportConversationDataOperationResponse,ImportConversationDataOperationMetadata> importConversationDataOperationCallable()
importConversationDataOperationCallable
in class ConversationDatasetsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class ConversationDatasetsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,ConversationDatasetsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class ConversationDatasetsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class ConversationDatasetsStub
public final void close()
close
in interface AutoCloseable
close
in class ConversationDatasetsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.