Class BuildEventStreamProtos.BuildMetrics.ActionSummary
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.ActionSummary
-
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder,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.ActionSummary extends com.google.protobuf.GeneratedMessageV3 implements BuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
Protobuf typebuild_event_stream.BuildMetrics.ActionSummary- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataProtobuf typebuild_event_stream.BuildMetrics.ActionSummary.ActionDatastatic interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilderstatic classBuildEventStreamProtos.BuildMetrics.ActionSummary.BuilderProtobuf typebuild_event_stream.BuildMetrics.ActionSummarystatic classBuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCountProtobuf typebuild_event_stream.BuildMetrics.ActionSummary.RunnerCountstatic interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCountOrBuilder-
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_DATA_FIELD_NUMBERstatic intACTIONS_CREATED_FIELD_NUMBERstatic intACTIONS_CREATED_NOT_INCLUDING_ASPECTS_FIELD_NUMBERstatic intACTIONS_EXECUTED_FIELD_NUMBERstatic intREMOTE_CACHE_HITS_FIELD_NUMBERstatic intRUNNER_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDatagetActionData(int index)Contains the top N actions by number of actions executed.intgetActionDataCount()Contains the top N actions by number of actions executed.java.util.List<BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData>getActionDataList()Contains the top N actions by number of actions executed.BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuildergetActionDataOrBuilder(int index)Contains the top N actions by number of actions executed.java.util.List<? extends BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder>getActionDataOrBuilderList()Contains the top N actions by number of actions executed.longgetActionsCreated()The total number of actions created and registered during the build, including both aspects and configured targets.longgetActionsCreatedNotIncludingAspects()The total number of actions created this build just by configured targets.longgetActionsExecuted()The total number of actions executed during the build.static BuildEventStreamProtos.BuildMetrics.ActionSummarygetDefaultInstance()BuildEventStreamProtos.BuildMetrics.ActionSummarygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.ActionSummary>getParserForType()longgetRemoteCacheHits()Deprecated.build_event_stream.BuildMetrics.ActionSummary.remote_cache_hits is deprecated.BuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCountgetRunnerCount(int index)repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;intgetRunnerCountCount()repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;java.util.List<BuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCount>getRunnerCountList()repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;BuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCountOrBuildergetRunnerCountOrBuilder(int index)repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;java.util.List<? extends BuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCountOrBuilder>getRunnerCountOrBuilderList()repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static BuildEventStreamProtos.BuildMetrics.ActionSummary.BuildernewBuilder()static BuildEventStreamProtos.BuildMetrics.ActionSummary.BuildernewBuilder(BuildEventStreamProtos.BuildMetrics.ActionSummary prototype)BuildEventStreamProtos.BuildMetrics.ActionSummary.BuildernewBuilderForType()protected BuildEventStreamProtos.BuildMetrics.ActionSummary.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseDelimitedFrom(java.io.InputStream input)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(byte[] data)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(com.google.protobuf.ByteString data)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(com.google.protobuf.CodedInputStream input)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(java.io.InputStream input)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(java.nio.ByteBuffer data)static BuildEventStreamProtos.BuildMetrics.ActionSummaryparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.ActionSummary>parser()BuildEventStreamProtos.BuildMetrics.ActionSummary.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
-
ACTIONS_CREATED_FIELD_NUMBER
public static final int ACTIONS_CREATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIONS_CREATED_NOT_INCLUDING_ASPECTS_FIELD_NUMBER
public static final int ACTIONS_CREATED_NOT_INCLUDING_ASPECTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIONS_EXECUTED_FIELD_NUMBER
public static final int ACTIONS_EXECUTED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTION_DATA_FIELD_NUMBER
public static final int ACTION_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_CACHE_HITS_FIELD_NUMBER
public static final int REMOTE_CACHE_HITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNNER_COUNT_FIELD_NUMBER
public static final int RUNNER_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
-
getActionsCreated
public long getActionsCreated()
The total number of actions created and registered during the build, including both aspects and configured targets. This metric includes unused actions that were constructed but not executed during this build. It does not include actions that were created on prior builds that are still valid, even if those actions had to be re-executed on this build. For the total number of actions that would be created if this invocation were "clean", see BuildGraphMetrics below.
int64 actions_created = 1;- Specified by:
getActionsCreatedin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder- Returns:
- The actionsCreated.
-
getActionsCreatedNotIncludingAspects
public long getActionsCreatedNotIncludingAspects()
The total number of actions created this build just by configured targets. Used mainly to allow consumers of actions_created, which used to not include aspects' actions, to normalize across the Blaze release that switched actions_created to include all created actions.
int64 actions_created_not_including_aspects = 3;- Specified by:
getActionsCreatedNotIncludingAspectsin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder- Returns:
- The actionsCreatedNotIncludingAspects.
-
getActionsExecuted
public long getActionsExecuted()
The total number of actions executed during the build. This includes any remote cache hits, but excludes local action cache hits.
int64 actions_executed = 2;- Specified by:
getActionsExecutedin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder- Returns:
- The actionsExecuted.
-
getActionDataList
public java.util.List<BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData> getActionDataList()
Contains the top N actions by number of actions executed.
repeated .build_event_stream.BuildMetrics.ActionSummary.ActionData action_data = 4;- Specified by:
getActionDataListin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getActionDataOrBuilderList
public java.util.List<? extends BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder> getActionDataOrBuilderList()
Contains the top N actions by number of actions executed.
repeated .build_event_stream.BuildMetrics.ActionSummary.ActionData action_data = 4;- Specified by:
getActionDataOrBuilderListin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getActionDataCount
public int getActionDataCount()
Contains the top N actions by number of actions executed.
repeated .build_event_stream.BuildMetrics.ActionSummary.ActionData action_data = 4;- Specified by:
getActionDataCountin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getActionData
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData getActionData(int index)
Contains the top N actions by number of actions executed.
repeated .build_event_stream.BuildMetrics.ActionSummary.ActionData action_data = 4;- Specified by:
getActionDatain interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getActionDataOrBuilder
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder getActionDataOrBuilder(int index)
Contains the top N actions by number of actions executed.
repeated .build_event_stream.BuildMetrics.ActionSummary.ActionData action_data = 4;- Specified by:
getActionDataOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getRemoteCacheHits
@Deprecated public long getRemoteCacheHits()
Deprecated.build_event_stream.BuildMetrics.ActionSummary.remote_cache_hits is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=858Deprecated. The total number of remote cache hits.
int64 remote_cache_hits = 5 [deprecated = true];- Specified by:
getRemoteCacheHitsin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder- Returns:
- The remoteCacheHits.
-
getRunnerCountList
public java.util.List<BuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCount> getRunnerCountList()
repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;- Specified by:
getRunnerCountListin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getRunnerCountOrBuilderList
public java.util.List<? extends BuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCountOrBuilder> getRunnerCountOrBuilderList()
repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;- Specified by:
getRunnerCountOrBuilderListin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getRunnerCountCount
public int getRunnerCountCount()
repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;- Specified by:
getRunnerCountCountin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getRunnerCount
public BuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCount getRunnerCount(int index)
repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;- Specified by:
getRunnerCountin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
getRunnerCountOrBuilder
public BuildEventStreamProtos.BuildMetrics.ActionSummary.RunnerCountOrBuilder getRunnerCountOrBuilder(int index)
repeated .build_event_stream.BuildMetrics.ActionSummary.RunnerCount runner_count = 6;- Specified by:
getRunnerCountOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder
-
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.ActionSummary parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary 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.ActionSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary 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.ActionSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.ActionSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public BuildEventStreamProtos.BuildMetrics.ActionSummary.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.ActionSummary.Builder newBuilder()
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.ActionSummary.Builder newBuilder(BuildEventStreamProtos.BuildMetrics.ActionSummary prototype)
-
toBuilder
public BuildEventStreamProtos.BuildMetrics.ActionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEventStreamProtos.BuildMetrics.ActionSummary.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BuildEventStreamProtos.BuildMetrics.ActionSummary getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.ActionSummary> parser()
-
getParserForType
public com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.ActionSummary> 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.ActionSummary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-