public final class KeyLongValue extends Object
| Constructor and Description |
|---|
KeyLongValue() |
| Modifier and Type | Method and Description |
|---|---|
KeyLongValue |
clear() |
KeyLongValue |
clearKey() |
KeyLongValue |
clearValue() |
KeyLongValue |
copyFrom(KeyLongValue _other) |
String |
getKey() |
int |
getSerializedSize() |
long |
getValue() |
boolean |
hasKey() |
boolean |
hasValue() |
void |
parseFrom(byte[] a) |
void |
parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size) |
KeyLongValue |
setKey(String key) |
KeyLongValue |
setValue(long value) |
byte[] |
toByteArray() |
int |
writeTo(io.netty.buffer.ByteBuf _b) |
public boolean hasKey()
public String getKey()
public KeyLongValue setKey(String key)
public KeyLongValue clearKey()
public boolean hasValue()
public long getValue()
public KeyLongValue setValue(long value)
public KeyLongValue clearValue()
public int writeTo(io.netty.buffer.ByteBuf _b)
public int getSerializedSize()
public void parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size)
public KeyLongValue clear()
public KeyLongValue copyFrom(KeyLongValue _other)
public byte[] toByteArray()
public void parseFrom(byte[] a)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.