Class Aggregation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.migrationcenter.v1.Aggregation
- All Implemented Interfaces:
AggregationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Aggregation
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classMessage describing an aggregation.static final classObject count.static interfacestatic final classFrequency distribution of all field values.static interfacestatic final classHistogram of bucketed assets counts by field value.static interfacestatic final classSum of field values.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCount()Count the number of matching objects.Count the number of matching objects.static Aggregationstatic final com.google.protobuf.Descriptors.DescriptorgetField()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.com.google.protobuf.Parser<Aggregation>intgetSum()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.inthashCode()booleanCreates a bucketed histogram of field values.booleanhasSum()Sum over a numeric field.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Aggregation.Builderstatic Aggregation.BuildernewBuilder(Aggregation prototype) protected Aggregation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AggregationparseDelimitedFrom(InputStream input) static AggregationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationparseFrom(byte[] data) static AggregationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationparseFrom(com.google.protobuf.ByteString data) static AggregationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationparseFrom(com.google.protobuf.CodedInputStream input) static AggregationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationparseFrom(InputStream input) static AggregationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationparseFrom(ByteBuffer data) static AggregationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Aggregation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER- See Also:
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER- See Also:
-
SUM_FIELD_NUMBER
public static final int SUM_FIELD_NUMBER- See Also:
-
HISTOGRAM_FIELD_NUMBER
public static final int HISTOGRAM_FIELD_NUMBER- See Also:
-
FREQUENCY_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAggregationFunctionCase
- Specified by:
getAggregationFunctionCasein interfaceAggregationOrBuilder
-
getField
The name of the field on which to aggregate.
string field = 1;- Specified by:
getFieldin interfaceAggregationOrBuilder- Returns:
- The field.
-
getFieldBytes
public com.google.protobuf.ByteString getFieldBytes()The name of the field on which to aggregate.
string field = 1;- Specified by:
getFieldBytesin interfaceAggregationOrBuilder- Returns:
- The bytes for field.
-
hasCount
public boolean hasCount()Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;- Specified by:
hasCountin interfaceAggregationOrBuilder- Returns:
- Whether the count field is set.
-
getCount
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;- Specified by:
getCountin interfaceAggregationOrBuilder- Returns:
- The count.
-
getCountOrBuilder
Count the number of matching objects.
.google.cloud.migrationcenter.v1.Aggregation.Count count = 2;- Specified by:
getCountOrBuilderin interfaceAggregationOrBuilder
-
hasSum
public boolean hasSum()Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;- Specified by:
hasSumin interfaceAggregationOrBuilder- Returns:
- Whether the sum field is set.
-
getSum
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;- Specified by:
getSumin interfaceAggregationOrBuilder- Returns:
- The sum.
-
getSumOrBuilder
Sum over a numeric field.
.google.cloud.migrationcenter.v1.Aggregation.Sum sum = 3;- Specified by:
getSumOrBuilderin interfaceAggregationOrBuilder
-
hasHistogram
public boolean hasHistogram()Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;- Specified by:
hasHistogramin interfaceAggregationOrBuilder- Returns:
- Whether the histogram field is set.
-
getHistogram
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;- Specified by:
getHistogramin interfaceAggregationOrBuilder- Returns:
- The histogram.
-
getHistogramOrBuilder
Creates a bucketed histogram of field values.
.google.cloud.migrationcenter.v1.Aggregation.Histogram histogram = 4;- Specified by:
getHistogramOrBuilderin interfaceAggregationOrBuilder
-
hasFrequency
public boolean hasFrequency()Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;- Specified by:
hasFrequencyin interfaceAggregationOrBuilder- Returns:
- Whether the frequency field is set.
-
getFrequency
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;- Specified by:
getFrequencyin interfaceAggregationOrBuilder- Returns:
- The frequency.
-
getFrequencyOrBuilder
Creates a frequency distribution of all field values.
.google.cloud.migrationcenter.v1.Aggregation.Frequency frequency = 5;- Specified by:
getFrequencyOrBuilderin interfaceAggregationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Aggregation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Aggregation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Aggregation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Aggregation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Aggregation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Aggregation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Aggregation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Aggregation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Aggregation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Aggregation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-