Class Common.IndexParameter

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

public static final class Common.IndexParameter extends com.google.protobuf.GeneratedMessageV3 implements Common.IndexParameterOrBuilder
Protobuf type dingodb.pb.common.IndexParameter
See Also:
  • Field Details

    • INDEX_TYPE_FIELD_NUMBER

      public static final int INDEX_TYPE_FIELD_NUMBER
      See Also:
    • VECTOR_INDEX_PARAMETER_FIELD_NUMBER

      public static final int VECTOR_INDEX_PARAMETER_FIELD_NUMBER
      See Also:
    • SCALAR_INDEX_PARAMETER_FIELD_NUMBER

      public static final int SCALAR_INDEX_PARAMETER_FIELD_NUMBER
      See Also:
    • DOCUMENT_INDEX_PARAMETER_FIELD_NUMBER

      public static final int DOCUMENT_INDEX_PARAMETER_FIELD_NUMBER
      See Also:
    • ORIGIN_KEYS_FIELD_NUMBER

      public static final int ORIGIN_KEYS_FIELD_NUMBER
      See Also:
    • ORIGIN_WITH_KEYS_FIELD_NUMBER

      public static final int ORIGIN_WITH_KEYS_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
    • getIndexTypeValue

      public int getIndexTypeValue()
      .dingodb.pb.common.IndexType index_type = 1;
      Specified by:
      getIndexTypeValue in interface Common.IndexParameterOrBuilder
      Returns:
      The enum numeric value on the wire for indexType.
    • getIndexType

      public Common.IndexType getIndexType()
      .dingodb.pb.common.IndexType index_type = 1;
      Specified by:
      getIndexType in interface Common.IndexParameterOrBuilder
      Returns:
      The indexType.
    • hasVectorIndexParameter

      public boolean hasVectorIndexParameter()
      .dingodb.pb.common.VectorIndexParameter vector_index_parameter = 2;
      Specified by:
      hasVectorIndexParameter in interface Common.IndexParameterOrBuilder
      Returns:
      Whether the vectorIndexParameter field is set.
    • getVectorIndexParameter

      public Common.VectorIndexParameter getVectorIndexParameter()
      .dingodb.pb.common.VectorIndexParameter vector_index_parameter = 2;
      Specified by:
      getVectorIndexParameter in interface Common.IndexParameterOrBuilder
      Returns:
      The vectorIndexParameter.
    • getVectorIndexParameterOrBuilder

      public Common.VectorIndexParameterOrBuilder getVectorIndexParameterOrBuilder()
      .dingodb.pb.common.VectorIndexParameter vector_index_parameter = 2;
      Specified by:
      getVectorIndexParameterOrBuilder in interface Common.IndexParameterOrBuilder
    • hasScalarIndexParameter

      public boolean hasScalarIndexParameter()
      .dingodb.pb.common.ScalarIndexParameter scalar_index_parameter = 3;
      Specified by:
      hasScalarIndexParameter in interface Common.IndexParameterOrBuilder
      Returns:
      Whether the scalarIndexParameter field is set.
    • getScalarIndexParameter

      public Common.ScalarIndexParameter getScalarIndexParameter()
      .dingodb.pb.common.ScalarIndexParameter scalar_index_parameter = 3;
      Specified by:
      getScalarIndexParameter in interface Common.IndexParameterOrBuilder
      Returns:
      The scalarIndexParameter.
    • getScalarIndexParameterOrBuilder

      public Common.ScalarIndexParameterOrBuilder getScalarIndexParameterOrBuilder()
      .dingodb.pb.common.ScalarIndexParameter scalar_index_parameter = 3;
      Specified by:
      getScalarIndexParameterOrBuilder in interface Common.IndexParameterOrBuilder
    • hasDocumentIndexParameter

      public boolean hasDocumentIndexParameter()
      .dingodb.pb.common.DocumentIndexParameter document_index_parameter = 4;
      Specified by:
      hasDocumentIndexParameter in interface Common.IndexParameterOrBuilder
      Returns:
      Whether the documentIndexParameter field is set.
    • getDocumentIndexParameter

      public Common.DocumentIndexParameter getDocumentIndexParameter()
      .dingodb.pb.common.DocumentIndexParameter document_index_parameter = 4;
      Specified by:
      getDocumentIndexParameter in interface Common.IndexParameterOrBuilder
      Returns:
      The documentIndexParameter.
    • getDocumentIndexParameterOrBuilder

      public Common.DocumentIndexParameterOrBuilder getDocumentIndexParameterOrBuilder()
      .dingodb.pb.common.DocumentIndexParameter document_index_parameter = 4;
      Specified by:
      getDocumentIndexParameterOrBuilder in interface Common.IndexParameterOrBuilder
    • getOriginKeysList

      public com.google.protobuf.ProtocolStringList getOriginKeysList()
      repeated string origin_keys = 5;
      Specified by:
      getOriginKeysList in interface Common.IndexParameterOrBuilder
      Returns:
      A list containing the originKeys.
    • getOriginKeysCount

      public int getOriginKeysCount()
      repeated string origin_keys = 5;
      Specified by:
      getOriginKeysCount in interface Common.IndexParameterOrBuilder
      Returns:
      The count of originKeys.
    • getOriginKeys

      public String getOriginKeys(int index)
      repeated string origin_keys = 5;
      Specified by:
      getOriginKeys in interface Common.IndexParameterOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The originKeys at the given index.
    • getOriginKeysBytes

      public com.google.protobuf.ByteString getOriginKeysBytes(int index)
      repeated string origin_keys = 5;
      Specified by:
      getOriginKeysBytes in interface Common.IndexParameterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the originKeys at the given index.
    • getOriginWithKeysList

      public com.google.protobuf.ProtocolStringList getOriginWithKeysList()
      repeated string origin_with_keys = 6;
      Specified by:
      getOriginWithKeysList in interface Common.IndexParameterOrBuilder
      Returns:
      A list containing the originWithKeys.
    • getOriginWithKeysCount

      public int getOriginWithKeysCount()
      repeated string origin_with_keys = 6;
      Specified by:
      getOriginWithKeysCount in interface Common.IndexParameterOrBuilder
      Returns:
      The count of originWithKeys.
    • getOriginWithKeys

      public String getOriginWithKeys(int index)
      repeated string origin_with_keys = 6;
      Specified by:
      getOriginWithKeys in interface Common.IndexParameterOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The originWithKeys at the given index.
    • getOriginWithKeysBytes

      public com.google.protobuf.ByteString getOriginWithKeysBytes(int index)
      repeated string origin_with_keys = 6;
      Specified by:
      getOriginWithKeysBytes in interface Common.IndexParameterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the originWithKeys at the given index.
    • 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.IndexParameter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Common.IndexParameter 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.IndexParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Common.IndexParameter getDefaultInstance()
    • parser

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

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