Interface AggregationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Aggregation,Aggregation.Builder
@Generated
public interface AggregationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()Count the number of matching objects.Count the number of matching objects.getField()The name of the field on which to aggregate.com.google.protobuf.ByteStringThe name of the field on which to aggregate.Creates a frequency distribution of all field values.Creates a frequency distribution of all field values.Creates a bucketed histogram of field values.Creates a bucketed histogram of field values.getSum()Sum over a numeric field.Sum over a numeric field.booleanhasCount()Count the number of matching objects.booleanCreates a frequency distribution of all field values.booleanCreates a bucketed histogram of field values.booleanhasSum()Sum over a numeric field.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-