Package milvus.proto.msg
Class Msg.InsertRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
milvus.proto.msg.Msg.InsertRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Msg.InsertRequestOrBuilder
- Enclosing class:
Msg
public static final class Msg.InsertRequest
extends com.google.protobuf.GeneratedMessageV3
implements Msg.InsertRequestOrBuilder
Protobuf type
milvus.proto.msg.InsertRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemilvus.proto.msg.InsertRequestNested 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 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 TypeMethodDescriptionbooleangetBase().milvus.proto.common.MsgBase base = 1;.milvus.proto.common.MsgBase base = 1;longint64 collectionID = 7;string collection_name = 4;com.google.protobuf.ByteStringstring collection_name = 4;longgetDbID()int64 dbID = 6;string db_name = 3;com.google.protobuf.ByteStringstring db_name = 3;static Msg.InsertRequeststatic final com.google.protobuf.Descriptors.DescriptorgetFieldsData(int index) repeated .milvus.proto.schema.FieldData fields_data = 13;intrepeated .milvus.proto.schema.FieldData fields_data = 13;repeated .milvus.proto.schema.FieldData fields_data = 13;getFieldsDataOrBuilder(int index) repeated .milvus.proto.schema.FieldData fields_data = 13;List<? extends FieldDataOrBuilder> repeated .milvus.proto.schema.FieldData fields_data = 13;longuint64 num_rows = 14;com.google.protobuf.Parser<Msg.InsertRequest> longint64 partitionID = 8;string partition_name = 5;com.google.protobuf.ByteStringstring partition_name = 5;getRowData(int index) row_data was reserved for compatibilityintrow_data was reserved for compatibilityrow_data was reserved for compatibilitygetRowDataOrBuilder(int index) row_data was reserved for compatibilityList<? extends BlobOrBuilder> row_data was reserved for compatibilitylonggetRowIDs(int index) repeated int64 rowIDs = 11;intrepeated int64 rowIDs = 11;repeated int64 rowIDs = 11;longint64 segmentID = 9;intstring shardName = 2;com.google.protobuf.ByteStringstring shardName = 2;longgetTimestamps(int index) repeated uint64 timestamps = 10;intrepeated uint64 timestamps = 10;repeated uint64 timestamps = 10;.milvus.proto.msg.InsertDataVersion version = 15;int.milvus.proto.msg.InsertDataVersion version = 15;booleanhasBase().milvus.proto.common.MsgBase base = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Msg.InsertRequest.Builderstatic Msg.InsertRequest.BuildernewBuilder(Msg.InsertRequest prototype) protected Msg.InsertRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Msg.InsertRequestparseDelimitedFrom(InputStream input) static Msg.InsertRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Msg.InsertRequestparseFrom(byte[] data) static Msg.InsertRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Msg.InsertRequestparseFrom(com.google.protobuf.ByteString data) static Msg.InsertRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Msg.InsertRequestparseFrom(com.google.protobuf.CodedInputStream input) static Msg.InsertRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Msg.InsertRequestparseFrom(InputStream input) static Msg.InsertRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Msg.InsertRequestparseFrom(ByteBuffer data) static Msg.InsertRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Msg.InsertRequest> 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, internalGetMapFieldReflection, 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
-
BASE_FIELD_NUMBER
public static final int BASE_FIELD_NUMBER- See Also:
-
SHARDNAME_FIELD_NUMBER
public static final int SHARDNAME_FIELD_NUMBER- See Also:
-
DB_NAME_FIELD_NUMBER
public static final int DB_NAME_FIELD_NUMBER- See Also:
-
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:
-
DBID_FIELD_NUMBER
public static final int DBID_FIELD_NUMBER- See Also:
-
COLLECTIONID_FIELD_NUMBER
public static final int COLLECTIONID_FIELD_NUMBER- See Also:
-
PARTITIONID_FIELD_NUMBER
public static final int PARTITIONID_FIELD_NUMBER- See Also:
-
SEGMENTID_FIELD_NUMBER
public static final int SEGMENTID_FIELD_NUMBER- See Also:
-
TIMESTAMPS_FIELD_NUMBER
public static final int TIMESTAMPS_FIELD_NUMBER- See Also:
-
ROWIDS_FIELD_NUMBER
public static final int ROWIDS_FIELD_NUMBER- See Also:
-
ROW_DATA_FIELD_NUMBER
public static final int ROW_DATA_FIELD_NUMBER- See Also:
-
FIELDS_DATA_FIELD_NUMBER
public static final int FIELDS_DATA_FIELD_NUMBER- See Also:
-
NUM_ROWS_FIELD_NUMBER
public static final int NUM_ROWS_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_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
-
hasBase
public boolean hasBase().milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceMsg.InsertRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceMsg.InsertRequestOrBuilder- Returns:
- The base.
-
getBaseOrBuilder
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceMsg.InsertRequestOrBuilder
-
getShardName
string shardName = 2;- Specified by:
getShardNamein interfaceMsg.InsertRequestOrBuilder- Returns:
- The shardName.
-
getShardNameBytes
public com.google.protobuf.ByteString getShardNameBytes()string shardName = 2;- Specified by:
getShardNameBytesin interfaceMsg.InsertRequestOrBuilder- Returns:
- The bytes for shardName.
-
getDbName
string db_name = 3;- Specified by:
getDbNamein interfaceMsg.InsertRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()string db_name = 3;- Specified by:
getDbNameBytesin interfaceMsg.InsertRequestOrBuilder- Returns:
- The bytes for dbName.
-
getCollectionName
string collection_name = 4;- Specified by:
getCollectionNamein interfaceMsg.InsertRequestOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()string collection_name = 4;- Specified by:
getCollectionNameBytesin interfaceMsg.InsertRequestOrBuilder- Returns:
- The bytes for collectionName.
-
getPartitionName
string partition_name = 5;- Specified by:
getPartitionNamein interfaceMsg.InsertRequestOrBuilder- Returns:
- The partitionName.
-
getPartitionNameBytes
public com.google.protobuf.ByteString getPartitionNameBytes()string partition_name = 5;- Specified by:
getPartitionNameBytesin interfaceMsg.InsertRequestOrBuilder- Returns:
- The bytes for partitionName.
-
getDbID
public long getDbID()int64 dbID = 6;- Specified by:
getDbIDin interfaceMsg.InsertRequestOrBuilder- Returns:
- The dbID.
-
getCollectionID
public long getCollectionID()int64 collectionID = 7;- Specified by:
getCollectionIDin interfaceMsg.InsertRequestOrBuilder- Returns:
- The collectionID.
-
getPartitionID
public long getPartitionID()int64 partitionID = 8;- Specified by:
getPartitionIDin interfaceMsg.InsertRequestOrBuilder- Returns:
- The partitionID.
-
getSegmentID
public long getSegmentID()int64 segmentID = 9;- Specified by:
getSegmentIDin interfaceMsg.InsertRequestOrBuilder- Returns:
- The segmentID.
-
getTimestampsList
repeated uint64 timestamps = 10;- Specified by:
getTimestampsListin interfaceMsg.InsertRequestOrBuilder- Returns:
- A list containing the timestamps.
-
getTimestampsCount
public int getTimestampsCount()repeated uint64 timestamps = 10;- Specified by:
getTimestampsCountin interfaceMsg.InsertRequestOrBuilder- Returns:
- The count of timestamps.
-
getTimestamps
public long getTimestamps(int index) repeated uint64 timestamps = 10;- Specified by:
getTimestampsin interfaceMsg.InsertRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The timestamps at the given index.
-
getRowIDsList
repeated int64 rowIDs = 11;- Specified by:
getRowIDsListin interfaceMsg.InsertRequestOrBuilder- Returns:
- A list containing the rowIDs.
-
getRowIDsCount
public int getRowIDsCount()repeated int64 rowIDs = 11;- Specified by:
getRowIDsCountin interfaceMsg.InsertRequestOrBuilder- Returns:
- The count of rowIDs.
-
getRowIDs
public long getRowIDs(int index) repeated int64 rowIDs = 11;- Specified by:
getRowIDsin interfaceMsg.InsertRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The rowIDs at the given index.
-
getRowDataList
row_data was reserved for compatibility
repeated .milvus.proto.common.Blob row_data = 12;- Specified by:
getRowDataListin interfaceMsg.InsertRequestOrBuilder
-
getRowDataOrBuilderList
row_data was reserved for compatibility
repeated .milvus.proto.common.Blob row_data = 12;- Specified by:
getRowDataOrBuilderListin interfaceMsg.InsertRequestOrBuilder
-
getRowDataCount
public int getRowDataCount()row_data was reserved for compatibility
repeated .milvus.proto.common.Blob row_data = 12;- Specified by:
getRowDataCountin interfaceMsg.InsertRequestOrBuilder
-
getRowData
row_data was reserved for compatibility
repeated .milvus.proto.common.Blob row_data = 12;- Specified by:
getRowDatain interfaceMsg.InsertRequestOrBuilder
-
getRowDataOrBuilder
row_data was reserved for compatibility
repeated .milvus.proto.common.Blob row_data = 12;- Specified by:
getRowDataOrBuilderin interfaceMsg.InsertRequestOrBuilder
-
getFieldsDataList
repeated .milvus.proto.schema.FieldData fields_data = 13;- Specified by:
getFieldsDataListin interfaceMsg.InsertRequestOrBuilder
-
getFieldsDataOrBuilderList
repeated .milvus.proto.schema.FieldData fields_data = 13;- Specified by:
getFieldsDataOrBuilderListin interfaceMsg.InsertRequestOrBuilder
-
getFieldsDataCount
public int getFieldsDataCount()repeated .milvus.proto.schema.FieldData fields_data = 13;- Specified by:
getFieldsDataCountin interfaceMsg.InsertRequestOrBuilder
-
getFieldsData
repeated .milvus.proto.schema.FieldData fields_data = 13;- Specified by:
getFieldsDatain interfaceMsg.InsertRequestOrBuilder
-
getFieldsDataOrBuilder
repeated .milvus.proto.schema.FieldData fields_data = 13;- Specified by:
getFieldsDataOrBuilderin interfaceMsg.InsertRequestOrBuilder
-
getNumRows
public long getNumRows()uint64 num_rows = 14;- Specified by:
getNumRowsin interfaceMsg.InsertRequestOrBuilder- Returns:
- The numRows.
-
getVersionValue
public int getVersionValue().milvus.proto.msg.InsertDataVersion version = 15;- Specified by:
getVersionValuein interfaceMsg.InsertRequestOrBuilder- Returns:
- The enum numeric value on the wire for version.
-
getVersion
.milvus.proto.msg.InsertDataVersion version = 15;- Specified by:
getVersionin interfaceMsg.InsertRequestOrBuilder- Returns:
- The version.
-
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 Msg.InsertRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Msg.InsertRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Msg.InsertRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Msg.InsertRequest 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.InsertRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Msg.InsertRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Msg.InsertRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Msg.InsertRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Msg.InsertRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Msg.InsertRequest 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 Msg.InsertRequest.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
-