Class EncryptionKeys
java.lang.Object
org.apache.pulsar.common.api.proto.EncryptionKeys
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetadatas
(Iterable<KeyValue> metadatas) clear()
clearKey()
copyFrom
(EncryptionKeys _other) getKey()
getMetadataAt
(int idx) int
int
byte[]
getValue()
int
io.netty.buffer.ByteBuf
boolean
hasKey()
boolean
hasValue()
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setValue
(byte[] value) setValue
(io.netty.buffer.ByteBuf value) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
EncryptionKeys
public EncryptionKeys()
-
-
Method Details
-
hasKey
public boolean hasKey() -
getKey
-
setKey
-
clearKey
-
hasValue
public boolean hasValue() -
getValueSize
public int getValueSize() -
getValue
public byte[] getValue() -
getValueSlice
public io.netty.buffer.ByteBuf getValueSlice() -
setValue
-
setValue
-
clearValue
-
getMetadatasCount
public int getMetadatasCount() -
getMetadataAt
-
getMetadatasList
-
addMetadata
-
addAllMetadatas
-
clearMetadata
-
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)
-