public final class PartitionRestoreContext
extends com.google.flatbuffers.Table
Modifier and Type | Class and Description |
---|---|
static class |
PartitionRestoreContext.Vector |
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 restore_start_time,
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() |
com.google.flatbuffers.IntVector |
replicasVector() |
com.google.flatbuffers.IntVector |
replicasVector(com.google.flatbuffers.IntVector obj) |
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) |
static void |
ValidateVersion() |
__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 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 com.google.flatbuffers.IntVector replicasVector()
public com.google.flatbuffers.IntVector replicasVector(com.google.flatbuffers.IntVector obj)
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 restore_start_time, 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)