Interface GetImportStateResponseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    GetImportStateResponse, GetImportStateResponse.Builder

    public interface GetImportStateResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCollectionId()
      collection ID of the import task.
      long getCreateTs()
      timestamp when the import task is created.
      long getId()
      id of an import task
      long getIdList​(int index)
      auto generated ids if the primary key is autoid
      int getIdListCount()
      auto generated ids if the primary key is autoid
      List<Long> getIdListList()
      auto generated ids if the primary key is autoid
      KeyValuePair getInfos​(int index)
      more information about the task, progress percent, file path, failed reason, etc.
      int getInfosCount()
      more information about the task, progress percent, file path, failed reason, etc.
      List<KeyValuePair> getInfosList()
      more information about the task, progress percent, file path, failed reason, etc.
      KeyValuePairOrBuilder getInfosOrBuilder​(int index)
      more information about the task, progress percent, file path, failed reason, etc.
      List<? extends KeyValuePairOrBuilder> getInfosOrBuilderList()
      more information about the task, progress percent, file path, failed reason, etc.
      long getRowCount()
      if the task is finished, this value is how many rows are imported.
      long getSegmentIds​(int index)
      a list of segment IDs created by the import task.
      int getSegmentIdsCount()
      a list of segment IDs created by the import task.
      List<Long> getSegmentIdsList()
      a list of segment IDs created by the import task.
      ImportState getState()
      is this import task finished or not
      int getStateValue()
      is this import task finished or not
      Status getStatus()
      .milvus.proto.common.Status status = 1;
      StatusOrBuilder getStatusOrBuilder()
      .milvus.proto.common.Status status = 1;
      boolean hasStatus()
      .milvus.proto.common.Status status = 1;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasStatus

        boolean hasStatus()
        .milvus.proto.common.Status status = 1;
        Returns:
        Whether the status field is set.
      • getStatus

        Status getStatus()
        .milvus.proto.common.Status status = 1;
        Returns:
        The status.
      • getStatusOrBuilder

        StatusOrBuilder getStatusOrBuilder()
        .milvus.proto.common.Status status = 1;
      • getStateValue

        int getStateValue()
         is this import task finished or not
         
        .milvus.proto.common.ImportState state = 2;
        Returns:
        The enum numeric value on the wire for state.
      • getState

        ImportState getState()
         is this import task finished or not
         
        .milvus.proto.common.ImportState state = 2;
        Returns:
        The state.
      • getRowCount

        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;
        Returns:
        The rowCount.
      • getIdListList

        List<Long> getIdListList()
         auto generated ids if the primary key is autoid
         
        repeated int64 id_list = 4;
        Returns:
        A list containing the idList.
      • getIdListCount

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

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

        List<KeyValuePair> getInfosList()
         more information about the task, progress percent, file path, failed reason, etc.
         
        repeated .milvus.proto.common.KeyValuePair infos = 5;
      • getInfos

        KeyValuePair getInfos​(int index)
         more information about the task, progress percent, file path, failed reason, etc.
         
        repeated .milvus.proto.common.KeyValuePair infos = 5;
      • getInfosCount

        int getInfosCount()
         more information about the task, progress percent, file path, failed reason, etc.
         
        repeated .milvus.proto.common.KeyValuePair infos = 5;
      • getInfosOrBuilderList

        List<? extends KeyValuePairOrBuilder> getInfosOrBuilderList()
         more information about the task, progress percent, file path, failed reason, etc.
         
        repeated .milvus.proto.common.KeyValuePair infos = 5;
      • getInfosOrBuilder

        KeyValuePairOrBuilder getInfosOrBuilder​(int index)
         more information about the task, progress percent, file path, failed reason, etc.
         
        repeated .milvus.proto.common.KeyValuePair infos = 5;
      • getId

        long getId()
         id of an import task
         
        int64 id = 6;
        Returns:
        The id.
      • getCollectionId

        long getCollectionId()
         collection ID of the import task.
         
        int64 collection_id = 7;
        Returns:
        The collectionId.
      • getSegmentIdsList

        List<Long> getSegmentIdsList()
         a list of segment IDs created by the import task.
         
        repeated int64 segment_ids = 8;
        Returns:
        A list containing the segmentIds.
      • getSegmentIdsCount

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

        long getSegmentIds​(int index)
         a list of segment IDs created by the import task.
         
        repeated int64 segment_ids = 8;
        Parameters:
        index - The index of the element to return.
        Returns:
        The segmentIds at the given index.
      • getCreateTs

        long getCreateTs()
         timestamp when the import task is created.
         
        int64 create_ts = 9;
        Returns:
        The createTs.