Package io.dingodb.raft
Class Raft.VectorBatchAddRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.raft.Raft.VectorBatchAddRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Raft.VectorBatchAddRequestOrBuilder,Serializable
- Enclosing class:
- Raft
public static final class Raft.VectorBatchAddRequest
extends com.google.protobuf.GeneratedMessageV3
implements Raft.VectorBatchAddRequestOrBuilder
Protobuf type
dingodb.pb.raft.VectorBatchAddRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.raft.VectorBatchAddRequestNested 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 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 TypeMethodDescriptionbooleanstatic Raft.VectorBatchAddRequestlonggetDeleteVectorIds(int index) repeated int64 delete_vector_ids = 6;intrepeated int64 delete_vector_ids = 6;repeated int64 delete_vector_ids = 6;static final com.google.protobuf.Descriptors.Descriptorbooleanbool is_update = 7;getKvsDefault(int index) repeated .dingodb.pb.common.KeyValue kvs_default = 2;intrepeated .dingodb.pb.common.KeyValue kvs_default = 2;repeated .dingodb.pb.common.KeyValue kvs_default = 2;getKvsDefaultOrBuilder(int index) repeated .dingodb.pb.common.KeyValue kvs_default = 2;List<? extends Common.KeyValueOrBuilder>repeated .dingodb.pb.common.KeyValue kvs_default = 2;getKvsScalar(int index) repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;intrepeated .dingodb.pb.common.KeyValue kvs_scalar = 3;repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;getKvsScalarOrBuilder(int index) repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;List<? extends Common.KeyValueOrBuilder>repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;getKvsScalarSpeedUp(int index) repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;intrepeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;getKvsScalarSpeedUpOrBuilder(int index) repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;List<? extends Common.KeyValueOrBuilder>repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;getKvsTable(int index) repeated .dingodb.pb.common.KeyValue kvs_table = 4;intrepeated .dingodb.pb.common.KeyValue kvs_table = 4;repeated .dingodb.pb.common.KeyValue kvs_table = 4;getKvsTableOrBuilder(int index) repeated .dingodb.pb.common.KeyValue kvs_table = 4;List<? extends Common.KeyValueOrBuilder>repeated .dingodb.pb.common.KeyValue kvs_table = 4;com.google.protobuf.Parser<Raft.VectorBatchAddRequest>intgetVectors(int index) repeated .dingodb.pb.common.VectorWithId vectors = 1;intrepeated .dingodb.pb.common.VectorWithId vectors = 1;repeated .dingodb.pb.common.VectorWithId vectors = 1;getVectorsOrBuilder(int index) repeated .dingodb.pb.common.VectorWithId vectors = 1;List<? extends Common.VectorWithIdOrBuilder>repeated .dingodb.pb.common.VectorWithId vectors = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Raft.VectorBatchAddRequest prototype) protected Raft.VectorBatchAddRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Raft.VectorBatchAddRequestparseDelimitedFrom(InputStream input) static Raft.VectorBatchAddRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.VectorBatchAddRequestparseFrom(byte[] data) static Raft.VectorBatchAddRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.VectorBatchAddRequestparseFrom(com.google.protobuf.ByteString data) static Raft.VectorBatchAddRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.VectorBatchAddRequestparseFrom(com.google.protobuf.CodedInputStream input) static Raft.VectorBatchAddRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.VectorBatchAddRequestparseFrom(InputStream input) static Raft.VectorBatchAddRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.VectorBatchAddRequestparseFrom(ByteBuffer data) static Raft.VectorBatchAddRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Raft.VectorBatchAddRequest>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
-
VECTORS_FIELD_NUMBER
public static final int VECTORS_FIELD_NUMBER- See Also:
-
KVS_DEFAULT_FIELD_NUMBER
public static final int KVS_DEFAULT_FIELD_NUMBER- See Also:
-
KVS_SCALAR_FIELD_NUMBER
public static final int KVS_SCALAR_FIELD_NUMBER- See Also:
-
KVS_TABLE_FIELD_NUMBER
public static final int KVS_TABLE_FIELD_NUMBER- See Also:
-
KVS_SCALAR_SPEED_UP_FIELD_NUMBER
public static final int KVS_SCALAR_SPEED_UP_FIELD_NUMBER- See Also:
-
DELETE_VECTOR_IDS_FIELD_NUMBER
public static final int DELETE_VECTOR_IDS_FIELD_NUMBER- See Also:
-
IS_UPDATE_FIELD_NUMBER
public static final int IS_UPDATE_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
-
getVectorsList
repeated .dingodb.pb.common.VectorWithId vectors = 1;- Specified by:
getVectorsListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getVectorsOrBuilderList
repeated .dingodb.pb.common.VectorWithId vectors = 1;- Specified by:
getVectorsOrBuilderListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getVectorsCount
public int getVectorsCount()repeated .dingodb.pb.common.VectorWithId vectors = 1;- Specified by:
getVectorsCountin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getVectors
repeated .dingodb.pb.common.VectorWithId vectors = 1;- Specified by:
getVectorsin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getVectorsOrBuilder
repeated .dingodb.pb.common.VectorWithId vectors = 1;- Specified by:
getVectorsOrBuilderin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsDefaultList
repeated .dingodb.pb.common.KeyValue kvs_default = 2;- Specified by:
getKvsDefaultListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsDefaultOrBuilderList
repeated .dingodb.pb.common.KeyValue kvs_default = 2;- Specified by:
getKvsDefaultOrBuilderListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsDefaultCount
public int getKvsDefaultCount()repeated .dingodb.pb.common.KeyValue kvs_default = 2;- Specified by:
getKvsDefaultCountin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsDefault
repeated .dingodb.pb.common.KeyValue kvs_default = 2;- Specified by:
getKvsDefaultin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsDefaultOrBuilder
repeated .dingodb.pb.common.KeyValue kvs_default = 2;- Specified by:
getKvsDefaultOrBuilderin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarList
repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;- Specified by:
getKvsScalarListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarOrBuilderList
repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;- Specified by:
getKvsScalarOrBuilderListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarCount
public int getKvsScalarCount()repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;- Specified by:
getKvsScalarCountin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalar
repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;- Specified by:
getKvsScalarin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarOrBuilder
repeated .dingodb.pb.common.KeyValue kvs_scalar = 3;- Specified by:
getKvsScalarOrBuilderin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsTableList
repeated .dingodb.pb.common.KeyValue kvs_table = 4;- Specified by:
getKvsTableListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsTableOrBuilderList
repeated .dingodb.pb.common.KeyValue kvs_table = 4;- Specified by:
getKvsTableOrBuilderListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsTableCount
public int getKvsTableCount()repeated .dingodb.pb.common.KeyValue kvs_table = 4;- Specified by:
getKvsTableCountin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsTable
repeated .dingodb.pb.common.KeyValue kvs_table = 4;- Specified by:
getKvsTablein interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsTableOrBuilder
repeated .dingodb.pb.common.KeyValue kvs_table = 4;- Specified by:
getKvsTableOrBuilderin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarSpeedUpList
repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;- Specified by:
getKvsScalarSpeedUpListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarSpeedUpOrBuilderList
repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;- Specified by:
getKvsScalarSpeedUpOrBuilderListin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarSpeedUpCount
public int getKvsScalarSpeedUpCount()repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;- Specified by:
getKvsScalarSpeedUpCountin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarSpeedUp
repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;- Specified by:
getKvsScalarSpeedUpin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getKvsScalarSpeedUpOrBuilder
repeated .dingodb.pb.common.KeyValue kvs_scalar_speed_up = 5;- Specified by:
getKvsScalarSpeedUpOrBuilderin interfaceRaft.VectorBatchAddRequestOrBuilder
-
getDeleteVectorIdsList
repeated int64 delete_vector_ids = 6;- Specified by:
getDeleteVectorIdsListin interfaceRaft.VectorBatchAddRequestOrBuilder- Returns:
- A list containing the deleteVectorIds.
-
getDeleteVectorIdsCount
public int getDeleteVectorIdsCount()repeated int64 delete_vector_ids = 6;- Specified by:
getDeleteVectorIdsCountin interfaceRaft.VectorBatchAddRequestOrBuilder- Returns:
- The count of deleteVectorIds.
-
getDeleteVectorIds
public long getDeleteVectorIds(int index) repeated int64 delete_vector_ids = 6;- Specified by:
getDeleteVectorIdsin interfaceRaft.VectorBatchAddRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The deleteVectorIds at the given index.
-
getIsUpdate
public boolean getIsUpdate()bool is_update = 7;- Specified by:
getIsUpdatein interfaceRaft.VectorBatchAddRequestOrBuilder- Returns:
- The isUpdate.
-
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 Raft.VectorBatchAddRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.VectorBatchAddRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.VectorBatchAddRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.VectorBatchAddRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.VectorBatchAddRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.VectorBatchAddRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Raft.VectorBatchAddRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Raft.VectorBatchAddRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Raft.VectorBatchAddRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Raft.VectorBatchAddRequest 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 Raft.VectorBatchAddRequest.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
-