Package com.google.devtools.build.v1
Class BuildEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.v1.BuildEvent
- All Implemented Interfaces:
BuildEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class BuildEvent
extends com.google.protobuf.GeneratedMessage
implements BuildEventOrBuilder
An event representing some state change that occurred in the build. This message does not include field for uniquely identifying an event.Protobuf type
google.devtools.build.v1.BuildEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNotification of the end of a build event stream published by a build component other than CONTROLLER (See StreamId.BuildComponents).static interfacestatic final classNotification that the build request is enqueued.static interfacestatic final classAn event representing some state change that occurred in the build.static final classNotification that the build request has finished, and no further invocations will occur.static interfacestatic final classTextual output written to standard output or standard error.static interfacestatic enumstatic final classNotification that an invocation attempt has finished.static interfacestatic final classNotification that the build system has attempted to run the build tool.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.AnyStructured build event generated by Bazel about its execution progress.com.google.protobuf.AnyOrBuilderStructured build event generated by Bazel about its execution progress.The build is enqueued.The build is enqueued.com.google.protobuf.AnyAn event that contains supplemental tool-specific information about build execution.com.google.protobuf.AnyOrBuilderAn event that contains supplemental tool-specific information about build execution.The build has finished.The build has finished.Indicates the end of a build event stream (with the same StreamId) from a build component executing the requested build task.Indicates the end of a build event stream (with the same StreamId) from a build component executing the requested build task.An event containing printed text.An event containing printed text.static BuildEventstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThis should be precisely the time when this event happened, and not when the event proto was created or sent.com.google.protobuf.TimestampOrBuilderThis should be precisely the time when this event happened, and not when the event proto was created or sent.An invocation attempt has finished.An invocation attempt has finished.An invocation attempt has started.An invocation attempt has started.com.google.protobuf.Parser<BuildEvent>intcom.google.protobuf.AnyAn event that contains supplemental tool-specific information about source fetching.com.google.protobuf.AnyOrBuilderAn event that contains supplemental tool-specific information about source fetching.booleanStructured build event generated by Bazel about its execution progress.booleanThe build is enqueued.booleanAn event that contains supplemental tool-specific information about build execution.booleanThe build has finished.booleanIndicates the end of a build event stream (with the same StreamId) from a build component executing the requested build task.booleanAn event containing printed text.booleanThis should be precisely the time when this event happened, and not when the event proto was created or sent.inthashCode()booleanAn invocation attempt has finished.booleanAn invocation attempt has started.booleanAn event that contains supplemental tool-specific information about source fetching.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic BuildEvent.Builderstatic BuildEvent.BuildernewBuilder(BuildEvent prototype) protected BuildEvent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BuildEventparseDelimitedFrom(InputStream input) static BuildEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventparseFrom(byte[] data) static BuildEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventparseFrom(com.google.protobuf.ByteString data) static BuildEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventparseFrom(com.google.protobuf.CodedInputStream input) static BuildEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventparseFrom(InputStream input) static BuildEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventparseFrom(ByteBuffer data) static BuildEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BuildEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EVENT_TIME_FIELD_NUMBER
public static final int EVENT_TIME_FIELD_NUMBER- See Also:
-
INVOCATION_ATTEMPT_STARTED_FIELD_NUMBER
public static final int INVOCATION_ATTEMPT_STARTED_FIELD_NUMBER- See Also:
-
INVOCATION_ATTEMPT_FINISHED_FIELD_NUMBER
public static final int INVOCATION_ATTEMPT_FINISHED_FIELD_NUMBER- See Also:
-
BUILD_ENQUEUED_FIELD_NUMBER
public static final int BUILD_ENQUEUED_FIELD_NUMBER- See Also:
-
BUILD_FINISHED_FIELD_NUMBER
public static final int BUILD_FINISHED_FIELD_NUMBER- See Also:
-
CONSOLE_OUTPUT_FIELD_NUMBER
public static final int CONSOLE_OUTPUT_FIELD_NUMBER- See Also:
-
COMPONENT_STREAM_FINISHED_FIELD_NUMBER
public static final int COMPONENT_STREAM_FINISHED_FIELD_NUMBER- See Also:
-
BAZEL_EVENT_FIELD_NUMBER
public static final int BAZEL_EVENT_FIELD_NUMBER- See Also:
-
BUILD_EXECUTION_EVENT_FIELD_NUMBER
public static final int BUILD_EXECUTION_EVENT_FIELD_NUMBER- See Also:
-
SOURCE_FETCH_EVENT_FIELD_NUMBER
public static final int SOURCE_FETCH_EVENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getEventCase
- Specified by:
getEventCasein interfaceBuildEventOrBuilder
-
hasEventTime
public boolean hasEventTime()This should be precisely the time when this event happened, and not when the event proto was created or sent.
.google.protobuf.Timestamp event_time = 1;- Specified by:
hasEventTimein interfaceBuildEventOrBuilder- Returns:
- Whether the eventTime field is set.
-
getEventTime
public com.google.protobuf.Timestamp getEventTime()This should be precisely the time when this event happened, and not when the event proto was created or sent.
.google.protobuf.Timestamp event_time = 1;- Specified by:
getEventTimein interfaceBuildEventOrBuilder- Returns:
- The eventTime.
-
getEventTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()This should be precisely the time when this event happened, and not when the event proto was created or sent.
.google.protobuf.Timestamp event_time = 1;- Specified by:
getEventTimeOrBuilderin interfaceBuildEventOrBuilder
-
hasInvocationAttemptStarted
public boolean hasInvocationAttemptStarted()An invocation attempt has started.
.google.devtools.build.v1.BuildEvent.InvocationAttemptStarted invocation_attempt_started = 51;- Specified by:
hasInvocationAttemptStartedin interfaceBuildEventOrBuilder- Returns:
- Whether the invocationAttemptStarted field is set.
-
getInvocationAttemptStarted
An invocation attempt has started.
.google.devtools.build.v1.BuildEvent.InvocationAttemptStarted invocation_attempt_started = 51;- Specified by:
getInvocationAttemptStartedin interfaceBuildEventOrBuilder- Returns:
- The invocationAttemptStarted.
-
getInvocationAttemptStartedOrBuilder
An invocation attempt has started.
.google.devtools.build.v1.BuildEvent.InvocationAttemptStarted invocation_attempt_started = 51;- Specified by:
getInvocationAttemptStartedOrBuilderin interfaceBuildEventOrBuilder
-
hasInvocationAttemptFinished
public boolean hasInvocationAttemptFinished()An invocation attempt has finished.
.google.devtools.build.v1.BuildEvent.InvocationAttemptFinished invocation_attempt_finished = 52;- Specified by:
hasInvocationAttemptFinishedin interfaceBuildEventOrBuilder- Returns:
- Whether the invocationAttemptFinished field is set.
-
getInvocationAttemptFinished
An invocation attempt has finished.
.google.devtools.build.v1.BuildEvent.InvocationAttemptFinished invocation_attempt_finished = 52;- Specified by:
getInvocationAttemptFinishedin interfaceBuildEventOrBuilder- Returns:
- The invocationAttemptFinished.
-
getInvocationAttemptFinishedOrBuilder
An invocation attempt has finished.
.google.devtools.build.v1.BuildEvent.InvocationAttemptFinished invocation_attempt_finished = 52;- Specified by:
getInvocationAttemptFinishedOrBuilderin interfaceBuildEventOrBuilder
-
hasBuildEnqueued
public boolean hasBuildEnqueued()The build is enqueued.
.google.devtools.build.v1.BuildEvent.BuildEnqueued build_enqueued = 53;- Specified by:
hasBuildEnqueuedin interfaceBuildEventOrBuilder- Returns:
- Whether the buildEnqueued field is set.
-
getBuildEnqueued
The build is enqueued.
.google.devtools.build.v1.BuildEvent.BuildEnqueued build_enqueued = 53;- Specified by:
getBuildEnqueuedin interfaceBuildEventOrBuilder- Returns:
- The buildEnqueued.
-
getBuildEnqueuedOrBuilder
The build is enqueued.
.google.devtools.build.v1.BuildEvent.BuildEnqueued build_enqueued = 53;- Specified by:
getBuildEnqueuedOrBuilderin interfaceBuildEventOrBuilder
-
hasBuildFinished
public boolean hasBuildFinished()The build has finished. Set when the build is terminated.
.google.devtools.build.v1.BuildEvent.BuildFinished build_finished = 55;- Specified by:
hasBuildFinishedin interfaceBuildEventOrBuilder- Returns:
- Whether the buildFinished field is set.
-
getBuildFinished
The build has finished. Set when the build is terminated.
.google.devtools.build.v1.BuildEvent.BuildFinished build_finished = 55;- Specified by:
getBuildFinishedin interfaceBuildEventOrBuilder- Returns:
- The buildFinished.
-
getBuildFinishedOrBuilder
The build has finished. Set when the build is terminated.
.google.devtools.build.v1.BuildEvent.BuildFinished build_finished = 55;- Specified by:
getBuildFinishedOrBuilderin interfaceBuildEventOrBuilder
-
hasConsoleOutput
public boolean hasConsoleOutput()An event containing printed text.
.google.devtools.build.v1.BuildEvent.ConsoleOutput console_output = 56;- Specified by:
hasConsoleOutputin interfaceBuildEventOrBuilder- Returns:
- Whether the consoleOutput field is set.
-
getConsoleOutput
An event containing printed text.
.google.devtools.build.v1.BuildEvent.ConsoleOutput console_output = 56;- Specified by:
getConsoleOutputin interfaceBuildEventOrBuilder- Returns:
- The consoleOutput.
-
getConsoleOutputOrBuilder
An event containing printed text.
.google.devtools.build.v1.BuildEvent.ConsoleOutput console_output = 56;- Specified by:
getConsoleOutputOrBuilderin interfaceBuildEventOrBuilder
-
hasComponentStreamFinished
public boolean hasComponentStreamFinished()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. ***
.google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished component_stream_finished = 59;- Specified by:
hasComponentStreamFinishedin interfaceBuildEventOrBuilder- Returns:
- Whether the componentStreamFinished field is set.
-
getComponentStreamFinished
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. ***
.google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished component_stream_finished = 59;- Specified by:
getComponentStreamFinishedin interfaceBuildEventOrBuilder- Returns:
- The componentStreamFinished.
-
getComponentStreamFinishedOrBuilder
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. ***
.google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished component_stream_finished = 59;- Specified by:
getComponentStreamFinishedOrBuilderin interfaceBuildEventOrBuilder
-
hasBazelEvent
public boolean hasBazelEvent()Structured build event generated by Bazel about its execution progress.
.google.protobuf.Any bazel_event = 60;- Specified by:
hasBazelEventin interfaceBuildEventOrBuilder- Returns:
- Whether the bazelEvent field is set.
-
getBazelEvent
public com.google.protobuf.Any getBazelEvent()Structured build event generated by Bazel about its execution progress.
.google.protobuf.Any bazel_event = 60;- Specified by:
getBazelEventin interfaceBuildEventOrBuilder- Returns:
- The bazelEvent.
-
getBazelEventOrBuilder
public com.google.protobuf.AnyOrBuilder getBazelEventOrBuilder()Structured build event generated by Bazel about its execution progress.
.google.protobuf.Any bazel_event = 60;- Specified by:
getBazelEventOrBuilderin interfaceBuildEventOrBuilder
-
hasBuildExecutionEvent
public boolean hasBuildExecutionEvent()An event that contains supplemental tool-specific information about build execution.
.google.protobuf.Any build_execution_event = 61;- Specified by:
hasBuildExecutionEventin interfaceBuildEventOrBuilder- Returns:
- Whether the buildExecutionEvent field is set.
-
getBuildExecutionEvent
public com.google.protobuf.Any getBuildExecutionEvent()An event that contains supplemental tool-specific information about build execution.
.google.protobuf.Any build_execution_event = 61;- Specified by:
getBuildExecutionEventin interfaceBuildEventOrBuilder- Returns:
- The buildExecutionEvent.
-
getBuildExecutionEventOrBuilder
public com.google.protobuf.AnyOrBuilder getBuildExecutionEventOrBuilder()An event that contains supplemental tool-specific information about build execution.
.google.protobuf.Any build_execution_event = 61;- Specified by:
getBuildExecutionEventOrBuilderin interfaceBuildEventOrBuilder
-
hasSourceFetchEvent
public boolean hasSourceFetchEvent()An event that contains supplemental tool-specific information about source fetching.
.google.protobuf.Any source_fetch_event = 62;- Specified by:
hasSourceFetchEventin interfaceBuildEventOrBuilder- Returns:
- Whether the sourceFetchEvent field is set.
-
getSourceFetchEvent
public com.google.protobuf.Any getSourceFetchEvent()An event that contains supplemental tool-specific information about source fetching.
.google.protobuf.Any source_fetch_event = 62;- Specified by:
getSourceFetchEventin interfaceBuildEventOrBuilder- Returns:
- The sourceFetchEvent.
-
getSourceFetchEventOrBuilder
public com.google.protobuf.AnyOrBuilder getSourceFetchEventOrBuilder()An event that contains supplemental tool-specific information about source fetching.
.google.protobuf.Any source_fetch_event = 62;- Specified by:
getSourceFetchEventOrBuilderin interfaceBuildEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BuildEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BuildEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BuildEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BuildEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-