@Generated(value="by gapic-generator-java") public class GrpcConversationModelsStub extends ConversationModelsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcConversationModelsStub(ConversationModelsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcConversationModelsStub, using the given settings.
|
protected |
GrpcConversationModelsStub(ConversationModelsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConversationModelsStub, using the given settings.
|
getHttpJsonOperationsStub
protected GrpcConversationModelsStub(ConversationModelsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcConversationModelsStub(ConversationModelsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcConversationModelsStub create(ConversationModelsStubSettings settings) throws IOException
IOException
public static final GrpcConversationModelsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcConversationModelsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
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.