public final class Message
extends com.google.flatbuffers.Table
Modifier and Type | Class and Description |
---|---|
static class |
Message.Vector |
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
Message |
__assign(int _i,
ByteBuffer _bb) |
void |
__init(int _i,
ByteBuffer _bb) |
static void |
addBodyLength(com.google.flatbuffers.FlatBufferBuilder builder,
long bodyLength) |
static void |
addCustomMetadata(com.google.flatbuffers.FlatBufferBuilder builder,
int customMetadataOffset) |
static void |
addHeader(com.google.flatbuffers.FlatBufferBuilder builder,
int headerOffset) |
static void |
addHeaderType(com.google.flatbuffers.FlatBufferBuilder builder,
byte headerType) |
static void |
addVersion(com.google.flatbuffers.FlatBufferBuilder builder,
short version) |
long |
bodyLength() |
static int |
createCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder,
int[] data) |
static int |
createMessage(com.google.flatbuffers.FlatBufferBuilder builder,
short version,
byte header_type,
int headerOffset,
long bodyLength,
int custom_metadataOffset) |
KeyValue |
customMetadata(int j) |
KeyValue |
customMetadata(KeyValue obj,
int j) |
int |
customMetadataLength() |
KeyValue.Vector |
customMetadataVector() |
KeyValue.Vector |
customMetadataVector(KeyValue.Vector obj) |
static int |
endMessage(com.google.flatbuffers.FlatBufferBuilder builder) |
static void |
finishMessageBuffer(com.google.flatbuffers.FlatBufferBuilder builder,
int offset) |
static void |
finishSizePrefixedMessageBuffer(com.google.flatbuffers.FlatBufferBuilder builder,
int offset) |
static Message |
getRootAsMessage(ByteBuffer _bb) |
static Message |
getRootAsMessage(ByteBuffer _bb,
Message obj) |
com.google.flatbuffers.Table |
header(com.google.flatbuffers.Table obj) |
byte |
headerType() |
static void |
startCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
startMessage(com.google.flatbuffers.FlatBufferBuilder builder) |
static void |
ValidateVersion() |
short |
version() |
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, __vector, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
public static void ValidateVersion()
public static Message getRootAsMessage(ByteBuffer _bb)
public static Message getRootAsMessage(ByteBuffer _bb, Message obj)
public void __init(int _i, ByteBuffer _bb)
public Message __assign(int _i, ByteBuffer _bb)
public short version()
public byte headerType()
public com.google.flatbuffers.Table header(com.google.flatbuffers.Table obj)
public long bodyLength()
public KeyValue customMetadata(int j)
public int customMetadataLength()
public KeyValue.Vector customMetadataVector()
public KeyValue.Vector customMetadataVector(KeyValue.Vector obj)
public static int createMessage(com.google.flatbuffers.FlatBufferBuilder builder, short version, byte header_type, int headerOffset, long bodyLength, int custom_metadataOffset)
public static void startMessage(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addVersion(com.google.flatbuffers.FlatBufferBuilder builder, short version)
public static void addHeaderType(com.google.flatbuffers.FlatBufferBuilder builder, byte headerType)
public static void addHeader(com.google.flatbuffers.FlatBufferBuilder builder, int headerOffset)
public static void addBodyLength(com.google.flatbuffers.FlatBufferBuilder builder, long bodyLength)
public static void addCustomMetadata(com.google.flatbuffers.FlatBufferBuilder builder, int customMetadataOffset)
public static int createCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
public static void startCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
public static int endMessage(com.google.flatbuffers.FlatBufferBuilder builder)
public static void finishMessageBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
public static void finishSizePrefixedMessageBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
Copyright © 2023 The Apache Software Foundation. All rights reserved.