@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonConversationDatasetsStub extends ConversationDatasetsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonConversationDatasetsStub(ConversationDatasetsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonConversationDatasetsStub, using the given settings.
|
protected |
HttpJsonConversationDatasetsStub(ConversationDatasetsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonConversationDatasetsStub, using the given settings.
|
getOperationsStub
protected HttpJsonConversationDatasetsStub(ConversationDatasetsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonConversationDatasetsStub(ConversationDatasetsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonConversationDatasetsStub create(ConversationDatasetsStubSettings settings) throws IOException
IOException
public static final HttpJsonConversationDatasetsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonConversationDatasetsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
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.