- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
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)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonCloudBuildStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonCloudBuildStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonCloudBuildStub |
Type | Description |
IOException |
create(CloudBuildStubSettings settings)
public static final HttpJsonCloudBuildStub create(CloudBuildStubSettings settings)
Name | Description |
settings | CloudBuildStubSettings |
Type | Description |
HttpJsonCloudBuildStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
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.
Name | Description |
settings | CloudBuildStubSettings |
clientContext | ClientContext |
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.
Name | Description |
settings | CloudBuildStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
approveBuildCallable()
public UnaryCallable<ApproveBuildRequest,Operation> approveBuildCallable()
Type | Description |
UnaryCallable<ApproveBuildRequest,Operation> |
approveBuildOperationCallable()
public OperationCallable<ApproveBuildRequest,Build,BuildOperationMetadata> approveBuildOperationCallable()
Type | Description |
OperationCallable<ApproveBuildRequest,Build,BuildOperationMetadata> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
cancelBuildCallable()
public UnaryCallable<CancelBuildRequest,Build> cancelBuildCallable()
Type | Description |
UnaryCallable<CancelBuildRequest,Build> |
close()
public final void close()
createBuildCallable()
public UnaryCallable<CreateBuildRequest,Operation> createBuildCallable()
Type | Description |
UnaryCallable<CreateBuildRequest,Operation> |
createBuildOperationCallable()
public OperationCallable<CreateBuildRequest,Build,BuildOperationMetadata> createBuildOperationCallable()
Type | Description |
OperationCallable<CreateBuildRequest,Build,BuildOperationMetadata> |
createBuildTriggerCallable()
public UnaryCallable<CreateBuildTriggerRequest,BuildTrigger> createBuildTriggerCallable()
Type | Description |
UnaryCallable<CreateBuildTriggerRequest,BuildTrigger> |
createWorkerPoolCallable()
public UnaryCallable<CreateWorkerPoolRequest,Operation> createWorkerPoolCallable()
Type | Description |
UnaryCallable<CreateWorkerPoolRequest,Operation> |
createWorkerPoolOperationCallable()
public OperationCallable<CreateWorkerPoolRequest,WorkerPool,CreateWorkerPoolOperationMetadata> createWorkerPoolOperationCallable()
Type | Description |
OperationCallable<CreateWorkerPoolRequest,WorkerPool,CreateWorkerPoolOperationMetadata> |
deleteBuildTriggerCallable()
public UnaryCallable<DeleteBuildTriggerRequest,Empty> deleteBuildTriggerCallable()
Type | Description |
UnaryCallable<DeleteBuildTriggerRequest,Empty> |
deleteWorkerPoolCallable()
public UnaryCallable<DeleteWorkerPoolRequest,Operation> deleteWorkerPoolCallable()
Type | Description |
UnaryCallable<DeleteWorkerPoolRequest,Operation> |
deleteWorkerPoolOperationCallable()
public OperationCallable<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata> deleteWorkerPoolOperationCallable()
Type | Description |
OperationCallable<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata> |
getBuildCallable()
public UnaryCallable<GetBuildRequest,Build> getBuildCallable()
Type | Description |
UnaryCallable<GetBuildRequest,Build> |
getBuildTriggerCallable()
public UnaryCallable<GetBuildTriggerRequest,BuildTrigger> getBuildTriggerCallable()
Type | Description |
UnaryCallable<GetBuildTriggerRequest,BuildTrigger> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
getWorkerPoolCallable()
public UnaryCallable<GetWorkerPoolRequest,WorkerPool> getWorkerPoolCallable()
Type | Description |
UnaryCallable<GetWorkerPoolRequest,WorkerPool> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listBuildTriggersCallable()
public UnaryCallable<ListBuildTriggersRequest,ListBuildTriggersResponse> listBuildTriggersCallable()
Type | Description |
UnaryCallable<ListBuildTriggersRequest,ListBuildTriggersResponse> |
listBuildTriggersPagedCallable()
public UnaryCallable<ListBuildTriggersRequest,CloudBuildClient.ListBuildTriggersPagedResponse> listBuildTriggersPagedCallable()
Type | Description |
UnaryCallable<ListBuildTriggersRequest,ListBuildTriggersPagedResponse> |
listBuildsCallable()
public UnaryCallable<ListBuildsRequest,ListBuildsResponse> listBuildsCallable()
Type | Description |
UnaryCallable<ListBuildsRequest,ListBuildsResponse> |
listBuildsPagedCallable()
public UnaryCallable<ListBuildsRequest,CloudBuildClient.ListBuildsPagedResponse> listBuildsPagedCallable()
Type | Description |
UnaryCallable<ListBuildsRequest,ListBuildsPagedResponse> |
listWorkerPoolsCallable()
public UnaryCallable<ListWorkerPoolsRequest,ListWorkerPoolsResponse> listWorkerPoolsCallable()
Type | Description |
UnaryCallable<ListWorkerPoolsRequest,ListWorkerPoolsResponse> |
listWorkerPoolsPagedCallable()
public UnaryCallable<ListWorkerPoolsRequest,CloudBuildClient.ListWorkerPoolsPagedResponse> listWorkerPoolsPagedCallable()
Type | Description |
UnaryCallable<ListWorkerPoolsRequest,ListWorkerPoolsPagedResponse> |
receiveTriggerWebhookCallable()
public UnaryCallable<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> receiveTriggerWebhookCallable()
Type | Description |
UnaryCallable<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> |
retryBuildCallable()
public UnaryCallable<RetryBuildRequest,Operation> retryBuildCallable()
Type | Description |
UnaryCallable<RetryBuildRequest,Operation> |
retryBuildOperationCallable()
public OperationCallable<RetryBuildRequest,Build,BuildOperationMetadata> retryBuildOperationCallable()
Type | Description |
OperationCallable<RetryBuildRequest,Build,BuildOperationMetadata> |
runBuildTriggerCallable()
public UnaryCallable<RunBuildTriggerRequest,Operation> runBuildTriggerCallable()
Type | Description |
UnaryCallable<RunBuildTriggerRequest,Operation> |
runBuildTriggerOperationCallable()
public OperationCallable<RunBuildTriggerRequest,Build,BuildOperationMetadata> runBuildTriggerOperationCallable()
Type | Description |
OperationCallable<RunBuildTriggerRequest,Build,BuildOperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateBuildTriggerCallable()
public UnaryCallable<UpdateBuildTriggerRequest,BuildTrigger> updateBuildTriggerCallable()
Type | Description |
UnaryCallable<UpdateBuildTriggerRequest,BuildTrigger> |
updateWorkerPoolCallable()
public UnaryCallable<UpdateWorkerPoolRequest,Operation> updateWorkerPoolCallable()
Type | Description |
UnaryCallable<UpdateWorkerPoolRequest,Operation> |
updateWorkerPoolOperationCallable()
public OperationCallable<UpdateWorkerPoolRequest,WorkerPool,UpdateWorkerPoolOperationMetadata> updateWorkerPoolOperationCallable()
Type | Description |
OperationCallable<UpdateWorkerPoolRequest,WorkerPool,UpdateWorkerPoolOperationMetadata> |