Class BuildEventStreamProtos.ActionExecuted.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.ActionExecuted.Builder
-
- All Implemented Interfaces:
BuildEventStreamProtos.ActionExecutedOrBuilder,Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.ActionExecuted
public static final class BuildEventStreamProtos.ActionExecuted.Builder extends GeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder> implements BuildEventStreamProtos.ActionExecutedOrBuilder
Payload of the event indicating the completion of an action. The main purpose of posting those events is to provide details on the root cause for a target failing; however, consumers of the build-event protocol must not assume that only failed actions are posted.
Protobuf typebuild_event_stream.ActionExecuted
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BuildEventStreamProtos.ActionExecuted.BuilderaddActionMetadataLogs(int index, BuildEventStreamProtos.File value)List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuilderaddActionMetadataLogs(int index, BuildEventStreamProtos.File.Builder builderForValue)List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuilderaddActionMetadataLogs(BuildEventStreamProtos.File value)List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuilderaddActionMetadataLogs(BuildEventStreamProtos.File.Builder builderForValue)List of paths to log filesBuildEventStreamProtos.File.BuilderaddActionMetadataLogsBuilder()List of paths to log filesBuildEventStreamProtos.File.BuilderaddActionMetadataLogsBuilder(int index)List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuilderaddAllActionMetadataLogs(java.lang.Iterable<? extends BuildEventStreamProtos.File> values)List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuilderaddAllCommandLine(java.lang.Iterable<java.lang.String> values)The command-line of the action, if the action is a command.BuildEventStreamProtos.ActionExecuted.BuilderaddCommandLine(java.lang.String value)The command-line of the action, if the action is a command.BuildEventStreamProtos.ActionExecuted.BuilderaddCommandLineBytes(ByteString value)The command-line of the action, if the action is a command.BuildEventStreamProtos.ActionExecuted.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)LikesetRepeatedField, but appends the value as a new element.BuildEventStreamProtos.ActionExecutedbuild()Constructs the message based on the state of the Builder.BuildEventStreamProtos.ActionExecutedbuildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.BuildEventStreamProtos.ActionExecuted.Builderclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.BuildEventStreamProtos.ActionExecuted.BuilderclearActionMetadataLogs()List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuilderclearCommandLine()The command-line of the action, if the action is a command.BuildEventStreamProtos.ActionExecuted.BuilderclearConfiguration()Deprecated.BuildEventStreamProtos.ActionExecuted.BuilderclearExitCode()The exit code of the action, if it is available.BuildEventStreamProtos.ActionExecuted.BuilderclearFailureDetail()Only populated if success = false, and sometimes not even then.BuildEventStreamProtos.ActionExecuted.BuilderclearField(Descriptors.FieldDescriptor field)Clears the field.BuildEventStreamProtos.ActionExecuted.BuilderclearLabel()Deprecated.BuildEventStreamProtos.ActionExecuted.BuilderclearOneof(Descriptors.OneofDescriptor oneof)TODO(jieluo): Clear it when all subclasses have implemented this method.BuildEventStreamProtos.ActionExecuted.BuilderclearPrimaryOutput()Primary output; only provided for successful actions.BuildEventStreamProtos.ActionExecuted.BuilderclearStderr()Location where to find the standard error of the action (e.g., a file path).BuildEventStreamProtos.ActionExecuted.BuilderclearStdout()Location where to find the standard output of the action (e.g., a file path).BuildEventStreamProtos.ActionExecuted.BuilderclearSuccess()bool success = 1;BuildEventStreamProtos.ActionExecuted.BuilderclearType()The mnemonic of the action that was executedBuildEventStreamProtos.ActionExecuted.Builderclone()Clones the Builder.BuildEventStreamProtos.FilegetActionMetadataLogs(int index)List of paths to log filesBuildEventStreamProtos.File.BuildergetActionMetadataLogsBuilder(int index)List of paths to log filesjava.util.List<BuildEventStreamProtos.File.Builder>getActionMetadataLogsBuilderList()List of paths to log filesintgetActionMetadataLogsCount()List of paths to log filesjava.util.List<BuildEventStreamProtos.File>getActionMetadataLogsList()List of paths to log filesBuildEventStreamProtos.FileOrBuildergetActionMetadataLogsOrBuilder(int index)List of paths to log filesjava.util.List<? extends BuildEventStreamProtos.FileOrBuilder>getActionMetadataLogsOrBuilderList()List of paths to log filesjava.lang.StringgetCommandLine(int index)The command-line of the action, if the action is a command.ByteStringgetCommandLineBytes(int index)The command-line of the action, if the action is a command.intgetCommandLineCount()The command-line of the action, if the action is a command.ProtocolStringListgetCommandLineList()The command-line of the action, if the action is a command.BuildEventStreamProtos.BuildEventId.ConfigurationIdgetConfiguration()Deprecated.BuildEventStreamProtos.BuildEventId.ConfigurationId.BuildergetConfigurationBuilder()Deprecated.BuildEventStreamProtos.BuildEventId.ConfigurationIdOrBuildergetConfigurationOrBuilder()Deprecated.BuildEventStreamProtos.ActionExecutedgetDefaultInstanceForType()Get an instance of the type with no fields set.static Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()Get the message's type's descriptor.intgetExitCode()The exit code of the action, if it is available.com.google.devtools.build.lib.server.FailureDetails.FailureDetailgetFailureDetail()Only populated if success = false, and sometimes not even then.com.google.devtools.build.lib.server.FailureDetails.FailureDetail.BuildergetFailureDetailBuilder()Only populated if success = false, and sometimes not even then.com.google.devtools.build.lib.server.FailureDetails.FailureDetailOrBuildergetFailureDetailOrBuilder()Only populated if success = false, and sometimes not even then.java.lang.StringgetLabel()Deprecated.ByteStringgetLabelBytes()Deprecated.BuildEventStreamProtos.FilegetPrimaryOutput()Primary output; only provided for successful actions.BuildEventStreamProtos.File.BuildergetPrimaryOutputBuilder()Primary output; only provided for successful actions.BuildEventStreamProtos.FileOrBuildergetPrimaryOutputOrBuilder()Primary output; only provided for successful actions.BuildEventStreamProtos.FilegetStderr()Location where to find the standard error of the action (e.g., a file path).BuildEventStreamProtos.File.BuildergetStderrBuilder()Location where to find the standard error of the action (e.g., a file path).BuildEventStreamProtos.FileOrBuildergetStderrOrBuilder()Location where to find the standard error of the action (e.g., a file path).BuildEventStreamProtos.FilegetStdout()Location where to find the standard output of the action (e.g., a file path).BuildEventStreamProtos.File.BuildergetStdoutBuilder()Location where to find the standard output of the action (e.g., a file path).BuildEventStreamProtos.FileOrBuildergetStdoutOrBuilder()Location where to find the standard output of the action (e.g., a file path).booleangetSuccess()bool success = 1;java.lang.StringgetType()The mnemonic of the action that was executedByteStringgetTypeBytes()The mnemonic of the action that was executedbooleanhasConfiguration()Deprecated.booleanhasFailureDetail()Only populated if success = false, and sometimes not even then.booleanhasPrimaryOutput()Primary output; only provided for successful actions.booleanhasStderr()Location where to find the standard error of the action (e.g., a file path).booleanhasStdout()Location where to find the standard output of the action (e.g., a file path).protected GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.BuildEventStreamProtos.ActionExecuted.BuildermergeConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId value)Deprecated.BuildEventStreamProtos.ActionExecuted.BuildermergeFailureDetail(com.google.devtools.build.lib.server.FailureDetails.FailureDetail value)Only populated if success = false, and sometimes not even then.BuildEventStreamProtos.ActionExecuted.BuildermergeFrom(BuildEventStreamProtos.ActionExecuted other)BuildEventStreamProtos.ActionExecuted.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.BuildEventStreamProtos.ActionExecuted.BuildermergeFrom(Message other)Mergeotherinto the message being built.BuildEventStreamProtos.ActionExecuted.BuildermergePrimaryOutput(BuildEventStreamProtos.File value)Primary output; only provided for successful actions.BuildEventStreamProtos.ActionExecuted.BuildermergeStderr(BuildEventStreamProtos.File value)Location where to find the standard error of the action (e.g., a file path).BuildEventStreamProtos.ActionExecuted.BuildermergeStdout(BuildEventStreamProtos.File value)Location where to find the standard output of the action (e.g., a file path).BuildEventStreamProtos.ActionExecuted.BuildermergeUnknownFields(UnknownFieldSet unknownFields)Merge some unknown fields into theUnknownFieldSetfor this message.BuildEventStreamProtos.ActionExecuted.BuilderremoveActionMetadataLogs(int index)List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuildersetActionMetadataLogs(int index, BuildEventStreamProtos.File value)List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuildersetActionMetadataLogs(int index, BuildEventStreamProtos.File.Builder builderForValue)List of paths to log filesBuildEventStreamProtos.ActionExecuted.BuildersetCommandLine(int index, java.lang.String value)The command-line of the action, if the action is a command.BuildEventStreamProtos.ActionExecuted.BuildersetConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId value)Deprecated.BuildEventStreamProtos.ActionExecuted.BuildersetConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId.Builder builderForValue)Deprecated.BuildEventStreamProtos.ActionExecuted.BuildersetExitCode(int value)The exit code of the action, if it is available.BuildEventStreamProtos.ActionExecuted.BuildersetFailureDetail(com.google.devtools.build.lib.server.FailureDetails.FailureDetail value)Only populated if success = false, and sometimes not even then.BuildEventStreamProtos.ActionExecuted.BuildersetFailureDetail(com.google.devtools.build.lib.server.FailureDetails.FailureDetail.Builder builderForValue)Only populated if success = false, and sometimes not even then.BuildEventStreamProtos.ActionExecuted.BuildersetField(Descriptors.FieldDescriptor field, java.lang.Object value)Sets a field to the given value.BuildEventStreamProtos.ActionExecuted.BuildersetLabel(java.lang.String value)Deprecated.BuildEventStreamProtos.ActionExecuted.BuildersetLabelBytes(ByteString value)Deprecated.BuildEventStreamProtos.ActionExecuted.BuildersetPrimaryOutput(BuildEventStreamProtos.File value)Primary output; only provided for successful actions.BuildEventStreamProtos.ActionExecuted.BuildersetPrimaryOutput(BuildEventStreamProtos.File.Builder builderForValue)Primary output; only provided for successful actions.BuildEventStreamProtos.ActionExecuted.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)Sets an element of a repeated field to the given value.BuildEventStreamProtos.ActionExecuted.BuildersetStderr(BuildEventStreamProtos.File value)Location where to find the standard error of the action (e.g., a file path).BuildEventStreamProtos.ActionExecuted.BuildersetStderr(BuildEventStreamProtos.File.Builder builderForValue)Location where to find the standard error of the action (e.g., a file path).BuildEventStreamProtos.ActionExecuted.BuildersetStdout(BuildEventStreamProtos.File value)Location where to find the standard output of the action (e.g., a file path).BuildEventStreamProtos.ActionExecuted.BuildersetStdout(BuildEventStreamProtos.File.Builder builderForValue)Location where to find the standard output of the action (e.g., a file path).BuildEventStreamProtos.ActionExecuted.BuildersetSuccess(boolean value)bool success = 1;BuildEventStreamProtos.ActionExecuted.BuildersetType(java.lang.String value)The mnemonic of the action that was executedBuildEventStreamProtos.ActionExecuted.BuildersetTypeBytes(ByteString value)The mnemonic of the action that was executedBuildEventStreamProtos.ActionExecuted.BuildersetUnknownFields(UnknownFieldSet unknownFields)Set theUnknownFieldSetfor this message.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessageV3.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
clear
public BuildEventStreamProtos.ActionExecuted.Builder clear()
Description copied from class:GeneratedMessageV3.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.ActionExecuted getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public BuildEventStreamProtos.ActionExecuted build()
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public BuildEventStreamProtos.ActionExecuted buildPartial()
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public BuildEventStreamProtos.ActionExecuted.Builder clone()
Description copied from interface:MessageLite.BuilderClones the Builder.- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>- See Also:
Object.clone()
-
setField
public BuildEventStreamProtos.ActionExecuted.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderSets a field to the given value. The value must be of the correct type for this field, i.e. the same type thatMessageOrBuilder.getField(Descriptors.FieldDescriptor)would return.- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
clearField
public BuildEventStreamProtos.ActionExecuted.Builder clearField(Descriptors.FieldDescriptor field)
Description copied from interface:Message.BuilderClears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
clearOneof
public BuildEventStreamProtos.ActionExecuted.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Description copied from class:AbstractMessage.BuilderTODO(jieluo): Clear it when all subclasses have implemented this method.- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
setRepeatedField
public BuildEventStreamProtos.ActionExecuted.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Description copied from interface:Message.BuilderSets an element of a repeated field to the given value. The value must be of the correct type for this field, i.e. the same type thatMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int)would return.- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
addRepeatedField
public BuildEventStreamProtos.ActionExecuted.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderLikesetRepeatedField, but appends the value as a new element.- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
mergeFrom
public BuildEventStreamProtos.ActionExecuted.Builder mergeFrom(Message other)
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.This is equivalent to the
Message::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
mergeFrom
public BuildEventStreamProtos.ActionExecuted.Builder mergeFrom(BuildEventStreamProtos.ActionExecuted other)
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
mergeFrom
public BuildEventStreamProtos.ActionExecuted.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<BuildEventStreamProtos.ActionExecuted.Builder>- Throws:
java.io.IOException
-
getSuccess
public boolean getSuccess()
bool success = 1;- Specified by:
getSuccessin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The success.
-
setSuccess
public BuildEventStreamProtos.ActionExecuted.Builder setSuccess(boolean value)
bool success = 1;- Parameters:
value- The success to set.- Returns:
- This builder for chaining.
-
clearSuccess
public BuildEventStreamProtos.ActionExecuted.Builder clearSuccess()
bool success = 1;- Returns:
- This builder for chaining.
-
getType
public java.lang.String getType()
The mnemonic of the action that was executed
string type = 8;- Specified by:
getTypein interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The type.
-
getTypeBytes
public ByteString getTypeBytes()
The mnemonic of the action that was executed
string type = 8;- Specified by:
getTypeBytesin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The bytes for type.
-
setType
public BuildEventStreamProtos.ActionExecuted.Builder setType(java.lang.String value)
The mnemonic of the action that was executed
string type = 8;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public BuildEventStreamProtos.ActionExecuted.Builder clearType()
The mnemonic of the action that was executed
string type = 8;- Returns:
- This builder for chaining.
-
setTypeBytes
public BuildEventStreamProtos.ActionExecuted.Builder setTypeBytes(ByteString value)
The mnemonic of the action that was executed
string type = 8;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getExitCode
public int getExitCode()
The exit code of the action, if it is available.
int32 exit_code = 2;- Specified by:
getExitCodein interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The exitCode.
-
setExitCode
public BuildEventStreamProtos.ActionExecuted.Builder setExitCode(int value)
The exit code of the action, if it is available.
int32 exit_code = 2;- Parameters:
value- The exitCode to set.- Returns:
- This builder for chaining.
-
clearExitCode
public BuildEventStreamProtos.ActionExecuted.Builder clearExitCode()
The exit code of the action, if it is available.
int32 exit_code = 2;- Returns:
- This builder for chaining.
-
hasStdout
public boolean hasStdout()
Location where to find the standard output of the action (e.g., a file path).
.build_event_stream.File stdout = 3;- Specified by:
hasStdoutin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- Whether the stdout field is set.
-
getStdout
public BuildEventStreamProtos.File getStdout()
Location where to find the standard output of the action (e.g., a file path).
.build_event_stream.File stdout = 3;- Specified by:
getStdoutin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The stdout.
-
setStdout
public BuildEventStreamProtos.ActionExecuted.Builder setStdout(BuildEventStreamProtos.File value)
Location where to find the standard output of the action (e.g., a file path).
.build_event_stream.File stdout = 3;
-
setStdout
public BuildEventStreamProtos.ActionExecuted.Builder setStdout(BuildEventStreamProtos.File.Builder builderForValue)
Location where to find the standard output of the action (e.g., a file path).
.build_event_stream.File stdout = 3;
-
mergeStdout
public BuildEventStreamProtos.ActionExecuted.Builder mergeStdout(BuildEventStreamProtos.File value)
Location where to find the standard output of the action (e.g., a file path).
.build_event_stream.File stdout = 3;
-
clearStdout
public BuildEventStreamProtos.ActionExecuted.Builder clearStdout()
Location where to find the standard output of the action (e.g., a file path).
.build_event_stream.File stdout = 3;
-
getStdoutBuilder
public BuildEventStreamProtos.File.Builder getStdoutBuilder()
Location where to find the standard output of the action (e.g., a file path).
.build_event_stream.File stdout = 3;
-
getStdoutOrBuilder
public BuildEventStreamProtos.FileOrBuilder getStdoutOrBuilder()
Location where to find the standard output of the action (e.g., a file path).
.build_event_stream.File stdout = 3;- Specified by:
getStdoutOrBuilderin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
hasStderr
public boolean hasStderr()
Location where to find the standard error of the action (e.g., a file path).
.build_event_stream.File stderr = 4;- Specified by:
hasStderrin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- Whether the stderr field is set.
-
getStderr
public BuildEventStreamProtos.File getStderr()
Location where to find the standard error of the action (e.g., a file path).
.build_event_stream.File stderr = 4;- Specified by:
getStderrin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The stderr.
-
setStderr
public BuildEventStreamProtos.ActionExecuted.Builder setStderr(BuildEventStreamProtos.File value)
Location where to find the standard error of the action (e.g., a file path).
.build_event_stream.File stderr = 4;
-
setStderr
public BuildEventStreamProtos.ActionExecuted.Builder setStderr(BuildEventStreamProtos.File.Builder builderForValue)
Location where to find the standard error of the action (e.g., a file path).
.build_event_stream.File stderr = 4;
-
mergeStderr
public BuildEventStreamProtos.ActionExecuted.Builder mergeStderr(BuildEventStreamProtos.File value)
Location where to find the standard error of the action (e.g., a file path).
.build_event_stream.File stderr = 4;
-
clearStderr
public BuildEventStreamProtos.ActionExecuted.Builder clearStderr()
Location where to find the standard error of the action (e.g., a file path).
.build_event_stream.File stderr = 4;
-
getStderrBuilder
public BuildEventStreamProtos.File.Builder getStderrBuilder()
Location where to find the standard error of the action (e.g., a file path).
.build_event_stream.File stderr = 4;
-
getStderrOrBuilder
public BuildEventStreamProtos.FileOrBuilder getStderrOrBuilder()
Location where to find the standard error of the action (e.g., a file path).
.build_event_stream.File stderr = 4;- Specified by:
getStderrOrBuilderin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
getLabel
@Deprecated public java.lang.String getLabel()
Deprecated.Deprecated. This field is now present on ActionCompletedId.
string label = 5 [deprecated = true];- Specified by:
getLabelin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The label.
-
getLabelBytes
@Deprecated public ByteString getLabelBytes()
Deprecated.Deprecated. This field is now present on ActionCompletedId.
string label = 5 [deprecated = true];- Specified by:
getLabelBytesin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The bytes for label.
-
setLabel
@Deprecated public BuildEventStreamProtos.ActionExecuted.Builder setLabel(java.lang.String value)
Deprecated.Deprecated. This field is now present on ActionCompletedId.
string label = 5 [deprecated = true];- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
@Deprecated public BuildEventStreamProtos.ActionExecuted.Builder clearLabel()
Deprecated.Deprecated. This field is now present on ActionCompletedId.
string label = 5 [deprecated = true];- Returns:
- This builder for chaining.
-
setLabelBytes
@Deprecated public BuildEventStreamProtos.ActionExecuted.Builder setLabelBytes(ByteString value)
Deprecated.Deprecated. This field is now present on ActionCompletedId.
string label = 5 [deprecated = true];- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
hasConfiguration
@Deprecated public boolean hasConfiguration()
Deprecated.Deprecated. This field is now present on ActionCompletedId.
.build_event_stream.BuildEventId.ConfigurationId configuration = 7 [deprecated = true];- Specified by:
hasConfigurationin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- Whether the configuration field is set.
-
getConfiguration
@Deprecated public BuildEventStreamProtos.BuildEventId.ConfigurationId getConfiguration()
Deprecated.Deprecated. This field is now present on ActionCompletedId.
.build_event_stream.BuildEventId.ConfigurationId configuration = 7 [deprecated = true];- Specified by:
getConfigurationin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The configuration.
-
setConfiguration
@Deprecated public BuildEventStreamProtos.ActionExecuted.Builder setConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId value)
Deprecated.Deprecated. This field is now present on ActionCompletedId.
.build_event_stream.BuildEventId.ConfigurationId configuration = 7 [deprecated = true];
-
setConfiguration
@Deprecated public BuildEventStreamProtos.ActionExecuted.Builder setConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId.Builder builderForValue)
Deprecated.Deprecated. This field is now present on ActionCompletedId.
.build_event_stream.BuildEventId.ConfigurationId configuration = 7 [deprecated = true];
-
mergeConfiguration
@Deprecated public BuildEventStreamProtos.ActionExecuted.Builder mergeConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId value)
Deprecated.Deprecated. This field is now present on ActionCompletedId.
.build_event_stream.BuildEventId.ConfigurationId configuration = 7 [deprecated = true];
-
clearConfiguration
@Deprecated public BuildEventStreamProtos.ActionExecuted.Builder clearConfiguration()
Deprecated.Deprecated. This field is now present on ActionCompletedId.
.build_event_stream.BuildEventId.ConfigurationId configuration = 7 [deprecated = true];
-
getConfigurationBuilder
@Deprecated public BuildEventStreamProtos.BuildEventId.ConfigurationId.Builder getConfigurationBuilder()
Deprecated.Deprecated. This field is now present on ActionCompletedId.
.build_event_stream.BuildEventId.ConfigurationId configuration = 7 [deprecated = true];
-
getConfigurationOrBuilder
@Deprecated public BuildEventStreamProtos.BuildEventId.ConfigurationIdOrBuilder getConfigurationOrBuilder()
Deprecated.Deprecated. This field is now present on ActionCompletedId.
.build_event_stream.BuildEventId.ConfigurationId configuration = 7 [deprecated = true];- Specified by:
getConfigurationOrBuilderin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
hasPrimaryOutput
public boolean hasPrimaryOutput()
Primary output; only provided for successful actions.
.build_event_stream.File primary_output = 6;- Specified by:
hasPrimaryOutputin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- Whether the primaryOutput field is set.
-
getPrimaryOutput
public BuildEventStreamProtos.File getPrimaryOutput()
Primary output; only provided for successful actions.
.build_event_stream.File primary_output = 6;- Specified by:
getPrimaryOutputin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The primaryOutput.
-
setPrimaryOutput
public BuildEventStreamProtos.ActionExecuted.Builder setPrimaryOutput(BuildEventStreamProtos.File value)
Primary output; only provided for successful actions.
.build_event_stream.File primary_output = 6;
-
setPrimaryOutput
public BuildEventStreamProtos.ActionExecuted.Builder setPrimaryOutput(BuildEventStreamProtos.File.Builder builderForValue)
Primary output; only provided for successful actions.
.build_event_stream.File primary_output = 6;
-
mergePrimaryOutput
public BuildEventStreamProtos.ActionExecuted.Builder mergePrimaryOutput(BuildEventStreamProtos.File value)
Primary output; only provided for successful actions.
.build_event_stream.File primary_output = 6;
-
clearPrimaryOutput
public BuildEventStreamProtos.ActionExecuted.Builder clearPrimaryOutput()
Primary output; only provided for successful actions.
.build_event_stream.File primary_output = 6;
-
getPrimaryOutputBuilder
public BuildEventStreamProtos.File.Builder getPrimaryOutputBuilder()
Primary output; only provided for successful actions.
.build_event_stream.File primary_output = 6;
-
getPrimaryOutputOrBuilder
public BuildEventStreamProtos.FileOrBuilder getPrimaryOutputOrBuilder()
Primary output; only provided for successful actions.
.build_event_stream.File primary_output = 6;- Specified by:
getPrimaryOutputOrBuilderin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
getCommandLineList
public ProtocolStringList getCommandLineList()
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Specified by:
getCommandLineListin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- A list containing the commandLine.
-
getCommandLineCount
public int getCommandLineCount()
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Specified by:
getCommandLineCountin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The count of commandLine.
-
getCommandLine
public java.lang.String getCommandLine(int index)
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Specified by:
getCommandLinein interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The commandLine at the given index.
-
getCommandLineBytes
public ByteString getCommandLineBytes(int index)
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Specified by:
getCommandLineBytesin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the commandLine at the given index.
-
setCommandLine
public BuildEventStreamProtos.ActionExecuted.Builder setCommandLine(int index, java.lang.String value)
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Parameters:
index- The index to set the value at.value- The commandLine to set.- Returns:
- This builder for chaining.
-
addCommandLine
public BuildEventStreamProtos.ActionExecuted.Builder addCommandLine(java.lang.String value)
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Parameters:
value- The commandLine to add.- Returns:
- This builder for chaining.
-
addAllCommandLine
public BuildEventStreamProtos.ActionExecuted.Builder addAllCommandLine(java.lang.Iterable<java.lang.String> values)
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Parameters:
values- The commandLine to add.- Returns:
- This builder for chaining.
-
clearCommandLine
public BuildEventStreamProtos.ActionExecuted.Builder clearCommandLine()
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Returns:
- This builder for chaining.
-
addCommandLineBytes
public BuildEventStreamProtos.ActionExecuted.Builder addCommandLineBytes(ByteString value)
The command-line of the action, if the action is a command.
repeated string command_line = 9;- Parameters:
value- The bytes of the commandLine to add.- Returns:
- This builder for chaining.
-
getActionMetadataLogsList
public java.util.List<BuildEventStreamProtos.File> getActionMetadataLogsList()
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;- Specified by:
getActionMetadataLogsListin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
getActionMetadataLogsCount
public int getActionMetadataLogsCount()
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;- Specified by:
getActionMetadataLogsCountin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
getActionMetadataLogs
public BuildEventStreamProtos.File getActionMetadataLogs(int index)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;- Specified by:
getActionMetadataLogsin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
setActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder setActionMetadataLogs(int index, BuildEventStreamProtos.File value)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
setActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder setActionMetadataLogs(int index, BuildEventStreamProtos.File.Builder builderForValue)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
addActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder addActionMetadataLogs(BuildEventStreamProtos.File value)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
addActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder addActionMetadataLogs(int index, BuildEventStreamProtos.File value)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
addActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder addActionMetadataLogs(BuildEventStreamProtos.File.Builder builderForValue)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
addActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder addActionMetadataLogs(int index, BuildEventStreamProtos.File.Builder builderForValue)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
addAllActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder addAllActionMetadataLogs(java.lang.Iterable<? extends BuildEventStreamProtos.File> values)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
clearActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder clearActionMetadataLogs()
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
removeActionMetadataLogs
public BuildEventStreamProtos.ActionExecuted.Builder removeActionMetadataLogs(int index)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
getActionMetadataLogsBuilder
public BuildEventStreamProtos.File.Builder getActionMetadataLogsBuilder(int index)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
getActionMetadataLogsOrBuilder
public BuildEventStreamProtos.FileOrBuilder getActionMetadataLogsOrBuilder(int index)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;- Specified by:
getActionMetadataLogsOrBuilderin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
getActionMetadataLogsOrBuilderList
public java.util.List<? extends BuildEventStreamProtos.FileOrBuilder> getActionMetadataLogsOrBuilderList()
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;- Specified by:
getActionMetadataLogsOrBuilderListin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
addActionMetadataLogsBuilder
public BuildEventStreamProtos.File.Builder addActionMetadataLogsBuilder()
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
addActionMetadataLogsBuilder
public BuildEventStreamProtos.File.Builder addActionMetadataLogsBuilder(int index)
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
getActionMetadataLogsBuilderList
public java.util.List<BuildEventStreamProtos.File.Builder> getActionMetadataLogsBuilderList()
List of paths to log files
repeated .build_event_stream.File action_metadata_logs = 10;
-
hasFailureDetail
public boolean hasFailureDetail()
Only populated if success = false, and sometimes not even then.
.failure_details.FailureDetail failure_detail = 11;- Specified by:
hasFailureDetailin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- Whether the failureDetail field is set.
-
getFailureDetail
public com.google.devtools.build.lib.server.FailureDetails.FailureDetail getFailureDetail()
Only populated if success = false, and sometimes not even then.
.failure_details.FailureDetail failure_detail = 11;- Specified by:
getFailureDetailin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder- Returns:
- The failureDetail.
-
setFailureDetail
public BuildEventStreamProtos.ActionExecuted.Builder setFailureDetail(com.google.devtools.build.lib.server.FailureDetails.FailureDetail value)
Only populated if success = false, and sometimes not even then.
.failure_details.FailureDetail failure_detail = 11;
-
setFailureDetail
public BuildEventStreamProtos.ActionExecuted.Builder setFailureDetail(com.google.devtools.build.lib.server.FailureDetails.FailureDetail.Builder builderForValue)
Only populated if success = false, and sometimes not even then.
.failure_details.FailureDetail failure_detail = 11;
-
mergeFailureDetail
public BuildEventStreamProtos.ActionExecuted.Builder mergeFailureDetail(com.google.devtools.build.lib.server.FailureDetails.FailureDetail value)
Only populated if success = false, and sometimes not even then.
.failure_details.FailureDetail failure_detail = 11;
-
clearFailureDetail
public BuildEventStreamProtos.ActionExecuted.Builder clearFailureDetail()
Only populated if success = false, and sometimes not even then.
.failure_details.FailureDetail failure_detail = 11;
-
getFailureDetailBuilder
public com.google.devtools.build.lib.server.FailureDetails.FailureDetail.Builder getFailureDetailBuilder()
Only populated if success = false, and sometimes not even then.
.failure_details.FailureDetail failure_detail = 11;
-
getFailureDetailOrBuilder
public com.google.devtools.build.lib.server.FailureDetails.FailureDetailOrBuilder getFailureDetailOrBuilder()
Only populated if success = false, and sometimes not even then.
.failure_details.FailureDetail failure_detail = 11;- Specified by:
getFailureDetailOrBuilderin interfaceBuildEventStreamProtos.ActionExecutedOrBuilder
-
setUnknownFields
public final BuildEventStreamProtos.ActionExecuted.Builder setUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.ActionExecuted.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderMerge some unknown fields into theUnknownFieldSetfor this message.- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<BuildEventStreamProtos.ActionExecuted.Builder>
-
-