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:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type milvus.proto.milvus.ImportRequest

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    getChannelNames(int index)
    channel names for the collection
    com.google.protobuf.ByteString
    channel names for the collection
    int
    channel names for the collection
    com.google.protobuf.ProtocolStringList
    channel names for the collection
    target collection
    com.google.protobuf.ByteString
    target collection
    string db_name = 7;
    com.google.protobuf.ByteString
    string db_name = 7;
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getFiles(int index)
    file paths to be imported
    com.google.protobuf.ByteString
    getFilesBytes(int index)
    file paths to be imported
    int
    file paths to be imported
    com.google.protobuf.ProtocolStringList
    file paths to be imported
    getOptions(int index)
    import options, bucket, etc.
    int
    import options, bucket, etc.
    import options, bucket, etc.
    import options, bucket, etc.
    import options, bucket, etc.
    com.google.protobuf.Parser<ImportRequest>
     
    target partition
    com.google.protobuf.ByteString
    target partition
    boolean
    the file is row-based or column-based
    int
     
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ImportRequest>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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:
  • 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()
      string db_name = 7;
      Specified by:
      getDbName in interface ImportRequestOrBuilder
      Returns:
      The dbName.
    • getDbNameBytes

      public com.google.protobuf.ByteString getDbNameBytes()
      string db_name = 7;
      Specified by:
      getDbNameBytes in interface ImportRequestOrBuilder
      Returns:
      The bytes for dbName.
    • 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