Package org.apache.pulsar.io.kinesis.fbs
Class EncryptionKey
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- org.apache.pulsar.io.kinesis.fbs.EncryptionKey
-
public final class EncryptionKey extends com.google.flatbuffers.Table
-
-
Constructor Summary
Constructors Constructor Description EncryptionKey()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionKey__assign(int _i, java.nio.ByteBuffer _bb)void__init(int _i, java.nio.ByteBuffer _bb)static voidaddKey(com.google.flatbuffers.FlatBufferBuilder builder, int keyOffset)static voidaddMetadata(com.google.flatbuffers.FlatBufferBuilder builder, int metadataOffset)static voidaddValue(com.google.flatbuffers.FlatBufferBuilder builder, int valueOffset)static intcreateEncryptionKey(com.google.flatbuffers.FlatBufferBuilder builder, int keyOffset, int valueOffset, int metadataOffset)static intcreateMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)static intcreateValueVector(com.google.flatbuffers.FlatBufferBuilder builder, byte[] data)static intendEncryptionKey(com.google.flatbuffers.FlatBufferBuilder builder)static EncryptionKeygetRootAsEncryptionKey(java.nio.ByteBuffer _bb)static EncryptionKeygetRootAsEncryptionKey(java.nio.ByteBuffer _bb, EncryptionKey obj)java.lang.Stringkey()java.nio.ByteBufferkeyAsByteBuffer()java.nio.ByteBufferkeyInByteBuffer(java.nio.ByteBuffer _bb)KeyValuemetadata(int j)KeyValuemetadata(KeyValue obj, int j)intmetadataLength()static voidstartEncryptionKey(com.google.flatbuffers.FlatBufferBuilder builder)static voidstartMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)static voidstartValueVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)bytevalue(int j)java.nio.ByteBuffervalueAsByteBuffer()java.nio.ByteBuffervalueInByteBuffer(java.nio.ByteBuffer _bb)intvalueLength()
-
-
-
Method Detail
-
getRootAsEncryptionKey
public static EncryptionKey getRootAsEncryptionKey(java.nio.ByteBuffer _bb)
-
getRootAsEncryptionKey
public static EncryptionKey getRootAsEncryptionKey(java.nio.ByteBuffer _bb, EncryptionKey obj)
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public EncryptionKey __assign(int _i, java.nio.ByteBuffer _bb)
-
key
public java.lang.String key()
-
keyAsByteBuffer
public java.nio.ByteBuffer keyAsByteBuffer()
-
keyInByteBuffer
public java.nio.ByteBuffer keyInByteBuffer(java.nio.ByteBuffer _bb)
-
value
public byte value(int j)
-
valueLength
public int valueLength()
-
valueAsByteBuffer
public java.nio.ByteBuffer valueAsByteBuffer()
-
valueInByteBuffer
public java.nio.ByteBuffer valueInByteBuffer(java.nio.ByteBuffer _bb)
-
metadata
public KeyValue metadata(int j)
-
metadataLength
public int metadataLength()
-
createEncryptionKey
public static int createEncryptionKey(com.google.flatbuffers.FlatBufferBuilder builder, int keyOffset, int valueOffset, int metadataOffset)
-
startEncryptionKey
public static void startEncryptionKey(com.google.flatbuffers.FlatBufferBuilder builder)
-
addKey
public static void addKey(com.google.flatbuffers.FlatBufferBuilder builder, int keyOffset)
-
addValue
public static void addValue(com.google.flatbuffers.FlatBufferBuilder builder, int valueOffset)
-
createValueVector
public static int createValueVector(com.google.flatbuffers.FlatBufferBuilder builder, byte[] data)
-
startValueVector
public static void startValueVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
addMetadata
public static void addMetadata(com.google.flatbuffers.FlatBufferBuilder builder, int metadataOffset)
-
createMetadataVector
public static int createMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
-
startMetadataVector
public static void startMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
endEncryptionKey
public static int endEncryptionKey(com.google.flatbuffers.FlatBufferBuilder builder)
-
-