public class GrpcConversationDatasetsStub extends ConversationDatasetsStub
gRPC stub implementation for the ConversationDatasets service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcConversationDatasetsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcConversationDatasetsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ConversationDatasetsStubSettings settings)
public static final GrpcConversationDatasetsStub create(ConversationDatasetsStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcConversationDatasetsStub(ConversationDatasetsStubSettings settings, ClientContext clientContext)
protected GrpcConversationDatasetsStub(ConversationDatasetsStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcConversationDatasetsStub, 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.
Parameters
GrpcConversationDatasetsStub(ConversationDatasetsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcConversationDatasetsStub(ConversationDatasetsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConversationDatasetsStub, 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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createConversationDatasetCallable()
public UnaryCallable<CreateConversationDatasetRequest,Operation> createConversationDatasetCallable()
Returns
Overrides
createConversationDatasetOperationCallable()
public OperationCallable<CreateConversationDatasetRequest,ConversationDataset,CreateConversationDatasetOperationMetadata> createConversationDatasetOperationCallable()
Returns
Overrides
deleteConversationDatasetCallable()
public UnaryCallable<DeleteConversationDatasetRequest,Operation> deleteConversationDatasetCallable()
Returns
Overrides
deleteConversationDatasetOperationCallable()
public OperationCallable<DeleteConversationDatasetRequest,Empty,DeleteConversationDatasetOperationMetadata> deleteConversationDatasetOperationCallable()
Returns
Overrides
getConversationDatasetCallable()
public UnaryCallable<GetConversationDatasetRequest,ConversationDataset> getConversationDatasetCallable()
Returns
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
importConversationDataCallable()
public UnaryCallable<ImportConversationDataRequest,Operation> importConversationDataCallable()
Returns
Overrides
importConversationDataOperationCallable()
public OperationCallable<ImportConversationDataRequest,ImportConversationDataOperationResponse,ImportConversationDataOperationMetadata> importConversationDataOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listConversationDatasetsCallable()
public UnaryCallable<ListConversationDatasetsRequest,ListConversationDatasetsResponse> listConversationDatasetsCallable()
Returns
Overrides
listConversationDatasetsPagedCallable()
public UnaryCallable<ListConversationDatasetsRequest,ConversationDatasetsClient.ListConversationDatasetsPagedResponse> listConversationDatasetsPagedCallable()
Returns
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ConversationDatasetsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()