Class AggregationResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.migrationcenter.v1.AggregationResult
- All Implemented Interfaces:
AggregationResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AggregationResult
extends com.google.protobuf.GeneratedMessage
implements AggregationResultOrBuilder
Message describing a result of an aggregation.Protobuf type
google.cloud.migrationcenter.v1.AggregationResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage describing a result of an aggregation.static final classThe result of a count aggregation.static interfacestatic final classThe result of a frequency distribution aggregation.static interfacestatic final classThe result of a bucketed histogram aggregation.static interfacestatic enumstatic final classThe result of a sum aggregation.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().google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;static AggregationResultstatic final com.google.protobuf.Descriptors.DescriptorgetField()string field = 1;com.google.protobuf.ByteStringstring field = 1;.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;com.google.protobuf.Parser<AggregationResult>intgetSum().google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;booleanhasCount().google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;boolean.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;inthashCode()boolean.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;booleanhasSum().google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AggregationResult.Builderstatic AggregationResult.BuildernewBuilder(AggregationResult prototype) protected AggregationResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AggregationResultparseDelimitedFrom(InputStream input) static AggregationResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationResultparseFrom(byte[] data) static AggregationResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationResultparseFrom(com.google.protobuf.ByteString data) static AggregationResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationResultparseFrom(com.google.protobuf.CodedInputStream input) static AggregationResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationResultparseFrom(InputStream input) static AggregationResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregationResultparseFrom(ByteBuffer data) static AggregationResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AggregationResult>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
-
getResultCase
- Specified by:
getResultCasein interfaceAggregationResultOrBuilder
-
getField
string field = 1;- Specified by:
getFieldin interfaceAggregationResultOrBuilder- Returns:
- The field.
-
getFieldBytes
public com.google.protobuf.ByteString getFieldBytes()string field = 1;- Specified by:
getFieldBytesin interfaceAggregationResultOrBuilder- Returns:
- The bytes for field.
-
hasCount
public boolean hasCount().google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;- Specified by:
hasCountin interfaceAggregationResultOrBuilder- Returns:
- Whether the count field is set.
-
getCount
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;- Specified by:
getCountin interfaceAggregationResultOrBuilder- Returns:
- The count.
-
getCountOrBuilder
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;- Specified by:
getCountOrBuilderin interfaceAggregationResultOrBuilder
-
hasSum
public boolean hasSum().google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;- Specified by:
hasSumin interfaceAggregationResultOrBuilder- Returns:
- Whether the sum field is set.
-
getSum
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;- Specified by:
getSumin interfaceAggregationResultOrBuilder- Returns:
- The sum.
-
getSumOrBuilder
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;- Specified by:
getSumOrBuilderin interfaceAggregationResultOrBuilder
-
hasHistogram
public boolean hasHistogram().google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;- Specified by:
hasHistogramin interfaceAggregationResultOrBuilder- Returns:
- Whether the histogram field is set.
-
getHistogram
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;- Specified by:
getHistogramin interfaceAggregationResultOrBuilder- Returns:
- The histogram.
-
getHistogramOrBuilder
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;- Specified by:
getHistogramOrBuilderin interfaceAggregationResultOrBuilder
-
hasFrequency
public boolean hasFrequency().google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;- Specified by:
hasFrequencyin interfaceAggregationResultOrBuilder- Returns:
- Whether the frequency field is set.
-
getFrequency
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;- Specified by:
getFrequencyin interfaceAggregationResultOrBuilder- Returns:
- The frequency.
-
getFrequencyOrBuilder
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;- Specified by:
getFrequencyOrBuilderin interfaceAggregationResultOrBuilder
-
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 AggregationResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregationResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregationResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregationResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregationResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AggregationResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AggregationResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AggregationResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AggregationResult 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 AggregationResult.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
-