Package io.qdrant.client.grpc
Class Collections.CollectionInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.qdrant.client.grpc.Collections.CollectionInfo
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Collections.CollectionInfoOrBuilder
,Serializable
- Enclosing class:
- Collections
public static final class Collections.CollectionInfo
extends com.google.protobuf.GeneratedMessageV3
implements Collections.CollectionInfoOrBuilder
Protobuf type
qdrant.CollectionInfo
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeqdrant.CollectionInfo
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Collection data typesboolean
ConfigurationConfigurationstatic Collections.CollectionInfo
static final com.google.protobuf.Descriptors.Descriptor
long
number of indexed vectors in the collection.status of collection optimizersstatus of collection optimizerscom.google.protobuf.Parser<Collections.CollectionInfo>
Deprecated.int
Collection data typesCollection data typesgetPayloadSchemaOrDefault
(String key, Collections.PayloadSchemaInfo defaultValue) Collection data typesCollection data typeslong
number of points in the collectionlong
Number of independent segmentsint
operating condition of the collectionint
operating condition of the collectionlong
number of vectors in the collectionboolean
Configurationint
hashCode()
boolean
number of indexed vectors in the collection.boolean
status of collection optimizersprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) final boolean
newBuilder
(Collections.CollectionInfo prototype) protected Collections.CollectionInfo.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Collections.CollectionInfo
parseDelimitedFrom
(InputStream input) static Collections.CollectionInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CollectionInfo
parseFrom
(byte[] data) static Collections.CollectionInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CollectionInfo
parseFrom
(com.google.protobuf.ByteString data) static Collections.CollectionInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CollectionInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static Collections.CollectionInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CollectionInfo
parseFrom
(InputStream input) static Collections.CollectionInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CollectionInfo
parseFrom
(ByteBuffer data) static Collections.CollectionInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Collections.CollectionInfo>
parser()
void
writeTo
(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, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
OPTIMIZER_STATUS_FIELD_NUMBER
public static final int OPTIMIZER_STATUS_FIELD_NUMBER- See Also:
-
VECTORS_COUNT_FIELD_NUMBER
public static final int VECTORS_COUNT_FIELD_NUMBER- See Also:
-
SEGMENTS_COUNT_FIELD_NUMBER
public static final int SEGMENTS_COUNT_FIELD_NUMBER- See Also:
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER- See Also:
-
PAYLOAD_SCHEMA_FIELD_NUMBER
public static final int PAYLOAD_SCHEMA_FIELD_NUMBER- See Also:
-
POINTS_COUNT_FIELD_NUMBER
public static final int POINTS_COUNT_FIELD_NUMBER- See Also:
-
INDEXED_VECTORS_COUNT_FIELD_NUMBER
public static final int INDEXED_VECTORS_COUNT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getStatusValue
public int getStatusValue()operating condition of the collection
.qdrant.CollectionStatus status = 1;
- Specified by:
getStatusValue
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
getStatus
operating condition of the collection
.qdrant.CollectionStatus status = 1;
- Specified by:
getStatus
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- The status.
-
hasOptimizerStatus
public boolean hasOptimizerStatus()status of collection optimizers
.qdrant.OptimizerStatus optimizer_status = 2;
- Specified by:
hasOptimizerStatus
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- Whether the optimizerStatus field is set.
-
getOptimizerStatus
status of collection optimizers
.qdrant.OptimizerStatus optimizer_status = 2;
- Specified by:
getOptimizerStatus
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- The optimizerStatus.
-
getOptimizerStatusOrBuilder
status of collection optimizers
.qdrant.OptimizerStatus optimizer_status = 2;
- Specified by:
getOptimizerStatusOrBuilder
in interfaceCollections.CollectionInfoOrBuilder
-
getVectorsCount
public long getVectorsCount()number of vectors in the collection
uint64 vectors_count = 3;
- Specified by:
getVectorsCount
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- The vectorsCount.
-
getSegmentsCount
public long getSegmentsCount()Number of independent segments
uint64 segments_count = 4;
- Specified by:
getSegmentsCount
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- The segmentsCount.
-
hasConfig
public boolean hasConfig()Configuration
.qdrant.CollectionConfig config = 7;
- Specified by:
hasConfig
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
Configuration
.qdrant.CollectionConfig config = 7;
- Specified by:
getConfig
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- The config.
-
getConfigOrBuilder
Configuration
.qdrant.CollectionConfig config = 7;
- Specified by:
getConfigOrBuilder
in interfaceCollections.CollectionInfoOrBuilder
-
getPayloadSchemaCount
public int getPayloadSchemaCount()Description copied from interface:Collections.CollectionInfoOrBuilder
Collection data types
map<string, .qdrant.PayloadSchemaInfo> payload_schema = 8;
- Specified by:
getPayloadSchemaCount
in interfaceCollections.CollectionInfoOrBuilder
-
containsPayloadSchema
Collection data types
map<string, .qdrant.PayloadSchemaInfo> payload_schema = 8;
- Specified by:
containsPayloadSchema
in interfaceCollections.CollectionInfoOrBuilder
-
getPayloadSchema
Deprecated.UsegetPayloadSchemaMap()
instead.- Specified by:
getPayloadSchema
in interfaceCollections.CollectionInfoOrBuilder
-
getPayloadSchemaMap
Collection data types
map<string, .qdrant.PayloadSchemaInfo> payload_schema = 8;
- Specified by:
getPayloadSchemaMap
in interfaceCollections.CollectionInfoOrBuilder
-
getPayloadSchemaOrDefault
public Collections.PayloadSchemaInfo getPayloadSchemaOrDefault(String key, Collections.PayloadSchemaInfo defaultValue) Collection data types
map<string, .qdrant.PayloadSchemaInfo> payload_schema = 8;
- Specified by:
getPayloadSchemaOrDefault
in interfaceCollections.CollectionInfoOrBuilder
-
getPayloadSchemaOrThrow
Collection data types
map<string, .qdrant.PayloadSchemaInfo> payload_schema = 8;
- Specified by:
getPayloadSchemaOrThrow
in interfaceCollections.CollectionInfoOrBuilder
-
getPointsCount
public long getPointsCount()number of points in the collection
uint64 points_count = 9;
- Specified by:
getPointsCount
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- The pointsCount.
-
hasIndexedVectorsCount
public boolean hasIndexedVectorsCount()number of indexed vectors in the collection.
optional uint64 indexed_vectors_count = 10;
- Specified by:
hasIndexedVectorsCount
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- Whether the indexedVectorsCount field is set.
-
getIndexedVectorsCount
public long getIndexedVectorsCount()number of indexed vectors in the collection.
optional uint64 indexed_vectors_count = 10;
- Specified by:
getIndexedVectorsCount
in interfaceCollections.CollectionInfoOrBuilder
- Returns:
- The indexedVectorsCount.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Collections.CollectionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CollectionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CollectionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CollectionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CollectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CollectionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Collections.CollectionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Collections.CollectionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Collections.CollectionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Collections.CollectionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Collections.CollectionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-