Package io.milvus.grpc
Class CalcDistanceRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.CalcDistanceRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CalcDistanceRequestOrBuilder,Serializable
public final class CalcDistanceRequest
extends com.google.protobuf.GeneratedMessageV3
implements CalcDistanceRequestOrBuilder
Protobuf type
milvus.proto.milvus.CalcDistanceRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemilvus.proto.milvus.CalcDistanceRequestNested 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 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;static CalcDistanceRequeststatic final com.google.protobuf.Descriptors.Descriptorvectors on the left of operatorvectors on the left of operatorvectors on the right of operatorvectors on the right of operatorgetParams(int index) "metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"int"metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO""metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"getParamsOrBuilder(int index) "metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"List<? extends KeyValuePairOrBuilder> "metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"com.google.protobuf.Parser<CalcDistanceRequest> intbooleanhasBase().milvus.proto.common.MsgBase base = 1;inthashCode()booleanvectors on the left of operatorbooleanvectors on the right of operatorprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic CalcDistanceRequest.Builderstatic CalcDistanceRequest.BuildernewBuilder(CalcDistanceRequest prototype) protected CalcDistanceRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CalcDistanceRequestparseDelimitedFrom(InputStream input) static CalcDistanceRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CalcDistanceRequestparseFrom(byte[] data) static CalcDistanceRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CalcDistanceRequestparseFrom(com.google.protobuf.ByteString data) static CalcDistanceRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CalcDistanceRequestparseFrom(com.google.protobuf.CodedInputStream input) static CalcDistanceRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CalcDistanceRequestparseFrom(InputStream input) static CalcDistanceRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CalcDistanceRequestparseFrom(ByteBuffer data) static CalcDistanceRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CalcDistanceRequest> 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:
-
OP_LEFT_FIELD_NUMBER
public static final int OP_LEFT_FIELD_NUMBER- See Also:
-
OP_RIGHT_FIELD_NUMBER
public static final int OP_RIGHT_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_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 interfaceCalcDistanceRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceCalcDistanceRequestOrBuilder- Returns:
- The base.
-
getBaseOrBuilder
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceCalcDistanceRequestOrBuilder
-
hasOpLeft
public boolean hasOpLeft()vectors on the left of operator
.milvus.proto.milvus.VectorsArray op_left = 2;- Specified by:
hasOpLeftin interfaceCalcDistanceRequestOrBuilder- Returns:
- Whether the opLeft field is set.
-
getOpLeft
vectors on the left of operator
.milvus.proto.milvus.VectorsArray op_left = 2;- Specified by:
getOpLeftin interfaceCalcDistanceRequestOrBuilder- Returns:
- The opLeft.
-
getOpLeftOrBuilder
vectors on the left of operator
.milvus.proto.milvus.VectorsArray op_left = 2;- Specified by:
getOpLeftOrBuilderin interfaceCalcDistanceRequestOrBuilder
-
hasOpRight
public boolean hasOpRight()vectors on the right of operator
.milvus.proto.milvus.VectorsArray op_right = 3;- Specified by:
hasOpRightin interfaceCalcDistanceRequestOrBuilder- Returns:
- Whether the opRight field is set.
-
getOpRight
vectors on the right of operator
.milvus.proto.milvus.VectorsArray op_right = 3;- Specified by:
getOpRightin interfaceCalcDistanceRequestOrBuilder- Returns:
- The opRight.
-
getOpRightOrBuilder
vectors on the right of operator
.milvus.proto.milvus.VectorsArray op_right = 3;- Specified by:
getOpRightOrBuilderin interfaceCalcDistanceRequestOrBuilder
-
getParamsList
"metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
repeated .milvus.proto.common.KeyValuePair params = 4;- Specified by:
getParamsListin interfaceCalcDistanceRequestOrBuilder
-
getParamsOrBuilderList
"metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
repeated .milvus.proto.common.KeyValuePair params = 4;- Specified by:
getParamsOrBuilderListin interfaceCalcDistanceRequestOrBuilder
-
getParamsCount
public int getParamsCount()"metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
repeated .milvus.proto.common.KeyValuePair params = 4;- Specified by:
getParamsCountin interfaceCalcDistanceRequestOrBuilder
-
getParams
"metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
repeated .milvus.proto.common.KeyValuePair params = 4;- Specified by:
getParamsin interfaceCalcDistanceRequestOrBuilder
-
getParamsOrBuilder
"metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
repeated .milvus.proto.common.KeyValuePair params = 4;- Specified by:
getParamsOrBuilderin interfaceCalcDistanceRequestOrBuilder
-
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 CalcDistanceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CalcDistanceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CalcDistanceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CalcDistanceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CalcDistanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CalcDistanceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CalcDistanceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CalcDistanceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CalcDistanceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CalcDistanceRequest 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 CalcDistanceRequest.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
-