public class HttpJsonCloudBuildStub extends CloudBuildStub
REST 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 HttpJsonCloudBuildStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonCloudBuildStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonCloudBuildStub create(CloudBuildStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonCloudBuildStub(CloudBuildStubSettings settings, ClientContext clientContext)
protected HttpJsonCloudBuildStub(CloudBuildStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonCloudBuildStub, 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.
HttpJsonCloudBuildStub(CloudBuildStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonCloudBuildStub(CloudBuildStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCloudBuildStub, 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 HttpJsonOperationsStub getHttpJsonOperationsStub()
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