...
1// Copyright 2018 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5syntax = "proto3";
6
7package goproto.proto.test3;
8
9import "google/protobuf/descriptor.proto";
10import "internal/testprotos/test3/test.proto";
11
12option go_package = "google.golang.org/protobuf/internal/testprotos/test3";
13
14extend google.protobuf.MessageOptions {
15 int32 optional_int32 = 1001;
16 int64 optional_int64 = 1002;
17 uint32 optional_uint32 = 1003;
18 uint64 optional_uint64 = 1004;
19 sint32 optional_sint32 = 1005;
20 sint64 optional_sint64 = 1006;
21 fixed32 optional_fixed32 = 1007;
22 fixed64 optional_fixed64 = 1008;
23 sfixed32 optional_sfixed32 = 1009;
24 sfixed64 optional_sfixed64 = 1010;
25 float optional_float = 1011;
26 double optional_double = 1012;
27 bool optional_bool = 1013;
28 string optional_string = 1014;
29 bytes optional_bytes = 1015;
30 ForeignMessage optional_foreign_message = 1016;
31 ForeignEnum optional_foreign_enum = 1017;
32
33 optional int32 optional_optional_int32 = 2001;
34 optional int64 optional_optional_int64 = 2002;
35 optional uint32 optional_optional_uint32 = 2003;
36 optional uint64 optional_optional_uint64 = 2004;
37 optional sint32 optional_optional_sint32 = 2005;
38 optional sint64 optional_optional_sint64 = 2006;
39 optional fixed32 optional_optional_fixed32 = 2007;
40 optional fixed64 optional_optional_fixed64 = 2008;
41 optional sfixed32 optional_optional_sfixed32 = 2009;
42 optional sfixed64 optional_optional_sfixed64 = 2010;
43 optional float optional_optional_float = 2011;
44 optional double optional_optional_double = 2012;
45 optional bool optional_optional_bool = 2013;
46 optional string optional_optional_string = 2014;
47 optional bytes optional_optional_bytes = 2015;
48 optional ForeignMessage optional_optional_foreign_message = 2016;
49 optional ForeignEnum optional_optional_foreign_enum = 2017;
50}
View as plain text