Class BuildEventStreamProtos.BuildStarted
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildStarted
- All Implemented Interfaces:
BuildEventStreamProtos.BuildStartedOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- BuildEventStreamProtos
public static final class BuildEventStreamProtos.BuildStarted
extends com.google.protobuf.GeneratedMessage
implements BuildEventStreamProtos.BuildStartedOrBuilder
Payload of an event indicating the beginning of a new build. Usually, events of those type start a new build-event stream. The target pattern requested to be build is contained in one of the announced child events; it is an invariant that precisely one of the announced child events has a non-empty target pattern.Protobuf type
build_event_stream.BuildStarted- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPayload of an event indicating the beginning of a new build.Nested 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 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 TypeMethodDescriptionbooleanVersion of the build tool that is running.com.google.protobuf.ByteStringVersion of the build tool that is running.The name of the command that the user invoked.com.google.protobuf.ByteStringThe name of the command that the user invoked.static final com.google.protobuf.Descriptors.DescriptorA human-readable description of all the non-default option settingscom.google.protobuf.ByteStringA human-readable description of all the non-default option settingscom.google.protobuf.Parser<BuildEventStreamProtos.BuildStarted>intlongThe process ID of the Bazel server.com.google.protobuf.TimestampStart of the build.longDeprecated.build_event_stream.BuildStarted.start_time_millis is deprecated.com.google.protobuf.TimestampOrBuilderStart of the build.getUuid()string uuid = 1;com.google.protobuf.ByteStringstring uuid = 1;The working directory from which the build tool was invoked.com.google.protobuf.ByteStringThe working directory from which the build tool was invoked.The directory of the workspace.com.google.protobuf.ByteStringThe directory of the workspace.inthashCode()booleanStart of the build.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(BuildEventStreamProtos.BuildStarted prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BuildEventStreamProtos.BuildStarted>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
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER- See Also:
-
START_TIME_MILLIS_FIELD_NUMBER
public static final int START_TIME_MILLIS_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
BUILD_TOOL_VERSION_FIELD_NUMBER
public static final int BUILD_TOOL_VERSION_FIELD_NUMBER- See Also:
-
OPTIONS_DESCRIPTION_FIELD_NUMBER
public static final int OPTIONS_DESCRIPTION_FIELD_NUMBER- See Also:
-
COMMAND_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER- See Also:
-
WORKING_DIRECTORY_FIELD_NUMBER
public static final int WORKING_DIRECTORY_FIELD_NUMBER- See Also:
-
WORKSPACE_DIRECTORY_FIELD_NUMBER
public static final int WORKSPACE_DIRECTORY_FIELD_NUMBER- See Also:
-
SERVER_PID_FIELD_NUMBER
public static final int SERVER_PID_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
-
getUuid
string uuid = 1;- Specified by:
getUuidin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()string uuid = 1;- Specified by:
getUuidBytesin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The bytes for uuid.
-
getStartTimeMillis
Deprecated.build_event_stream.BuildStarted.start_time_millis is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=368Start of the build in ms since the epoch. Deprecated, use `start_time` instead. TODO(yannic): Remove.
int64 start_time_millis = 2 [deprecated = true];- Specified by:
getStartTimeMillisin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The startTimeMillis.
-
hasStartTime
public boolean hasStartTime()Start of the build.
.google.protobuf.Timestamp start_time = 9;- Specified by:
hasStartTimein interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Start of the build.
.google.protobuf.Timestamp start_time = 9;- Specified by:
getStartTimein interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Start of the build.
.google.protobuf.Timestamp start_time = 9;- Specified by:
getStartTimeOrBuilderin interfaceBuildEventStreamProtos.BuildStartedOrBuilder
-
getBuildToolVersion
Version of the build tool that is running.
string build_tool_version = 3;- Specified by:
getBuildToolVersionin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The buildToolVersion.
-
getBuildToolVersionBytes
public com.google.protobuf.ByteString getBuildToolVersionBytes()Version of the build tool that is running.
string build_tool_version = 3;- Specified by:
getBuildToolVersionBytesin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The bytes for buildToolVersion.
-
getOptionsDescription
A human-readable description of all the non-default option settings
string options_description = 4;- Specified by:
getOptionsDescriptionin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The optionsDescription.
-
getOptionsDescriptionBytes
public com.google.protobuf.ByteString getOptionsDescriptionBytes()A human-readable description of all the non-default option settings
string options_description = 4;- Specified by:
getOptionsDescriptionBytesin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The bytes for optionsDescription.
-
getCommand
The name of the command that the user invoked.
string command = 5;- Specified by:
getCommandin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The command.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()The name of the command that the user invoked.
string command = 5;- Specified by:
getCommandBytesin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The bytes for command.
-
getWorkingDirectory
The working directory from which the build tool was invoked.
string working_directory = 6;- Specified by:
getWorkingDirectoryin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The workingDirectory.
-
getWorkingDirectoryBytes
public com.google.protobuf.ByteString getWorkingDirectoryBytes()The working directory from which the build tool was invoked.
string working_directory = 6;- Specified by:
getWorkingDirectoryBytesin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The bytes for workingDirectory.
-
getWorkspaceDirectory
The directory of the workspace.
string workspace_directory = 7;- Specified by:
getWorkspaceDirectoryin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The workspaceDirectory.
-
getWorkspaceDirectoryBytes
public com.google.protobuf.ByteString getWorkspaceDirectoryBytes()The directory of the workspace.
string workspace_directory = 7;- Specified by:
getWorkspaceDirectoryBytesin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The bytes for workspaceDirectory.
-
getServerPid
public long getServerPid()The process ID of the Bazel server.
int64 server_pid = 8;- Specified by:
getServerPidin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The serverPid.
-
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 BuildEventStreamProtos.BuildStarted parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildStarted parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildStarted parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildStarted parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildStarted parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildStarted parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.BuildStarted parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildStarted parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildStarted parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.BuildStarted parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.BuildStarted 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
public static BuildEventStreamProtos.BuildStarted.Builder newBuilder(BuildEventStreamProtos.BuildStarted prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEventStreamProtos.BuildStarted.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
-