Class EncryptionKeys
java.lang.Object
org.apache.pulsar.common.api.proto.EncryptionKeys
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllMetadatas(Iterable<KeyValue> metadatas) clear()clearKey()copyFrom(EncryptionKeys _other) getKey()getMetadataAt(int idx) intintbyte[]getValue()intio.netty.buffer.ByteBufbooleanhasKey()booleanhasValue()voidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setValue(byte[] value) setValue(io.netty.buffer.ByteBuf value) byte[]intwriteTo(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)
-