Interface PackageLoadMetricsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PackageLoadMetrics,PackageLoadMetrics.Builder
public interface PackageLoadMetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongNumber of Starlark computation steps required to create the package.com.google.protobuf.DurationWall-time duration it took to construct the package.com.google.protobuf.DurationOrBuilderWall-time duration it took to construct the package.getName()Name of the package.com.google.protobuf.ByteStringName of the package.longNumber of targets created in the package.longNumber of transitive Starlark load()s required to create the package.longNumeric value given to the memory and general accounting costs associated with a loaded package.booleanNumber of Starlark computation steps required to create the package.booleanWall-time duration it took to construct the package.booleanhasName()Name of the package.booleanNumber of targets created in the package.booleanNumber of transitive Starlark load()s required to create the package.booleanNumeric value given to the memory and general accounting costs associated with a loaded package.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Name of the package.
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()Name of the package.
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the package.
optional string name = 1;- Returns:
- The bytes for name.
-
hasLoadDuration
boolean hasLoadDuration()Wall-time duration it took to construct the package.
optional .google.protobuf.Duration load_duration = 2;- Returns:
- Whether the loadDuration field is set.
-
getLoadDuration
com.google.protobuf.Duration getLoadDuration()Wall-time duration it took to construct the package.
optional .google.protobuf.Duration load_duration = 2;- Returns:
- The loadDuration.
-
getLoadDurationOrBuilder
com.google.protobuf.DurationOrBuilder getLoadDurationOrBuilder()Wall-time duration it took to construct the package.
optional .google.protobuf.Duration load_duration = 2; -
hasNumTargets
boolean hasNumTargets()Number of targets created in the package.
optional uint64 num_targets = 3;- Returns:
- Whether the numTargets field is set.
-
getNumTargets
long getNumTargets()Number of targets created in the package.
optional uint64 num_targets = 3;- Returns:
- The numTargets.
-
hasComputationSteps
boolean hasComputationSteps()Number of Starlark computation steps required to create the package.
optional uint64 computation_steps = 4;- Returns:
- Whether the computationSteps field is set.
-
getComputationSteps
long getComputationSteps()Number of Starlark computation steps required to create the package.
optional uint64 computation_steps = 4;- Returns:
- The computationSteps.
-
hasNumTransitiveLoads
boolean hasNumTransitiveLoads()Number of transitive Starlark load()s required to create the package.
optional uint64 num_transitive_loads = 5;- Returns:
- Whether the numTransitiveLoads field is set.
-
getNumTransitiveLoads
long getNumTransitiveLoads()Number of transitive Starlark load()s required to create the package.
optional uint64 num_transitive_loads = 5;- Returns:
- The numTransitiveLoads.
-
hasPackageOverhead
boolean hasPackageOverhead()Numeric value given to the memory and general accounting costs associated with a loaded package. Values are an approximate but reasonable proxy for the real storage costs of a package.
optional uint64 package_overhead = 6;- Returns:
- Whether the packageOverhead field is set.
-
getPackageOverhead
long getPackageOverhead()Numeric value given to the memory and general accounting costs associated with a loaded package. Values are an approximate but reasonable proxy for the real storage costs of a package.
optional uint64 package_overhead = 6;- Returns:
- The packageOverhead.
-