Interface ViewOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    View, View.Builder

    public interface ViewOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique
         within the library.
         
        string name = 1;
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique
         within the library.
         
        string name = 1;
      • getDescription

        String getDescription()
         Describes the view, e.g. "RPC latency distribution"
         
        string description = 2;
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Describes the view, e.g. "RPC latency distribution"
         
        string description = 2;
      • hasMeasure

        boolean hasMeasure()
         The Measure to which this view is applied.
         
        .opencensus.proto.stats.v1.Measure measure = 3;
      • getMeasure

        Measure getMeasure()
         The Measure to which this view is applied.
         
        .opencensus.proto.stats.v1.Measure measure = 3;
      • getMeasureOrBuilder

        MeasureOrBuilder getMeasureOrBuilder()
         The Measure to which this view is applied.
         
        .opencensus.proto.stats.v1.Measure measure = 3;
      • getColumnsList

        List<String> getColumnsList()
         An array of tag keys. These values associated with tags of this name form the basis by which
         individual stats will be aggregated (one aggregation per unique tag value). If none are
         provided, then all data is recorded in a single aggregation.
         
        repeated string columns = 4;
      • getColumnsCount

        int getColumnsCount()
         An array of tag keys. These values associated with tags of this name form the basis by which
         individual stats will be aggregated (one aggregation per unique tag value). If none are
         provided, then all data is recorded in a single aggregation.
         
        repeated string columns = 4;
      • getColumns

        String getColumns​(int index)
         An array of tag keys. These values associated with tags of this name form the basis by which
         individual stats will be aggregated (one aggregation per unique tag value). If none are
         provided, then all data is recorded in a single aggregation.
         
        repeated string columns = 4;
      • getColumnsBytes

        com.google.protobuf.ByteString getColumnsBytes​(int index)
         An array of tag keys. These values associated with tags of this name form the basis by which
         individual stats will be aggregated (one aggregation per unique tag value). If none are
         provided, then all data is recorded in a single aggregation.
         
        repeated string columns = 4;
      • hasCountAggregation

        boolean hasCountAggregation()
         Counts the number of measurements recorded.
         
        .opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
      • getCountAggregation

        CountAggregation getCountAggregation()
         Counts the number of measurements recorded.
         
        .opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
      • getCountAggregationOrBuilder

        CountAggregationOrBuilder getCountAggregationOrBuilder()
         Counts the number of measurements recorded.
         
        .opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
      • hasSumAggregation

        boolean hasSumAggregation()
         Indicates that data collected and aggregated with this Aggregation will be summed up.
         
        .opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
      • getSumAggregation

        SumAggregation getSumAggregation()
         Indicates that data collected and aggregated with this Aggregation will be summed up.
         
        .opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
      • getSumAggregationOrBuilder

        SumAggregationOrBuilder getSumAggregationOrBuilder()
         Indicates that data collected and aggregated with this Aggregation will be summed up.
         
        .opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
      • hasLastValueAggregation

        boolean hasLastValueAggregation()
         Indicates that data collected and aggregated with this Aggregation will represent the last
         recorded value. This is useful to support Gauges.
         
        .opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;
      • getLastValueAggregation

        LastValueAggregation getLastValueAggregation()
         Indicates that data collected and aggregated with this Aggregation will represent the last
         recorded value. This is useful to support Gauges.
         
        .opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;
      • getLastValueAggregationOrBuilder

        LastValueAggregationOrBuilder getLastValueAggregationOrBuilder()
         Indicates that data collected and aggregated with this Aggregation will represent the last
         recorded value. This is useful to support Gauges.
         
        .opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;
      • hasDistributionAggregation

        boolean hasDistributionAggregation()
         Indicates that the desired Aggregation is a histogram distribution. A distribution
         Aggregation may contain a histogram of the values in the population. User should define the
         bucket boundaries for that histogram (see DistributionAggregation).
         
        .opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;
      • getDistributionAggregation

        DistributionAggregation getDistributionAggregation()
         Indicates that the desired Aggregation is a histogram distribution. A distribution
         Aggregation may contain a histogram of the values in the population. User should define the
         bucket boundaries for that histogram (see DistributionAggregation).
         
        .opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;
      • getDistributionAggregationOrBuilder

        DistributionAggregationOrBuilder getDistributionAggregationOrBuilder()
         Indicates that the desired Aggregation is a histogram distribution. A distribution
         Aggregation may contain a histogram of the values in the population. User should define the
         bucket boundaries for that histogram (see DistributionAggregation).
         
        .opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;