mpagenko | af80163 | 2020-07-03 10:00:42 +0000 | [diff] [blame] | 1 | // Copyright 2019 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 | |
| 5 | // Code generated by generate-protos. DO NOT EDIT. |
| 6 | |
| 7 | package fieldnum |
| 8 | |
| 9 | // Field numbers for google.protobuf.Type. |
| 10 | const ( |
| 11 | Type_Name = 1 // optional string |
| 12 | Type_Fields = 2 // repeated google.protobuf.Field |
| 13 | Type_Oneofs = 3 // repeated string |
| 14 | Type_Options = 4 // repeated google.protobuf.Option |
| 15 | Type_SourceContext = 5 // optional google.protobuf.SourceContext |
| 16 | Type_Syntax = 6 // optional google.protobuf.Syntax |
| 17 | ) |
| 18 | |
| 19 | // Field numbers for google.protobuf.Field. |
| 20 | const ( |
| 21 | Field_Kind = 1 // optional google.protobuf.Field.Kind |
| 22 | Field_Cardinality = 2 // optional google.protobuf.Field.Cardinality |
| 23 | Field_Number = 3 // optional int32 |
| 24 | Field_Name = 4 // optional string |
| 25 | Field_TypeUrl = 6 // optional string |
| 26 | Field_OneofIndex = 7 // optional int32 |
| 27 | Field_Packed = 8 // optional bool |
| 28 | Field_Options = 9 // repeated google.protobuf.Option |
| 29 | Field_JsonName = 10 // optional string |
| 30 | Field_DefaultValue = 11 // optional string |
| 31 | ) |
| 32 | |
| 33 | // Field numbers for google.protobuf.Enum. |
| 34 | const ( |
| 35 | Enum_Name = 1 // optional string |
| 36 | Enum_Enumvalue = 2 // repeated google.protobuf.EnumValue |
| 37 | Enum_Options = 3 // repeated google.protobuf.Option |
| 38 | Enum_SourceContext = 4 // optional google.protobuf.SourceContext |
| 39 | Enum_Syntax = 5 // optional google.protobuf.Syntax |
| 40 | ) |
| 41 | |
| 42 | // Field numbers for google.protobuf.EnumValue. |
| 43 | const ( |
| 44 | EnumValue_Name = 1 // optional string |
| 45 | EnumValue_Number = 2 // optional int32 |
| 46 | EnumValue_Options = 3 // repeated google.protobuf.Option |
| 47 | ) |
| 48 | |
| 49 | // Field numbers for google.protobuf.Option. |
| 50 | const ( |
| 51 | Option_Name = 1 // optional string |
| 52 | Option_Value = 2 // optional google.protobuf.Any |
| 53 | ) |