public final class CloudBuildGrpc
Creates and manages builds on Google Cloud Platform.
The main concept used by this API is a Build
, which describes the location
of the source to build, how to build the source, and where to store the
built artifacts, if any.
A user can list previously-requested builds or get builds by their ID to
determine the status of the build.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value
Static Methods
getApproveBuildMethod()
public static MethodDescriptor<ApproveBuildRequest,Operation> getApproveBuildMethod()
Returns
getCancelBuildMethod()
public static MethodDescriptor<CancelBuildRequest,Build> getCancelBuildMethod()
Returns
getCreateBuildMethod()
public static MethodDescriptor<CreateBuildRequest,Operation> getCreateBuildMethod()
Returns
getCreateBuildTriggerMethod()
public static MethodDescriptor<CreateBuildTriggerRequest,BuildTrigger> getCreateBuildTriggerMethod()
Returns
getCreateWorkerPoolMethod()
public static MethodDescriptor<CreateWorkerPoolRequest,Operation> getCreateWorkerPoolMethod()
Returns
getDeleteBuildTriggerMethod()
public static MethodDescriptor<DeleteBuildTriggerRequest,Empty> getDeleteBuildTriggerMethod()
Returns
getDeleteWorkerPoolMethod()
public static MethodDescriptor<DeleteWorkerPoolRequest,Operation> getDeleteWorkerPoolMethod()
Returns
getGetBuildMethod()
public static MethodDescriptor<GetBuildRequest,Build> getGetBuildMethod()
Returns
getGetBuildTriggerMethod()
public static MethodDescriptor<GetBuildTriggerRequest,BuildTrigger> getGetBuildTriggerMethod()
Returns
getGetWorkerPoolMethod()
public static MethodDescriptor<GetWorkerPoolRequest,WorkerPool> getGetWorkerPoolMethod()
Returns
getListBuildTriggersMethod()
public static MethodDescriptor<ListBuildTriggersRequest,ListBuildTriggersResponse> getListBuildTriggersMethod()
Returns
getListBuildsMethod()
public static MethodDescriptor<ListBuildsRequest,ListBuildsResponse> getListBuildsMethod()
Returns
getListWorkerPoolsMethod()
public static MethodDescriptor<ListWorkerPoolsRequest,ListWorkerPoolsResponse> getListWorkerPoolsMethod()
Returns
getReceiveTriggerWebhookMethod()
public static MethodDescriptor<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> getReceiveTriggerWebhookMethod()
Returns
getRetryBuildMethod()
public static MethodDescriptor<RetryBuildRequest,Operation> getRetryBuildMethod()
Returns
getRunBuildTriggerMethod()
public static MethodDescriptor<RunBuildTriggerRequest,Operation> getRunBuildTriggerMethod()
Returns
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns
Type | Description |
io.grpc.ServiceDescriptor | |
getUpdateBuildTriggerMethod()
public static MethodDescriptor<UpdateBuildTriggerRequest,BuildTrigger> getUpdateBuildTriggerMethod()
Returns
getUpdateWorkerPoolMethod()
public static MethodDescriptor<UpdateWorkerPoolRequest,Operation> getUpdateWorkerPoolMethod()
Returns
newBlockingStub(Channel channel)
public static CloudBuildGrpc.CloudBuildBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns
newFutureStub(Channel channel)
public static CloudBuildGrpc.CloudBuildFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns
newStub(Channel channel)
public static CloudBuildGrpc.CloudBuildStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns