Class GrpcPipelineServiceStub (3.35.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

Static Methods

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

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

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

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,PipelineServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides