类 EncryptionKeys
java.lang.Object
org.apache.pulsar.common.api.proto.EncryptionKeys
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addAllMetadatas(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)
-
构造器详细资料
-
EncryptionKeys
public EncryptionKeys()
-
-
方法详细资料
-
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)
-