blob: 6e37b59e92276391c0036b4d0acf45adf50eb125 [file] [log] [blame]
Andrea Campanella3614a922021-02-25 12:40:42 +01001// 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
7package fieldnum
8
9// Field numbers for google.protobuf.FileDescriptorSet.
10const (
11 FileDescriptorSet_File = 1 // repeated google.protobuf.FileDescriptorProto
12)
13
14// Field numbers for google.protobuf.FileDescriptorProto.
15const (
16 FileDescriptorProto_Name = 1 // optional string
17 FileDescriptorProto_Package = 2 // optional string
18 FileDescriptorProto_Dependency = 3 // repeated string
19 FileDescriptorProto_PublicDependency = 10 // repeated int32
20 FileDescriptorProto_WeakDependency = 11 // repeated int32
21 FileDescriptorProto_MessageType = 4 // repeated google.protobuf.DescriptorProto
22 FileDescriptorProto_EnumType = 5 // repeated google.protobuf.EnumDescriptorProto
23 FileDescriptorProto_Service = 6 // repeated google.protobuf.ServiceDescriptorProto
24 FileDescriptorProto_Extension = 7 // repeated google.protobuf.FieldDescriptorProto
25 FileDescriptorProto_Options = 8 // optional google.protobuf.FileOptions
26 FileDescriptorProto_SourceCodeInfo = 9 // optional google.protobuf.SourceCodeInfo
27 FileDescriptorProto_Syntax = 12 // optional string
28)
29
30// Field numbers for google.protobuf.DescriptorProto.
31const (
32 DescriptorProto_Name = 1 // optional string
33 DescriptorProto_Field = 2 // repeated google.protobuf.FieldDescriptorProto
34 DescriptorProto_Extension = 6 // repeated google.protobuf.FieldDescriptorProto
35 DescriptorProto_NestedType = 3 // repeated google.protobuf.DescriptorProto
36 DescriptorProto_EnumType = 4 // repeated google.protobuf.EnumDescriptorProto
37 DescriptorProto_ExtensionRange = 5 // repeated google.protobuf.DescriptorProto.ExtensionRange
38 DescriptorProto_OneofDecl = 8 // repeated google.protobuf.OneofDescriptorProto
39 DescriptorProto_Options = 7 // optional google.protobuf.MessageOptions
40 DescriptorProto_ReservedRange = 9 // repeated google.protobuf.DescriptorProto.ReservedRange
41 DescriptorProto_ReservedName = 10 // repeated string
42)
43
44// Field numbers for google.protobuf.DescriptorProto.ExtensionRange.
45const (
46 DescriptorProto_ExtensionRange_Start = 1 // optional int32
47 DescriptorProto_ExtensionRange_End = 2 // optional int32
48 DescriptorProto_ExtensionRange_Options = 3 // optional google.protobuf.ExtensionRangeOptions
49)
50
51// Field numbers for google.protobuf.DescriptorProto.ReservedRange.
52const (
53 DescriptorProto_ReservedRange_Start = 1 // optional int32
54 DescriptorProto_ReservedRange_End = 2 // optional int32
55)
56
57// Field numbers for google.protobuf.ExtensionRangeOptions.
58const (
59 ExtensionRangeOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
60)
61
62// Field numbers for google.protobuf.FieldDescriptorProto.
63const (
64 FieldDescriptorProto_Name = 1 // optional string
65 FieldDescriptorProto_Number = 3 // optional int32
66 FieldDescriptorProto_Label = 4 // optional google.protobuf.FieldDescriptorProto.Label
67 FieldDescriptorProto_Type = 5 // optional google.protobuf.FieldDescriptorProto.Type
68 FieldDescriptorProto_TypeName = 6 // optional string
69 FieldDescriptorProto_Extendee = 2 // optional string
70 FieldDescriptorProto_DefaultValue = 7 // optional string
71 FieldDescriptorProto_OneofIndex = 9 // optional int32
72 FieldDescriptorProto_JsonName = 10 // optional string
73 FieldDescriptorProto_Options = 8 // optional google.protobuf.FieldOptions
74 FieldDescriptorProto_Proto3Optional = 17 // optional bool
75)
76
77// Field numbers for google.protobuf.OneofDescriptorProto.
78const (
79 OneofDescriptorProto_Name = 1 // optional string
80 OneofDescriptorProto_Options = 2 // optional google.protobuf.OneofOptions
81)
82
83// Field numbers for google.protobuf.EnumDescriptorProto.
84const (
85 EnumDescriptorProto_Name = 1 // optional string
86 EnumDescriptorProto_Value = 2 // repeated google.protobuf.EnumValueDescriptorProto
87 EnumDescriptorProto_Options = 3 // optional google.protobuf.EnumOptions
88 EnumDescriptorProto_ReservedRange = 4 // repeated google.protobuf.EnumDescriptorProto.EnumReservedRange
89 EnumDescriptorProto_ReservedName = 5 // repeated string
90)
91
92// Field numbers for google.protobuf.EnumDescriptorProto.EnumReservedRange.
93const (
94 EnumDescriptorProto_EnumReservedRange_Start = 1 // optional int32
95 EnumDescriptorProto_EnumReservedRange_End = 2 // optional int32
96)
97
98// Field numbers for google.protobuf.EnumValueDescriptorProto.
99const (
100 EnumValueDescriptorProto_Name = 1 // optional string
101 EnumValueDescriptorProto_Number = 2 // optional int32
102 EnumValueDescriptorProto_Options = 3 // optional google.protobuf.EnumValueOptions
103)
104
105// Field numbers for google.protobuf.ServiceDescriptorProto.
106const (
107 ServiceDescriptorProto_Name = 1 // optional string
108 ServiceDescriptorProto_Method = 2 // repeated google.protobuf.MethodDescriptorProto
109 ServiceDescriptorProto_Options = 3 // optional google.protobuf.ServiceOptions
110)
111
112// Field numbers for google.protobuf.MethodDescriptorProto.
113const (
114 MethodDescriptorProto_Name = 1 // optional string
115 MethodDescriptorProto_InputType = 2 // optional string
116 MethodDescriptorProto_OutputType = 3 // optional string
117 MethodDescriptorProto_Options = 4 // optional google.protobuf.MethodOptions
118 MethodDescriptorProto_ClientStreaming = 5 // optional bool
119 MethodDescriptorProto_ServerStreaming = 6 // optional bool
120)
121
122// Field numbers for google.protobuf.FileOptions.
123const (
124 FileOptions_JavaPackage = 1 // optional string
125 FileOptions_JavaOuterClassname = 8 // optional string
126 FileOptions_JavaMultipleFiles = 10 // optional bool
127 FileOptions_JavaGenerateEqualsAndHash = 20 // optional bool
128 FileOptions_JavaStringCheckUtf8 = 27 // optional bool
129 FileOptions_OptimizeFor = 9 // optional google.protobuf.FileOptions.OptimizeMode
130 FileOptions_GoPackage = 11 // optional string
131 FileOptions_CcGenericServices = 16 // optional bool
132 FileOptions_JavaGenericServices = 17 // optional bool
133 FileOptions_PyGenericServices = 18 // optional bool
134 FileOptions_PhpGenericServices = 42 // optional bool
135 FileOptions_Deprecated = 23 // optional bool
136 FileOptions_CcEnableArenas = 31 // optional bool
137 FileOptions_ObjcClassPrefix = 36 // optional string
138 FileOptions_CsharpNamespace = 37 // optional string
139 FileOptions_SwiftPrefix = 39 // optional string
140 FileOptions_PhpClassPrefix = 40 // optional string
141 FileOptions_PhpNamespace = 41 // optional string
142 FileOptions_PhpMetadataNamespace = 44 // optional string
143 FileOptions_RubyPackage = 45 // optional string
144 FileOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
145)
146
147// Field numbers for google.protobuf.MessageOptions.
148const (
149 MessageOptions_MessageSetWireFormat = 1 // optional bool
150 MessageOptions_NoStandardDescriptorAccessor = 2 // optional bool
151 MessageOptions_Deprecated = 3 // optional bool
152 MessageOptions_MapEntry = 7 // optional bool
153 MessageOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
154)
155
156// Field numbers for google.protobuf.FieldOptions.
157const (
158 FieldOptions_Ctype = 1 // optional google.protobuf.FieldOptions.CType
159 FieldOptions_Packed = 2 // optional bool
160 FieldOptions_Jstype = 6 // optional google.protobuf.FieldOptions.JSType
161 FieldOptions_Lazy = 5 // optional bool
162 FieldOptions_Deprecated = 3 // optional bool
163 FieldOptions_Weak = 10 // optional bool
164 FieldOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
165)
166
167// Field numbers for google.protobuf.OneofOptions.
168const (
169 OneofOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
170)
171
172// Field numbers for google.protobuf.EnumOptions.
173const (
174 EnumOptions_AllowAlias = 2 // optional bool
175 EnumOptions_Deprecated = 3 // optional bool
176 EnumOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
177)
178
179// Field numbers for google.protobuf.EnumValueOptions.
180const (
181 EnumValueOptions_Deprecated = 1 // optional bool
182 EnumValueOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
183)
184
185// Field numbers for google.protobuf.ServiceOptions.
186const (
187 ServiceOptions_Deprecated = 33 // optional bool
188 ServiceOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
189)
190
191// Field numbers for google.protobuf.MethodOptions.
192const (
193 MethodOptions_Deprecated = 33 // optional bool
194 MethodOptions_IdempotencyLevel = 34 // optional google.protobuf.MethodOptions.IdempotencyLevel
195 MethodOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
196)
197
198// Field numbers for google.protobuf.UninterpretedOption.
199const (
200 UninterpretedOption_Name = 2 // repeated google.protobuf.UninterpretedOption.NamePart
201 UninterpretedOption_IdentifierValue = 3 // optional string
202 UninterpretedOption_PositiveIntValue = 4 // optional uint64
203 UninterpretedOption_NegativeIntValue = 5 // optional int64
204 UninterpretedOption_DoubleValue = 6 // optional double
205 UninterpretedOption_StringValue = 7 // optional bytes
206 UninterpretedOption_AggregateValue = 8 // optional string
207)
208
209// Field numbers for google.protobuf.UninterpretedOption.NamePart.
210const (
211 UninterpretedOption_NamePart_NamePart = 1 // required string
212 UninterpretedOption_NamePart_IsExtension = 2 // required bool
213)
214
215// Field numbers for google.protobuf.SourceCodeInfo.
216const (
217 SourceCodeInfo_Location = 1 // repeated google.protobuf.SourceCodeInfo.Location
218)
219
220// Field numbers for google.protobuf.SourceCodeInfo.Location.
221const (
222 SourceCodeInfo_Location_Path = 1 // repeated int32
223 SourceCodeInfo_Location_Span = 2 // repeated int32
224 SourceCodeInfo_Location_LeadingComments = 3 // optional string
225 SourceCodeInfo_Location_TrailingComments = 4 // optional string
226 SourceCodeInfo_Location_LeadingDetachedComments = 6 // repeated string
227)
228
229// Field numbers for google.protobuf.GeneratedCodeInfo.
230const (
231 GeneratedCodeInfo_Annotation = 1 // repeated google.protobuf.GeneratedCodeInfo.Annotation
232)
233
234// Field numbers for google.protobuf.GeneratedCodeInfo.Annotation.
235const (
236 GeneratedCodeInfo_Annotation_Path = 1 // repeated int32
237 GeneratedCodeInfo_Annotation_SourceFile = 2 // optional string
238 GeneratedCodeInfo_Annotation_Begin = 3 // optional int32
239 GeneratedCodeInfo_Annotation_End = 4 // optional int32
240)