Package com.google.devtools.build.v1
Class PublishBuildEventGrpc
- java.lang.Object
-
- com.google.devtools.build.v1.PublishBuildEventGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/devtools/build/v1/publish_build_event.proto") public final class PublishBuildEventGrpc extends java.lang.Object
A service for publishing BuildEvents. BuildEvents are generated by Build Systems to record actions taken during a Build. Events occur in streams, are identified by a StreamId, and ordered by sequence number in a stream. A Build may contain several streams of BuildEvents, depending on the systems that are involved in the Build. Some BuildEvents are used to declare the beginning and end of major portions of a Build; these are called LifecycleEvents, and are used (for example) to indicate the beginning or end of a Build, and the beginning or end of an Invocation attempt (there can be more than 1 Invocation in a Build if, for example, a failure occurs somewhere and it needs to be retried). Other, build-tool events represent actions taken by the Build tool, such as target objects produced via compilation, tests run, et cetera. There could be more than one build tool stream for an invocation attempt of a build.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPublishBuildEventGrpc.PublishBuildEventBlockingStubA service for publishing BuildEvents.static classPublishBuildEventGrpc.PublishBuildEventFutureStubA service for publishing BuildEvents.static classPublishBuildEventGrpc.PublishBuildEventImplBaseA service for publishing BuildEvents.static classPublishBuildEventGrpc.PublishBuildEventStubA service for publishing BuildEvents.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.MethodDescriptor<PublishBuildToolEventStreamRequest,PublishBuildToolEventStreamResponse>getPublishBuildToolEventStreamMethod()static io.grpc.MethodDescriptor<PublishLifecycleEventRequest,com.google.protobuf.Empty>getPublishLifecycleEventMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static PublishBuildEventGrpc.PublishBuildEventBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic PublishBuildEventGrpc.PublishBuildEventFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic PublishBuildEventGrpc.PublishBuildEventStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPublishLifecycleEventMethod
public static io.grpc.MethodDescriptor<PublishLifecycleEventRequest,com.google.protobuf.Empty> getPublishLifecycleEventMethod()
-
getPublishBuildToolEventStreamMethod
public static io.grpc.MethodDescriptor<PublishBuildToolEventStreamRequest,PublishBuildToolEventStreamResponse> getPublishBuildToolEventStreamMethod()
-
newStub
public static PublishBuildEventGrpc.PublishBuildEventStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static PublishBuildEventGrpc.PublishBuildEventBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static PublishBuildEventGrpc.PublishBuildEventFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-