Class KeyLongValue
java.lang.Object
org.apache.pulsar.common.api.proto.KeyLongValue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
clearKey()
copyFrom
(KeyLongValue _other) getKey()
int
long
getValue()
boolean
hasKey()
boolean
hasValue()
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setValue
(long value) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
KeyLongValue
public KeyLongValue()
-
-
Method Details
-
hasKey
public boolean hasKey() -
getKey
-
setKey
-
clearKey
-
hasValue
public boolean hasValue() -
getValue
public long getValue() -
setValue
-
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
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-