Couchbase .NET SDK | 3.9.0
Search Results for

    Show / Hide Table of Contents

    Class ValueRef

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

    Constructors

    | Edit this page View Source

    ValueRef()

    Declaration
    public ValueRef()
    | Edit this page View Source

    ValueRef(ValueRef)

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

    Fields

    | Edit this page View Source

    CounterValueFieldNumber

    Field number for the "counter_value" field.

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

    JsonValueFieldNumber

    Field number for the "json_value" field.

    Declaration
    public const int JsonValueFieldNumber = 3
    Field Value
    Type Description
    int
    | Edit this page View Source

    RequestFieldFieldNumber

    Field number for the "request_field" field.

    Declaration
    public const int RequestFieldFieldNumber = 1
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    CounterValue

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

    Descriptor

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

    HasCounterValue

    Gets whether the "counter_value" field is set

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

    HasJsonValue

    Gets whether the "json_value" field is set

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

    HasRequestField

    Gets whether the "request_field" field is set

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

    JsonValue

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

    Parser

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

    RequestField

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

    ValueCase

    Declaration
    public ValueRef.ValueOneofCase ValueCase { get; }
    Property Value
    Type Description
    ValueRef.ValueOneofCase

    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

    ClearCounterValue()

    Clears the value of the oneof if it's currently set to "counter_value"

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

    ClearJsonValue()

    Clears the value of the oneof if it's currently set to "json_value"

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

    ClearRequestField()

    Clears the value of the oneof if it's currently set to "request_field"

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

    ClearValue()

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

    Clone()

    Creates a deep clone of this object.

    Declaration
    public ValueRef Clone()
    Returns
    Type Description
    ValueRef

    A deep clone of this object.

    | Edit this page View Source

    Equals(ValueRef)

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

    Merges the given message into this one.

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