1// 2// Copyright (C) 2018 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17namespace libtextclassifier3.test; 18 19table TestData { 20 byte_field: byte; 21 ubyte_field: ubyte; 22 int_field: int; 23 uint_field: uint; 24 long_field: int64; 25 ulong_field: uint64; 26 bool_field: bool; 27 float_field: float; 28 double_field: double; 29 string_field: string; 30 nested_field: TestData; 31 32 repeated_byte_field: [byte]; 33 repeated_ubyte_field: [ubyte]; 34 repeated_int_field: [int]; 35 repeated_uint_field: [uint]; 36 repeated_long_field: [int64]; 37 repeated_ulong_field: [uint64]; 38 repeated_bool_field: [bool]; 39 repeated_float_field: [float]; 40 repeated_double_field: [double]; 41 repeated_string_field: [string]; 42 repeated_nested_field: [TestData]; 43} 44 45root_type libtextclassifier3.test.TestData; 46