public final class PartitionRestoreContext
extends com.google.flatbuffers.Table
Constructor and Description |
---|
PartitionRestoreContext() |
Modifier and Type | Method and Description |
---|---|
PartitionRestoreContext |
__assign(int _i,
ByteBuffer _bb) |
void |
__init(int _i,
ByteBuffer _bb) |
static void |
addLeader(com.google.flatbuffers.FlatBufferBuilder builder,
int leader) |
static void |
addPartition(com.google.flatbuffers.FlatBufferBuilder builder,
int partition) |
static void |
addReplicas(com.google.flatbuffers.FlatBufferBuilder builder,
int replicasOffset) |
static void |
addRestoreStartTime(com.google.flatbuffers.FlatBufferBuilder builder,
long restoreStartTime) |
static void |
addState(com.google.flatbuffers.FlatBufferBuilder builder,
int state) |
static void |
addStatus(com.google.flatbuffers.FlatBufferBuilder builder,
int status) |
static void |
addTopic(com.google.flatbuffers.FlatBufferBuilder builder,
int topicOffset) |
static int |
createPartitionRestoreContext(com.google.flatbuffers.FlatBufferBuilder builder,
int topicOffset,
int partition,
int leader,
int replicasOffset,
long restoreStartTime,
int status,
int state) |
static int |
createReplicasVector(com.google.flatbuffers.FlatBufferBuilder builder,
int[] data) |
static int |
endPartitionRestoreContext(com.google.flatbuffers.FlatBufferBuilder builder) |
static PartitionRestoreContext |
getRootAsPartitionRestoreContext(ByteBuffer _bb) |
static PartitionRestoreContext |
getRootAsPartitionRestoreContext(ByteBuffer _bb,
PartitionRestoreContext obj) |
int |
leader() |
int |
partition() |
int |
replicas(int j) |
ByteBuffer |
replicasAsByteBuffer() |
ByteBuffer |
replicasInByteBuffer(ByteBuffer _bb) |
int |
replicasLength() |
long |
restoreStartTime() |
static void |
startPartitionRestoreContext(com.google.flatbuffers.FlatBufferBuilder builder) |
static void |
startReplicasVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
int |
state() |
int |
status() |
String |
topic() |
ByteBuffer |
topicAsByteBuffer() |
ByteBuffer |
topicInByteBuffer(ByteBuffer _bb) |
public static PartitionRestoreContext getRootAsPartitionRestoreContext(ByteBuffer _bb)
public static PartitionRestoreContext getRootAsPartitionRestoreContext(ByteBuffer _bb, PartitionRestoreContext obj)
public void __init(int _i, ByteBuffer _bb)
public PartitionRestoreContext __assign(int _i, ByteBuffer _bb)
public String topic()
public ByteBuffer topicAsByteBuffer()
public ByteBuffer topicInByteBuffer(ByteBuffer _bb)
public int partition()
public int leader()
public int replicas(int j)
public int replicasLength()
public ByteBuffer replicasAsByteBuffer()
public ByteBuffer replicasInByteBuffer(ByteBuffer _bb)
public long restoreStartTime()
public int status()
public int state()
public static int createPartitionRestoreContext(com.google.flatbuffers.FlatBufferBuilder builder, int topicOffset, int partition, int leader, int replicasOffset, long restoreStartTime, int status, int state)
public static void startPartitionRestoreContext(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addTopic(com.google.flatbuffers.FlatBufferBuilder builder, int topicOffset)
public static void addPartition(com.google.flatbuffers.FlatBufferBuilder builder, int partition)
public static void addLeader(com.google.flatbuffers.FlatBufferBuilder builder, int leader)
public static void addReplicas(com.google.flatbuffers.FlatBufferBuilder builder, int replicasOffset)
public static int createReplicasVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
public static void startReplicasVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
public static void addRestoreStartTime(com.google.flatbuffers.FlatBufferBuilder builder, long restoreStartTime)
public static void addStatus(com.google.flatbuffers.FlatBufferBuilder builder, int status)
public static void addState(com.google.flatbuffers.FlatBufferBuilder builder, int state)
public static int endPartitionRestoreContext(com.google.flatbuffers.FlatBufferBuilder builder)