Class ModelServiceStub (2.46.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
Type Description
UnaryCallable<CreateModelRequest,Operation>

createModelOperationCallable()

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

deleteModelCallable()

public UnaryCallable<DeleteModelRequest,Empty> deleteModelCallable()
Returns
Type Description
UnaryCallable<DeleteModelRequest,Empty>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
OperationsStub

getModelCallable()

public UnaryCallable<GetModelRequest,Model> getModelCallable()
Returns
Type Description
UnaryCallable<GetModelRequest,Model>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
Type Description
OperationsStub

listModelsCallable()

public UnaryCallable<ListModelsRequest,ListModelsResponse> listModelsCallable()
Returns
Type Description
UnaryCallable<ListModelsRequest,ListModelsResponse>

listModelsPagedCallable()

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

pauseModelCallable()

public UnaryCallable<PauseModelRequest,Model> pauseModelCallable()
Returns
Type Description
UnaryCallable<PauseModelRequest,Model>

resumeModelCallable()

public UnaryCallable<ResumeModelRequest,Model> resumeModelCallable()
Returns
Type Description
UnaryCallable<ResumeModelRequest,Model>

tuneModelCallable()

public UnaryCallable<TuneModelRequest,Operation> tuneModelCallable()
Returns
Type Description
UnaryCallable<TuneModelRequest,Operation>

tuneModelOperationCallable()

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

updateModelCallable()

public UnaryCallable<UpdateModelRequest,Model> updateModelCallable()
Returns
Type Description
UnaryCallable<UpdateModelRequest,Model>