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 |
---|
Type | Description |
String | |
Static Methods
bindService(CloudBuildGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(CloudBuildGrpc.AsyncService service)
Returns |
---|
Type | Description |
io.grpc.ServerServiceDefinition | |
getApproveBuildMethod()
public static MethodDescriptor<ApproveBuildRequest,Operation> getApproveBuildMethod()
getCancelBuildMethod()
public static MethodDescriptor<CancelBuildRequest,Build> getCancelBuildMethod()
getCreateBuildMethod()
public static MethodDescriptor<CreateBuildRequest,Operation> getCreateBuildMethod()
getCreateBuildTriggerMethod()
public static MethodDescriptor<CreateBuildTriggerRequest,BuildTrigger> getCreateBuildTriggerMethod()
getCreateWorkerPoolMethod()
public static MethodDescriptor<CreateWorkerPoolRequest,Operation> getCreateWorkerPoolMethod()
getDeleteBuildTriggerMethod()
public static MethodDescriptor<DeleteBuildTriggerRequest,Empty> getDeleteBuildTriggerMethod()
getDeleteWorkerPoolMethod()
public static MethodDescriptor<DeleteWorkerPoolRequest,Operation> getDeleteWorkerPoolMethod()
getGetBuildMethod()
public static MethodDescriptor<GetBuildRequest,Build> getGetBuildMethod()
getGetBuildTriggerMethod()
public static MethodDescriptor<GetBuildTriggerRequest,BuildTrigger> getGetBuildTriggerMethod()
getGetWorkerPoolMethod()
public static MethodDescriptor<GetWorkerPoolRequest,WorkerPool> getGetWorkerPoolMethod()
getListBuildTriggersMethod()
public static MethodDescriptor<ListBuildTriggersRequest,ListBuildTriggersResponse> getListBuildTriggersMethod()
getListBuildsMethod()
public static MethodDescriptor<ListBuildsRequest,ListBuildsResponse> getListBuildsMethod()
getListWorkerPoolsMethod()
public static MethodDescriptor<ListWorkerPoolsRequest,ListWorkerPoolsResponse> getListWorkerPoolsMethod()
getReceiveTriggerWebhookMethod()
public static MethodDescriptor<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> getReceiveTriggerWebhookMethod()
getRetryBuildMethod()
public static MethodDescriptor<RetryBuildRequest,Operation> getRetryBuildMethod()
getRunBuildTriggerMethod()
public static MethodDescriptor<RunBuildTriggerRequest,Operation> getRunBuildTriggerMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
---|
Type | Description |
io.grpc.ServiceDescriptor | |
getUpdateBuildTriggerMethod()
public static MethodDescriptor<UpdateBuildTriggerRequest,BuildTrigger> getUpdateBuildTriggerMethod()
getUpdateWorkerPoolMethod()
public static MethodDescriptor<UpdateWorkerPoolRequest,Operation> getUpdateWorkerPoolMethod()
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
|
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
|
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
|