public class GroupMetadataValue extends Object implements org.apache.kafka.common.protocol.ApiMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupMetadataValue.MemberMetadata |
| 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 |
SCHEMA_1 |
static org.apache.kafka.common.protocol.types.Schema |
SCHEMA_2 |
static org.apache.kafka.common.protocol.types.Schema |
SCHEMA_3 |
static org.apache.kafka.common.protocol.types.Schema[] |
SCHEMAS |
| Constructor and Description |
|---|
GroupMetadataValue() |
GroupMetadataValue(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) |
short |
apiKey() |
long |
currentStateTimestamp() |
GroupMetadataValue |
duplicate() |
boolean |
equals(Object obj) |
int |
generation() |
int |
hashCode() |
short |
highestSupportedVersion() |
String |
leader() |
short |
lowestSupportedVersion() |
List<GroupMetadataValue.MemberMetadata> |
members() |
String |
protocol() |
String |
protocolType() |
void |
read(org.apache.kafka.common.protocol.Readable _readable,
short _version) |
GroupMetadataValue |
setCurrentStateTimestamp(long v) |
GroupMetadataValue |
setGeneration(int v) |
GroupMetadataValue |
setLeader(String v) |
GroupMetadataValue |
setMembers(List<GroupMetadataValue.MemberMetadata> v) |
GroupMetadataValue |
setProtocol(String v) |
GroupMetadataValue |
setProtocolType(String v) |
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 SCHEMA_1
public static final org.apache.kafka.common.protocol.types.Schema SCHEMA_2
public static final org.apache.kafka.common.protocol.types.Schema SCHEMA_3
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 GroupMetadataValue(org.apache.kafka.common.protocol.Readable _readable,
short _version)
public GroupMetadataValue()
public short apiKey()
apiKey in interface org.apache.kafka.common.protocol.ApiMessagepublic 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 GroupMetadataValue duplicate()
duplicate in interface org.apache.kafka.common.protocol.Messagepublic String protocolType()
public int generation()
public String protocol()
public String leader()
public long currentStateTimestamp()
public List<GroupMetadataValue.MemberMetadata> members()
public List<org.apache.kafka.common.protocol.types.RawTaggedField> unknownTaggedFields()
unknownTaggedFields in interface org.apache.kafka.common.protocol.Messagepublic GroupMetadataValue setProtocolType(String v)
public GroupMetadataValue setGeneration(int v)
public GroupMetadataValue setProtocol(String v)
public GroupMetadataValue setLeader(String v)
public GroupMetadataValue setCurrentStateTimestamp(long v)
public GroupMetadataValue setMembers(List<GroupMetadataValue.MemberMetadata> v)