THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
{ "apiKey": 9000, "type": "response", "name": "FooResponse", "validVersions": "0-9", "flexibleVersions": "9+", "optionalFieldsfields": [ { { "name": "UserAgent", "type": "string", "tag": 0, "taggedVersions": "9+", "about": "The user-agent that sent this request." }, ], "fields": [ { "name": "Foos", "type": "[]Foo", "versions": "0+", "about": "Each foo.", "optionalFieldsfields": [ { "name": "Bar", "type": "string", "tag": 0, "taggedVersions": "9+", "default": "hello world", "about": "The bar associated with this foo, if any." }, ], "fields": [ { "name": "Baz", "type": "int16", "versions": "0+", "about": "The baz associated with this foo." }, ... ] } |
Type Classes
...
Type Class Name | Field Class Name | Description |
---|---|---|
CompactArrayOf | CompactArray | Represents an array whose length is expressed as a variable-length integer rather than a fixed 4-byte length. |
COMPACT_STRING | CompactString | Represents a string whose length is expressed as a variable-length integer rather than a fixed 2-byte length. |
COMPACT_NULLABLE_STRING | CompactNullableString | Represents a nullable string whose length is expressed as a variable-length integer rather than a fixed 2-byte length. |
COMPACT_BYTES | CompactBytes | Represents a byte buffer whose length is expressed as a variable-length integer rather than a fixed 4-byte length. |
COMPACT_NULLABLE_BYTES | CompactNullableBytes | Represents a nullable byte buffer whose length is expressed as a variable-length integer rather than a fixed 4-byte length. |
TaggedFieldsTaggedFields | TaggedFieldsSection | Represents a section containing optional tagged fields. |
...