Package org.apache.pulsar.io.kinesis.fbs
Class Message
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- org.apache.pulsar.io.kinesis.fbs.Message
-
public final class Message extends com.google.flatbuffers.Table
-
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Message__assign(int _i, java.nio.ByteBuffer _bb)void__init(int _i, java.nio.ByteBuffer _bb)static voidaddEncryptionCtx(com.google.flatbuffers.FlatBufferBuilder builder, int encryptionCtxOffset)static voidaddPayload(com.google.flatbuffers.FlatBufferBuilder builder, int payloadOffset)static voidaddProperties(com.google.flatbuffers.FlatBufferBuilder builder, int propertiesOffset)static intcreateMessage(com.google.flatbuffers.FlatBufferBuilder builder, int encryptionCtxOffset, int propertiesOffset, int payloadOffset)static intcreatePayloadVector(com.google.flatbuffers.FlatBufferBuilder builder, byte[] data)static intcreatePropertiesVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)EncryptionCtxencryptionCtx()EncryptionCtxencryptionCtx(EncryptionCtx obj)static intendMessage(com.google.flatbuffers.FlatBufferBuilder builder)static voidfinishMessageBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)static voidfinishSizePrefixedMessageBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)static MessagegetRootAsMessage(java.nio.ByteBuffer _bb)static MessagegetRootAsMessage(java.nio.ByteBuffer _bb, Message obj)bytepayload(int j)java.nio.ByteBufferpayloadAsByteBuffer()java.nio.ByteBufferpayloadInByteBuffer(java.nio.ByteBuffer _bb)intpayloadLength()KeyValueproperties(int j)KeyValueproperties(KeyValue obj, int j)intpropertiesLength()static voidstartMessage(com.google.flatbuffers.FlatBufferBuilder builder)static voidstartPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)static voidstartPropertiesVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
-
-
Method Detail
-
getRootAsMessage
public static Message getRootAsMessage(java.nio.ByteBuffer _bb)
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public Message __assign(int _i, java.nio.ByteBuffer _bb)
-
encryptionCtx
public EncryptionCtx encryptionCtx()
-
encryptionCtx
public EncryptionCtx encryptionCtx(EncryptionCtx obj)
-
properties
public KeyValue properties(int j)
-
propertiesLength
public int propertiesLength()
-
payload
public byte payload(int j)
-
payloadLength
public int payloadLength()
-
payloadAsByteBuffer
public java.nio.ByteBuffer payloadAsByteBuffer()
-
payloadInByteBuffer
public java.nio.ByteBuffer payloadInByteBuffer(java.nio.ByteBuffer _bb)
-
createMessage
public static int createMessage(com.google.flatbuffers.FlatBufferBuilder builder, int encryptionCtxOffset, int propertiesOffset, int payloadOffset)
-
startMessage
public static void startMessage(com.google.flatbuffers.FlatBufferBuilder builder)
-
addEncryptionCtx
public static void addEncryptionCtx(com.google.flatbuffers.FlatBufferBuilder builder, int encryptionCtxOffset)
-
addProperties
public static void addProperties(com.google.flatbuffers.FlatBufferBuilder builder, int propertiesOffset)
-
createPropertiesVector
public static int createPropertiesVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
-
startPropertiesVector
public static void startPropertiesVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
addPayload
public static void addPayload(com.google.flatbuffers.FlatBufferBuilder builder, int payloadOffset)
-
createPayloadVector
public static int createPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder, byte[] data)
-
startPayloadVector
public static void startPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
endMessage
public static int endMessage(com.google.flatbuffers.FlatBufferBuilder builder)
-
finishMessageBuffer
public static void finishMessageBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
-
finishSizePrefixedMessageBuffer
public static void finishSizePrefixedMessageBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
-
-