Class BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics
-
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- BuildEventStreamProtos.BuildMetrics
public static final class BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuilderInformation about the size and shape of the build graph.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACTION_COUNT_FIELD_NUMBERstatic intACTION_COUNT_NOT_INCLUDING_ASPECTS_FIELD_NUMBERstatic intACTION_LOOKUP_VALUE_COUNT_FIELD_NUMBERstatic intACTION_LOOKUP_VALUE_COUNT_NOT_INCLUDING_ASPECTS_FIELD_NUMBERstatic intINPUT_FILE_CONFIGURED_TARGET_COUNT_FIELD_NUMBERstatic intOTHER_CONFIGURED_TARGET_COUNT_FIELD_NUMBERstatic intOUTPUT_ARTIFACT_COUNT_FIELD_NUMBERstatic intOUTPUT_FILE_CONFIGURED_TARGET_COUNT_FIELD_NUMBERstatic intPOST_INVOCATION_SKYFRAME_NODE_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)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.static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsgetDefaultInstance()BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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).com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics>getParserForType()intgetPostInvocationSkyframeNodeCount()How many Skyframe nodes there are in memory at the end of the build.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildernewBuilder()static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildernewBuilder(BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics prototype)BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildernewBuilderForType()protected BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseDelimitedFrom(java.io.InputStream input)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(byte[] data)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(com.google.protobuf.ByteString data)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(com.google.protobuf.CodedInputStream input)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(java.io.InputStream input)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(java.nio.ByteBuffer data)static BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics>parser()BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACTION_LOOKUP_VALUE_COUNT_FIELD_NUMBER
public static final int ACTION_LOOKUP_VALUE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTION_LOOKUP_VALUE_COUNT_NOT_INCLUDING_ASPECTS_FIELD_NUMBER
public static final int ACTION_LOOKUP_VALUE_COUNT_NOT_INCLUDING_ASPECTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTION_COUNT_FIELD_NUMBER
public static final int ACTION_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTION_COUNT_NOT_INCLUDING_ASPECTS_FIELD_NUMBER
public static final int ACTION_COUNT_NOT_INCLUDING_ASPECTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_FILE_CONFIGURED_TARGET_COUNT_FIELD_NUMBER
public static final int INPUT_FILE_CONFIGURED_TARGET_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_FILE_CONFIGURED_TARGET_COUNT_FIELD_NUMBER
public static final int OUTPUT_FILE_CONFIGURED_TARGET_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OTHER_CONFIGURED_TARGET_COUNT_FIELD_NUMBER
public static final int OTHER_CONFIGURED_TARGET_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_ARTIFACT_COUNT_FIELD_NUMBER
public static final int OUTPUT_ARTIFACT_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POST_INVOCATION_SKYFRAME_NODE_COUNT_FIELD_NUMBER
public static final int POST_INVOCATION_SKYFRAME_NODE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder newBuilder()
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder newBuilder(BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics prototype)
-
toBuilder
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics> parser()
-
getParserForType
public com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-