1// Protocol Buffers - Google's data interchange format 2// Copyright 2008 Google Inc. All rights reserved. 3// 4// Use of this source code is governed by a BSD-style 5// license that can be found in the LICENSE file or at 6// https://developers.google.com/open-source/licenses/bsd 7 8// Author: trafacz@google.com (Todd Rafacz) 9// Based on original Protocol Buffers design by 10// Sanjay Ghemawat, Jeff Dean, and others. 11// 12// A proto file we will use for unit testing. 13 14edition = "2023"; 15 16// Treat all enums as closed by default (proto2 behavior). 17option features.enum_type = CLOSED; 18 19// Some generic_services option(s) added automatically. 20// See: http://go/proto2-generic-services-default 21option cc_generic_services = true; // auto-added 22option java_generic_services = true; // auto-added 23option py_generic_services = true; // auto-added 24option cc_enable_arenas = true; 25 26// We don't put this in a package within proto2 because we need to make sure 27// that the generated code doesn't depend on being in the proto2 namespace. 28// In test_util.h we do "using namespace unittest = protobuf_unittest". 29package protobuf_unittest.lazy_imports; 30 31// Protos optimized for SPEED use a strict superset of the generated code 32// of equivalent ones optimized for CODE_SIZE, so we should optimize all our 33// tests for speed unless explicitly testing code size optimization. 34option optimize_for = SPEED; 35 36option java_outer_classname = "UnittestLazyImportsEnumProto"; 37 38enum LazyEnum { 39 LAZY_ENUM_0 = 0; 40 LAZY_ENUM_1 = 1; 41} 42