Class GetImportStateResponse

    • 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
      • getStateValue

        public int getStateValue()
         is this import task finished or not
         
        .milvus.proto.common.ImportState state = 2;
        Specified by:
        getStateValue in interface GetImportStateResponseOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getRowCount

        public long getRowCount()
         if the task is finished, this value is how many rows are imported. if the task is not finished, this value is how many rows are parsed. return 0 if failed.
         
        int64 row_count = 3;
        Specified by:
        getRowCount in interface GetImportStateResponseOrBuilder
        Returns:
        The rowCount.
      • getIdListCount

        public int getIdListCount()
         auto generated ids if the primary key is autoid
         
        repeated int64 id_list = 4;
        Specified by:
        getIdListCount in interface GetImportStateResponseOrBuilder
        Returns:
        The count of idList.
      • getIdList

        public long getIdList​(int index)
         auto generated ids if the primary key is autoid
         
        repeated int64 id_list = 4;
        Specified by:
        getIdList in interface GetImportStateResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The idList at the given index.
      • getInfosCount

        public int getInfosCount()
         more information about the task, progress percent, file path, failed reason, etc.
         
        repeated .milvus.proto.common.KeyValuePair infos = 5;
        Specified by:
        getInfosCount in interface GetImportStateResponseOrBuilder
      • getInfos

        public KeyValuePair getInfos​(int index)
         more information about the task, progress percent, file path, failed reason, etc.
         
        repeated .milvus.proto.common.KeyValuePair infos = 5;
        Specified by:
        getInfos in interface GetImportStateResponseOrBuilder
      • getSegmentIdsCount

        public int getSegmentIdsCount()
         a list of segment IDs created by the import task.
         
        repeated int64 segment_ids = 8;
        Specified by:
        getSegmentIdsCount in interface GetImportStateResponseOrBuilder
        Returns:
        The count of segmentIds.
      • getSegmentIds

        public long getSegmentIds​(int index)
         a list of segment IDs created by the import task.
         
        repeated int64 segment_ids = 8;
        Specified by:
        getSegmentIds in interface GetImportStateResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The segmentIds 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 GetImportStateResponse parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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