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:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasBase

      public boolean hasBase()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      hasBase in interface CalcDistanceRequestOrBuilder
      Returns:
      Whether the base field is set.
    • getBase

      public MsgBase getBase()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBase in interface CalcDistanceRequestOrBuilder
      Returns:
      The base.
    • getBaseOrBuilder

      public MsgBaseOrBuilder getBaseOrBuilder()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBaseOrBuilder in interface CalcDistanceRequestOrBuilder
    • hasOpLeft

      public boolean hasOpLeft()
       vectors on the left of operator
       
      .milvus.proto.milvus.VectorsArray op_left = 2;
      Specified by:
      hasOpLeft in interface CalcDistanceRequestOrBuilder
      Returns:
      Whether the opLeft field is set.
    • getOpLeft

      public VectorsArray getOpLeft()
       vectors on the left of operator
       
      .milvus.proto.milvus.VectorsArray op_left = 2;
      Specified by:
      getOpLeft in interface CalcDistanceRequestOrBuilder
      Returns:
      The opLeft.
    • getOpLeftOrBuilder

      public VectorsArrayOrBuilder getOpLeftOrBuilder()
       vectors on the left of operator
       
      .milvus.proto.milvus.VectorsArray op_left = 2;
      Specified by:
      getOpLeftOrBuilder in interface CalcDistanceRequestOrBuilder
    • hasOpRight

      public boolean hasOpRight()
       vectors on the right of operator
       
      .milvus.proto.milvus.VectorsArray op_right = 3;
      Specified by:
      hasOpRight in interface CalcDistanceRequestOrBuilder
      Returns:
      Whether the opRight field is set.
    • getOpRight

      public VectorsArray getOpRight()
       vectors on the right of operator
       
      .milvus.proto.milvus.VectorsArray op_right = 3;
      Specified by:
      getOpRight in interface CalcDistanceRequestOrBuilder
      Returns:
      The opRight.
    • getOpRightOrBuilder

      public VectorsArrayOrBuilder getOpRightOrBuilder()
       vectors on the right of operator
       
      .milvus.proto.milvus.VectorsArray op_right = 3;
      Specified by:
      getOpRightOrBuilder in interface CalcDistanceRequestOrBuilder
    • getParamsList

      public List<KeyValuePair> getParamsList()
       "metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
       
      repeated .milvus.proto.common.KeyValuePair params = 4;
      Specified by:
      getParamsList in interface CalcDistanceRequestOrBuilder
    • getParamsOrBuilderList

      public List<? extends KeyValuePairOrBuilder> getParamsOrBuilderList()
       "metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
       
      repeated .milvus.proto.common.KeyValuePair params = 4;
      Specified by:
      getParamsOrBuilderList in interface CalcDistanceRequestOrBuilder
    • getParamsCount

      public int getParamsCount()
       "metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
       
      repeated .milvus.proto.common.KeyValuePair params = 4;
      Specified by:
      getParamsCount in interface CalcDistanceRequestOrBuilder
    • getParams

      public KeyValuePair getParams(int index)
       "metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
       
      repeated .milvus.proto.common.KeyValuePair params = 4;
      Specified by:
      getParams in interface CalcDistanceRequestOrBuilder
    • getParamsOrBuilder

      public KeyValuePairOrBuilder getParamsOrBuilder(int index)
       "metric":"L2"/"IP"/"HAMMIN"/"TANIMOTO"
       
      repeated .milvus.proto.common.KeyValuePair params = 4;
      Specified by:
      getParamsOrBuilder in interface CalcDistanceRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static CalcDistanceRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CalcDistanceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CalcDistanceRequest parseDelimitedFrom(InputStream input) throws IOException
      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

      public CalcDistanceRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CalcDistanceRequest.Builder newBuilder()
    • newBuilder

      public static CalcDistanceRequest.Builder newBuilder(CalcDistanceRequest prototype)
    • toBuilder

      public CalcDistanceRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CalcDistanceRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static CalcDistanceRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CalcDistanceRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CalcDistanceRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public CalcDistanceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder