Interface Aggregation.HistogramOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Aggregation.Histogram
,Aggregation.Histogram.Builder
- Enclosing class:
- Aggregation
public static interface Aggregation.HistogramOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getLowerBounds(int index)
Lower bounds of buckets.int
getLowerBoundsCount()
Lower bounds of buckets.List<Double>
getLowerBoundsList()
Lower bounds of buckets.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLowerBoundsList
List<Double> getLowerBoundsList()
Lower bounds of buckets. The response will contain `n+1` buckets for `n` bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
- Returns:
- A list containing the lowerBounds.
-
getLowerBoundsCount
int getLowerBoundsCount()
Lower bounds of buckets. The response will contain `n+1` buckets for `n` bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
- Returns:
- The count of lowerBounds.
-
getLowerBounds
double getLowerBounds(int index)
Lower bounds of buckets. The response will contain `n+1` buckets for `n` bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The lowerBounds at the given index.
-
-