Class QuerySegmentInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.QuerySegmentInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, QuerySegmentInfoOrBuilder, Serializable

public final class QuerySegmentInfo extends com.google.protobuf.GeneratedMessageV3 implements QuerySegmentInfoOrBuilder
Protobuf type milvus.proto.milvus.QuerySegmentInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type milvus.proto.milvus.QuerySegmentInfo

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    long
    int64 collectionID = 2;
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    long
    int64 indexID = 7;
    string index_name = 6;
    com.google.protobuf.ByteString
    string index_name = 6;
    .milvus.proto.common.SegmentLevel level = 11;
    int
    .milvus.proto.common.SegmentLevel level = 11;
    long
    int64 mem_size = 4;
    long
    Deprecated.
    milvus.proto.milvus.QuerySegmentInfo.nodeID is deprecated.
    long
    getNodeIds(int index)
    repeated int64 nodeIds = 10;
    int
    repeated int64 nodeIds = 10;
    repeated int64 nodeIds = 10;
    long
    int64 num_rows = 5;
    com.google.protobuf.Parser<QuerySegmentInfo>
     
    long
    int64 partitionID = 3;
    long
    int64 segmentID = 1;
    int
     
    .milvus.proto.common.SegmentState state = 9;
    int
    .milvus.proto.common.SegmentState state = 9;
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<QuerySegmentInfo>
     
     
    void
    writeTo(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, 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, 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

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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
    • getSegmentID

      public long getSegmentID()
      int64 segmentID = 1;
      Specified by:
      getSegmentID in interface QuerySegmentInfoOrBuilder
      Returns:
      The segmentID.
    • getCollectionID

      public long getCollectionID()
      int64 collectionID = 2;
      Specified by:
      getCollectionID in interface QuerySegmentInfoOrBuilder
      Returns:
      The collectionID.
    • getPartitionID

      public long getPartitionID()
      int64 partitionID = 3;
      Specified by:
      getPartitionID in interface QuerySegmentInfoOrBuilder
      Returns:
      The partitionID.
    • getMemSize

      public long getMemSize()
      int64 mem_size = 4;
      Specified by:
      getMemSize in interface QuerySegmentInfoOrBuilder
      Returns:
      The memSize.
    • getNumRows

      public long getNumRows()
      int64 num_rows = 5;
      Specified by:
      getNumRows in interface QuerySegmentInfoOrBuilder
      Returns:
      The numRows.
    • getIndexName

      public String getIndexName()
      string index_name = 6;
      Specified by:
      getIndexName in interface QuerySegmentInfoOrBuilder
      Returns:
      The indexName.
    • getIndexNameBytes

      public com.google.protobuf.ByteString getIndexNameBytes()
      string index_name = 6;
      Specified by:
      getIndexNameBytes in interface QuerySegmentInfoOrBuilder
      Returns:
      The bytes for indexName.
    • getIndexID

      public long getIndexID()
      int64 indexID = 7;
      Specified by:
      getIndexID in interface QuerySegmentInfoOrBuilder
      Returns:
      The indexID.
    • getNodeID

      @Deprecated public long getNodeID()
      Deprecated.
      milvus.proto.milvus.QuerySegmentInfo.nodeID is deprecated. See milvus.proto;l=1100
       deprecated, check node_ids(NodeIds) field
       
      int64 nodeID = 8 [deprecated = true];
      Specified by:
      getNodeID in interface QuerySegmentInfoOrBuilder
      Returns:
      The nodeID.
    • getStateValue

      public int getStateValue()
      .milvus.proto.common.SegmentState state = 9;
      Specified by:
      getStateValue in interface QuerySegmentInfoOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public SegmentState getState()
      .milvus.proto.common.SegmentState state = 9;
      Specified by:
      getState in interface QuerySegmentInfoOrBuilder
      Returns:
      The state.
    • getNodeIdsList

      public List<Long> getNodeIdsList()
      repeated int64 nodeIds = 10;
      Specified by:
      getNodeIdsList in interface QuerySegmentInfoOrBuilder
      Returns:
      A list containing the nodeIds.
    • getNodeIdsCount

      public int getNodeIdsCount()
      repeated int64 nodeIds = 10;
      Specified by:
      getNodeIdsCount in interface QuerySegmentInfoOrBuilder
      Returns:
      The count of nodeIds.
    • getNodeIds

      public long getNodeIds(int index)
      repeated int64 nodeIds = 10;
      Specified by:
      getNodeIds in interface QuerySegmentInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The nodeIds at the given index.
    • getLevelValue

      public int getLevelValue()
      .milvus.proto.common.SegmentLevel level = 11;
      Specified by:
      getLevelValue in interface QuerySegmentInfoOrBuilder
      Returns:
      The enum numeric value on the wire for level.
    • getLevel

      public SegmentLevel getLevel()
      .milvus.proto.common.SegmentLevel level = 11;
      Specified by:
      getLevel in interface QuerySegmentInfoOrBuilder
      Returns:
      The level.
    • 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 QuerySegmentInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuerySegmentInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuerySegmentInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuerySegmentInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuerySegmentInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuerySegmentInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static QuerySegmentInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static QuerySegmentInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QuerySegmentInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static QuerySegmentInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static QuerySegmentInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<QuerySegmentInfo> 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 QuerySegmentInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder