Couchbase .NET SDK | 3.9.0
Search Results for

    Show / Hide Table of Contents

    Class PrefixQuery

    Inheritance
    object
    PrefixQuery
    Implements
    IMessage<PrefixQuery>
    IEquatable<PrefixQuery>
    IDeepCloneable<PrefixQuery>
    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 PrefixQuery : IMessage<PrefixQuery>, IEquatable<PrefixQuery>, IDeepCloneable<PrefixQuery>, IBufferMessage, IMessage

    Constructors

    | Edit this page View Source

    PrefixQuery()

    Declaration
    public PrefixQuery()
    | Edit this page View Source

    PrefixQuery(PrefixQuery)

    Declaration
    public PrefixQuery(PrefixQuery other)
    Parameters
    Type Name Description
    PrefixQuery 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

    PrefixFieldNumber

    Field number for the "prefix" field.

    Declaration
    public const int PrefixFieldNumber = 3
    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

    Parser

    Declaration
    public static MessageParser<PrefixQuery> Parser { get; }
    Property Value
    Type Description
    MessageParser<PrefixQuery>
    | Edit this page View Source

    Prefix

    Declaration
    public string Prefix { get; set; }
    Property Value
    Type Description
    string

    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

    Clone()

    Creates a deep clone of this object.

    Declaration
    public PrefixQuery Clone()
    Returns
    Type Description
    PrefixQuery

    A deep clone of this object.

    | Edit this page View Source

    Equals(PrefixQuery)

    Declaration
    public bool Equals(PrefixQuery other)
    Parameters
    Type Name Description
    PrefixQuery 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(PrefixQuery)

    Merges the given message into this one.

    Declaration
    public void MergeFrom(PrefixQuery other)
    Parameters
    Type Name Description
    PrefixQuery 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.