Class ShowPartitionsResponse

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

    public final class ShowPartitionsResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements ShowPartitionsResponseOrBuilder
    
     List all partitions for particular collection response.
     The returned datas are all rows, we can format to columns by therir index.
     
    Protobuf type milvus.proto.milvus.ShowPartitionsResponse
    See Also:
    Serialized Form
    • Field Detail

      • PARTITION_NAMES_FIELD_NUMBER

        public static final int PARTITION_NAMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARTITIONIDS_FIELD_NUMBER

        public static final int PARTITIONIDS_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
    • 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 ShowPartitionsResponseOrBuilder
        Returns:
        Whether the status field is set.
      • getPartitionNamesList

        public com.google.protobuf.ProtocolStringList getPartitionNamesList()
         All partition names for this collection
         
        repeated string partition_names = 2;
        Specified by:
        getPartitionNamesList in interface ShowPartitionsResponseOrBuilder
        Returns:
        A list containing the partitionNames.
      • getPartitionNames

        public String getPartitionNames​(int index)
         All partition names for this collection
         
        repeated string partition_names = 2;
        Specified by:
        getPartitionNames in interface ShowPartitionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The partitionNames at the given index.
      • getPartitionNamesBytes

        public com.google.protobuf.ByteString getPartitionNamesBytes​(int index)
         All partition names for this collection
         
        repeated string partition_names = 2;
        Specified by:
        getPartitionNamesBytes in interface ShowPartitionsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the partitionNames at the given index.
      • getPartitionIDs

        public long getPartitionIDs​(int index)
         All partition ids for this collection
         
        repeated int64 partitionIDs = 3;
        Specified by:
        getPartitionIDs in interface ShowPartitionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The partitionIDs at the given index.
      • getCreatedTimestamps

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

        public int getCreatedUtcTimestampsCount()
         All utc timestamps calculated by created_timestamps
         
        repeated uint64 created_utc_timestamps = 5;
        Specified by:
        getCreatedUtcTimestampsCount in interface ShowPartitionsResponseOrBuilder
        Returns:
        The count of createdUtcTimestamps.
      • getCreatedUtcTimestamps

        public long getCreatedUtcTimestamps​(int index)
         All utc timestamps calculated by created_timestamps
         
        repeated uint64 created_utc_timestamps = 5;
        Specified by:
        getCreatedUtcTimestamps in interface ShowPartitionsResponseOrBuilder
        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.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=665
         Load percentage on querynode
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Specified by:
        getInMemoryPercentagesList in interface ShowPartitionsResponseOrBuilder
        Returns:
        A list containing the inMemoryPercentages.
      • getInMemoryPercentagesCount

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

        @Deprecated
        public long getInMemoryPercentages​(int index)
        Deprecated.
        milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=665
         Load percentage on querynode
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Specified by:
        getInMemoryPercentages in interface ShowPartitionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The inMemoryPercentages 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 ShowPartitionsResponse parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<ShowPartitionsResponse> 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 ShowPartitionsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder