Interface AggregationOrBuilder (0.13.0)

public interface AggregationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregationFunctionCase()

public abstract Aggregation.AggregationFunctionCase getAggregationFunctionCase()
Returns
TypeDescription
Aggregation.AggregationFunctionCase

getCount()

public abstract Aggregation.Count getCount()

Count the number of matching objects.

.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;

Returns
TypeDescription
Aggregation.Count

The count.

getCountOrBuilder()

public abstract Aggregation.CountOrBuilder getCountOrBuilder()

Count the number of matching objects.

.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;

Returns
TypeDescription
Aggregation.CountOrBuilder

getField()

public abstract String getField()

The name of the field on which to aggregate.

string field = 1;

Returns
TypeDescription
String

The field.

getFieldBytes()

public abstract ByteString getFieldBytes()

The name of the field on which to aggregate.

string field = 1;

Returns
TypeDescription
ByteString

The bytes for field.

getFrequency()

public abstract Aggregation.Frequency getFrequency()

Creates a frequency distribution of all field values.

.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;

Returns
TypeDescription
Aggregation.Frequency

The frequency.

getFrequencyOrBuilder()

public abstract Aggregation.FrequencyOrBuilder getFrequencyOrBuilder()

Creates a frequency distribution of all field values.

.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;

Returns
TypeDescription
Aggregation.FrequencyOrBuilder

getHistogram()

public abstract Aggregation.Histogram getHistogram()

Creates a bucketed histogram of field values.

.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;

Returns
TypeDescription
Aggregation.Histogram

The histogram.

getHistogramOrBuilder()

public abstract Aggregation.HistogramOrBuilder getHistogramOrBuilder()

Creates a bucketed histogram of field values.

.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;

Returns
TypeDescription
Aggregation.HistogramOrBuilder

getSum()

public abstract Aggregation.Sum getSum()

Sum over a numeric field.

.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;

Returns
TypeDescription
Aggregation.Sum

The sum.

getSumOrBuilder()

public abstract Aggregation.SumOrBuilder getSumOrBuilder()

Sum over a numeric field.

.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;

Returns
TypeDescription
Aggregation.SumOrBuilder

hasCount()

public abstract boolean hasCount()

Count the number of matching objects.

.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;

Returns
TypeDescription
boolean

Whether the count field is set.

hasFrequency()

public abstract boolean hasFrequency()

Creates a frequency distribution of all field values.

.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;

Returns
TypeDescription
boolean

Whether the frequency field is set.

hasHistogram()

public abstract boolean hasHistogram()

Creates a bucketed histogram of field values.

.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;

Returns
TypeDescription
boolean

Whether the histogram field is set.

hasSum()

public abstract boolean hasSum()

Sum over a numeric field.

.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;

Returns
TypeDescription
boolean

Whether the sum field is set.