Class Msg.ImportMsg.Builder

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

public static final class Msg.ImportMsg.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder> implements Msg.ImportMsgOrBuilder
Protobuf type milvus.proto.msg.ImportMsg
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • clear

      public Msg.ImportMsg.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • getDefaultInstanceForType

      public Msg.ImportMsg getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public Msg.ImportMsg.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • setField

      public Msg.ImportMsg.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • clearField

      public Msg.ImportMsg.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • clearOneof

      public Msg.ImportMsg.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • setRepeatedField

      public Msg.ImportMsg.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • addRepeatedField

      public Msg.ImportMsg.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • mergeFrom

      public Msg.ImportMsg.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Msg.ImportMsg.Builder>
    • mergeFrom

      public Msg.ImportMsg.Builder mergeFrom(Msg.ImportMsg other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • mergeFrom

      public Msg.ImportMsg.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Msg.ImportMsg.Builder>
      Throws:
      IOException
    • 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.
    • setBase

      public Msg.ImportMsg.Builder setBase(MsgBase value)
      .milvus.proto.common.MsgBase base = 1;
    • setBase

      public Msg.ImportMsg.Builder setBase(MsgBase.Builder builderForValue)
      .milvus.proto.common.MsgBase base = 1;
    • mergeBase

      public Msg.ImportMsg.Builder mergeBase(MsgBase value)
      .milvus.proto.common.MsgBase base = 1;
    • clearBase

      public Msg.ImportMsg.Builder clearBase()
      .milvus.proto.common.MsgBase base = 1;
    • getBaseBuilder

      public MsgBase.Builder getBaseBuilder()
      .milvus.proto.common.MsgBase base = 1;
    • 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.
    • setDbName

      public Msg.ImportMsg.Builder setDbName(String value)
      string db_name = 2;
      Parameters:
      value - The dbName to set.
      Returns:
      This builder for chaining.
    • clearDbName

      public Msg.ImportMsg.Builder clearDbName()
      string db_name = 2;
      Returns:
      This builder for chaining.
    • setDbNameBytes

      public Msg.ImportMsg.Builder setDbNameBytes(com.google.protobuf.ByteString value)
      string db_name = 2;
      Parameters:
      value - The bytes for dbName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setCollectionName

      public Msg.ImportMsg.Builder setCollectionName(String value)
      string collection_name = 3;
      Parameters:
      value - The collectionName to set.
      Returns:
      This builder for chaining.
    • clearCollectionName

      public Msg.ImportMsg.Builder clearCollectionName()
      string collection_name = 3;
      Returns:
      This builder for chaining.
    • setCollectionNameBytes

      public Msg.ImportMsg.Builder setCollectionNameBytes(com.google.protobuf.ByteString value)
      string collection_name = 3;
      Parameters:
      value - The bytes for collectionName to set.
      Returns:
      This builder for chaining.
    • getCollectionID

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

      public Msg.ImportMsg.Builder setCollectionID(long value)
      int64 collectionID = 4;
      Parameters:
      value - The collectionID to set.
      Returns:
      This builder for chaining.
    • clearCollectionID

      public Msg.ImportMsg.Builder clearCollectionID()
      int64 collectionID = 4;
      Returns:
      This builder for chaining.
    • 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.
    • setPartitionIDs

      public Msg.ImportMsg.Builder setPartitionIDs(int index, long value)
      repeated int64 partitionIDs = 5;
      Parameters:
      index - The index to set the value at.
      value - The partitionIDs to set.
      Returns:
      This builder for chaining.
    • addPartitionIDs

      public Msg.ImportMsg.Builder addPartitionIDs(long value)
      repeated int64 partitionIDs = 5;
      Parameters:
      value - The partitionIDs to add.
      Returns:
      This builder for chaining.
    • addAllPartitionIDs

      public Msg.ImportMsg.Builder addAllPartitionIDs(Iterable<? extends Long> values)
      repeated int64 partitionIDs = 5;
      Parameters:
      values - The partitionIDs to add.
      Returns:
      This builder for chaining.
    • clearPartitionIDs

      public Msg.ImportMsg.Builder clearPartitionIDs()
      repeated int64 partitionIDs = 5;
      Returns:
      This builder for chaining.
    • 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
    • clearOptions

      public Msg.ImportMsg.Builder clearOptions()
    • removeOptions

      public Msg.ImportMsg.Builder removeOptions(String key)
      map<string, string> options = 6;
    • getMutableOptions

      @Deprecated public Map<String,String> getMutableOptions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putOptions

      public Msg.ImportMsg.Builder putOptions(String key, String value)
      map<string, string> options = 6;
    • putAllOptions

      public Msg.ImportMsg.Builder putAllOptions(Map<String,String> values)
      map<string, string> options = 6;
    • getFilesList

      public List<Msg.ImportFile> getFilesList()
      repeated .milvus.proto.msg.ImportFile files = 7;
      Specified by:
      getFilesList 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
    • setFiles

      public Msg.ImportMsg.Builder setFiles(int index, Msg.ImportFile value)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • setFiles

      public Msg.ImportMsg.Builder setFiles(int index, Msg.ImportFile.Builder builderForValue)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • addFiles

      public Msg.ImportMsg.Builder addFiles(Msg.ImportFile value)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • addFiles

      public Msg.ImportMsg.Builder addFiles(int index, Msg.ImportFile value)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • addFiles

      public Msg.ImportMsg.Builder addFiles(Msg.ImportFile.Builder builderForValue)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • addFiles

      public Msg.ImportMsg.Builder addFiles(int index, Msg.ImportFile.Builder builderForValue)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • addAllFiles

      public Msg.ImportMsg.Builder addAllFiles(Iterable<? extends Msg.ImportFile> values)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • clearFiles

      public Msg.ImportMsg.Builder clearFiles()
      repeated .milvus.proto.msg.ImportFile files = 7;
    • removeFiles

      public Msg.ImportMsg.Builder removeFiles(int index)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • getFilesBuilder

      public Msg.ImportFile.Builder getFilesBuilder(int index)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • getFilesOrBuilder

      public Msg.ImportFileOrBuilder getFilesOrBuilder(int index)
      repeated .milvus.proto.msg.ImportFile files = 7;
      Specified by:
      getFilesOrBuilder 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
    • addFilesBuilder

      public Msg.ImportFile.Builder addFilesBuilder()
      repeated .milvus.proto.msg.ImportFile files = 7;
    • addFilesBuilder

      public Msg.ImportFile.Builder addFilesBuilder(int index)
      repeated .milvus.proto.msg.ImportFile files = 7;
    • getFilesBuilderList

      public List<Msg.ImportFile.Builder> getFilesBuilderList()
      repeated .milvus.proto.msg.ImportFile files = 7;
    • 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.
    • setSchema

      public Msg.ImportMsg.Builder setSchema(CollectionSchema value)
      .milvus.proto.schema.CollectionSchema schema = 8;
    • setSchema

      public Msg.ImportMsg.Builder setSchema(CollectionSchema.Builder builderForValue)
      .milvus.proto.schema.CollectionSchema schema = 8;
    • mergeSchema

      public Msg.ImportMsg.Builder mergeSchema(CollectionSchema value)
      .milvus.proto.schema.CollectionSchema schema = 8;
    • clearSchema

      public Msg.ImportMsg.Builder clearSchema()
      .milvus.proto.schema.CollectionSchema schema = 8;
    • getSchemaBuilder

      public CollectionSchema.Builder getSchemaBuilder()
      .milvus.proto.schema.CollectionSchema schema = 8;
    • 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.
    • setJobID

      public Msg.ImportMsg.Builder setJobID(long value)
      int64 jobID = 9;
      Parameters:
      value - The jobID to set.
      Returns:
      This builder for chaining.
    • clearJobID

      public Msg.ImportMsg.Builder clearJobID()
      int64 jobID = 9;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Msg.ImportMsg.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>
    • mergeUnknownFields

      public final Msg.ImportMsg.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportMsg.Builder>