Class CloudBuildGrpc (3.37.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
TypeDescription
String

Static Methods

bindService(CloudBuildGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CloudBuildGrpc.AsyncService service)
Parameter
NameDescription
serviceCloudBuildGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getApproveBuildMethod()

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

getCancelBuildMethod()

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

getCreateBuildMethod()

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

getCreateBuildTriggerMethod()

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

getCreateWorkerPoolMethod()

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

getDeleteBuildTriggerMethod()

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

getDeleteWorkerPoolMethod()

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

getGetBuildMethod()

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

getGetBuildTriggerMethod()

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

getGetWorkerPoolMethod()

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

getListBuildTriggersMethod()

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

getListBuildsMethod()

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

getListWorkerPoolsMethod()

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

getReceiveTriggerWebhookMethod()

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

getRetryBuildMethod()

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

getRunBuildTriggerMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateBuildTriggerMethod()

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

getUpdateWorkerPoolMethod()

public static MethodDescriptor<UpdateWorkerPoolRequest,Operation> getUpdateWorkerPoolMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudBuildGrpc.CloudBuildStub