Package io.opencensus.proto.metrics.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Int64ValuegetCount()The number of values in the snapshot.com.google.protobuf.Int64ValueOrBuildergetCountOrBuilder()The number of values in the snapshot.SummaryValue.Snapshot.ValueAtPercentilegetPercentileValues(int index)A list of values at different percentiles of the distribution calculated from the current snapshot.intgetPercentileValuesCount()A list of values at different percentiles of the distribution calculated from the current snapshot.List<SummaryValue.Snapshot.ValueAtPercentile>getPercentileValuesList()A list of values at different percentiles of the distribution calculated from the current snapshot.SummaryValue.Snapshot.ValueAtPercentileOrBuildergetPercentileValuesOrBuilder(int index)A list of values at different percentiles of the distribution calculated from the current snapshot.List<? extends SummaryValue.Snapshot.ValueAtPercentileOrBuilder>getPercentileValuesOrBuilderList()A list of values at different percentiles of the distribution calculated from the current snapshot.com.google.protobuf.DoubleValuegetSum()The sum of values in the snapshot.com.google.protobuf.DoubleValueOrBuildergetSumOrBuilder()The sum of values in the snapshot.booleanhasCount()The number of values in the snapshot.booleanhasSum()The sum of values in the snapshot.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
-