Package io.milvus.grpc
Class AggBucket
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.AggBucket
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AggBucketOrBuilder,Serializable
public final class AggBucket extends com.google.protobuf.GeneratedMessageV3 implements AggBucketOrBuilder
Protobuf typemilvus.proto.schema.AggBucket- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAggBucket.BuilderProtobuf typemilvus.proto.schema.AggBucket-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intCOUNT_FIELD_NUMBERstatic intHITS_FIELD_NUMBERstatic intKEY_FIELD_NUMBERstatic intMETRICS_FIELD_NUMBERstatic intSUB_GROUPS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetrics(String key)metrics carries a typed metric result per alias.booleanequals(Object obj)longgetCount()int64 count = 2;static AggBucketgetDefaultInstance()AggBucketgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AggHitgetHits(int index)repeated .milvus.proto.schema.AggHit hits = 4;intgetHitsCount()repeated .milvus.proto.schema.AggHit hits = 4;List<AggHit>getHitsList()repeated .milvus.proto.schema.AggHit hits = 4;AggHitOrBuildergetHitsOrBuilder(int index)repeated .milvus.proto.schema.AggHit hits = 4;List<? extends AggHitOrBuilder>getHitsOrBuilderList()repeated .milvus.proto.schema.AggHit hits = 4;BucketKeyEntrygetKey(int index)repeated .milvus.proto.schema.BucketKeyEntry key = 1;intgetKeyCount()repeated .milvus.proto.schema.BucketKeyEntry key = 1;List<BucketKeyEntry>getKeyList()repeated .milvus.proto.schema.BucketKeyEntry key = 1;BucketKeyEntryOrBuildergetKeyOrBuilder(int index)repeated .milvus.proto.schema.BucketKeyEntry key = 1;List<? extends BucketKeyEntryOrBuilder>getKeyOrBuilderList()repeated .milvus.proto.schema.BucketKeyEntry key = 1;Map<String,MetricValue>getMetrics()Deprecated.intgetMetricsCount()metrics carries a typed metric result per alias.Map<String,MetricValue>getMetricsMap()metrics carries a typed metric result per alias.MetricValuegetMetricsOrDefault(String key, MetricValue defaultValue)metrics carries a typed metric result per alias.MetricValuegetMetricsOrThrow(String key)metrics carries a typed metric result per alias.com.google.protobuf.Parser<AggBucket>getParserForType()intgetSerializedSize()AggBucketgetSubGroups(int index)repeated .milvus.proto.schema.AggBucket sub_groups = 5;intgetSubGroupsCount()repeated .milvus.proto.schema.AggBucket sub_groups = 5;List<AggBucket>getSubGroupsList()repeated .milvus.proto.schema.AggBucket sub_groups = 5;AggBucketOrBuildergetSubGroupsOrBuilder(int index)repeated .milvus.proto.schema.AggBucket sub_groups = 5;List<? extends AggBucketOrBuilder>getSubGroupsOrBuilderList()repeated .milvus.proto.schema.AggBucket sub_groups = 5;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static AggBucket.BuildernewBuilder()static AggBucket.BuildernewBuilder(AggBucket prototype)AggBucket.BuildernewBuilderForType()protected AggBucket.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AggBucketparseDelimitedFrom(InputStream input)static AggBucketparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AggBucketparseFrom(byte[] data)static AggBucketparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AggBucketparseFrom(com.google.protobuf.ByteString data)static AggBucketparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AggBucketparseFrom(com.google.protobuf.CodedInputStream input)static AggBucketparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AggBucketparseFrom(InputStream input)static AggBucketparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AggBucketparseFrom(ByteBuffer data)static AggBucketparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AggBucket>parser()AggBucket.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HITS_FIELD_NUMBER
public static final int HITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUB_GROUPS_FIELD_NUMBER
public static final int SUB_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getKeyList
public List<BucketKeyEntry> getKeyList()
repeated .milvus.proto.schema.BucketKeyEntry key = 1;- Specified by:
getKeyListin interfaceAggBucketOrBuilder
-
getKeyOrBuilderList
public List<? extends BucketKeyEntryOrBuilder> getKeyOrBuilderList()
repeated .milvus.proto.schema.BucketKeyEntry key = 1;- Specified by:
getKeyOrBuilderListin interfaceAggBucketOrBuilder
-
getKeyCount
public int getKeyCount()
repeated .milvus.proto.schema.BucketKeyEntry key = 1;- Specified by:
getKeyCountin interfaceAggBucketOrBuilder
-
getKey
public BucketKeyEntry getKey(int index)
repeated .milvus.proto.schema.BucketKeyEntry key = 1;- Specified by:
getKeyin interfaceAggBucketOrBuilder
-
getKeyOrBuilder
public BucketKeyEntryOrBuilder getKeyOrBuilder(int index)
repeated .milvus.proto.schema.BucketKeyEntry key = 1;- Specified by:
getKeyOrBuilderin interfaceAggBucketOrBuilder
-
getCount
public long getCount()
int64 count = 2;- Specified by:
getCountin interfaceAggBucketOrBuilder- Returns:
- The count.
-
getMetricsCount
public int getMetricsCount()
Description copied from interface:AggBucketOrBuildermetrics carries a typed metric result per alias. min/max may yield string/bool values when the source field has those types; count/sum/avg stay numeric. The MetricValue oneof avoids a lossy all-double encoding.
map<string, .milvus.proto.schema.MetricValue> metrics = 3;- Specified by:
getMetricsCountin interfaceAggBucketOrBuilder
-
containsMetrics
public boolean containsMetrics(String key)
metrics carries a typed metric result per alias. min/max may yield string/bool values when the source field has those types; count/sum/avg stay numeric. The MetricValue oneof avoids a lossy all-double encoding.
map<string, .milvus.proto.schema.MetricValue> metrics = 3;- Specified by:
containsMetricsin interfaceAggBucketOrBuilder
-
getMetrics
@Deprecated public Map<String,MetricValue> getMetrics()
Deprecated.UsegetMetricsMap()instead.- Specified by:
getMetricsin interfaceAggBucketOrBuilder
-
getMetricsMap
public Map<String,MetricValue> getMetricsMap()
metrics carries a typed metric result per alias. min/max may yield string/bool values when the source field has those types; count/sum/avg stay numeric. The MetricValue oneof avoids a lossy all-double encoding.
map<string, .milvus.proto.schema.MetricValue> metrics = 3;- Specified by:
getMetricsMapin interfaceAggBucketOrBuilder
-
getMetricsOrDefault
public MetricValue getMetricsOrDefault(String key, MetricValue defaultValue)
metrics carries a typed metric result per alias. min/max may yield string/bool values when the source field has those types; count/sum/avg stay numeric. The MetricValue oneof avoids a lossy all-double encoding.
map<string, .milvus.proto.schema.MetricValue> metrics = 3;- Specified by:
getMetricsOrDefaultin interfaceAggBucketOrBuilder
-
getMetricsOrThrow
public MetricValue getMetricsOrThrow(String key)
metrics carries a typed metric result per alias. min/max may yield string/bool values when the source field has those types; count/sum/avg stay numeric. The MetricValue oneof avoids a lossy all-double encoding.
map<string, .milvus.proto.schema.MetricValue> metrics = 3;- Specified by:
getMetricsOrThrowin interfaceAggBucketOrBuilder
-
getHitsList
public List<AggHit> getHitsList()
repeated .milvus.proto.schema.AggHit hits = 4;- Specified by:
getHitsListin interfaceAggBucketOrBuilder
-
getHitsOrBuilderList
public List<? extends AggHitOrBuilder> getHitsOrBuilderList()
repeated .milvus.proto.schema.AggHit hits = 4;- Specified by:
getHitsOrBuilderListin interfaceAggBucketOrBuilder
-
getHitsCount
public int getHitsCount()
repeated .milvus.proto.schema.AggHit hits = 4;- Specified by:
getHitsCountin interfaceAggBucketOrBuilder
-
getHits
public AggHit getHits(int index)
repeated .milvus.proto.schema.AggHit hits = 4;- Specified by:
getHitsin interfaceAggBucketOrBuilder
-
getHitsOrBuilder
public AggHitOrBuilder getHitsOrBuilder(int index)
repeated .milvus.proto.schema.AggHit hits = 4;- Specified by:
getHitsOrBuilderin interfaceAggBucketOrBuilder
-
getSubGroupsList
public List<AggBucket> getSubGroupsList()
repeated .milvus.proto.schema.AggBucket sub_groups = 5;- Specified by:
getSubGroupsListin interfaceAggBucketOrBuilder
-
getSubGroupsOrBuilderList
public List<? extends AggBucketOrBuilder> getSubGroupsOrBuilderList()
repeated .milvus.proto.schema.AggBucket sub_groups = 5;- Specified by:
getSubGroupsOrBuilderListin interfaceAggBucketOrBuilder
-
getSubGroupsCount
public int getSubGroupsCount()
repeated .milvus.proto.schema.AggBucket sub_groups = 5;- Specified by:
getSubGroupsCountin interfaceAggBucketOrBuilder
-
getSubGroups
public AggBucket getSubGroups(int index)
repeated .milvus.proto.schema.AggBucket sub_groups = 5;- Specified by:
getSubGroupsin interfaceAggBucketOrBuilder
-
getSubGroupsOrBuilder
public AggBucketOrBuilder getSubGroupsOrBuilder(int index)
repeated .milvus.proto.schema.AggBucket sub_groups = 5;- Specified by:
getSubGroupsOrBuilderin interfaceAggBucketOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 AggBucket parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggBucket parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggBucket parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggBucket parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggBucket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggBucket parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggBucket parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AggBucket parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AggBucket parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AggBucket parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AggBucket parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AggBucket parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AggBucket.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AggBucket.Builder newBuilder()
-
newBuilder
public static AggBucket.Builder newBuilder(AggBucket prototype)
-
toBuilder
public AggBucket.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AggBucket.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AggBucket getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AggBucket> parser()
-
getParserForType
public com.google.protobuf.Parser<AggBucket> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AggBucket getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-