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 typemilvus.proto.milvus.ImportRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImportRequest.BuilderProtobuf typemilvus.proto.milvus.ImportRequest-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCHANNEL_NAMES_FIELD_NUMBERstatic intCOLLECTION_NAME_FIELD_NUMBERstatic intDB_NAME_FIELD_NUMBERstatic intFILES_FIELD_NUMBERstatic intOPTIONS_FIELD_NUMBERstatic intPARTITION_NAME_FIELD_NUMBERstatic intROW_BASED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetChannelNames(int index)channel names for the collectioncom.google.protobuf.ByteStringgetChannelNamesBytes(int index)channel names for the collectionintgetChannelNamesCount()channel names for the collectioncom.google.protobuf.ProtocolStringListgetChannelNamesList()channel names for the collectionStringgetCollectionName()target collectioncom.google.protobuf.ByteStringgetCollectionNameBytes()target collectionStringgetDbName()string db_name = 7;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 7;static ImportRequestgetDefaultInstance()ImportRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFiles(int index)file paths to be importedcom.google.protobuf.ByteStringgetFilesBytes(int index)file paths to be importedintgetFilesCount()file paths to be importedcom.google.protobuf.ProtocolStringListgetFilesList()file paths to be importedKeyValuePairgetOptions(int index)import options, bucket, etc.intgetOptionsCount()import options, bucket, etc.List<KeyValuePair>getOptionsList()import options, bucket, etc.KeyValuePairOrBuildergetOptionsOrBuilder(int index)import options, bucket, etc.List<? extends KeyValuePairOrBuilder>getOptionsOrBuilderList()import options, bucket, etc.com.google.protobuf.Parser<ImportRequest>getParserForType()StringgetPartitionName()target partitioncom.google.protobuf.ByteStringgetPartitionNameBytes()target partitionbooleangetRowBased()the file is row-based or column-basedintgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ImportRequest.BuildernewBuilder()static ImportRequest.BuildernewBuilder(ImportRequest prototype)ImportRequest.BuildernewBuilderForType()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()ImportRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
-
-
-
Field Detail
-
COLLECTION_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_NAME_FIELD_NUMBER
public static final int PARTITION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHANNEL_NAMES_FIELD_NUMBER
public static final int CHANNEL_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROW_BASED_FIELD_NUMBER
public static final int ROW_BASED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILES_FIELD_NUMBER
public static final int FILES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DB_NAME_FIELD_NUMBER
public static final int DB_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public String 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
public String 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
public String getChannelNames(int index)
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
public String getFiles(int index)
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
public List<KeyValuePair> getOptionsList()
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsListin interfaceImportRequestOrBuilder
-
getOptionsOrBuilderList
public List<? extends KeyValuePairOrBuilder> 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
public KeyValuePair getOptions(int index)
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsin interfaceImportRequestOrBuilder
-
getOptionsOrBuilder
public KeyValuePairOrBuilder getOptionsOrBuilder(int index)
import options, bucket, etc.
repeated .milvus.proto.common.KeyValuePair options = 6;- Specified by:
getOptionsOrBuilderin interfaceImportRequestOrBuilder
-
getDbName
public String getDbName()
string db_name = 7;- Specified by:
getDbNamein interfaceImportRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()
string db_name = 7;- Specified by:
getDbNameBytesin interfaceImportRequestOrBuilder- Returns:
- The bytes for dbName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ImportRequest.Builder newBuilder()
-
newBuilder
public static ImportRequest.Builder newBuilder(ImportRequest prototype)
-
toBuilder
public ImportRequest.Builder 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
public static ImportRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ImportRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<ImportRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImportRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-