Enum google_api_proto::google::devtools::build::v1::build_event::Event
source · pub enum Event {
InvocationAttemptStarted(InvocationAttemptStarted),
InvocationAttemptFinished(InvocationAttemptFinished),
BuildEnqueued(BuildEnqueued),
BuildFinished(BuildFinished),
ConsoleOutput(ConsoleOutput),
ComponentStreamFinished(BuildComponentStreamFinished),
BazelEvent(Any),
BuildExecutionEvent(Any),
SourceFetchEvent(Any),
}
Expand description
////////////////////////////////////////////////////////////////////////// Events that indicate a state change of a build request in the build queue.
Variants§
InvocationAttemptStarted(InvocationAttemptStarted)
An invocation attempt has started.
InvocationAttemptFinished(InvocationAttemptFinished)
An invocation attempt has finished.
BuildEnqueued(BuildEnqueued)
The build is enqueued.
BuildFinished(BuildFinished)
The build has finished. Set when the build is terminated.
ConsoleOutput(ConsoleOutput)
An event containing printed text.
ComponentStreamFinished(BuildComponentStreamFinished)
Indicates the end of a build event stream (with the same StreamId) from a build component executing the requested build task. *** This field does not indicate the WatchBuild RPC is finished. ***
BazelEvent(Any)
Structured build event generated by Bazel about its execution progress.
BuildExecutionEvent(Any)
An event that contains supplemental tool-specific information about build execution.
SourceFetchEvent(Any)
An event that contains supplemental tool-specific information about source fetching.
Implementations§
source§impl Event
impl Event
sourcepub fn merge(
field: &mut Option<Event>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Event>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Event
impl PartialEq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl !Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request