Class ShowCollectionsResponse

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ShowCollectionsResponseOrBuilder, Serializable

    public final class ShowCollectionsResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements ShowCollectionsResponseOrBuilder
    
     Return basic collection infos.
     
    Protobuf type milvus.proto.milvus.ShowCollectionsResponse
    See Also:
    Serialized Form
    • Field Detail

      • COLLECTION_NAMES_FIELD_NUMBER

        public static final int COLLECTION_NAMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COLLECTION_IDS_FIELD_NUMBER

        public static final int COLLECTION_IDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATED_TIMESTAMPS_FIELD_NUMBER

        public static final int CREATED_TIMESTAMPS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATED_UTC_TIMESTAMPS_FIELD_NUMBER

        public static final int CREATED_UTC_TIMESTAMPS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INMEMORY_PERCENTAGES_FIELD_NUMBER

        public static final int INMEMORY_PERCENTAGES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUERY_SERVICE_AVAILABLE_FIELD_NUMBER

        public static final int QUERY_SERVICE_AVAILABLE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasStatus

        public boolean hasStatus()
         Contain error_code and reason
         
        .milvus.proto.common.Status status = 1;
        Specified by:
        hasStatus in interface ShowCollectionsResponseOrBuilder
        Returns:
        Whether the status field is set.
      • getCollectionNamesList

        public com.google.protobuf.ProtocolStringList getCollectionNamesList()
         Collection name array
         
        repeated string collection_names = 2;
        Specified by:
        getCollectionNamesList in interface ShowCollectionsResponseOrBuilder
        Returns:
        A list containing the collectionNames.
      • getCollectionNames

        public String getCollectionNames​(int index)
         Collection name array
         
        repeated string collection_names = 2;
        Specified by:
        getCollectionNames in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The collectionNames at the given index.
      • getCollectionNamesBytes

        public com.google.protobuf.ByteString getCollectionNamesBytes​(int index)
         Collection name array
         
        repeated string collection_names = 2;
        Specified by:
        getCollectionNamesBytes in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the collectionNames at the given index.
      • getCollectionIds

        public long getCollectionIds​(int index)
         Collection Id array
         
        repeated int64 collection_ids = 3;
        Specified by:
        getCollectionIds in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The collectionIds at the given index.
      • getCreatedTimestamps

        public long getCreatedTimestamps​(int index)
         Hybrid timestamps in milvus
         
        repeated uint64 created_timestamps = 4;
        Specified by:
        getCreatedTimestamps in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The createdTimestamps at the given index.
      • getCreatedUtcTimestampsCount

        public int getCreatedUtcTimestampsCount()
         The utc timestamp calculated by created_timestamp
         
        repeated uint64 created_utc_timestamps = 5;
        Specified by:
        getCreatedUtcTimestampsCount in interface ShowCollectionsResponseOrBuilder
        Returns:
        The count of createdUtcTimestamps.
      • getCreatedUtcTimestamps

        public long getCreatedUtcTimestamps​(int index)
         The utc timestamp calculated by created_timestamp
         
        repeated uint64 created_utc_timestamps = 5;
        Specified by:
        getCreatedUtcTimestamps in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The createdUtcTimestamps at the given index.
      • getInMemoryPercentagesList

        @Deprecated
        public List<Long> getInMemoryPercentagesList()
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=501
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Specified by:
        getInMemoryPercentagesList in interface ShowCollectionsResponseOrBuilder
        Returns:
        A list containing the inMemoryPercentages.
      • getInMemoryPercentagesCount

        @Deprecated
        public int getInMemoryPercentagesCount()
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=501
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Specified by:
        getInMemoryPercentagesCount in interface ShowCollectionsResponseOrBuilder
        Returns:
        The count of inMemoryPercentages.
      • getInMemoryPercentages

        @Deprecated
        public long getInMemoryPercentages​(int index)
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=501
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Specified by:
        getInMemoryPercentages in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The inMemoryPercentages at the given index.
      • getQueryServiceAvailable

        public boolean getQueryServiceAvailable​(int index)
         Indicate whether query service is available
         
        repeated bool query_service_available = 7;
        Specified by:
        getQueryServiceAvailable in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The queryServiceAvailable at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ShowCollectionsResponse parseFrom​(ByteBuffer data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShowCollectionsResponse parseFrom​(ByteBuffer data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShowCollectionsResponse parseFrom​(com.google.protobuf.ByteString data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShowCollectionsResponse parseFrom​(com.google.protobuf.ByteString data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShowCollectionsResponse parseFrom​(byte[] data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShowCollectionsResponse parseFrom​(byte[] data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public ShowCollectionsResponse.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ShowCollectionsResponse.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ShowCollectionsResponse.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ShowCollectionsResponse> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ShowCollectionsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder