public static class TransactionLogValue.PartitionsSchema extends Object implements org.apache.kafka.common.protocol.Message
| Modifier and Type | Field and Description |
|---|---|
static short |
HIGHEST_SUPPORTED_VERSION |
static short |
LOWEST_SUPPORTED_VERSION |
static org.apache.kafka.common.protocol.types.Schema |
SCHEMA_0 |
static org.apache.kafka.common.protocol.types.Schema[] |
SCHEMAS |
| Constructor and Description |
|---|
PartitionsSchema() |
PartitionsSchema(org.apache.kafka.common.protocol.Readable _readable,
short _version) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSize(org.apache.kafka.common.protocol.MessageSizeAccumulator _size,
org.apache.kafka.common.protocol.ObjectSerializationCache _cache,
short _version) |
TransactionLogValue.PartitionsSchema |
duplicate() |
boolean |
equals(Object obj) |
int |
hashCode() |
short |
highestSupportedVersion() |
short |
lowestSupportedVersion() |
List<Integer> |
partitionIds() |
void |
read(org.apache.kafka.common.protocol.Readable _readable,
short _version) |
TransactionLogValue.PartitionsSchema |
setPartitionIds(List<Integer> v) |
TransactionLogValue.PartitionsSchema |
setTopic(String v) |
String |
topic() |
String |
toString() |
List<org.apache.kafka.common.protocol.types.RawTaggedField> |
unknownTaggedFields() |
void |
write(org.apache.kafka.common.protocol.Writable _writable,
org.apache.kafka.common.protocol.ObjectSerializationCache _cache,
short _version) |
public static final org.apache.kafka.common.protocol.types.Schema SCHEMA_0
public static final org.apache.kafka.common.protocol.types.Schema[] SCHEMAS
public static final short LOWEST_SUPPORTED_VERSION
public static final short HIGHEST_SUPPORTED_VERSION
public PartitionsSchema(org.apache.kafka.common.protocol.Readable _readable,
short _version)
public PartitionsSchema()
public short lowestSupportedVersion()
lowestSupportedVersion in interface org.apache.kafka.common.protocol.Messagepublic short highestSupportedVersion()
highestSupportedVersion in interface org.apache.kafka.common.protocol.Messagepublic void read(org.apache.kafka.common.protocol.Readable _readable,
short _version)
read in interface org.apache.kafka.common.protocol.Messagepublic void write(org.apache.kafka.common.protocol.Writable _writable,
org.apache.kafka.common.protocol.ObjectSerializationCache _cache,
short _version)
write in interface org.apache.kafka.common.protocol.Messagepublic void addSize(org.apache.kafka.common.protocol.MessageSizeAccumulator _size,
org.apache.kafka.common.protocol.ObjectSerializationCache _cache,
short _version)
addSize in interface org.apache.kafka.common.protocol.Messagepublic TransactionLogValue.PartitionsSchema duplicate()
duplicate in interface org.apache.kafka.common.protocol.Messagepublic String topic()
public List<org.apache.kafka.common.protocol.types.RawTaggedField> unknownTaggedFields()
unknownTaggedFields in interface org.apache.kafka.common.protocol.Messagepublic TransactionLogValue.PartitionsSchema setTopic(String v)
public TransactionLogValue.PartitionsSchema setPartitionIds(List<Integer> v)