Package kafka.internals.generated
Class GroupMetadataValue
- java.lang.Object
-
- kafka.internals.generated.GroupMetadataValue
-
- All Implemented Interfaces:
org.apache.kafka.common.protocol.ApiMessage,org.apache.kafka.common.protocol.Message
public class GroupMetadataValue extends Object implements org.apache.kafka.common.protocol.ApiMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupMetadataValue.MemberMetadata
-
Field Summary
Fields Modifier and Type Field Description static shortHIGHEST_SUPPORTED_VERSIONstatic shortLOWEST_SUPPORTED_VERSIONstatic org.apache.kafka.common.protocol.types.SchemaSCHEMA_0static org.apache.kafka.common.protocol.types.SchemaSCHEMA_1static org.apache.kafka.common.protocol.types.SchemaSCHEMA_2static org.apache.kafka.common.protocol.types.SchemaSCHEMA_3static org.apache.kafka.common.protocol.types.Schema[]SCHEMAS
-
Constructor Summary
Constructors Constructor Description GroupMetadataValue()GroupMetadataValue(org.apache.kafka.common.protocol.Readable _readable, short _version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSize(org.apache.kafka.common.protocol.MessageSizeAccumulator _size, org.apache.kafka.common.protocol.ObjectSerializationCache _cache, short _version)shortapiKey()longcurrentStateTimestamp()GroupMetadataValueduplicate()booleanequals(Object obj)intgeneration()inthashCode()shorthighestSupportedVersion()Stringleader()shortlowestSupportedVersion()List<GroupMetadataValue.MemberMetadata>members()Stringprotocol()StringprotocolType()voidread(org.apache.kafka.common.protocol.Readable _readable, short _version)GroupMetadataValuesetCurrentStateTimestamp(long v)GroupMetadataValuesetGeneration(int v)GroupMetadataValuesetLeader(String v)GroupMetadataValuesetMembers(List<GroupMetadataValue.MemberMetadata> v)GroupMetadataValuesetProtocol(String v)GroupMetadataValuesetProtocolType(String v)StringtoString()List<org.apache.kafka.common.protocol.types.RawTaggedField>unknownTaggedFields()voidwrite(org.apache.kafka.common.protocol.Writable _writable, org.apache.kafka.common.protocol.ObjectSerializationCache _cache, short _version)
-
-
-
Field Detail
-
SCHEMA_0
public static final org.apache.kafka.common.protocol.types.Schema SCHEMA_0
-
SCHEMA_1
public static final org.apache.kafka.common.protocol.types.Schema SCHEMA_1
-
SCHEMA_2
public static final org.apache.kafka.common.protocol.types.Schema SCHEMA_2
-
SCHEMA_3
public static final org.apache.kafka.common.protocol.types.Schema SCHEMA_3
-
SCHEMAS
public static final org.apache.kafka.common.protocol.types.Schema[] SCHEMAS
-
LOWEST_SUPPORTED_VERSION
public static final short LOWEST_SUPPORTED_VERSION
- See Also:
- Constant Field Values
-
HIGHEST_SUPPORTED_VERSION
public static final short HIGHEST_SUPPORTED_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiKey
public short apiKey()
- Specified by:
apiKeyin interfaceorg.apache.kafka.common.protocol.ApiMessage
-
lowestSupportedVersion
public short lowestSupportedVersion()
- Specified by:
lowestSupportedVersionin interfaceorg.apache.kafka.common.protocol.Message
-
highestSupportedVersion
public short highestSupportedVersion()
- Specified by:
highestSupportedVersionin interfaceorg.apache.kafka.common.protocol.Message
-
read
public void read(org.apache.kafka.common.protocol.Readable _readable, short _version)- Specified by:
readin interfaceorg.apache.kafka.common.protocol.Message
-
write
public void write(org.apache.kafka.common.protocol.Writable _writable, org.apache.kafka.common.protocol.ObjectSerializationCache _cache, short _version)- Specified by:
writein interfaceorg.apache.kafka.common.protocol.Message
-
addSize
public void addSize(org.apache.kafka.common.protocol.MessageSizeAccumulator _size, org.apache.kafka.common.protocol.ObjectSerializationCache _cache, short _version)- Specified by:
addSizein interfaceorg.apache.kafka.common.protocol.Message
-
duplicate
public GroupMetadataValue duplicate()
- Specified by:
duplicatein interfaceorg.apache.kafka.common.protocol.Message
-
protocolType
public String protocolType()
-
generation
public int generation()
-
protocol
public String protocol()
-
leader
public String leader()
-
currentStateTimestamp
public long currentStateTimestamp()
-
members
public List<GroupMetadataValue.MemberMetadata> members()
-
unknownTaggedFields
public List<org.apache.kafka.common.protocol.types.RawTaggedField> unknownTaggedFields()
- Specified by:
unknownTaggedFieldsin interfaceorg.apache.kafka.common.protocol.Message
-
setProtocolType
public GroupMetadataValue setProtocolType(String v)
-
setGeneration
public GroupMetadataValue setGeneration(int v)
-
setProtocol
public GroupMetadataValue setProtocol(String v)
-
setLeader
public GroupMetadataValue setLeader(String v)
-
setCurrentStateTimestamp
public GroupMetadataValue setCurrentStateTimestamp(long v)
-
setMembers
public GroupMetadataValue setMembers(List<GroupMetadataValue.MemberMetadata> v)
-
-