public final class Aggregation extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
Aggregation.AggregationFunctionCase |
static class |
Aggregation.Builder
Message describing an aggregation.
|
static class |
Aggregation.Count
Object count.
|
static interface |
Aggregation.CountOrBuilder |
static class |
Aggregation.Frequency
Frequency distribution of all field values.
|
static interface |
Aggregation.FrequencyOrBuilder |
static class |
Aggregation.Histogram
Histogram of bucketed assets counts by field value.
|
static interface |
Aggregation.HistogramOrBuilder |
static class |
Aggregation.Sum
Sum of field values.
|
static interface |
Aggregation.SumOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT_FIELD_NUMBER |
static int |
FIELD_FIELD_NUMBER |
static int |
FREQUENCY_FIELD_NUMBER |
static int |
HISTOGRAM_FIELD_NUMBER |
static int |
SUM_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Aggregation.AggregationFunctionCase |
getAggregationFunctionCase() |
Aggregation.Count |
getCount()
Count the number of matching objects.
|
Aggregation.CountOrBuilder |
getCountOrBuilder()
Count the number of matching objects.
|
static Aggregation |
getDefaultInstance() |
Aggregation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.FrequencyOrBuilder |
getFrequencyOrBuilder()
Creates a frequency distribution of all field values.
|
Aggregation.Histogram |
getHistogram()
Creates a bucketed histogram of field values.
|
Aggregation.HistogramOrBuilder |
getHistogramOrBuilder()
Creates a bucketed histogram of field values.
|
com.google.protobuf.Parser<Aggregation> |
getParserForType() |
int |
getSerializedSize() |
Aggregation.Sum |
getSum()
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.
|
int |
hashCode() |
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() |
static Aggregation.Builder |
newBuilder() |
static Aggregation.Builder |
newBuilder(Aggregation prototype) |
Aggregation.Builder |
newBuilderForType() |
protected Aggregation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Aggregation |
parseDelimitedFrom(InputStream input) |
static Aggregation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aggregation |
parseFrom(byte[] data) |
static Aggregation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aggregation |
parseFrom(ByteBuffer data) |
static Aggregation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aggregation |
parseFrom(com.google.protobuf.ByteString data) |
static Aggregation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aggregation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Aggregation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aggregation |
parseFrom(InputStream input) |
static Aggregation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Aggregation> |
parser() |
Aggregation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FIELD_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public static final int SUM_FIELD_NUMBER
public static final int HISTOGRAM_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Aggregation.AggregationFunctionCase getAggregationFunctionCase()
getAggregationFunctionCase in interface AggregationOrBuilderpublic 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 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.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.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.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.FrequencyOrBuilder getFrequencyOrBuilder()
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;getFrequencyOrBuilder in interface AggregationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Aggregation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aggregation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aggregation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aggregation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aggregation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aggregation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aggregation parseFrom(InputStream input) throws IOException
IOExceptionpublic static Aggregation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Aggregation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Aggregation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Aggregation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Aggregation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Aggregation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Aggregation.Builder newBuilder()
public static Aggregation.Builder newBuilder(Aggregation prototype)
public Aggregation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Aggregation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Aggregation getDefaultInstance()
public static com.google.protobuf.Parser<Aggregation> parser()
public com.google.protobuf.Parser<Aggregation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Aggregation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.