Class ModelServiceStub (2.30.0)

public abstract class ModelServiceStub implements BackgroundResource

Base stub class for the ModelService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ModelServiceStub

Implements

BackgroundResource

Constructors

ModelServiceStub()

public ModelServiceStub()

Methods

close()

public abstract void close()

createModelCallable()

public UnaryCallable<CreateModelRequest,Operation> createModelCallable()
Returns
TypeDescription
UnaryCallable<CreateModelRequest,Operation>

createModelOperationCallable()

public OperationCallable<CreateModelRequest,Model,CreateModelMetadata> createModelOperationCallable()
Returns
TypeDescription
OperationCallable<CreateModelRequest,Model,CreateModelMetadata>

deleteModelCallable()

public UnaryCallable<DeleteModelRequest,Empty> deleteModelCallable()
Returns
TypeDescription
UnaryCallable<DeleteModelRequest,Empty>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
OperationsStub

getModelCallable()

public UnaryCallable<GetModelRequest,Model> getModelCallable()
Returns
TypeDescription
UnaryCallable<GetModelRequest,Model>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

listModelsCallable()

public UnaryCallable<ListModelsRequest,ListModelsResponse> listModelsCallable()
Returns
TypeDescription
UnaryCallable<ListModelsRequest,ListModelsResponse>

listModelsPagedCallable()

public UnaryCallable<ListModelsRequest,ModelServiceClient.ListModelsPagedResponse> listModelsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListModelsRequest,ListModelsPagedResponse>

pauseModelCallable()

public UnaryCallable<PauseModelRequest,Model> pauseModelCallable()
Returns
TypeDescription
UnaryCallable<PauseModelRequest,Model>

resumeModelCallable()

public UnaryCallable<ResumeModelRequest,Model> resumeModelCallable()
Returns
TypeDescription
UnaryCallable<ResumeModelRequest,Model>

tuneModelCallable()

public UnaryCallable<TuneModelRequest,Operation> tuneModelCallable()
Returns
TypeDescription
UnaryCallable<TuneModelRequest,Operation>

tuneModelOperationCallable()

public OperationCallable<TuneModelRequest,TuneModelResponse,TuneModelMetadata> tuneModelOperationCallable()
Returns
TypeDescription
OperationCallable<TuneModelRequest,TuneModelResponse,TuneModelMetadata>

updateModelCallable()

public UnaryCallable<UpdateModelRequest,Model> updateModelCallable()
Returns
TypeDescription
UnaryCallable<UpdateModelRequest,Model>