Class Common.VectorIndexMetrics

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.common.Common.VectorIndexMetrics
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Common.VectorIndexMetricsOrBuilder, Serializable
Enclosing class:
Common

public static final class Common.VectorIndexMetrics extends com.google.protobuf.GeneratedMessageV3 implements Common.VectorIndexMetricsOrBuilder
 vector index metrics
 
Protobuf type dingodb.pb.common.VectorIndexMetrics
See Also:
  • Field Details

    • VECTOR_INDEX_TYPE_FIELD_NUMBER

      public static final int VECTOR_INDEX_TYPE_FIELD_NUMBER
      See Also:
    • CURRENT_COUNT_FIELD_NUMBER

      public static final int CURRENT_COUNT_FIELD_NUMBER
      See Also:
    • DELETED_COUNT_FIELD_NUMBER

      public static final int DELETED_COUNT_FIELD_NUMBER
      See Also:
    • MAX_ID_FIELD_NUMBER

      public static final int MAX_ID_FIELD_NUMBER
      See Also:
    • MIN_ID_FIELD_NUMBER

      public static final int MIN_ID_FIELD_NUMBER
      See Also:
    • MEMORY_BYTES_FIELD_NUMBER

      public static final int MEMORY_BYTES_FIELD_NUMBER
      See Also:
  • 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
    • getVectorIndexTypeValue

      public int getVectorIndexTypeValue()
       vector index type . reserve to do one of for each different algorithm.
       
      .dingodb.pb.common.VectorIndexType vector_index_type = 1;
      Specified by:
      getVectorIndexTypeValue in interface Common.VectorIndexMetricsOrBuilder
      Returns:
      The enum numeric value on the wire for vectorIndexType.
    • getVectorIndexType

      public Common.VectorIndexType getVectorIndexType()
       vector index type . reserve to do one of for each different algorithm.
       
      .dingodb.pb.common.VectorIndexType vector_index_type = 1;
      Specified by:
      getVectorIndexType in interface Common.VectorIndexMetricsOrBuilder
      Returns:
      The vectorIndexType.
    • getCurrentCount

      public long getCurrentCount()
       current count
       
      int64 current_count = 2;
      Specified by:
      getCurrentCount in interface Common.VectorIndexMetricsOrBuilder
      Returns:
      The currentCount.
    • getDeletedCount

      public long getDeletedCount()
       deleted count
       
      int64 deleted_count = 3;
      Specified by:
      getDeletedCount in interface Common.VectorIndexMetricsOrBuilder
      Returns:
      The deletedCount.
    • getMaxId

      public long getMaxId()
       max id
       
      int64 max_id = 4;
      Specified by:
      getMaxId in interface Common.VectorIndexMetricsOrBuilder
      Returns:
      The maxId.
    • getMinId

      public long getMinId()
       min id
       
      int64 min_id = 5;
      Specified by:
      getMinId in interface Common.VectorIndexMetricsOrBuilder
      Returns:
      The minId.
    • getMemoryBytes

      public long getMemoryBytes()
       memeory unit bytes
       
      int64 memory_bytes = 6;
      Specified by:
      getMemoryBytes in interface Common.VectorIndexMetricsOrBuilder
      Returns:
      The memoryBytes.
    • 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 Common.VectorIndexMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Common.VectorIndexMetrics parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Common.VectorIndexMetrics parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Common.VectorIndexMetrics.Builder newBuilder()
    • newBuilder

      public static Common.VectorIndexMetrics.Builder newBuilder(Common.VectorIndexMetrics prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Common.VectorIndexMetrics getDefaultInstance()
    • parser

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

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