test_sample.proto 943 B

123456789101112131415161718192021222324252627282930
  1. // Copyright 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. syntax = "proto2";
  5. package dom_distiller.test_sample.proto;
  6. option optimize_for = LITE_RUNTIME;
  7. option java_package = "org.chromium.distiller.test_sample.proto";
  8. option java_outer_classname = "DomDistillerTestProtos";
  9. message TypeTest {
  10. optional float float_value = 1;
  11. optional double double_value = 2;
  12. optional int32 int32_value = 3;
  13. optional bool bool_value = 4;
  14. optional string string_value = 5;
  15. message Message { optional bool dummy = 1; }
  16. optional Message message_value = 6;
  17. }
  18. message Repeated {
  19. repeated float float_value = 1;
  20. repeated double double_value = 2;
  21. repeated int32 int32_value = 3;
  22. repeated bool bool_value = 4;
  23. repeated string string_value = 5;
  24. message Message { repeated bool dummy = 1; }
  25. repeated Message message_value = 6;
  26. }