Class ImportRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.ImportRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ImportRequestOrBuilder, Serializable

public final class ImportRequest extends com.google.protobuf.GeneratedMessageV3 implements ImportRequestOrBuilder
Protobuf type milvus.proto.milvus.ImportRequest
See Also:
  • Field Details

    • COLLECTION_NAME_FIELD_NUMBER

      public static final int COLLECTION_NAME_FIELD_NUMBER
      See Also:
    • PARTITION_NAME_FIELD_NUMBER

      public static final int PARTITION_NAME_FIELD_NUMBER
      See Also:
    • CHANNEL_NAMES_FIELD_NUMBER

      public static final int CHANNEL_NAMES_FIELD_NUMBER
      See Also:
    • ROW_BASED_FIELD_NUMBER

      public static final int ROW_BASED_FIELD_NUMBER
      See Also:
    • FILES_FIELD_NUMBER

      public static final int FILES_FIELD_NUMBER
      See Also:
    • OPTIONS_FIELD_NUMBER

      public static final int OPTIONS_FIELD_NUMBER
      See Also:
    • DB_NAME_FIELD_NUMBER

      public static final int DB_NAME_FIELD_NUMBER
      See Also:
    • CLUSTERING_INFO_FIELD_NUMBER

      public static final int CLUSTERING_INFO_FIELD_NUMBER
      See Also:
  • Method Details

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

      public String getCollectionName()
       target collection
       
      string collection_name = 1;
      Specified by:
      getCollectionName in interface ImportRequestOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
       target collection
       
      string collection_name = 1;
      Specified by:
      getCollectionNameBytes in interface ImportRequestOrBuilder
      Returns:
      The bytes for collectionName.
    • getPartitionName

      public String getPartitionName()
       target partition
       
      string partition_name = 2;
      Specified by:
      getPartitionName in interface ImportRequestOrBuilder
      Returns:
      The partitionName.
    • getPartitionNameBytes

      public com.google.protobuf.ByteString getPartitionNameBytes()
       target partition
       
      string partition_name = 2;
      Specified by:
      getPartitionNameBytes in interface ImportRequestOrBuilder
      Returns:
      The bytes for partitionName.
    • getChannelNamesList

      public com.google.protobuf.ProtocolStringList getChannelNamesList()
       channel names for the collection
       
      repeated string channel_names = 3;
      Specified by:
      getChannelNamesList in interface ImportRequestOrBuilder
      Returns:
      A list containing the channelNames.
    • getChannelNamesCount

      public int getChannelNamesCount()
       channel names for the collection
       
      repeated string channel_names = 3;
      Specified by:
      getChannelNamesCount in interface ImportRequestOrBuilder
      Returns:
      The count of channelNames.
    • getChannelNames

      public String getChannelNames(int index)
       channel names for the collection
       
      repeated string channel_names = 3;
      Specified by:
      getChannelNames in interface ImportRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The channelNames at the given index.
    • getChannelNamesBytes

      public com.google.protobuf.ByteString getChannelNamesBytes(int index)
       channel names for the collection
       
      repeated string channel_names = 3;
      Specified by:
      getChannelNamesBytes in interface ImportRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the channelNames at the given index.
    • getRowBased

      public boolean getRowBased()
       the file is row-based or column-based
       
      bool row_based = 4;
      Specified by:
      getRowBased in interface ImportRequestOrBuilder
      Returns:
      The rowBased.
    • getFilesList

      public com.google.protobuf.ProtocolStringList getFilesList()
       file paths to be imported
       
      repeated string files = 5;
      Specified by:
      getFilesList in interface ImportRequestOrBuilder
      Returns:
      A list containing the files.
    • getFilesCount

      public int getFilesCount()
       file paths to be imported
       
      repeated string files = 5;
      Specified by:
      getFilesCount in interface ImportRequestOrBuilder
      Returns:
      The count of files.
    • getFiles

      public String getFiles(int index)
       file paths to be imported
       
      repeated string files = 5;
      Specified by:
      getFiles in interface ImportRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The files at the given index.
    • getFilesBytes

      public com.google.protobuf.ByteString getFilesBytes(int index)
       file paths to be imported
       
      repeated string files = 5;
      Specified by:
      getFilesBytes in interface ImportRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the files at the given index.
    • getOptionsList

      public List<KeyValuePair> getOptionsList()
       import options, bucket, etc.
       
      repeated .milvus.proto.common.KeyValuePair options = 6;
      Specified by:
      getOptionsList in interface ImportRequestOrBuilder
    • getOptionsOrBuilderList

      public List<? extends KeyValuePairOrBuilder> getOptionsOrBuilderList()
       import options, bucket, etc.
       
      repeated .milvus.proto.common.KeyValuePair options = 6;
      Specified by:
      getOptionsOrBuilderList in interface ImportRequestOrBuilder
    • getOptionsCount

      public int getOptionsCount()
       import options, bucket, etc.
       
      repeated .milvus.proto.common.KeyValuePair options = 6;
      Specified by:
      getOptionsCount in interface ImportRequestOrBuilder
    • getOptions

      public KeyValuePair getOptions(int index)
       import options, bucket, etc.
       
      repeated .milvus.proto.common.KeyValuePair options = 6;
      Specified by:
      getOptions in interface ImportRequestOrBuilder
    • getOptionsOrBuilder

      public KeyValuePairOrBuilder getOptionsOrBuilder(int index)
       import options, bucket, etc.
       
      repeated .milvus.proto.common.KeyValuePair options = 6;
      Specified by:
      getOptionsOrBuilder in interface ImportRequestOrBuilder
    • getDbName

      public String getDbName()
       target database
       
      string db_name = 7;
      Specified by:
      getDbName in interface ImportRequestOrBuilder
      Returns:
      The dbName.
    • getDbNameBytes

      public com.google.protobuf.ByteString getDbNameBytes()
       target database
       
      string db_name = 7;
      Specified by:
      getDbNameBytes in interface ImportRequestOrBuilder
      Returns:
      The bytes for dbName.
    • getClusteringInfo

      public com.google.protobuf.ByteString getClusteringInfo()
       serialized `schema.ClusteringInfo`
       
      bytes clustering_info = 8;
      Specified by:
      getClusteringInfo in interface ImportRequestOrBuilder
      Returns:
      The clusteringInfo.
    • 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 ImportRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ImportRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImportRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ImportRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ImportRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImportRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImportRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ImportRequest.Builder newBuilder()
    • newBuilder

      public static ImportRequest.Builder newBuilder(ImportRequest prototype)
    • toBuilder

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

      protected ImportRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ImportRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ImportRequest> parser()
    • getParserForType

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