Class CloudBuildGrpc (3.49.0)

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.

Inheritance

java.lang.Object > CloudBuildGrpc

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)
Parameter
Name Description
service CloudBuildGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getApproveBuildMethod()

public static MethodDescriptor<ApproveBuildRequest,Operation> getApproveBuildMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ApproveBuildRequest,Operation>

getCancelBuildMethod()

public static MethodDescriptor<CancelBuildRequest,Build> getCancelBuildMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CancelBuildRequest,Build>

getCreateBuildMethod()

public static MethodDescriptor<CreateBuildRequest,Operation> getCreateBuildMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateBuildRequest,Operation>

getCreateBuildTriggerMethod()

public static MethodDescriptor<CreateBuildTriggerRequest,BuildTrigger> getCreateBuildTriggerMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateBuildTriggerRequest,BuildTrigger>

getCreateWorkerPoolMethod()

public static MethodDescriptor<CreateWorkerPoolRequest,Operation> getCreateWorkerPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateWorkerPoolRequest,Operation>

getDeleteBuildTriggerMethod()

public static MethodDescriptor<DeleteBuildTriggerRequest,Empty> getDeleteBuildTriggerMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteBuildTriggerRequest,Empty>

getDeleteWorkerPoolMethod()

public static MethodDescriptor<DeleteWorkerPoolRequest,Operation> getDeleteWorkerPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteWorkerPoolRequest,Operation>

getGetBuildMethod()

public static MethodDescriptor<GetBuildRequest,Build> getGetBuildMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetBuildRequest,Build>

getGetBuildTriggerMethod()

public static MethodDescriptor<GetBuildTriggerRequest,BuildTrigger> getGetBuildTriggerMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetBuildTriggerRequest,BuildTrigger>

getGetWorkerPoolMethod()

public static MethodDescriptor<GetWorkerPoolRequest,WorkerPool> getGetWorkerPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetWorkerPoolRequest,WorkerPool>

getListBuildTriggersMethod()

public static MethodDescriptor<ListBuildTriggersRequest,ListBuildTriggersResponse> getListBuildTriggersMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListBuildTriggersRequest,ListBuildTriggersResponse>

getListBuildsMethod()

public static MethodDescriptor<ListBuildsRequest,ListBuildsResponse> getListBuildsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListBuildsRequest,ListBuildsResponse>

getListWorkerPoolsMethod()

public static MethodDescriptor<ListWorkerPoolsRequest,ListWorkerPoolsResponse> getListWorkerPoolsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListWorkerPoolsRequest,ListWorkerPoolsResponse>

getReceiveTriggerWebhookMethod()

public static MethodDescriptor<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> getReceiveTriggerWebhookMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse>

getRetryBuildMethod()

public static MethodDescriptor<RetryBuildRequest,Operation> getRetryBuildMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RetryBuildRequest,Operation>

getRunBuildTriggerMethod()

public static MethodDescriptor<RunBuildTriggerRequest,Operation> getRunBuildTriggerMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RunBuildTriggerRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateBuildTriggerMethod()

public static MethodDescriptor<UpdateBuildTriggerRequest,BuildTrigger> getUpdateBuildTriggerMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateBuildTriggerRequest,BuildTrigger>

getUpdateWorkerPoolMethod()

public static MethodDescriptor<UpdateWorkerPoolRequest,Operation> getUpdateWorkerPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateWorkerPoolRequest,Operation>

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
Type Description
CloudBuildGrpc.CloudBuildBlockingStub

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
Type Description
CloudBuildGrpc.CloudBuildFutureStub

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
Type Description
CloudBuildGrpc.CloudBuildStub