Class KeyLongValue

java.lang.Object
org.apache.pulsar.common.api.proto.KeyLongValue

public final class KeyLongValue extends Object
  • Constructor Details

    • KeyLongValue

      public KeyLongValue()
  • Method Details

    • hasKey

      public boolean hasKey()
    • getKey

      public String getKey()
    • setKey

      public KeyLongValue setKey(String key)
    • clearKey

      public KeyLongValue clearKey()
    • hasValue

      public boolean hasValue()
    • getValue

      public long getValue()
    • setValue

      public KeyLongValue setValue(long value)
    • clearValue

      public KeyLongValue clearValue()
    • writeTo

      public int writeTo(io.netty.buffer.ByteBuf _b)
    • getSerializedSize

      public int getSerializedSize()
    • parseFrom

      public void parseFrom(io.netty.buffer.ByteBuf _buffer, int _size)
    • clear

      public KeyLongValue clear()
    • copyFrom

      public KeyLongValue copyFrom(KeyLongValue _other)
    • toByteArray

      public byte[] toByteArray()
    • parseFrom

      public void parseFrom(byte[] a)