Couchbase .NET SDK | 3.9.0
Search Results for

    Show / Hide Table of Contents

    Class HookAction

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

    Constructors

    | Edit this page View Source

    HookAction()

    Declaration
    public HookAction()
    | Edit this page View Source

    HookAction(HookAction)

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

    Fields

    | Edit this page View Source

    CounterFieldNumber

    Field number for the "counter" field.

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

    ExecuteFieldNumber

    Field number for the "execute" field.

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

    IfFieldNumber

    Field number for the "if" field.

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

    ReturnErrorFieldNumber

    Field number for the "return_error" field.

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

    ReturnResponseFieldNumber

    Field number for the "return_response" field.

    Declaration
    public const int ReturnResponseFieldNumber = 5
    Field Value
    Type Description
    int
    | Edit this page View Source

    SignalBarrierFieldNumber

    Field number for the "signal_barrier" field.

    Declaration
    public const int SignalBarrierFieldNumber = 4
    Field Value
    Type Description
    int
    | Edit this page View Source

    WaitOnBarrierFieldNumber

    Field number for the "wait_on_barrier" field.

    Declaration
    public const int WaitOnBarrierFieldNumber = 3
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    ActionCase

    Declaration
    public HookAction.ActionOneofCase ActionCase { get; }
    Property Value
    Type Description
    HookAction.ActionOneofCase
    | Edit this page View Source

    Counter

    Declaration
    public HookAction.Types.Counter Counter { get; set; }
    Property Value
    Type Description
    HookAction.Types.Counter
    | Edit this page View Source

    Descriptor

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

    Execute

    Declaration
    public HookAction.Types.Execute Execute { get; set; }
    Property Value
    Type Description
    HookAction.Types.Execute
    | Edit this page View Source

    If

    Declaration
    public HookAction.Types.If If { get; set; }
    Property Value
    Type Description
    HookAction.Types.If
    | Edit this page View Source

    Parser

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

    ReturnError

    Declaration
    public HookAction.Types.ReturnError ReturnError { get; set; }
    Property Value
    Type Description
    HookAction.Types.ReturnError
    | Edit this page View Source

    ReturnResponse

    Declaration
    public HookAction.Types.ReturnResponse ReturnResponse { get; set; }
    Property Value
    Type Description
    HookAction.Types.ReturnResponse
    | Edit this page View Source

    SignalBarrier

    Declaration
    public HookAction.Types.SignalBarrier SignalBarrier { get; set; }
    Property Value
    Type Description
    HookAction.Types.SignalBarrier
    | Edit this page View Source

    WaitOnBarrier

    Declaration
    public HookAction.Types.WaitOnBarrier WaitOnBarrier { get; set; }
    Property Value
    Type Description
    HookAction.Types.WaitOnBarrier

    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

    ClearAction()

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

    Clone()

    Creates a deep clone of this object.

    Declaration
    public HookAction Clone()
    Returns
    Type Description
    HookAction

    A deep clone of this object.

    | Edit this page View Source

    Equals(HookAction)

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

    Merges the given message into this one.

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