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.AggregationFunctionCasegetAggregationFunctionCase()Aggregation.CountgetCount()Count the number of matching objects.Aggregation.CountOrBuildergetCountOrBuilder()Count the number of matching objects.StringgetField()The name of the field on which to aggregate.com.google.protobuf.ByteStringgetFieldBytes()The name of the field on which to aggregate.Aggregation.FrequencygetFrequency()Creates a frequency distribution of all field values.Aggregation.FrequencyOrBuildergetFrequencyOrBuilder()Creates a frequency distribution of all field values.Aggregation.HistogramgetHistogram()Creates a bucketed histogram of field values.Aggregation.HistogramOrBuildergetHistogramOrBuilder()Creates a bucketed histogram of field values.Aggregation.SumgetSum()Sum over a numeric field.Aggregation.SumOrBuildergetSumOrBuilder()Sum over a numeric field.booleanhasCount()Count the number of matching objects.booleanhasFrequency()Creates a frequency distribution of all field values.booleanhasHistogram()Creates a bucketed histogram of field values.booleanhasSum()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()
-
-