Package io.milvus.grpc
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 ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemilvus.proto.milvus.ImportRequestNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetChannelNames(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 ImportRequeststatic final com.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.intimport options, bucket, etc.import options, bucket, etc.getOptionsOrBuilder(int index) import options, bucket, etc.List<? extends KeyValuePairOrBuilder> import options, bucket, etc.com.google.protobuf.Parser<ImportRequest> target partitioncom.google.protobuf.ByteStringtarget partitionbooleanthe file is row-based or column-basedintinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ImportRequest.Builderstatic ImportRequest.BuildernewBuilder(ImportRequest prototype) protected ImportRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ImportRequestparseDelimitedFrom(InputStream input) static ImportRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportRequestparseFrom(byte[] data) static ImportRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportRequestparseFrom(com.google.protobuf.ByteString data) static ImportRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportRequestparseFrom(com.google.protobuf.CodedInputStream input) static ImportRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportRequestparseFrom(InputStream input) static ImportRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportRequestparseFrom(ByteBuffer data) static ImportRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ImportRequest> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
-
CLUSTERING_INFO_FIELD_NUMBER
public static final int CLUSTERING_INFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
getRowBased
public boolean getRowBased()the file is row-based or column-based
bool row_based = 4;- Specified by:
getRowBasedin interfaceImportRequestOrBuilder- Returns:
- The rowBased.
-
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.
-
getOptionsList
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsListin interfaceImportRequestOrBuilder
-
getOptionsOrBuilderList
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsOrBuilderListin 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
-
getOptionsOrBuilder
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsOrBuilderin interfaceImportRequestOrBuilder
-
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.
-
getClusteringInfo
public com.google.protobuf.ByteString getClusteringInfo()serialized `schema.ClusteringInfo`
bytes clustering_info = 8;- Specified by:
getClusteringInfoin interfaceImportRequestOrBuilder- Returns:
- The clusteringInfo.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ImportRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImportRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-