Interface AggregationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Aggregation
,Aggregation.Builder
public interface AggregationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Aggregation.AggregationFunctionCase
getAggregationFunctionCase()
Aggregation.Count
getCount()
Count the number of matching objects.Aggregation.CountOrBuilder
getCountOrBuilder()
Count the number of matching objects.String
getField()
The name of the field on which to aggregate.com.google.protobuf.ByteString
getFieldBytes()
The name of the field on which to aggregate.Aggregation.Frequency
getFrequency()
Creates a frequency distribution of all field values.Aggregation.FrequencyOrBuilder
getFrequencyOrBuilder()
Creates a frequency distribution of all field values.Aggregation.Histogram
getHistogram()
Creates a bucketed histogram of field values.Aggregation.HistogramOrBuilder
getHistogramOrBuilder()
Creates a bucketed histogram of field values.Aggregation.Sum
getSum()
Sum over a numeric field.Aggregation.SumOrBuilder
getSumOrBuilder()
Sum over a numeric field.boolean
hasCount()
Count the number of matching objects.boolean
hasFrequency()
Creates a frequency distribution of all field values.boolean
hasHistogram()
Creates a bucketed histogram of field values.boolean
hasSum()
Sum over a numeric field.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getField
String getField()
The name of the field on which to aggregate.
string field = 1;
- Returns:
- The field.
-
getFieldBytes
com.google.protobuf.ByteString getFieldBytes()
The name of the field on which to aggregate.
string field = 1;
- Returns:
- The bytes for field.
-
hasCount
boolean hasCount()
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;
- Returns:
- Whether the count field is set.
-
getCount
Aggregation.Count getCount()
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;
- Returns:
- The count.
-
getCountOrBuilder
Aggregation.CountOrBuilder getCountOrBuilder()
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;
-
hasSum
boolean hasSum()
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;
- Returns:
- Whether the sum field is set.
-
getSum
Aggregation.Sum getSum()
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;
- Returns:
- The sum.
-
getSumOrBuilder
Aggregation.SumOrBuilder getSumOrBuilder()
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;
-
hasHistogram
boolean hasHistogram()
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;
- Returns:
- Whether the histogram field is set.
-
getHistogram
Aggregation.Histogram getHistogram()
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;
- Returns:
- The histogram.
-
getHistogramOrBuilder
Aggregation.HistogramOrBuilder getHistogramOrBuilder()
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;
-
hasFrequency
boolean hasFrequency()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;
- Returns:
- Whether the frequency field is set.
-
getFrequency
Aggregation.Frequency getFrequency()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;
- Returns:
- The frequency.
-
getFrequencyOrBuilder
Aggregation.FrequencyOrBuilder getFrequencyOrBuilder()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;
-
getAggregationFunctionCase
Aggregation.AggregationFunctionCase getAggregationFunctionCase()
-
-