Class Msg.ImportMsg

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
milvus.proto.msg.Msg.ImportMsg
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Msg.ImportMsgOrBuilder
Enclosing class:
Msg

public static final class Msg.ImportMsg extends com.google.protobuf.GeneratedMessageV3 implements Msg.ImportMsgOrBuilder
Protobuf type milvus.proto.msg.ImportMsg
See Also:
  • Field Details

  • 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()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasBase

      public boolean hasBase()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      hasBase in interface Msg.ImportMsgOrBuilder
      Returns:
      Whether the base field is set.
    • getBase

      public MsgBase getBase()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBase in interface Msg.ImportMsgOrBuilder
      Returns:
      The base.
    • getBaseOrBuilder

      public MsgBaseOrBuilder getBaseOrBuilder()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBaseOrBuilder in interface Msg.ImportMsgOrBuilder
    • getDbName

      public String getDbName()
      string db_name = 2;
      Specified by:
      getDbName in interface Msg.ImportMsgOrBuilder
      Returns:
      The dbName.
    • getDbNameBytes

      public com.google.protobuf.ByteString getDbNameBytes()
      string db_name = 2;
      Specified by:
      getDbNameBytes in interface Msg.ImportMsgOrBuilder
      Returns:
      The bytes for dbName.
    • getCollectionName

      public String getCollectionName()
      string collection_name = 3;
      Specified by:
      getCollectionName in interface Msg.ImportMsgOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
      string collection_name = 3;
      Specified by:
      getCollectionNameBytes in interface Msg.ImportMsgOrBuilder
      Returns:
      The bytes for collectionName.
    • getCollectionID

      public long getCollectionID()
      int64 collectionID = 4;
      Specified by:
      getCollectionID in interface Msg.ImportMsgOrBuilder
      Returns:
      The collectionID.
    • getPartitionIDsList

      public List<Long> getPartitionIDsList()
      repeated int64 partitionIDs = 5;
      Specified by:
      getPartitionIDsList in interface Msg.ImportMsgOrBuilder
      Returns:
      A list containing the partitionIDs.
    • getPartitionIDsCount

      public int getPartitionIDsCount()
      repeated int64 partitionIDs = 5;
      Specified by:
      getPartitionIDsCount in interface Msg.ImportMsgOrBuilder
      Returns:
      The count of partitionIDs.
    • getPartitionIDs

      public long getPartitionIDs(int index)
      repeated int64 partitionIDs = 5;
      Specified by:
      getPartitionIDs in interface Msg.ImportMsgOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The partitionIDs at the given index.
    • getOptionsCount

      public int getOptionsCount()
      Description copied from interface: Msg.ImportMsgOrBuilder
      map<string, string> options = 6;
      Specified by:
      getOptionsCount in interface Msg.ImportMsgOrBuilder
    • containsOptions

      public boolean containsOptions(String key)
      map<string, string> options = 6;
      Specified by:
      containsOptions in interface Msg.ImportMsgOrBuilder
    • getOptions

      @Deprecated public Map<String,String> getOptions()
      Deprecated.
      Use getOptionsMap() instead.
      Specified by:
      getOptions in interface Msg.ImportMsgOrBuilder
    • getOptionsMap

      public Map<String,String> getOptionsMap()
      map<string, string> options = 6;
      Specified by:
      getOptionsMap in interface Msg.ImportMsgOrBuilder
    • getOptionsOrDefault

      public String getOptionsOrDefault(String key, String defaultValue)
      map<string, string> options = 6;
      Specified by:
      getOptionsOrDefault in interface Msg.ImportMsgOrBuilder
    • getOptionsOrThrow

      public String getOptionsOrThrow(String key)
      map<string, string> options = 6;
      Specified by:
      getOptionsOrThrow in interface Msg.ImportMsgOrBuilder
    • getFilesList

      public List<Msg.ImportFile> getFilesList()
      repeated .milvus.proto.msg.ImportFile files = 7;
      Specified by:
      getFilesList in interface Msg.ImportMsgOrBuilder
    • getFilesOrBuilderList

      public List<? extends Msg.ImportFileOrBuilder> getFilesOrBuilderList()
      repeated .milvus.proto.msg.ImportFile files = 7;
      Specified by:
      getFilesOrBuilderList in interface Msg.ImportMsgOrBuilder
    • getFilesCount

      public int getFilesCount()
      repeated .milvus.proto.msg.ImportFile files = 7;
      Specified by:
      getFilesCount in interface Msg.ImportMsgOrBuilder
    • getFiles

      public Msg.ImportFile getFiles(int index)
      repeated .milvus.proto.msg.ImportFile files = 7;
      Specified by:
      getFiles in interface Msg.ImportMsgOrBuilder
    • getFilesOrBuilder

      public Msg.ImportFileOrBuilder getFilesOrBuilder(int index)
      repeated .milvus.proto.msg.ImportFile files = 7;
      Specified by:
      getFilesOrBuilder in interface Msg.ImportMsgOrBuilder
    • hasSchema

      public boolean hasSchema()
      .milvus.proto.schema.CollectionSchema schema = 8;
      Specified by:
      hasSchema in interface Msg.ImportMsgOrBuilder
      Returns:
      Whether the schema field is set.
    • getSchema

      public CollectionSchema getSchema()
      .milvus.proto.schema.CollectionSchema schema = 8;
      Specified by:
      getSchema in interface Msg.ImportMsgOrBuilder
      Returns:
      The schema.
    • getSchemaOrBuilder

      public CollectionSchemaOrBuilder getSchemaOrBuilder()
      .milvus.proto.schema.CollectionSchema schema = 8;
      Specified by:
      getSchemaOrBuilder in interface Msg.ImportMsgOrBuilder
    • getJobID

      public long getJobID()
      int64 jobID = 9;
      Specified by:
      getJobID in interface Msg.ImportMsgOrBuilder
      Returns:
      The jobID.
    • 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 Msg.ImportMsg parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Msg.ImportMsg parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Msg.ImportMsg parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Msg.ImportMsg.Builder newBuilder()
    • newBuilder

      public static Msg.ImportMsg.Builder newBuilder(Msg.ImportMsg prototype)
    • toBuilder

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

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

      public static Msg.ImportMsg getDefaultInstance()
    • parser

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

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