public static final class Aggregation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder> implements AggregationOrBuilder
Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.Protobuf type
google.cloud.migrationcenter.v1.Aggregation| Modifier and Type | Method and Description |
|---|---|
Aggregation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Aggregation |
build() |
Aggregation |
buildPartial() |
Aggregation.Builder |
clear() |
Aggregation.Builder |
clearAggregationFunction() |
Aggregation.Builder |
clearCount()
Count the number of matching objects.
|
Aggregation.Builder |
clearField()
The name of the field on which to aggregate.
|
Aggregation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Aggregation.Builder |
clearFrequency()
Creates a frequency distribution of all field values.
|
Aggregation.Builder |
clearHistogram()
Creates a bucketed histogram of field values.
|
Aggregation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Aggregation.Builder |
clearSum()
Sum over a numeric field.
|
Aggregation.Builder |
clone() |
Aggregation.AggregationFunctionCase |
getAggregationFunctionCase() |
Aggregation.Count |
getCount()
Count the number of matching objects.
|
Aggregation.Count.Builder |
getCountBuilder()
Count the number of matching objects.
|
Aggregation.CountOrBuilder |
getCountOrBuilder()
Count the number of matching objects.
|
Aggregation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Frequency.Builder |
getFrequencyBuilder()
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.Histogram.Builder |
getHistogramBuilder()
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.Sum.Builder |
getSumBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Aggregation.Builder |
mergeCount(Aggregation.Count value)
Count the number of matching objects.
|
Aggregation.Builder |
mergeFrequency(Aggregation.Frequency value)
Creates a frequency distribution of all field values.
|
Aggregation.Builder |
mergeFrom(Aggregation other) |
Aggregation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Aggregation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Aggregation.Builder |
mergeHistogram(Aggregation.Histogram value)
Creates a bucketed histogram of field values.
|
Aggregation.Builder |
mergeSum(Aggregation.Sum value)
Sum over a numeric field.
|
Aggregation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Aggregation.Builder |
setCount(Aggregation.Count.Builder builderForValue)
Count the number of matching objects.
|
Aggregation.Builder |
setCount(Aggregation.Count value)
Count the number of matching objects.
|
Aggregation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Aggregation.Builder |
setField(String value)
The name of the field on which to aggregate.
|
Aggregation.Builder |
setFieldBytes(com.google.protobuf.ByteString value)
The name of the field on which to aggregate.
|
Aggregation.Builder |
setFrequency(Aggregation.Frequency.Builder builderForValue)
Creates a frequency distribution of all field values.
|
Aggregation.Builder |
setFrequency(Aggregation.Frequency value)
Creates a frequency distribution of all field values.
|
Aggregation.Builder |
setHistogram(Aggregation.Histogram.Builder builderForValue)
Creates a bucketed histogram of field values.
|
Aggregation.Builder |
setHistogram(Aggregation.Histogram value)
Creates a bucketed histogram of field values.
|
Aggregation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Aggregation.Builder |
setSum(Aggregation.Sum.Builder builderForValue)
Sum over a numeric field.
|
Aggregation.Builder |
setSum(Aggregation.Sum value)
Sum over a numeric field.
|
Aggregation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Aggregation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Aggregation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Aggregation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Aggregation.Builder>public Aggregation.Builder mergeFrom(Aggregation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public Aggregation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Aggregation.Builder>IOExceptionpublic Aggregation.AggregationFunctionCase getAggregationFunctionCase()
getAggregationFunctionCase in interface AggregationOrBuilderpublic Aggregation.Builder clearAggregationFunction()
public String getField()
The name of the field on which to aggregate.
string field = 1;getField in interface AggregationOrBuilderpublic com.google.protobuf.ByteString getFieldBytes()
The name of the field on which to aggregate.
string field = 1;getFieldBytes in interface AggregationOrBuilderpublic Aggregation.Builder setField(String value)
The name of the field on which to aggregate.
string field = 1;value - The field to set.public Aggregation.Builder clearField()
The name of the field on which to aggregate.
string field = 1;public Aggregation.Builder setFieldBytes(com.google.protobuf.ByteString value)
The name of the field on which to aggregate.
string field = 1;value - The bytes for field to set.public boolean hasCount()
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;hasCount in interface AggregationOrBuilderpublic Aggregation.Count getCount()
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;getCount in interface AggregationOrBuilderpublic Aggregation.Builder setCount(Aggregation.Count value)
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;public Aggregation.Builder setCount(Aggregation.Count.Builder builderForValue)
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;public Aggregation.Builder mergeCount(Aggregation.Count value)
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;public Aggregation.Builder clearCount()
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;public Aggregation.Count.Builder getCountBuilder()
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;public Aggregation.CountOrBuilder getCountOrBuilder()
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;getCountOrBuilder in interface AggregationOrBuilderpublic boolean hasSum()
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;hasSum in interface AggregationOrBuilderpublic Aggregation.Sum getSum()
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;getSum in interface AggregationOrBuilderpublic Aggregation.Builder setSum(Aggregation.Sum value)
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;public Aggregation.Builder setSum(Aggregation.Sum.Builder builderForValue)
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;public Aggregation.Builder mergeSum(Aggregation.Sum value)
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;public Aggregation.Builder clearSum()
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;public Aggregation.Sum.Builder getSumBuilder()
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;public Aggregation.SumOrBuilder getSumOrBuilder()
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;getSumOrBuilder in interface AggregationOrBuilderpublic boolean hasHistogram()
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;hasHistogram in interface AggregationOrBuilderpublic Aggregation.Histogram getHistogram()
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;getHistogram in interface AggregationOrBuilderpublic Aggregation.Builder setHistogram(Aggregation.Histogram value)
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;public Aggregation.Builder setHistogram(Aggregation.Histogram.Builder builderForValue)
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;public Aggregation.Builder mergeHistogram(Aggregation.Histogram value)
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;public Aggregation.Builder clearHistogram()
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;public Aggregation.Histogram.Builder getHistogramBuilder()
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;public Aggregation.HistogramOrBuilder getHistogramOrBuilder()
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;getHistogramOrBuilder in interface AggregationOrBuilderpublic boolean hasFrequency()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;hasFrequency in interface AggregationOrBuilderpublic Aggregation.Frequency getFrequency()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;getFrequency in interface AggregationOrBuilderpublic Aggregation.Builder setFrequency(Aggregation.Frequency value)
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;public Aggregation.Builder setFrequency(Aggregation.Frequency.Builder builderForValue)
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;public Aggregation.Builder mergeFrequency(Aggregation.Frequency value)
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;public Aggregation.Builder clearFrequency()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;public Aggregation.Frequency.Builder getFrequencyBuilder()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;public Aggregation.FrequencyOrBuilder getFrequencyOrBuilder()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;getFrequencyOrBuilder in interface AggregationOrBuilderpublic final Aggregation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>public final Aggregation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Builder>Copyright © 2024 Google LLC. All rights reserved.