Package io.milvus.grpc
Class ImportRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ImportRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
io.milvus.grpc.ImportRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ImportRequestOrBuilder,Cloneable
- Enclosing class:
ImportRequest
public static final class ImportRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
implements ImportRequestOrBuilder
Protobuf type
milvus.proto.milvus.ImportRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllChannelNames(Iterable<String> values) channel names for the collectionaddAllFiles(Iterable<String> values) file paths to be importedaddAllOptions(Iterable<? extends KeyValuePair> values) import options, bucket, etc.addChannelNames(String value) channel names for the collectionaddChannelNamesBytes(com.google.protobuf.ByteString value) channel names for the collectionfile paths to be importedaddFilesBytes(com.google.protobuf.ByteString value) file paths to be importedaddOptions(int index, KeyValuePair value) import options, bucket, etc.addOptions(int index, KeyValuePair.Builder builderForValue) import options, bucket, etc.addOptions(KeyValuePair value) import options, bucket, etc.addOptions(KeyValuePair.Builder builderForValue) import options, bucket, etc.import options, bucket, etc.addOptionsBuilder(int index) import options, bucket, etc.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()channel names for the collectionserialized `schema.ClusteringInfo`target collectiontarget databaseclearField(com.google.protobuf.Descriptors.FieldDescriptor field) file paths to be importedclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) import options, bucket, etc.target partitionthe file is row-based or column-basedclone()getChannelNames(int index) channel names for the collectioncom.google.protobuf.ByteStringgetChannelNamesBytes(int index) channel names for the collectionintchannel names for the collectioncom.google.protobuf.ProtocolStringListchannel names for the collectioncom.google.protobuf.ByteStringserialized `schema.ClusteringInfo`target collectioncom.google.protobuf.ByteStringtarget collectiontarget databasecom.google.protobuf.ByteStringtarget databasestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFiles(int index) file paths to be importedcom.google.protobuf.ByteStringgetFilesBytes(int index) file paths to be importedintfile paths to be importedcom.google.protobuf.ProtocolStringListfile paths to be importedgetOptions(int index) import options, bucket, etc.getOptionsBuilder(int index) import options, bucket, etc.import options, bucket, etc.intimport options, bucket, etc.import options, bucket, etc.getOptionsOrBuilder(int index) import options, bucket, etc.List<? extends KeyValuePairOrBuilder> import options, bucket, etc.target partitioncom.google.protobuf.ByteStringtarget partitionbooleanthe file is row-based or column-basedprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ImportRequest other) final ImportRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeOptions(int index) import options, bucket, etc.setChannelNames(int index, String value) channel names for the collectionsetClusteringInfo(com.google.protobuf.ByteString value) serialized `schema.ClusteringInfo`setCollectionName(String value) target collectionsetCollectionNameBytes(com.google.protobuf.ByteString value) target collectiontarget databasesetDbNameBytes(com.google.protobuf.ByteString value) target databasefile paths to be importedsetOptions(int index, KeyValuePair value) import options, bucket, etc.setOptions(int index, KeyValuePair.Builder builderForValue) import options, bucket, etc.setPartitionName(String value) target partitionsetPartitionNameBytes(com.google.protobuf.ByteString value) target partitionsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRowBased(boolean value) the file is row-based or column-basedfinal ImportRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
setField
public ImportRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
setRepeatedField
public ImportRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
addRepeatedField
public ImportRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
mergeFrom
public ImportRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportRequest.Builder>- Throws:
IOException
-
getCollectionName
target collection
string collection_name = 1;- Specified by:
getCollectionNamein interfaceImportRequestOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()target collection
string collection_name = 1;- Specified by:
getCollectionNameBytesin interfaceImportRequestOrBuilder- Returns:
- The bytes for collectionName.
-
setCollectionName
target collection
string collection_name = 1;- Parameters:
value- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
target collection
string collection_name = 1;- Returns:
- This builder for chaining.
-
setCollectionNameBytes
target collection
string collection_name = 1;- Parameters:
value- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
getPartitionName
target partition
string partition_name = 2;- Specified by:
getPartitionNamein interfaceImportRequestOrBuilder- Returns:
- The partitionName.
-
getPartitionNameBytes
public com.google.protobuf.ByteString getPartitionNameBytes()target partition
string partition_name = 2;- Specified by:
getPartitionNameBytesin interfaceImportRequestOrBuilder- Returns:
- The bytes for partitionName.
-
setPartitionName
target partition
string partition_name = 2;- Parameters:
value- The partitionName to set.- Returns:
- This builder for chaining.
-
clearPartitionName
target partition
string partition_name = 2;- Returns:
- This builder for chaining.
-
setPartitionNameBytes
target partition
string partition_name = 2;- Parameters:
value- The bytes for partitionName to set.- Returns:
- This builder for chaining.
-
getChannelNamesList
public com.google.protobuf.ProtocolStringList getChannelNamesList()channel names for the collection
repeated string channel_names = 3;- Specified by:
getChannelNamesListin interfaceImportRequestOrBuilder- Returns:
- A list containing the channelNames.
-
getChannelNamesCount
public int getChannelNamesCount()channel names for the collection
repeated string channel_names = 3;- Specified by:
getChannelNamesCountin interfaceImportRequestOrBuilder- Returns:
- The count of channelNames.
-
getChannelNames
channel names for the collection
repeated string channel_names = 3;- Specified by:
getChannelNamesin interfaceImportRequestOrBuilder- 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:
getChannelNamesBytesin interfaceImportRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the channelNames at the given index.
-
setChannelNames
channel names for the collection
repeated string channel_names = 3;- Parameters:
index- The index to set the value at.value- The channelNames to set.- Returns:
- This builder for chaining.
-
addChannelNames
channel names for the collection
repeated string channel_names = 3;- Parameters:
value- The channelNames to add.- Returns:
- This builder for chaining.
-
addAllChannelNames
channel names for the collection
repeated string channel_names = 3;- Parameters:
values- The channelNames to add.- Returns:
- This builder for chaining.
-
clearChannelNames
channel names for the collection
repeated string channel_names = 3;- Returns:
- This builder for chaining.
-
addChannelNamesBytes
channel names for the collection
repeated string channel_names = 3;- Parameters:
value- The bytes of the channelNames to add.- Returns:
- This builder for chaining.
-
getRowBased
public boolean getRowBased()the file is row-based or column-based
bool row_based = 4;- Specified by:
getRowBasedin interfaceImportRequestOrBuilder- Returns:
- The rowBased.
-
setRowBased
the file is row-based or column-based
bool row_based = 4;- Parameters:
value- The rowBased to set.- Returns:
- This builder for chaining.
-
clearRowBased
the file is row-based or column-based
bool row_based = 4;- Returns:
- This builder for chaining.
-
getFilesList
public com.google.protobuf.ProtocolStringList getFilesList()file paths to be imported
repeated string files = 5;- Specified by:
getFilesListin interfaceImportRequestOrBuilder- Returns:
- A list containing the files.
-
getFilesCount
public int getFilesCount()file paths to be imported
repeated string files = 5;- Specified by:
getFilesCountin interfaceImportRequestOrBuilder- Returns:
- The count of files.
-
getFiles
file paths to be imported
repeated string files = 5;- Specified by:
getFilesin interfaceImportRequestOrBuilder- 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:
getFilesBytesin interfaceImportRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the files at the given index.
-
setFiles
file paths to be imported
repeated string files = 5;- Parameters:
index- The index to set the value at.value- The files to set.- Returns:
- This builder for chaining.
-
addFiles
file paths to be imported
repeated string files = 5;- Parameters:
value- The files to add.- Returns:
- This builder for chaining.
-
addAllFiles
file paths to be imported
repeated string files = 5;- Parameters:
values- The files to add.- Returns:
- This builder for chaining.
-
clearFiles
file paths to be imported
repeated string files = 5;- Returns:
- This builder for chaining.
-
addFilesBytes
file paths to be imported
repeated string files = 5;- Parameters:
value- The bytes of the files to add.- Returns:
- This builder for chaining.
-
getOptionsList
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsListin interfaceImportRequestOrBuilder
-
getOptionsCount
public int getOptionsCount()import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsCountin interfaceImportRequestOrBuilder
-
getOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsin interfaceImportRequestOrBuilder
-
setOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
setOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
addOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
addOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
addOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
addOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
addAllOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
clearOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
removeOptions
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
getOptionsBuilder
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
getOptionsOrBuilder
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsOrBuilderin interfaceImportRequestOrBuilder
-
getOptionsOrBuilderList
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsOrBuilderListin interfaceImportRequestOrBuilder
-
addOptionsBuilder
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
addOptionsBuilder
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
getOptionsBuilderList
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6; -
getDbName
target database
string db_name = 7;- Specified by:
getDbNamein interfaceImportRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()target database
string db_name = 7;- Specified by:
getDbNameBytesin interfaceImportRequestOrBuilder- Returns:
- The bytes for dbName.
-
setDbName
target database
string db_name = 7;- Parameters:
value- The dbName to set.- Returns:
- This builder for chaining.
-
clearDbName
target database
string db_name = 7;- Returns:
- This builder for chaining.
-
setDbNameBytes
target database
string db_name = 7;- Parameters:
value- The bytes for dbName to set.- Returns:
- This builder for chaining.
-
getClusteringInfo
public com.google.protobuf.ByteString getClusteringInfo()serialized `schema.ClusteringInfo`
bytes clustering_info = 8;- Specified by:
getClusteringInfoin interfaceImportRequestOrBuilder- Returns:
- The clusteringInfo.
-
setClusteringInfo
serialized `schema.ClusteringInfo`
bytes clustering_info = 8;- Parameters:
value- The clusteringInfo to set.- Returns:
- This builder for chaining.
-
clearClusteringInfo
serialized `schema.ClusteringInfo`
bytes clustering_info = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ImportRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-
mergeUnknownFields
public final ImportRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportRequest.Builder>
-