Class BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics

    • 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:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.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:
        getActionLookupValueCount in interface BuildEventStreamProtos.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:
        getActionLookupValueCountNotIncludingAspects in interface BuildEventStreamProtos.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:
        getActionCount in interface BuildEventStreamProtos.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:
        getActionCountNotIncludingAspects in interface BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder
        Returns:
        The actionCountNotIncludingAspects.
      • 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:
        getPostInvocationSkyframeNodeCount in interface BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder
        Returns:
        The postInvocationSkyframeNodeCount.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • 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,
                                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                               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
      • getParserForType

        public com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder