Couchbase .NET SDK | 3.9.0
Search Results for

    Show / Hide Table of Contents

    Class TermRangeQuery

    Inheritance
    object
    TermRangeQuery
    Implements
    IMessage<TermRangeQuery>
    IEquatable<TermRangeQuery>
    IDeepCloneable<TermRangeQuery>
    IBufferMessage
    IMessage
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Couchbase.Protostellar.Search.V1
    Assembly: Couchbase.NetClient.dll
    Syntax
    public sealed class TermRangeQuery : IMessage<TermRangeQuery>, IEquatable<TermRangeQuery>, IDeepCloneable<TermRangeQuery>, IBufferMessage, IMessage

    Constructors

    | Edit this page View Source

    TermRangeQuery()

    Declaration
    public TermRangeQuery()
    | Edit this page View Source

    TermRangeQuery(TermRangeQuery)

    Declaration
    public TermRangeQuery(TermRangeQuery other)
    Parameters
    Type Name Description
    TermRangeQuery other

    Fields

    | Edit this page View Source

    BoostFieldNumber

    Field number for the "boost" field.

    Declaration
    public const int BoostFieldNumber = 1
    Field Value
    Type Description
    int
    | Edit this page View Source

    FieldFieldNumber

    Field number for the "field" field.

    Declaration
    public const int FieldFieldNumber = 2
    Field Value
    Type Description
    int
    | Edit this page View Source

    InclusiveMaxFieldNumber

    Field number for the "inclusive_max" field.

    Declaration
    public const int InclusiveMaxFieldNumber = 8
    Field Value
    Type Description
    int
    | Edit this page View Source

    InclusiveMinFieldNumber

    Field number for the "inclusive_min" field.

    Declaration
    public const int InclusiveMinFieldNumber = 7
    Field Value
    Type Description
    int
    | Edit this page View Source

    MaxFieldNumber

    Field number for the "max" field.

    Declaration
    public const int MaxFieldNumber = 6
    Field Value
    Type Description
    int
    | Edit this page View Source

    MinFieldNumber

    Field number for the "min" field.

    Declaration
    public const int MinFieldNumber = 5
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    Boost

    Declaration
    public float Boost { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Descriptor

    Declaration
    public static MessageDescriptor Descriptor { get; }
    Property Value
    Type Description
    MessageDescriptor
    | Edit this page View Source

    Field

    Declaration
    public string Field { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    HasBoost

    Gets whether the "boost" field is set

    Declaration
    public bool HasBoost { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasField

    Gets whether the "field" field is set

    Declaration
    public bool HasField { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasInclusiveMax

    Gets whether the "inclusive_max" field is set

    Declaration
    public bool HasInclusiveMax { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasInclusiveMin

    Gets whether the "inclusive_min" field is set

    Declaration
    public bool HasInclusiveMin { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasMax

    Gets whether the "max" field is set

    Declaration
    public bool HasMax { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasMin

    Gets whether the "min" field is set

    Declaration
    public bool HasMin { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    InclusiveMax

    Declaration
    public bool InclusiveMax { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    InclusiveMin

    Declaration
    public bool InclusiveMin { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Max

    Declaration
    public string Max { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Min

    Declaration
    public string Min { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Parser

    Declaration
    public static MessageParser<TermRangeQuery> Parser { get; }
    Property Value
    Type Description
    MessageParser<TermRangeQuery>

    Methods

    | Edit this page View Source

    CalculateSize()

    Calculates the size of this message in Protocol Buffer wire format, in bytes.

    Declaration
    public int CalculateSize()
    Returns
    Type Description
    int

    The number of bytes required to write this message to a coded output stream.

    | Edit this page View Source

    ClearBoost()

    Clears the value of the "boost" field

    Declaration
    public void ClearBoost()
    | Edit this page View Source

    ClearField()

    Clears the value of the "field" field

    Declaration
    public void ClearField()
    | Edit this page View Source

    ClearInclusiveMax()

    Clears the value of the "inclusive_max" field

    Declaration
    public void ClearInclusiveMax()
    | Edit this page View Source

    ClearInclusiveMin()

    Clears the value of the "inclusive_min" field

    Declaration
    public void ClearInclusiveMin()
    | Edit this page View Source

    ClearMax()

    Clears the value of the "max" field

    Declaration
    public void ClearMax()
    | Edit this page View Source

    ClearMin()

    Clears the value of the "min" field

    Declaration
    public void ClearMin()
    | Edit this page View Source

    Clone()

    Creates a deep clone of this object.

    Declaration
    public TermRangeQuery Clone()
    Returns
    Type Description
    TermRangeQuery

    A deep clone of this object.

    | Edit this page View Source

    Equals(TermRangeQuery)

    Declaration
    public bool Equals(TermRangeQuery other)
    Parameters
    Type Name Description
    TermRangeQuery other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    object other
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    MergeFrom(TermRangeQuery)

    Merges the given message into this one.

    Declaration
    public void MergeFrom(TermRangeQuery other)
    Parameters
    Type Name Description
    TermRangeQuery other
    Remarks

    See the user guide for precise merge semantics.

    | Edit this page View Source

    MergeFrom(CodedInputStream)

    Merges the data from the specified coded input stream with the current message.

    Declaration
    public void MergeFrom(CodedInputStream input)
    Parameters
    Type Name Description
    CodedInputStream input
    Remarks

    See the user guide for precise merge semantics.

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    | Edit this page View Source

    WriteTo(CodedOutputStream)

    Writes the data to the given coded output stream.

    Declaration
    public void WriteTo(CodedOutputStream output)
    Parameters
    Type Name Description
    CodedOutputStream output

    Coded output stream to write the data to. Must not be null.

    Implements

    Google.Protobuf.IMessage<T>
    IEquatable<T>
    Google.Protobuf.IDeepCloneable<T>
    Google.Protobuf.IBufferMessage
    Google.Protobuf.IMessage
    • Edit this page
    • View Source
    In this article
    Back to top © 2026 Couchbase, Inc.