Class NullableStructMessageData.MyStruct2
java.lang.Object
org.apache.kafka.common.message.NullableStructMessageData.MyStruct2
- All Implemented Interfaces:
org.apache.kafka.common.protocol.Message
- Enclosing class:
NullableStructMessageData
public static class NullableStructMessageData.MyStruct2
extends Object
implements org.apache.kafka.common.protocol.Message
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final org.apache.kafka.common.protocol.types.Schemastatic final org.apache.kafka.common.protocol.types.Schemastatic final org.apache.kafka.common.protocol.types.Schemastatic final org.apache.kafka.common.protocol.types.Schema[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSize(org.apache.kafka.common.protocol.MessageSizeAccumulator _size, org.apache.kafka.common.protocol.ObjectSerializationCache _cache, short _version, org.apache.kafka.common.protocol.MessageContext _context) booleaninthashCode()shortshortintmyInt()myString()final voidread(org.apache.kafka.common.protocol.Readable _readable, short _version, org.apache.kafka.common.protocol.MessageContext _context) setMyInt(int v) toString()List<org.apache.kafka.common.protocol.types.RawTaggedField> voidwrite(org.apache.kafka.common.protocol.Writable _writable, org.apache.kafka.common.protocol.ObjectSerializationCache _cache, short _version, org.apache.kafka.common.protocol.MessageContext _context) Methods inherited from interface org.apache.kafka.common.protocol.Message
addSize, read, size, size, write
-
Field Details
-
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 -
SCHEMAS
public static final org.apache.kafka.common.protocol.types.Schema[] SCHEMAS -
LOWEST_SUPPORTED_VERSION
public static final short LOWEST_SUPPORTED_VERSION- See Also:
-
HIGHEST_SUPPORTED_VERSION
public static final short HIGHEST_SUPPORTED_VERSION- See Also:
-
-
Constructor Details
-
MyStruct2
public MyStruct2(org.apache.kafka.common.protocol.Readable _readable, short _version, org.apache.kafka.common.protocol.MessageContext _context) -
MyStruct2
public MyStruct2()
-
-
Method Details
-
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 final void read(org.apache.kafka.common.protocol.Readable _readable, short _version, org.apache.kafka.common.protocol.MessageContext _context) - 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, org.apache.kafka.common.protocol.MessageContext _context) - 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, org.apache.kafka.common.protocol.MessageContext _context) - Specified by:
addSizein interfaceorg.apache.kafka.common.protocol.Message
-
equals
-
hashCode
-
duplicate
- Specified by:
duplicatein interfaceorg.apache.kafka.common.protocol.Message
-
toString
-
myString
-
myInt
public int myInt() -
unknownTaggedFields
- Specified by:
unknownTaggedFieldsin interfaceorg.apache.kafka.common.protocol.Message
-
setMyString
-
setMyInt
-