forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest_sample.proto
30 lines (26 loc) · 943 Bytes
/
test_sample.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto2";
package dom_distiller.test_sample.proto;
option optimize_for = LITE_RUNTIME;
option java_package = "org.chromium.distiller.test_sample.proto";
option java_outer_classname = "DomDistillerTestProtos";
message TypeTest {
optional float float_value = 1;
optional double double_value = 2;
optional int32 int32_value = 3;
optional bool bool_value = 4;
optional string string_value = 5;
message Message { optional bool dummy = 1; }
optional Message message_value = 6;
}
message Repeated {
repeated float float_value = 1;
repeated double double_value = 2;
repeated int32 int32_value = 3;
repeated bool bool_value = 4;
repeated string string_value = 5;
message Message { repeated bool dummy = 1; }
repeated Message message_value = 6;
}