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 8syntax = "proto2"; 9 10package google.protobuf.python.internal; 11 12message TestEnumValues { 13 enum NestedEnum { 14 ZERO = 0; 15 ONE = 1; 16 } 17 optional NestedEnum optional_nested_enum = 1; 18 repeated NestedEnum repeated_nested_enum = 2; 19 repeated NestedEnum packed_nested_enum = 3 [packed = true]; 20} 21 22message TestMissingEnumValues { 23 enum NestedEnum { 24 TWO = 2; 25 } 26 optional NestedEnum optional_nested_enum = 1; 27 repeated NestedEnum repeated_nested_enum = 2; 28 repeated NestedEnum packed_nested_enum = 3 [packed = true]; 29} 30 31message JustString { 32 optional string dummy = 1; 33} 34