Class GrpcPipelineServiceStub (2.4.0)

public class GrpcPipelineServiceStub extends PipelineServiceStub

gRPC stub implementation for the PipelineService service API.

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

Inheritance

java.lang.Object > PipelineServiceStub > GrpcPipelineServiceStub

Constructors

GrpcPipelineServiceStub(PipelineServiceStubSettings settings, ClientContext clientContext)

protected GrpcPipelineServiceStub(PipelineServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcPipelineServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsPipelineServiceStubSettings
clientContextClientContext

GrpcPipelineServiceStub(PipelineServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcPipelineServiceStub(PipelineServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcPipelineServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsPipelineServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelPipelineJobCallable()

public UnaryCallable<CancelPipelineJobRequest,Empty> cancelPipelineJobCallable()
Returns
TypeDescription
UnaryCallable<CancelPipelineJobRequest,Empty>
Overrides

cancelTrainingPipelineCallable()

public UnaryCallable<CancelTrainingPipelineRequest,Empty> cancelTrainingPipelineCallable()
Returns
TypeDescription
UnaryCallable<CancelTrainingPipelineRequest,Empty>
Overrides

close()

public final void close()
Overrides

create(ClientContext clientContext)

public static final GrpcPipelineServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcPipelineServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcPipelineServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcPipelineServiceStub
Exceptions
TypeDescription
IOException

create(PipelineServiceStubSettings settings)

public static final GrpcPipelineServiceStub create(PipelineServiceStubSettings settings)
Parameter
NameDescription
settingsPipelineServiceStubSettings
Returns
TypeDescription
GrpcPipelineServiceStub
Exceptions
TypeDescription
IOException

createPipelineJobCallable()

public UnaryCallable<CreatePipelineJobRequest,PipelineJob> createPipelineJobCallable()
Returns
TypeDescription
UnaryCallable<CreatePipelineJobRequest,PipelineJob>
Overrides

createTrainingPipelineCallable()

public UnaryCallable<CreateTrainingPipelineRequest,TrainingPipeline> createTrainingPipelineCallable()
Returns
TypeDescription
UnaryCallable<CreateTrainingPipelineRequest,TrainingPipeline>
Overrides

deletePipelineJobCallable()

public UnaryCallable<DeletePipelineJobRequest,Operation> deletePipelineJobCallable()
Returns
TypeDescription
UnaryCallable<DeletePipelineJobRequest,Operation>
Overrides

deletePipelineJobOperationCallable()

public OperationCallable<DeletePipelineJobRequest,Empty,DeleteOperationMetadata> deletePipelineJobOperationCallable()
Returns
TypeDescription
OperationCallable<DeletePipelineJobRequest,Empty,DeleteOperationMetadata>
Overrides

deleteTrainingPipelineCallable()

public UnaryCallable<DeleteTrainingPipelineRequest,Operation> deleteTrainingPipelineCallable()
Returns
TypeDescription
UnaryCallable<DeleteTrainingPipelineRequest,Operation>
Overrides

deleteTrainingPipelineOperationCallable()

public OperationCallable<DeleteTrainingPipelineRequest,Empty,DeleteOperationMetadata> deleteTrainingPipelineOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteTrainingPipelineRequest,Empty,DeleteOperationMetadata>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getPipelineJobCallable()

public UnaryCallable<GetPipelineJobRequest,PipelineJob> getPipelineJobCallable()
Returns
TypeDescription
UnaryCallable<GetPipelineJobRequest,PipelineJob>
Overrides

getTrainingPipelineCallable()

public UnaryCallable<GetTrainingPipelineRequest,TrainingPipeline> getTrainingPipelineCallable()
Returns
TypeDescription
UnaryCallable<GetTrainingPipelineRequest,TrainingPipeline>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listPipelineJobsCallable()

public UnaryCallable<ListPipelineJobsRequest,ListPipelineJobsResponse> listPipelineJobsCallable()
Returns
TypeDescription
UnaryCallable<ListPipelineJobsRequest,ListPipelineJobsResponse>
Overrides

listPipelineJobsPagedCallable()

public UnaryCallable<ListPipelineJobsRequest,PipelineServiceClient.ListPipelineJobsPagedResponse> listPipelineJobsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPipelineJobsRequest,ListPipelineJobsPagedResponse>
Overrides

listTrainingPipelinesCallable()

public UnaryCallable<ListTrainingPipelinesRequest,ListTrainingPipelinesResponse> listTrainingPipelinesCallable()
Returns
TypeDescription
UnaryCallable<ListTrainingPipelinesRequest,ListTrainingPipelinesResponse>
Overrides

listTrainingPipelinesPagedCallable()

public UnaryCallable<ListTrainingPipelinesRequest,PipelineServiceClient.ListTrainingPipelinesPagedResponse> listTrainingPipelinesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTrainingPipelinesRequest,ListTrainingPipelinesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()