// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opencensus/proto/stats/v1/stats.proto
package io.opencensus.proto.stats.v1;
public interface ViewOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencensus.proto.stats.v1.View)
com.google.protobuf.MessageOrBuilder {
/**
*
* A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique
* within the library.
*
*
* string name = 1;
* @return The name.
*/
java.lang.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;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Describes the view, e.g. "RPC latency distribution"
*
*
* string description = 2;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* Describes the view, e.g. "RPC latency distribution"
*
*
* string description = 2;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* The Measure to which this view is applied.
*
*
* .opencensus.proto.stats.v1.Measure measure = 3;
* @return Whether the measure field is set.
*/
boolean hasMeasure();
/**
*
* The Measure to which this view is applied.
*
*
* .opencensus.proto.stats.v1.Measure measure = 3;
* @return The measure.
*/
io.opencensus.proto.stats.v1.Measure getMeasure();
/**
*
* The Measure to which this view is applied.
*
*
* .opencensus.proto.stats.v1.Measure measure = 3;
*/
io.opencensus.proto.stats.v1.MeasureOrBuilder getMeasureOrBuilder();
/**
*
* 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;
* @return A list containing the columns.
*/
java.util.List
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;
* @return The count of columns.
*/
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;
* @param index The index of the element to return.
* @return The columns at the given index.
*/
java.lang.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;
* @param index The index of the value to return.
* @return The bytes of the columns at the given index.
*/
com.google.protobuf.ByteString
getColumnsBytes(int index);
/**
*
* Counts the number of measurements recorded.
*
*
* .opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
* @return Whether the countAggregation field is set.
*/
boolean hasCountAggregation();
/**
*
* Counts the number of measurements recorded.
*
*
* .opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
* @return The countAggregation.
*/
io.opencensus.proto.stats.v1.CountAggregation getCountAggregation();
/**
*
* Counts the number of measurements recorded.
*
*
* .opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
*/
io.opencensus.proto.stats.v1.CountAggregationOrBuilder getCountAggregationOrBuilder();
/**
*
* Indicates that data collected and aggregated with this Aggregation will be summed up.
*
*
* .opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
* @return Whether the sumAggregation field is set.
*/
boolean hasSumAggregation();
/**
*
* Indicates that data collected and aggregated with this Aggregation will be summed up.
*
*
* .opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
* @return The sumAggregation.
*/
io.opencensus.proto.stats.v1.SumAggregation getSumAggregation();
/**
*
* Indicates that data collected and aggregated with this Aggregation will be summed up.
*
*
* .opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
*/
io.opencensus.proto.stats.v1.SumAggregationOrBuilder getSumAggregationOrBuilder();
/**
*
* 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;
* @return Whether the lastValueAggregation field is set.
*/
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;
* @return The lastValueAggregation.
*/
io.opencensus.proto.stats.v1.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;
*/
io.opencensus.proto.stats.v1.LastValueAggregationOrBuilder getLastValueAggregationOrBuilder();
/**
*
* 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;
* @return Whether the distributionAggregation field is set.
*/
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;
* @return The distributionAggregation.
*/
io.opencensus.proto.stats.v1.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;
*/
io.opencensus.proto.stats.v1.DistributionAggregationOrBuilder getDistributionAggregationOrBuilder();
public io.opencensus.proto.stats.v1.View.AggregationCase getAggregationCase();
}