Enum DcpAddStreamResponse

java.lang.Object
java.lang.Enum<DcpAddStreamResponse>
com.couchbase.client.dcp.message.DcpAddStreamResponse
All Implemented Interfaces:
Serializable, Comparable<DcpAddStreamResponse>

public enum DcpAddStreamResponse extends Enum<DcpAddStreamResponse>
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    init(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int opaque)
     
    static boolean
    is(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer)
     
    static int
    opaque(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer)
    The opaque field contains the opaque value used by messages passing for that VBucket.
    static void
    opaque(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int opaque)
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • values

      public static DcpAddStreamResponse[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DcpAddStreamResponse valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • is

      public static boolean is(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer)
    • init

      public static void init(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int opaque)
    • opaque

      public static int opaque(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer)
      The opaque field contains the opaque value used by messages passing for that VBucket.
    • opaque

      public static void opaque(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int opaque)