Class Protos.ActionCacheStatistics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Protos.ActionCacheStatistics.Builder>
com.google.devtools.build.lib.actions.cache.Protos.ActionCacheStatistics.Builder
- All Implemented Interfaces:
Protos.ActionCacheStatisticsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Protos.ActionCacheStatistics
public static final class Protos.ActionCacheStatistics.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protos.ActionCacheStatistics.Builder>
implements Protos.ActionCacheStatisticsOrBuilder
Information about the action cache behavior during a single build.Protobuf type
blaze.ActionCacheStatistics-
Method Summary
Modifier and TypeMethodDescriptionaddAllMissDetails(Iterable<? extends Protos.ActionCacheStatistics.MissDetail> values) Breakdown of the cache misses based on the reasons behind them.addMissDetails(int index, Protos.ActionCacheStatistics.MissDetail value) Breakdown of the cache misses based on the reasons behind them.addMissDetails(int index, Protos.ActionCacheStatistics.MissDetail.Builder builderForValue) Breakdown of the cache misses based on the reasons behind them.Breakdown of the cache misses based on the reasons behind them.addMissDetails(Protos.ActionCacheStatistics.MissDetail.Builder builderForValue) Breakdown of the cache misses based on the reasons behind them.Breakdown of the cache misses based on the reasons behind them.addMissDetailsBuilder(int index) Breakdown of the cache misses based on the reasons behind them.build()clear()Cache counters.Time it took to load the action cache from disk.Breakdown of the cache misses based on the reasons behind them.int32 misses = 4;Time it took to save the action cache to disk.Size of the action cache in bytes.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintgetHits()Cache counters.longTime it took to load the action cache from disk.getMissDetails(int index) Breakdown of the cache misses based on the reasons behind them.getMissDetailsBuilder(int index) Breakdown of the cache misses based on the reasons behind them.Breakdown of the cache misses based on the reasons behind them.intBreakdown of the cache misses based on the reasons behind them.Breakdown of the cache misses based on the reasons behind them.getMissDetailsOrBuilder(int index) Breakdown of the cache misses based on the reasons behind them.Breakdown of the cache misses based on the reasons behind them.intint32 misses = 4;longTime it took to save the action cache to disk.longSize of the action cache in bytes.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeMissDetails(int index) Breakdown of the cache misses based on the reasons behind them.setHits(int value) Cache counters.setLoadTimeInMs(long value) Time it took to load the action cache from disk.setMissDetails(int index, Protos.ActionCacheStatistics.MissDetail value) Breakdown of the cache misses based on the reasons behind them.setMissDetails(int index, Protos.ActionCacheStatistics.MissDetail.Builder builderForValue) Breakdown of the cache misses based on the reasons behind them.setMisses(int value) int32 misses = 4;setSaveTimeInMs(long value) Time it took to save the action cache to disk.setSizeInBytes(long value) Size of the action cache in bytes.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<Protos.ActionCacheStatistics.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<Protos.ActionCacheStatistics.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<Protos.ActionCacheStatistics.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Protos.ActionCacheStatistics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Protos.ActionCacheStatistics.Builder>
-
mergeFrom
public Protos.ActionCacheStatistics.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<Protos.ActionCacheStatistics.Builder>- Throws:
IOException
-
getSizeInBytes
public long getSizeInBytes()Size of the action cache in bytes. This is computed by the code that persists the action cache to disk and represents the size of the written files, which has no direct relation to the number of entries in the cache.
uint64 size_in_bytes = 1;- Specified by:
getSizeInBytesin interfaceProtos.ActionCacheStatisticsOrBuilder- Returns:
- The sizeInBytes.
-
setSizeInBytes
Size of the action cache in bytes. This is computed by the code that persists the action cache to disk and represents the size of the written files, which has no direct relation to the number of entries in the cache.
uint64 size_in_bytes = 1;- Parameters:
value- The sizeInBytes to set.- Returns:
- This builder for chaining.
-
clearSizeInBytes
Size of the action cache in bytes. This is computed by the code that persists the action cache to disk and represents the size of the written files, which has no direct relation to the number of entries in the cache.
uint64 size_in_bytes = 1;- Returns:
- This builder for chaining.
-
getSaveTimeInMs
public long getSaveTimeInMs()Time it took to save the action cache to disk.
uint64 save_time_in_ms = 2;- Specified by:
getSaveTimeInMsin interfaceProtos.ActionCacheStatisticsOrBuilder- Returns:
- The saveTimeInMs.
-
setSaveTimeInMs
Time it took to save the action cache to disk.
uint64 save_time_in_ms = 2;- Parameters:
value- The saveTimeInMs to set.- Returns:
- This builder for chaining.
-
clearSaveTimeInMs
Time it took to save the action cache to disk.
uint64 save_time_in_ms = 2;- Returns:
- This builder for chaining.
-
getHits
public int getHits()Cache counters.
int32 hits = 3;- Specified by:
getHitsin interfaceProtos.ActionCacheStatisticsOrBuilder- Returns:
- The hits.
-
setHits
Cache counters.
int32 hits = 3;- Parameters:
value- The hits to set.- Returns:
- This builder for chaining.
-
clearHits
Cache counters.
int32 hits = 3;- Returns:
- This builder for chaining.
-
getMisses
public int getMisses()int32 misses = 4;- Specified by:
getMissesin interfaceProtos.ActionCacheStatisticsOrBuilder- Returns:
- The misses.
-
setMisses
int32 misses = 4;- Parameters:
value- The misses to set.- Returns:
- This builder for chaining.
-
clearMisses
int32 misses = 4;- Returns:
- This builder for chaining.
-
getMissDetailsList
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5;- Specified by:
getMissDetailsListin interfaceProtos.ActionCacheStatisticsOrBuilder
-
getMissDetailsCount
public int getMissDetailsCount()Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5;- Specified by:
getMissDetailsCountin interfaceProtos.ActionCacheStatisticsOrBuilder
-
getMissDetails
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5;- Specified by:
getMissDetailsin interfaceProtos.ActionCacheStatisticsOrBuilder
-
setMissDetails
public Protos.ActionCacheStatistics.Builder setMissDetails(int index, Protos.ActionCacheStatistics.MissDetail value) Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
setMissDetails
public Protos.ActionCacheStatistics.Builder setMissDetails(int index, Protos.ActionCacheStatistics.MissDetail.Builder builderForValue) Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
addMissDetails
public Protos.ActionCacheStatistics.Builder addMissDetails(Protos.ActionCacheStatistics.MissDetail value) Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
addMissDetails
public Protos.ActionCacheStatistics.Builder addMissDetails(int index, Protos.ActionCacheStatistics.MissDetail value) Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
addMissDetails
public Protos.ActionCacheStatistics.Builder addMissDetails(Protos.ActionCacheStatistics.MissDetail.Builder builderForValue) Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
addMissDetails
public Protos.ActionCacheStatistics.Builder addMissDetails(int index, Protos.ActionCacheStatistics.MissDetail.Builder builderForValue) Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
addAllMissDetails
public Protos.ActionCacheStatistics.Builder addAllMissDetails(Iterable<? extends Protos.ActionCacheStatistics.MissDetail> values) Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
clearMissDetails
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
removeMissDetails
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
getMissDetailsBuilder
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
getMissDetailsOrBuilder
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5;- Specified by:
getMissDetailsOrBuilderin interfaceProtos.ActionCacheStatisticsOrBuilder
-
getMissDetailsOrBuilderList
public List<? extends Protos.ActionCacheStatistics.MissDetailOrBuilder> getMissDetailsOrBuilderList()Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5;- Specified by:
getMissDetailsOrBuilderListin interfaceProtos.ActionCacheStatisticsOrBuilder
-
addMissDetailsBuilder
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
addMissDetailsBuilder
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
getMissDetailsBuilderList
Breakdown of the cache misses based on the reasons behind them.
repeated .blaze.ActionCacheStatistics.MissDetail miss_details = 5; -
getLoadTimeInMs
public long getLoadTimeInMs()Time it took to load the action cache from disk. Reported as 0 if the action cache has not been loaded in this invocation.
uint64 load_time_in_ms = 6;- Specified by:
getLoadTimeInMsin interfaceProtos.ActionCacheStatisticsOrBuilder- Returns:
- The loadTimeInMs.
-
setLoadTimeInMs
Time it took to load the action cache from disk. Reported as 0 if the action cache has not been loaded in this invocation.
uint64 load_time_in_ms = 6;- Parameters:
value- The loadTimeInMs to set.- Returns:
- This builder for chaining.
-
clearLoadTimeInMs
Time it took to load the action cache from disk. Reported as 0 if the action cache has not been loaded in this invocation.
uint64 load_time_in_ms = 6;- Returns:
- This builder for chaining.
-