Class EncryptionKeys

java.lang.Object
org.apache.pulsar.common.api.proto.EncryptionKeys

public final class EncryptionKeys extends Object
  • Constructor Details

    • EncryptionKeys

      public EncryptionKeys()
  • Method Details

    • hasKey

      public boolean hasKey()
    • getKey

      public String getKey()
    • setKey

      public EncryptionKeys setKey(String key)
    • clearKey

      public EncryptionKeys clearKey()
    • hasValue

      public boolean hasValue()
    • getValueSize

      public int getValueSize()
    • getValue

      public byte[] getValue()
    • getValueSlice

      public io.netty.buffer.ByteBuf getValueSlice()
    • setValue

      public EncryptionKeys setValue(byte[] value)
    • setValue

      public EncryptionKeys setValue(io.netty.buffer.ByteBuf value)
    • clearValue

      public EncryptionKeys clearValue()
    • getMetadatasCount

      public int getMetadatasCount()
    • getMetadataAt

      public KeyValue getMetadataAt(int idx)
    • getMetadatasList

      public List<KeyValue> getMetadatasList()
    • addMetadata

      public KeyValue addMetadata()
    • addAllMetadatas

      public EncryptionKeys addAllMetadatas(Iterable<KeyValue> metadatas)
    • clearMetadata

      public EncryptionKeys 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

      public EncryptionKeys clear()
    • copyFrom

      public EncryptionKeys copyFrom(EncryptionKeys _other)
    • toByteArray

      public byte[] toByteArray()
    • parseFrom

      public void parseFrom(byte[] a)