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 Type
    Method
    Description
    long
    Number of Starlark computation steps required to create the package.
    com.google.protobuf.Duration
    Wall-time duration it took to construct the package.
    com.google.protobuf.DurationOrBuilder
    Wall-time duration it took to construct the package.
    Name of the package.
    com.google.protobuf.ByteString
    Name of the package.
    long
    Number of targets created in the package.
    long
    Number of transitive Starlark load()s required to create the package.
    long
    Numeric value given to the memory and general accounting costs associated with a loaded package.
    boolean
    Number of Starlark computation steps required to create the package.
    boolean
    Wall-time duration it took to construct the package.
    boolean
    Name of the package.
    boolean
    Number of targets created in the package.
    boolean
    Number of transitive Starlark load()s required to create the package.
    boolean
    Numeric value given to the memory and general accounting costs associated with a loaded package.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.