Class BuildEventStreamProtos.BuildStarted.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildStarted.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildStarted.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.BuildStartedOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildStarted
public static final class BuildEventStreamProtos.BuildStarted.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildStarted.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Version of the build tool that is running.The name of the command that the user invoked.A human-readable description of all the non-default option settingsThe process ID of the Bazel server.Start of the build.Deprecated.build_event_stream.BuildStarted.start_time_millis is deprecated.string uuid = 1;The working directory from which the build tool was invoked.The directory of the workspace.Version 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.Descriptorcom.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 settingslongThe process ID of the Bazel server.com.google.protobuf.TimestampStart of the build.com.google.protobuf.Timestamp.BuilderStart 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.booleanStart of the build.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Start of the build.setBuildToolVersion(String value) Version of the build tool that is running.setBuildToolVersionBytes(com.google.protobuf.ByteString value) Version of the build tool that is running.setCommand(String value) The name of the command that the user invoked.setCommandBytes(com.google.protobuf.ByteString value) The name of the command that the user invoked.setOptionsDescription(String value) A human-readable description of all the non-default option settingssetOptionsDescriptionBytes(com.google.protobuf.ByteString value) A human-readable description of all the non-default option settingssetServerPid(long value) The process ID of the Bazel server.setStartTime(com.google.protobuf.Timestamp value) Start of the build.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Start of the build.setStartTimeMillis(long value) Deprecated.build_event_stream.BuildStarted.start_time_millis is deprecated.string uuid = 1;setUuidBytes(com.google.protobuf.ByteString value) string uuid = 1;setWorkingDirectory(String value) The working directory from which the build tool was invoked.setWorkingDirectoryBytes(com.google.protobuf.ByteString value) The working directory from which the build tool was invoked.setWorkspaceDirectory(String value) The directory of the workspace.setWorkspaceDirectoryBytes(com.google.protobuf.ByteString value) The directory of the workspace.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<BuildEventStreamProtos.BuildStarted.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildStarted.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildStarted.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildStarted.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildStarted.Builder mergeFrom(BuildEventStreamProtos.BuildStarted other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildStarted.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildStarted.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildStarted.Builder>- Throws:
IOException
-
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.
-
setUuid
string uuid = 1;- Parameters:
value- The uuid to set.- Returns:
- This builder for chaining.
-
clearUuid
string uuid = 1;- Returns:
- This builder for chaining.
-
setUuidBytes
public BuildEventStreamProtos.BuildStarted.Builder setUuidBytes(com.google.protobuf.ByteString value) string uuid = 1;- Parameters:
value- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
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.
-
setStartTimeMillis
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];- Parameters:
value- The startTimeMillis to set.- Returns:
- This builder for chaining.
-
clearStartTimeMillis
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];- Returns:
- This builder for chaining.
-
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.
-
setStartTime
public BuildEventStreamProtos.BuildStarted.Builder setStartTime(com.google.protobuf.Timestamp value) Start of the build.
.google.protobuf.Timestamp start_time = 9; -
setStartTime
public BuildEventStreamProtos.BuildStarted.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Start of the build.
.google.protobuf.Timestamp start_time = 9; -
mergeStartTime
public BuildEventStreamProtos.BuildStarted.Builder mergeStartTime(com.google.protobuf.Timestamp value) Start of the build.
.google.protobuf.Timestamp start_time = 9; -
clearStartTime
Start of the build.
.google.protobuf.Timestamp start_time = 9; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Start of the build.
.google.protobuf.Timestamp start_time = 9; -
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.
-
setBuildToolVersion
Version of the build tool that is running.
string build_tool_version = 3;- Parameters:
value- The buildToolVersion to set.- Returns:
- This builder for chaining.
-
clearBuildToolVersion
Version of the build tool that is running.
string build_tool_version = 3;- Returns:
- This builder for chaining.
-
setBuildToolVersionBytes
public BuildEventStreamProtos.BuildStarted.Builder setBuildToolVersionBytes(com.google.protobuf.ByteString value) Version of the build tool that is running.
string build_tool_version = 3;- Parameters:
value- The bytes for buildToolVersion to set.- Returns:
- This builder for chaining.
-
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.
-
setOptionsDescription
A human-readable description of all the non-default option settings
string options_description = 4;- Parameters:
value- The optionsDescription to set.- Returns:
- This builder for chaining.
-
clearOptionsDescription
A human-readable description of all the non-default option settings
string options_description = 4;- Returns:
- This builder for chaining.
-
setOptionsDescriptionBytes
public BuildEventStreamProtos.BuildStarted.Builder setOptionsDescriptionBytes(com.google.protobuf.ByteString value) A human-readable description of all the non-default option settings
string options_description = 4;- Parameters:
value- The bytes for optionsDescription to set.- Returns:
- This builder for chaining.
-
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.
-
setCommand
The name of the command that the user invoked.
string command = 5;- Parameters:
value- The command to set.- Returns:
- This builder for chaining.
-
clearCommand
The name of the command that the user invoked.
string command = 5;- Returns:
- This builder for chaining.
-
setCommandBytes
public BuildEventStreamProtos.BuildStarted.Builder setCommandBytes(com.google.protobuf.ByteString value) The name of the command that the user invoked.
string command = 5;- Parameters:
value- The bytes for command to set.- Returns:
- This builder for chaining.
-
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.
-
setWorkingDirectory
The working directory from which the build tool was invoked.
string working_directory = 6;- Parameters:
value- The workingDirectory to set.- Returns:
- This builder for chaining.
-
clearWorkingDirectory
The working directory from which the build tool was invoked.
string working_directory = 6;- Returns:
- This builder for chaining.
-
setWorkingDirectoryBytes
public BuildEventStreamProtos.BuildStarted.Builder setWorkingDirectoryBytes(com.google.protobuf.ByteString value) The working directory from which the build tool was invoked.
string working_directory = 6;- Parameters:
value- The bytes for workingDirectory to set.- Returns:
- This builder for chaining.
-
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.
-
setWorkspaceDirectory
The directory of the workspace.
string workspace_directory = 7;- Parameters:
value- The workspaceDirectory to set.- Returns:
- This builder for chaining.
-
clearWorkspaceDirectory
The directory of the workspace.
string workspace_directory = 7;- Returns:
- This builder for chaining.
-
setWorkspaceDirectoryBytes
public BuildEventStreamProtos.BuildStarted.Builder setWorkspaceDirectoryBytes(com.google.protobuf.ByteString value) The directory of the workspace.
string workspace_directory = 7;- Parameters:
value- The bytes for workspaceDirectory to set.- Returns:
- This builder for chaining.
-
getServerPid
public long getServerPid()The process ID of the Bazel server.
int64 server_pid = 8;- Specified by:
getServerPidin interfaceBuildEventStreamProtos.BuildStartedOrBuilder- Returns:
- The serverPid.
-
setServerPid
The process ID of the Bazel server.
int64 server_pid = 8;- Parameters:
value- The serverPid to set.- Returns:
- This builder for chaining.
-
clearServerPid
The process ID of the Bazel server.
int64 server_pid = 8;- Returns:
- This builder for chaining.
-