Class ModelServiceStub
java.lang.Object
com.google.cloud.retail.v2alpha.stub.ModelServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcModelServiceStub,HttpJsonModelServiceStub
@BetaApi
@Generated("by gapic-generator-java")
public abstract class ModelServiceStub
extends Object
implements BackgroundResource
Base stub class for the ModelService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()UnaryCallable<DeleteModelRequest,com.google.protobuf.Empty> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Constructor Details
-
ModelServiceStub
public ModelServiceStub()
-
-
Method Details
-
getOperationsStub
-
getHttpJsonOperationsStub
-
createModelOperationCallable
public OperationCallable<CreateModelRequest,Model, createModelOperationCallable()CreateModelMetadata> -
createModelCallable
-
getModelCallable
-
pauseModelCallable
-
resumeModelCallable
-
deleteModelCallable
-
listModelsPagedCallable
public UnaryCallable<ListModelsRequest,ModelServiceClient.ListModelsPagedResponse> listModelsPagedCallable() -
listModelsCallable
-
updateModelCallable
-
tuneModelOperationCallable
public OperationCallable<TuneModelRequest,TuneModelResponse, tuneModelOperationCallable()TuneModelMetadata> -
tuneModelCallable
-
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-