Interface SummaryValue.SnapshotOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SummaryValue.Snapshot, SummaryValue.Snapshot.Builder
    Enclosing class:
    SummaryValue

    public static interface SummaryValue.SnapshotOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasCount

        boolean hasCount()
         The number of values in the snapshot. Optional since some systems don't
         expose this.
         
        .google.protobuf.Int64Value count = 1;
        Returns:
        Whether the count field is set.
      • getCount

        com.google.protobuf.Int64Value getCount()
         The number of values in the snapshot. Optional since some systems don't
         expose this.
         
        .google.protobuf.Int64Value count = 1;
        Returns:
        The count.
      • getCountOrBuilder

        com.google.protobuf.Int64ValueOrBuilder getCountOrBuilder()
         The number of values in the snapshot. Optional since some systems don't
         expose this.
         
        .google.protobuf.Int64Value count = 1;
      • hasSum

        boolean hasSum()
         The sum of values in the snapshot. Optional since some systems don't
         expose this. If count is zero then this field must be zero or not set
         (if not supported).
         
        .google.protobuf.DoubleValue sum = 2;
        Returns:
        Whether the sum field is set.
      • getSum

        com.google.protobuf.DoubleValue getSum()
         The sum of values in the snapshot. Optional since some systems don't
         expose this. If count is zero then this field must be zero or not set
         (if not supported).
         
        .google.protobuf.DoubleValue sum = 2;
        Returns:
        The sum.
      • getSumOrBuilder

        com.google.protobuf.DoubleValueOrBuilder getSumOrBuilder()
         The sum of values in the snapshot. Optional since some systems don't
         expose this. If count is zero then this field must be zero or not set
         (if not supported).
         
        .google.protobuf.DoubleValue sum = 2;
      • getPercentileValuesList

        List<SummaryValue.Snapshot.ValueAtPercentile> getPercentileValuesList()
         A list of values at different percentiles of the distribution calculated
         from the current snapshot. The percentiles must be strictly increasing.
         
        repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;
      • getPercentileValues

        SummaryValue.Snapshot.ValueAtPercentile getPercentileValues​(int index)
         A list of values at different percentiles of the distribution calculated
         from the current snapshot. The percentiles must be strictly increasing.
         
        repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;
      • getPercentileValuesCount

        int getPercentileValuesCount()
         A list of values at different percentiles of the distribution calculated
         from the current snapshot. The percentiles must be strictly increasing.
         
        repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;
      • getPercentileValuesOrBuilderList

        List<? extends SummaryValue.Snapshot.ValueAtPercentileOrBuilder> getPercentileValuesOrBuilderList()
         A list of values at different percentiles of the distribution calculated
         from the current snapshot. The percentiles must be strictly increasing.
         
        repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;
      • getPercentileValuesOrBuilder

        SummaryValue.Snapshot.ValueAtPercentileOrBuilder getPercentileValuesOrBuilder​(int index)
         A list of values at different percentiles of the distribution calculated
         from the current snapshot. The percentiles must be strictly increasing.
         
        repeated .opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile percentile_values = 3;