public final class EncryptionKeys extends Object
| Constructor and Description |
|---|
EncryptionKeys() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionKeys |
addAllMetadatas(Iterable<KeyValue> metadatas) |
KeyValue |
addMetadata() |
EncryptionKeys |
clear() |
EncryptionKeys |
clearKey() |
EncryptionKeys |
clearMetadata() |
EncryptionKeys |
clearValue() |
EncryptionKeys |
copyFrom(EncryptionKeys _other) |
String |
getKey() |
KeyValue |
getMetadataAt(int idx) |
int |
getMetadatasCount() |
List<KeyValue> |
getMetadatasList() |
int |
getSerializedSize() |
byte[] |
getValue() |
int |
getValueSize() |
io.netty.buffer.ByteBuf |
getValueSlice() |
boolean |
hasKey() |
boolean |
hasValue() |
void |
parseFrom(byte[] a) |
void |
parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size) |
EncryptionKeys |
setKey(String key) |
EncryptionKeys |
setValue(byte[] value) |
EncryptionKeys |
setValue(io.netty.buffer.ByteBuf value) |
byte[] |
toByteArray() |
int |
writeTo(io.netty.buffer.ByteBuf _b) |
public boolean hasKey()
public String getKey()
public EncryptionKeys setKey(String key)
public EncryptionKeys clearKey()
public boolean hasValue()
public int getValueSize()
public byte[] getValue()
public io.netty.buffer.ByteBuf getValueSlice()
public EncryptionKeys setValue(byte[] value)
public EncryptionKeys setValue(io.netty.buffer.ByteBuf value)
public EncryptionKeys clearValue()
public int getMetadatasCount()
public KeyValue getMetadataAt(int idx)
public KeyValue addMetadata()
public EncryptionKeys addAllMetadatas(Iterable<KeyValue> metadatas)
public EncryptionKeys clearMetadata()
public int writeTo(io.netty.buffer.ByteBuf _b)
public int getSerializedSize()
public void parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size)
public EncryptionKeys clear()
public EncryptionKeys copyFrom(EncryptionKeys _other)
public byte[] toByteArray()
public void parseFrom(byte[] a)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.