mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
25be92bf0d
- Generate an isSet method for each field to test its set-ness. - Generate a generic isSet method that checks by field id. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731722 13f79535-47bb-0310-9956-ffa450edef68
16 lines
314 B
Thrift
16 lines
314 B
Thrift
namespace java thrift.test
|
|
|
|
struct OneOfEachBeans {
|
|
1: bool boolean_field,
|
|
2: byte a_bite,
|
|
3: i16 integer16,
|
|
4: i32 integer32,
|
|
5: i64 integer64,
|
|
6: double double_precision,
|
|
7: string some_characters,
|
|
8: binary base64,
|
|
9: list<byte> byte_list,
|
|
10: list<i16> i16_list,
|
|
11: list<i64> i64_list
|
|
}
|