- 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 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)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcCloudBuildStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcCloudBuildStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcCloudBuildStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(CloudBuildStubSettings settings)
public static final GrpcCloudBuildStub create(CloudBuildStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
CloudBuildStubSettings |
Returns | |
---|---|
Type | Description |
GrpcCloudBuildStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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.
Parameters | |
---|---|
Name | Description |
settings |
CloudBuildStubSettings |
clientContext |
ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings |
CloudBuildStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
approveBuildCallable()
public UnaryCallable<ApproveBuildRequest,Operation> approveBuildCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ApproveBuildRequest,Operation> |
approveBuildOperationCallable()
public OperationCallable<ApproveBuildRequest,Build,BuildOperationMetadata> approveBuildOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ApproveBuildRequest,Build,BuildOperationMetadata> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
cancelBuildCallable()
public UnaryCallable<CancelBuildRequest,Build> cancelBuildCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CancelBuildRequest,Build> |
close()
public final void close()
createBuildCallable()
public UnaryCallable<CreateBuildRequest,Operation> createBuildCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBuildRequest,Operation> |
createBuildOperationCallable()
public OperationCallable<CreateBuildRequest,Build,BuildOperationMetadata> createBuildOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateBuildRequest,Build,BuildOperationMetadata> |
createBuildTriggerCallable()
public UnaryCallable<CreateBuildTriggerRequest,BuildTrigger> createBuildTriggerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBuildTriggerRequest,BuildTrigger> |
createWorkerPoolCallable()
public UnaryCallable<CreateWorkerPoolRequest,Operation> createWorkerPoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateWorkerPoolRequest,Operation> |
createWorkerPoolOperationCallable()
public OperationCallable<CreateWorkerPoolRequest,WorkerPool,CreateWorkerPoolOperationMetadata> createWorkerPoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateWorkerPoolRequest,WorkerPool,CreateWorkerPoolOperationMetadata> |
deleteBuildTriggerCallable()
public UnaryCallable<DeleteBuildTriggerRequest,Empty> deleteBuildTriggerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBuildTriggerRequest,Empty> |
deleteWorkerPoolCallable()
public UnaryCallable<DeleteWorkerPoolRequest,Operation> deleteWorkerPoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteWorkerPoolRequest,Operation> |
deleteWorkerPoolOperationCallable()
public OperationCallable<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata> deleteWorkerPoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata> |
getBuildCallable()
public UnaryCallable<GetBuildRequest,Build> getBuildCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBuildRequest,Build> |
getBuildTriggerCallable()
public UnaryCallable<GetBuildTriggerRequest,BuildTrigger> getBuildTriggerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBuildTriggerRequest,BuildTrigger> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getWorkerPoolCallable()
public UnaryCallable<GetWorkerPoolRequest,WorkerPool> getWorkerPoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetWorkerPoolRequest,WorkerPool> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listBuildTriggersCallable()
public UnaryCallable<ListBuildTriggersRequest,ListBuildTriggersResponse> listBuildTriggersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBuildTriggersRequest,ListBuildTriggersResponse> |
listBuildTriggersPagedCallable()
public UnaryCallable<ListBuildTriggersRequest,CloudBuildClient.ListBuildTriggersPagedResponse> listBuildTriggersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBuildTriggersRequest,ListBuildTriggersPagedResponse> |
listBuildsCallable()
public UnaryCallable<ListBuildsRequest,ListBuildsResponse> listBuildsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBuildsRequest,ListBuildsResponse> |
listBuildsPagedCallable()
public UnaryCallable<ListBuildsRequest,CloudBuildClient.ListBuildsPagedResponse> listBuildsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBuildsRequest,ListBuildsPagedResponse> |
listWorkerPoolsCallable()
public UnaryCallable<ListWorkerPoolsRequest,ListWorkerPoolsResponse> listWorkerPoolsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkerPoolsRequest,ListWorkerPoolsResponse> |
listWorkerPoolsPagedCallable()
public UnaryCallable<ListWorkerPoolsRequest,CloudBuildClient.ListWorkerPoolsPagedResponse> listWorkerPoolsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkerPoolsRequest,ListWorkerPoolsPagedResponse> |
receiveTriggerWebhookCallable()
public UnaryCallable<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> receiveTriggerWebhookCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> |
retryBuildCallable()
public UnaryCallable<RetryBuildRequest,Operation> retryBuildCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RetryBuildRequest,Operation> |
retryBuildOperationCallable()
public OperationCallable<RetryBuildRequest,Build,BuildOperationMetadata> retryBuildOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RetryBuildRequest,Build,BuildOperationMetadata> |
runBuildTriggerCallable()
public UnaryCallable<RunBuildTriggerRequest,Operation> runBuildTriggerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RunBuildTriggerRequest,Operation> |
runBuildTriggerOperationCallable()
public OperationCallable<RunBuildTriggerRequest,Build,BuildOperationMetadata> runBuildTriggerOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RunBuildTriggerRequest,Build,BuildOperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateBuildTriggerCallable()
public UnaryCallable<UpdateBuildTriggerRequest,BuildTrigger> updateBuildTriggerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateBuildTriggerRequest,BuildTrigger> |
updateWorkerPoolCallable()
public UnaryCallable<UpdateWorkerPoolRequest,Operation> updateWorkerPoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateWorkerPoolRequest,Operation> |
updateWorkerPoolOperationCallable()
public OperationCallable<UpdateWorkerPoolRequest,WorkerPool,UpdateWorkerPoolOperationMetadata> updateWorkerPoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateWorkerPoolRequest,WorkerPool,UpdateWorkerPoolOperationMetadata> |