public class GrpcCloudBuildStub extends CloudBuildStub
gRPC stub implementation for the CloudBuild service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcCloudBuildStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcCloudBuildStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcCloudBuildStub create(CloudBuildStubSettings settings)
Constructors
GrpcCloudBuildStub(CloudBuildStubSettings settings, ClientContext clientContext)
protected GrpcCloudBuildStub(CloudBuildStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcCloudBuildStub, 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.
GrpcCloudBuildStub(CloudBuildStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcCloudBuildStub(CloudBuildStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCloudBuildStub, 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.
Methods
public UnaryCallable<ApproveBuildRequest,Operation> approveBuildCallable()
Overrides
public OperationCallable<ApproveBuildRequest,Build,BuildOperationMetadata> approveBuildOperationCallable()
Overrides
public boolean awaitTermination(long duration, TimeUnit unit)
public UnaryCallable<CancelBuildRequest,Build> cancelBuildCallable()
Overrides
public final void close()
Overrides
public UnaryCallable<CreateBuildRequest,Operation> createBuildCallable()
Overrides
public OperationCallable<CreateBuildRequest,Build,BuildOperationMetadata> createBuildOperationCallable()
Overrides
public UnaryCallable<CreateBuildTriggerRequest,BuildTrigger> createBuildTriggerCallable()
Overrides
public UnaryCallable<CreateWorkerPoolRequest,Operation> createWorkerPoolCallable()
Overrides
public OperationCallable<CreateWorkerPoolRequest,WorkerPool,CreateWorkerPoolOperationMetadata> createWorkerPoolOperationCallable()
Overrides
public UnaryCallable<DeleteBuildTriggerRequest,Empty> deleteBuildTriggerCallable()
Overrides
public UnaryCallable<DeleteWorkerPoolRequest,Operation> deleteWorkerPoolCallable()
Overrides
public OperationCallable<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata> deleteWorkerPoolOperationCallable()
Overrides
public UnaryCallable<GetBuildRequest,Build> getBuildCallable()
Overrides
public UnaryCallable<GetBuildTriggerRequest,BuildTrigger> getBuildTriggerCallable()
Overrides
public GrpcOperationsStub getOperationsStub()
Overrides
public UnaryCallable<GetWorkerPoolRequest,WorkerPool> getWorkerPoolCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListBuildTriggersRequest,ListBuildTriggersResponse> listBuildTriggersCallable()
Overrides
listBuildTriggersPagedCallable()
public UnaryCallable<ListBuildTriggersRequest,CloudBuildClient.ListBuildTriggersPagedResponse> listBuildTriggersPagedCallable()
Overrides
public UnaryCallable<ListBuildsRequest,ListBuildsResponse> listBuildsCallable()
Overrides
listBuildsPagedCallable()
public UnaryCallable<ListBuildsRequest,CloudBuildClient.ListBuildsPagedResponse> listBuildsPagedCallable()
Overrides
public UnaryCallable<ListWorkerPoolsRequest,ListWorkerPoolsResponse> listWorkerPoolsCallable()
Overrides
listWorkerPoolsPagedCallable()
public UnaryCallable<ListWorkerPoolsRequest,CloudBuildClient.ListWorkerPoolsPagedResponse> listWorkerPoolsPagedCallable()
Overrides
public UnaryCallable<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> receiveTriggerWebhookCallable()
Overrides
public UnaryCallable<RetryBuildRequest,Operation> retryBuildCallable()
Overrides
public OperationCallable<RetryBuildRequest,Build,BuildOperationMetadata> retryBuildOperationCallable()
Overrides
public UnaryCallable<RunBuildTriggerRequest,Operation> runBuildTriggerCallable()
Overrides
public OperationCallable<RunBuildTriggerRequest,Build,BuildOperationMetadata> runBuildTriggerOperationCallable()
Overrides
public void shutdownNow()
public UnaryCallable<UpdateBuildTriggerRequest,BuildTrigger> updateBuildTriggerCallable()
Overrides
public UnaryCallable<UpdateWorkerPoolRequest,Operation> updateWorkerPoolCallable()
Overrides
public OperationCallable<UpdateWorkerPoolRequest,WorkerPool,UpdateWorkerPoolOperationMetadata> updateWorkerPoolOperationCallable()
Overrides