Class BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildMetrics.ArtifactMetrics
public static final class BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder>
implements BuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder
Protobuf type
build_event_stream.BuildMetrics.ArtifactMetrics-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Measures all output artifacts from actions that were cached locally via the action cache.Measures all output artifacts from executed actions.Measures all source files newly read this build.Measures all artifacts that belong to a top-level output group.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMeasures all output artifacts from actions that were cached locally via the action cache.Measures all output artifacts from actions that were cached locally via the action cache.Measures all output artifacts from actions that were cached locally via the action cache.Measures all output artifacts from executed actions.Measures all output artifacts from executed actions.Measures all output artifacts from executed actions.Measures all source files newly read this build.Measures all source files newly read this build.Measures all source files newly read this build.Measures all artifacts that belong to a top-level output group.Measures all artifacts that belong to a top-level output group.Measures all artifacts that belong to a top-level output group.booleanMeasures all output artifacts from actions that were cached locally via the action cache.booleanMeasures all output artifacts from executed actions.booleanMeasures all source files newly read this build.booleanMeasures all artifacts that belong to a top-level output group.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOutputArtifactsFromActionCache(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all output artifacts from actions that were cached locally via the action cache.Measures all output artifacts from executed actions.Measures all source files newly read this build.Measures all artifacts that belong to a top-level output group.setOutputArtifactsFromActionCache(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all output artifacts from actions that were cached locally via the action cache.setOutputArtifactsFromActionCache(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder builderForValue) Measures all output artifacts from actions that were cached locally via the action cache.Measures all output artifacts from executed actions.setOutputArtifactsSeen(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder builderForValue) Measures all output artifacts from executed actions.Measures all source files newly read this build.setSourceArtifactsRead(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder builderForValue) Measures all source files newly read this build.Measures all artifacts that belong to a top-level output group.setTopLevelArtifacts(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder builderForValue) Measures all artifacts that belong to a top-level output group.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder>- Throws:
IOException
-
hasSourceArtifactsRead
public boolean hasSourceArtifactsRead()Measures all source files newly read this build. Does not include unchanged sources on incremental builds.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric source_artifacts_read = 2;- Specified by:
hasSourceArtifactsReadin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder- Returns:
- Whether the sourceArtifactsRead field is set.
-
getSourceArtifactsRead
Measures all source files newly read this build. Does not include unchanged sources on incremental builds.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric source_artifacts_read = 2;- Specified by:
getSourceArtifactsReadin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder- Returns:
- The sourceArtifactsRead.
-
setSourceArtifactsRead
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder setSourceArtifactsRead(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all source files newly read this build. Does not include unchanged sources on incremental builds.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric source_artifacts_read = 2; -
setSourceArtifactsRead
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder setSourceArtifactsRead(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder builderForValue) Measures all source files newly read this build. Does not include unchanged sources on incremental builds.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric source_artifacts_read = 2; -
mergeSourceArtifactsRead
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder mergeSourceArtifactsRead(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all source files newly read this build. Does not include unchanged sources on incremental builds.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric source_artifacts_read = 2; -
clearSourceArtifactsRead
Measures all source files newly read this build. Does not include unchanged sources on incremental builds.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric source_artifacts_read = 2; -
getSourceArtifactsReadBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder getSourceArtifactsReadBuilder()Measures all source files newly read this build. Does not include unchanged sources on incremental builds.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric source_artifacts_read = 2; -
getSourceArtifactsReadOrBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetricOrBuilder getSourceArtifactsReadOrBuilder()Measures all source files newly read this build. Does not include unchanged sources on incremental builds.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric source_artifacts_read = 2;- Specified by:
getSourceArtifactsReadOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder
-
hasOutputArtifactsSeen
public boolean hasOutputArtifactsSeen()Measures all output artifacts from executed actions. This includes actions that were cached locally (via the action cache) or remotely (via a remote cache or executor), but does *not* include outputs of actions that were cached internally in Skyframe.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_seen = 3;- Specified by:
hasOutputArtifactsSeenin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder- Returns:
- Whether the outputArtifactsSeen field is set.
-
getOutputArtifactsSeen
Measures all output artifacts from executed actions. This includes actions that were cached locally (via the action cache) or remotely (via a remote cache or executor), but does *not* include outputs of actions that were cached internally in Skyframe.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_seen = 3;- Specified by:
getOutputArtifactsSeenin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder- Returns:
- The outputArtifactsSeen.
-
setOutputArtifactsSeen
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder setOutputArtifactsSeen(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all output artifacts from executed actions. This includes actions that were cached locally (via the action cache) or remotely (via a remote cache or executor), but does *not* include outputs of actions that were cached internally in Skyframe.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_seen = 3; -
setOutputArtifactsSeen
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder setOutputArtifactsSeen(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder builderForValue) Measures all output artifacts from executed actions. This includes actions that were cached locally (via the action cache) or remotely (via a remote cache or executor), but does *not* include outputs of actions that were cached internally in Skyframe.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_seen = 3; -
mergeOutputArtifactsSeen
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder mergeOutputArtifactsSeen(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all output artifacts from executed actions. This includes actions that were cached locally (via the action cache) or remotely (via a remote cache or executor), but does *not* include outputs of actions that were cached internally in Skyframe.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_seen = 3; -
clearOutputArtifactsSeen
Measures all output artifacts from executed actions. This includes actions that were cached locally (via the action cache) or remotely (via a remote cache or executor), but does *not* include outputs of actions that were cached internally in Skyframe.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_seen = 3; -
getOutputArtifactsSeenBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder getOutputArtifactsSeenBuilder()Measures all output artifacts from executed actions. This includes actions that were cached locally (via the action cache) or remotely (via a remote cache or executor), but does *not* include outputs of actions that were cached internally in Skyframe.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_seen = 3; -
getOutputArtifactsSeenOrBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetricOrBuilder getOutputArtifactsSeenOrBuilder()Measures all output artifacts from executed actions. This includes actions that were cached locally (via the action cache) or remotely (via a remote cache or executor), but does *not* include outputs of actions that were cached internally in Skyframe.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_seen = 3;- Specified by:
getOutputArtifactsSeenOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder
-
hasOutputArtifactsFromActionCache
public boolean hasOutputArtifactsFromActionCache()Measures all output artifacts from actions that were cached locally via the action cache. These artifacts were already present on disk at the start of the build. Does not include Skyframe-cached actions' outputs.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_from_action_cache = 4;- Specified by:
hasOutputArtifactsFromActionCachein interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder- Returns:
- Whether the outputArtifactsFromActionCache field is set.
-
getOutputArtifactsFromActionCache
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric getOutputArtifactsFromActionCache()Measures all output artifacts from actions that were cached locally via the action cache. These artifacts were already present on disk at the start of the build. Does not include Skyframe-cached actions' outputs.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_from_action_cache = 4;- Specified by:
getOutputArtifactsFromActionCachein interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder- Returns:
- The outputArtifactsFromActionCache.
-
setOutputArtifactsFromActionCache
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder setOutputArtifactsFromActionCache(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all output artifacts from actions that were cached locally via the action cache. These artifacts were already present on disk at the start of the build. Does not include Skyframe-cached actions' outputs.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_from_action_cache = 4; -
setOutputArtifactsFromActionCache
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder setOutputArtifactsFromActionCache(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder builderForValue) Measures all output artifacts from actions that were cached locally via the action cache. These artifacts were already present on disk at the start of the build. Does not include Skyframe-cached actions' outputs.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_from_action_cache = 4; -
mergeOutputArtifactsFromActionCache
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder mergeOutputArtifactsFromActionCache(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all output artifacts from actions that were cached locally via the action cache. These artifacts were already present on disk at the start of the build. Does not include Skyframe-cached actions' outputs.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_from_action_cache = 4; -
clearOutputArtifactsFromActionCache
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder clearOutputArtifactsFromActionCache()Measures all output artifacts from actions that were cached locally via the action cache. These artifacts were already present on disk at the start of the build. Does not include Skyframe-cached actions' outputs.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_from_action_cache = 4; -
getOutputArtifactsFromActionCacheBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder getOutputArtifactsFromActionCacheBuilder()Measures all output artifacts from actions that were cached locally via the action cache. These artifacts were already present on disk at the start of the build. Does not include Skyframe-cached actions' outputs.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_from_action_cache = 4; -
getOutputArtifactsFromActionCacheOrBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetricOrBuilder getOutputArtifactsFromActionCacheOrBuilder()Measures all output artifacts from actions that were cached locally via the action cache. These artifacts were already present on disk at the start of the build. Does not include Skyframe-cached actions' outputs.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric output_artifacts_from_action_cache = 4;- Specified by:
getOutputArtifactsFromActionCacheOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder
-
hasTopLevelArtifacts
public boolean hasTopLevelArtifacts()Measures all artifacts that belong to a top-level output group. Does not deduplicate, so if there are two top-level targets in this build that share an artifact, it will be counted twice.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric top_level_artifacts = 5;- Specified by:
hasTopLevelArtifactsin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder- Returns:
- Whether the topLevelArtifacts field is set.
-
getTopLevelArtifacts
Measures all artifacts that belong to a top-level output group. Does not deduplicate, so if there are two top-level targets in this build that share an artifact, it will be counted twice.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric top_level_artifacts = 5;- Specified by:
getTopLevelArtifactsin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder- Returns:
- The topLevelArtifacts.
-
setTopLevelArtifacts
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder setTopLevelArtifacts(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all artifacts that belong to a top-level output group. Does not deduplicate, so if there are two top-level targets in this build that share an artifact, it will be counted twice.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric top_level_artifacts = 5; -
setTopLevelArtifacts
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder setTopLevelArtifacts(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder builderForValue) Measures all artifacts that belong to a top-level output group. Does not deduplicate, so if there are two top-level targets in this build that share an artifact, it will be counted twice.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric top_level_artifacts = 5; -
mergeTopLevelArtifacts
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.Builder mergeTopLevelArtifacts(BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric value) Measures all artifacts that belong to a top-level output group. Does not deduplicate, so if there are two top-level targets in this build that share an artifact, it will be counted twice.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric top_level_artifacts = 5; -
clearTopLevelArtifacts
Measures all artifacts that belong to a top-level output group. Does not deduplicate, so if there are two top-level targets in this build that share an artifact, it will be counted twice.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric top_level_artifacts = 5; -
getTopLevelArtifactsBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetric.Builder getTopLevelArtifactsBuilder()Measures all artifacts that belong to a top-level output group. Does not deduplicate, so if there are two top-level targets in this build that share an artifact, it will be counted twice.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric top_level_artifacts = 5; -
getTopLevelArtifactsOrBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics.FilesMetricOrBuilder getTopLevelArtifactsOrBuilder()Measures all artifacts that belong to a top-level output group. Does not deduplicate, so if there are two top-level targets in this build that share an artifact, it will be counted twice.
.build_event_stream.BuildMetrics.ArtifactMetrics.FilesMetric top_level_artifacts = 5;- Specified by:
getTopLevelArtifactsOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder
-