Class BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder>
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder
-
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder,Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics
public static final class BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder extends GeneratedMessageV3.Builder<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder> implements BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder
Information about the size and shape of the build graph. Some fields may not be populated if Bazel was able to skip steps due to caching.
Protobuf typebuild_event_stream.BuildMetrics.BuildGraphMetrics
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)LikesetRepeatedField, but appends the value as a new element.BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsbuild()Constructs the message based on the state of the Builder.BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsbuildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.BuilderclearActionCount()How many actions belonged to the configured targets/aspects above.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearActionCountNotIncludingAspects()How many actions belonged to configured targets: always at most action_count.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearActionLookupValueCount()How many configured targets/aspects were in this build, including any that were analyzed on a prior build and are still valid.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearActionLookupValueCountNotIncludingAspects()How many configured targets alone were in this build: always at most action_lookup_value_count.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearField(Descriptors.FieldDescriptor field)Clears the field.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearInputFileConfiguredTargetCount()How many "input file" configured targets there were: one per source file.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearOneof(Descriptors.OneofDescriptor oneof)TODO(jieluo): Clear it when all subclasses have implemented this method.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearOtherConfiguredTargetCount()How many "other" configured targets there were (like alias, package_group, and other non-rule non-file configured targets).BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearOutputArtifactCount()How many artifacts are outputs of the above actions.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearOutputFileConfiguredTargetCount()How many "output file" configured targets there were: output files that are targets (not implicit outputs).BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderclearPostInvocationSkyframeNodeCount()How many Skyframe nodes there are in memory at the end of the build.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builderclone()Clones the Builder.intgetActionCount()How many actions belonged to the configured targets/aspects above.intgetActionCountNotIncludingAspects()How many actions belonged to configured targets: always at most action_count.intgetActionLookupValueCount()How many configured targets/aspects were in this build, including any that were analyzed on a prior build and are still valid.intgetActionLookupValueCountNotIncludingAspects()How many configured targets alone were in this build: always at most action_lookup_value_count.BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsgetDefaultInstanceForType()Get an instance of the type with no fields set.static Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()Get the message's type's descriptor.intgetInputFileConfiguredTargetCount()How many "input file" configured targets there were: one per source file.intgetOtherConfiguredTargetCount()How many "other" configured targets there were (like alias, package_group, and other non-rule non-file configured targets).intgetOutputArtifactCount()How many artifacts are outputs of the above actions.intgetOutputFileConfiguredTargetCount()How many "output file" configured targets there were: output files that are targets (not implicit outputs).intgetPostInvocationSkyframeNodeCount()How many Skyframe nodes there are in memory at the end of the build.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.BuildMetrics.BuildGraphMetrics.BuildermergeFrom(BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics other)BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildermergeFrom(Message other)Mergeotherinto the message being built.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildermergeUnknownFields(UnknownFieldSet unknownFields)Merge some unknown fields into theUnknownFieldSetfor this message.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetActionCount(int value)How many actions belonged to the configured targets/aspects above.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetActionCountNotIncludingAspects(int value)How many actions belonged to configured targets: always at most action_count.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetActionLookupValueCount(int value)How many configured targets/aspects were in this build, including any that were analyzed on a prior build and are still valid.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetActionLookupValueCountNotIncludingAspects(int value)How many configured targets alone were in this build: always at most action_lookup_value_count.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetField(Descriptors.FieldDescriptor field, java.lang.Object value)Sets a field to the given value.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetInputFileConfiguredTargetCount(int value)How many "input file" configured targets there were: one per source file.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetOtherConfiguredTargetCount(int value)How many "other" configured targets there were (like alias, package_group, and other non-rule non-file configured targets).BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetOutputArtifactCount(int value)How many artifacts are outputs of the above actions.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetOutputFileConfiguredTargetCount(int value)How many "output file" configured targets there were: output files that are targets (not implicit outputs).BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetPostInvocationSkyframeNodeCount(int value)How many Skyframe nodes there are in memory at the end of the build.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)Sets an element of a repeated field to the given value.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.
-
clear
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics 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.BuildMetrics.BuildGraphMetrics 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.BuildMetrics.BuildGraphMetrics 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.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>- See Also:
Object.clone()
-
setField
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>
-
clearField
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>
-
clearOneof
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>
-
setRepeatedField
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>
-
addRepeatedField
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder mergeFrom(BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics 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.BuildMetrics.BuildGraphMetrics.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>- Throws:
java.io.IOException
-
getActionLookupValueCount
public int getActionLookupValueCount()
How many configured targets/aspects were in this build, including any that were analyzed on a prior build and are still valid. May not be populated if analysis phase was fully cached. Note: for historical reasons this includes input/output files and other configured targets that do not actually have associated actions.
int32 action_lookup_value_count = 1;- Specified by:
getActionLookupValueCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The actionLookupValueCount.
-
setActionLookupValueCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setActionLookupValueCount(int value)
How many configured targets/aspects were in this build, including any that were analyzed on a prior build and are still valid. May not be populated if analysis phase was fully cached. Note: for historical reasons this includes input/output files and other configured targets that do not actually have associated actions.
int32 action_lookup_value_count = 1;- Parameters:
value- The actionLookupValueCount to set.- Returns:
- This builder for chaining.
-
clearActionLookupValueCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearActionLookupValueCount()
How many configured targets/aspects were in this build, including any that were analyzed on a prior build and are still valid. May not be populated if analysis phase was fully cached. Note: for historical reasons this includes input/output files and other configured targets that do not actually have associated actions.
int32 action_lookup_value_count = 1;- Returns:
- This builder for chaining.
-
getActionLookupValueCountNotIncludingAspects
public int getActionLookupValueCountNotIncludingAspects()
How many configured targets alone were in this build: always at most action_lookup_value_count. Useful mainly for historical comparisons to TargetMetrics.targets_configured, which used to not count aspects. This also includes configured targets that do not have associated actions.
int32 action_lookup_value_count_not_including_aspects = 5;- Specified by:
getActionLookupValueCountNotIncludingAspectsin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The actionLookupValueCountNotIncludingAspects.
-
setActionLookupValueCountNotIncludingAspects
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setActionLookupValueCountNotIncludingAspects(int value)
How many configured targets alone were in this build: always at most action_lookup_value_count. Useful mainly for historical comparisons to TargetMetrics.targets_configured, which used to not count aspects. This also includes configured targets that do not have associated actions.
int32 action_lookup_value_count_not_including_aspects = 5;- Parameters:
value- The actionLookupValueCountNotIncludingAspects to set.- Returns:
- This builder for chaining.
-
clearActionLookupValueCountNotIncludingAspects
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearActionLookupValueCountNotIncludingAspects()
How many configured targets alone were in this build: always at most action_lookup_value_count. Useful mainly for historical comparisons to TargetMetrics.targets_configured, which used to not count aspects. This also includes configured targets that do not have associated actions.
int32 action_lookup_value_count_not_including_aspects = 5;- Returns:
- This builder for chaining.
-
getActionCount
public int getActionCount()
How many actions belonged to the configured targets/aspects above. It may not be necessary to execute all of these actions to build the requested targets. May not be populated if analysis phase was fully cached.
int32 action_count = 2;- Specified by:
getActionCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The actionCount.
-
setActionCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setActionCount(int value)
How many actions belonged to the configured targets/aspects above. It may not be necessary to execute all of these actions to build the requested targets. May not be populated if analysis phase was fully cached.
int32 action_count = 2;- Parameters:
value- The actionCount to set.- Returns:
- This builder for chaining.
-
clearActionCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearActionCount()
How many actions belonged to the configured targets/aspects above. It may not be necessary to execute all of these actions to build the requested targets. May not be populated if analysis phase was fully cached.
int32 action_count = 2;- Returns:
- This builder for chaining.
-
getActionCountNotIncludingAspects
public int getActionCountNotIncludingAspects()
How many actions belonged to configured targets: always at most action_count. Useful mainly for historical comparisons to ActionMetrics.actions_created, which used to not count aspects' actions.
int32 action_count_not_including_aspects = 6;- Specified by:
getActionCountNotIncludingAspectsin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The actionCountNotIncludingAspects.
-
setActionCountNotIncludingAspects
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setActionCountNotIncludingAspects(int value)
How many actions belonged to configured targets: always at most action_count. Useful mainly for historical comparisons to ActionMetrics.actions_created, which used to not count aspects' actions.
int32 action_count_not_including_aspects = 6;- Parameters:
value- The actionCountNotIncludingAspects to set.- Returns:
- This builder for chaining.
-
clearActionCountNotIncludingAspects
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearActionCountNotIncludingAspects()
How many actions belonged to configured targets: always at most action_count. Useful mainly for historical comparisons to ActionMetrics.actions_created, which used to not count aspects' actions.
int32 action_count_not_including_aspects = 6;- Returns:
- This builder for chaining.
-
getInputFileConfiguredTargetCount
public int getInputFileConfiguredTargetCount()
How many "input file" configured targets there were: one per source file. Should agree with artifact_metrics.source_artifacts_read.count above,
int32 input_file_configured_target_count = 7;- Specified by:
getInputFileConfiguredTargetCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The inputFileConfiguredTargetCount.
-
setInputFileConfiguredTargetCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setInputFileConfiguredTargetCount(int value)
How many "input file" configured targets there were: one per source file. Should agree with artifact_metrics.source_artifacts_read.count above,
int32 input_file_configured_target_count = 7;- Parameters:
value- The inputFileConfiguredTargetCount to set.- Returns:
- This builder for chaining.
-
clearInputFileConfiguredTargetCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearInputFileConfiguredTargetCount()
How many "input file" configured targets there were: one per source file. Should agree with artifact_metrics.source_artifacts_read.count above,
int32 input_file_configured_target_count = 7;- Returns:
- This builder for chaining.
-
getOutputFileConfiguredTargetCount
public int getOutputFileConfiguredTargetCount()
How many "output file" configured targets there were: output files that are targets (not implicit outputs).
int32 output_file_configured_target_count = 8;- Specified by:
getOutputFileConfiguredTargetCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The outputFileConfiguredTargetCount.
-
setOutputFileConfiguredTargetCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setOutputFileConfiguredTargetCount(int value)
How many "output file" configured targets there were: output files that are targets (not implicit outputs).
int32 output_file_configured_target_count = 8;- Parameters:
value- The outputFileConfiguredTargetCount to set.- Returns:
- This builder for chaining.
-
clearOutputFileConfiguredTargetCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearOutputFileConfiguredTargetCount()
How many "output file" configured targets there were: output files that are targets (not implicit outputs).
int32 output_file_configured_target_count = 8;- Returns:
- This builder for chaining.
-
getOtherConfiguredTargetCount
public int getOtherConfiguredTargetCount()
How many "other" configured targets there were (like alias, package_group, and other non-rule non-file configured targets).
int32 other_configured_target_count = 9;- Specified by:
getOtherConfiguredTargetCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The otherConfiguredTargetCount.
-
setOtherConfiguredTargetCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setOtherConfiguredTargetCount(int value)
How many "other" configured targets there were (like alias, package_group, and other non-rule non-file configured targets).
int32 other_configured_target_count = 9;- Parameters:
value- The otherConfiguredTargetCount to set.- Returns:
- This builder for chaining.
-
clearOtherConfiguredTargetCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearOtherConfiguredTargetCount()
How many "other" configured targets there were (like alias, package_group, and other non-rule non-file configured targets).
int32 other_configured_target_count = 9;- Returns:
- This builder for chaining.
-
getOutputArtifactCount
public int getOutputArtifactCount()
How many artifacts are outputs of the above actions. May not be populated if analysis phase was fully cached.
int32 output_artifact_count = 3;- Specified by:
getOutputArtifactCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The outputArtifactCount.
-
setOutputArtifactCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setOutputArtifactCount(int value)
How many artifacts are outputs of the above actions. May not be populated if analysis phase was fully cached.
int32 output_artifact_count = 3;- Parameters:
value- The outputArtifactCount to set.- Returns:
- This builder for chaining.
-
clearOutputArtifactCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearOutputArtifactCount()
How many artifacts are outputs of the above actions. May not be populated if analysis phase was fully cached.
int32 output_artifact_count = 3;- Returns:
- This builder for chaining.
-
getPostInvocationSkyframeNodeCount
public int getPostInvocationSkyframeNodeCount()
How many Skyframe nodes there are in memory at the end of the build. This may underestimate the number of nodes when running with memory-saving settings or with Skybuild, and may overestimate if there are nodes from prior evaluations still in the cache.
int32 post_invocation_skyframe_node_count = 4;- Specified by:
getPostInvocationSkyframeNodeCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder- Returns:
- The postInvocationSkyframeNodeCount.
-
setPostInvocationSkyframeNodeCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setPostInvocationSkyframeNodeCount(int value)
How many Skyframe nodes there are in memory at the end of the build. This may underestimate the number of nodes when running with memory-saving settings or with Skybuild, and may overestimate if there are nodes from prior evaluations still in the cache.
int32 post_invocation_skyframe_node_count = 4;- Parameters:
value- The postInvocationSkyframeNodeCount to set.- Returns:
- This builder for chaining.
-
clearPostInvocationSkyframeNodeCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder clearPostInvocationSkyframeNodeCount()
How many Skyframe nodes there are in memory at the end of the build. This may underestimate the number of nodes when running with memory-saving settings or with Skybuild, and may overestimate if there are nodes from prior evaluations still in the cache.
int32 post_invocation_skyframe_node_count = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.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.BuildMetrics.BuildGraphMetrics.Builder>
-
-