Interface AggregationOrBuilder (0.37.0)

public interface AggregationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregationFunctionCase()

public abstract Aggregation.AggregationFunctionCase getAggregationFunctionCase()
Returns
Type Description
Aggregation.AggregationFunctionCase

getCount()

public abstract Aggregation.Count getCount()

Count the number of matching objects.

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

Returns
Type Description
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
Type Description
Aggregation.CountOrBuilder

getField()

public abstract String getField()

The name of the field on which to aggregate.

string field = 1;

Returns
Type Description
String

The field.

getFieldBytes()

public abstract ByteString getFieldBytes()

The name of the field on which to aggregate.

string field = 1;

Returns
Type Description
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
Type Description
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
Type Description
Aggregation.FrequencyOrBuilder

getHistogram()

public abstract Aggregation.Histogram getHistogram()

Creates a bucketed histogram of field values.

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

Returns
Type Description
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
Type Description
Aggregation.HistogramOrBuilder

getSum()

public abstract Aggregation.Sum getSum()

Sum over a numeric field.

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

Returns
Type Description
Aggregation.Sum

The sum.

getSumOrBuilder()

public abstract Aggregation.SumOrBuilder getSumOrBuilder()

Sum over a numeric field.

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

Returns
Type Description
Aggregation.SumOrBuilder

hasCount()

public abstract boolean hasCount()

Count the number of matching objects.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the sum field is set.