@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonConversationModelsStub extends ConversationModelsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonConversationModelsStub(ConversationModelsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonConversationModelsStub, using the given settings.
|
protected |
HttpJsonConversationModelsStub(ConversationModelsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonConversationModelsStub, using the given settings.
|
getOperationsStub
protected HttpJsonConversationModelsStub(ConversationModelsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonConversationModelsStub(ConversationModelsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonConversationModelsStub create(ConversationModelsStubSettings settings) throws IOException
IOException
public static final HttpJsonConversationModelsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonConversationModelsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
in class ConversationModelsStub
public UnaryCallable<CreateConversationModelRequest,Operation> createConversationModelCallable()
createConversationModelCallable
in class ConversationModelsStub
public OperationCallable<CreateConversationModelRequest,ConversationModel,CreateConversationModelOperationMetadata> createConversationModelOperationCallable()
createConversationModelOperationCallable
in class ConversationModelsStub
public UnaryCallable<GetConversationModelRequest,ConversationModel> getConversationModelCallable()
getConversationModelCallable
in class ConversationModelsStub
public UnaryCallable<ListConversationModelsRequest,ListConversationModelsResponse> listConversationModelsCallable()
listConversationModelsCallable
in class ConversationModelsStub
public UnaryCallable<ListConversationModelsRequest,ConversationModelsClient.ListConversationModelsPagedResponse> listConversationModelsPagedCallable()
listConversationModelsPagedCallable
in class ConversationModelsStub
public UnaryCallable<DeleteConversationModelRequest,Operation> deleteConversationModelCallable()
deleteConversationModelCallable
in class ConversationModelsStub
public OperationCallable<DeleteConversationModelRequest,Empty,DeleteConversationModelOperationMetadata> deleteConversationModelOperationCallable()
deleteConversationModelOperationCallable
in class ConversationModelsStub
public UnaryCallable<DeployConversationModelRequest,Operation> deployConversationModelCallable()
deployConversationModelCallable
in class ConversationModelsStub
public OperationCallable<DeployConversationModelRequest,Empty,DeployConversationModelOperationMetadata> deployConversationModelOperationCallable()
deployConversationModelOperationCallable
in class ConversationModelsStub
public UnaryCallable<UndeployConversationModelRequest,Operation> undeployConversationModelCallable()
undeployConversationModelCallable
in class ConversationModelsStub
public OperationCallable<UndeployConversationModelRequest,Empty,UndeployConversationModelOperationMetadata> undeployConversationModelOperationCallable()
undeployConversationModelOperationCallable
in class ConversationModelsStub
public UnaryCallable<GetConversationModelEvaluationRequest,ConversationModelEvaluation> getConversationModelEvaluationCallable()
getConversationModelEvaluationCallable
in class ConversationModelsStub
public UnaryCallable<ListConversationModelEvaluationsRequest,ListConversationModelEvaluationsResponse> listConversationModelEvaluationsCallable()
listConversationModelEvaluationsCallable
in class ConversationModelsStub
public UnaryCallable<ListConversationModelEvaluationsRequest,ConversationModelsClient.ListConversationModelEvaluationsPagedResponse> listConversationModelEvaluationsPagedCallable()
listConversationModelEvaluationsPagedCallable
in class ConversationModelsStub
public UnaryCallable<CreateConversationModelEvaluationRequest,Operation> createConversationModelEvaluationCallable()
createConversationModelEvaluationCallable
in class ConversationModelsStub
public OperationCallable<CreateConversationModelEvaluationRequest,ConversationModelEvaluation,CreateConversationModelEvaluationOperationMetadata> createConversationModelEvaluationOperationCallable()
createConversationModelEvaluationOperationCallable
in class ConversationModelsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class ConversationModelsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,ConversationModelsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class ConversationModelsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class ConversationModelsStub
public final void close()
close
in interface AutoCloseable
close
in class ConversationModelsStub
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.