blob: 16295154938b99155f6b4c14696aa50c9dcd0d63 [file] [log] [blame]
kesavand2cde6582020-06-22 04:56:23 -04001// 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)
75
76// Field numbers for google.protobuf.OneofDescriptorProto.
77const (
78 OneofDescriptorProto_Name = 1 // optional string
79 OneofDescriptorProto_Options = 2 // optional google.protobuf.OneofOptions
80)
81
82// Field numbers for google.protobuf.EnumDescriptorProto.
83const (
84 EnumDescriptorProto_Name = 1 // optional string
85 EnumDescriptorProto_Value = 2 // repeated google.protobuf.EnumValueDescriptorProto
86 EnumDescriptorProto_Options = 3 // optional google.protobuf.EnumOptions
87 EnumDescriptorProto_ReservedRange = 4 // repeated google.protobuf.EnumDescriptorProto.EnumReservedRange
88 EnumDescriptorProto_ReservedName = 5 // repeated string
89)
90
91// Field numbers for google.protobuf.EnumDescriptorProto.EnumReservedRange.
92const (
93 EnumDescriptorProto_EnumReservedRange_Start = 1 // optional int32
94 EnumDescriptorProto_EnumReservedRange_End = 2 // optional int32
95)
96
97// Field numbers for google.protobuf.EnumValueDescriptorProto.
98const (
99 EnumValueDescriptorProto_Name = 1 // optional string
100 EnumValueDescriptorProto_Number = 2 // optional int32
101 EnumValueDescriptorProto_Options = 3 // optional google.protobuf.EnumValueOptions
102)
103
104// Field numbers for google.protobuf.ServiceDescriptorProto.
105const (
106 ServiceDescriptorProto_Name = 1 // optional string
107 ServiceDescriptorProto_Method = 2 // repeated google.protobuf.MethodDescriptorProto
108 ServiceDescriptorProto_Options = 3 // optional google.protobuf.ServiceOptions
109)
110
111// Field numbers for google.protobuf.MethodDescriptorProto.
112const (
113 MethodDescriptorProto_Name = 1 // optional string
114 MethodDescriptorProto_InputType = 2 // optional string
115 MethodDescriptorProto_OutputType = 3 // optional string
116 MethodDescriptorProto_Options = 4 // optional google.protobuf.MethodOptions
117 MethodDescriptorProto_ClientStreaming = 5 // optional bool
118 MethodDescriptorProto_ServerStreaming = 6 // optional bool
119)
120
121// Field numbers for google.protobuf.FileOptions.
122const (
123 FileOptions_JavaPackage = 1 // optional string
124 FileOptions_JavaOuterClassname = 8 // optional string
125 FileOptions_JavaMultipleFiles = 10 // optional bool
126 FileOptions_JavaGenerateEqualsAndHash = 20 // optional bool
127 FileOptions_JavaStringCheckUtf8 = 27 // optional bool
128 FileOptions_OptimizeFor = 9 // optional google.protobuf.FileOptions.OptimizeMode
129 FileOptions_GoPackage = 11 // optional string
130 FileOptions_CcGenericServices = 16 // optional bool
131 FileOptions_JavaGenericServices = 17 // optional bool
132 FileOptions_PyGenericServices = 18 // optional bool
133 FileOptions_PhpGenericServices = 42 // optional bool
134 FileOptions_Deprecated = 23 // optional bool
135 FileOptions_CcEnableArenas = 31 // optional bool
136 FileOptions_ObjcClassPrefix = 36 // optional string
137 FileOptions_CsharpNamespace = 37 // optional string
138 FileOptions_SwiftPrefix = 39 // optional string
139 FileOptions_PhpClassPrefix = 40 // optional string
140 FileOptions_PhpNamespace = 41 // optional string
141 FileOptions_PhpMetadataNamespace = 44 // optional string
142 FileOptions_RubyPackage = 45 // optional string
143 FileOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
144)
145
146// Field numbers for google.protobuf.MessageOptions.
147const (
148 MessageOptions_MessageSetWireFormat = 1 // optional bool
149 MessageOptions_NoStandardDescriptorAccessor = 2 // optional bool
150 MessageOptions_Deprecated = 3 // optional bool
151 MessageOptions_MapEntry = 7 // optional bool
152 MessageOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
153)
154
155// Field numbers for google.protobuf.FieldOptions.
156const (
157 FieldOptions_Ctype = 1 // optional google.protobuf.FieldOptions.CType
158 FieldOptions_Packed = 2 // optional bool
159 FieldOptions_Jstype = 6 // optional google.protobuf.FieldOptions.JSType
160 FieldOptions_Lazy = 5 // optional bool
161 FieldOptions_Deprecated = 3 // optional bool
162 FieldOptions_Weak = 10 // optional bool
163 FieldOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
164)
165
166// Field numbers for google.protobuf.OneofOptions.
167const (
168 OneofOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
169)
170
171// Field numbers for google.protobuf.EnumOptions.
172const (
173 EnumOptions_AllowAlias = 2 // optional bool
174 EnumOptions_Deprecated = 3 // optional bool
175 EnumOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
176)
177
178// Field numbers for google.protobuf.EnumValueOptions.
179const (
180 EnumValueOptions_Deprecated = 1 // optional bool
181 EnumValueOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
182)
183
184// Field numbers for google.protobuf.ServiceOptions.
185const (
186 ServiceOptions_Deprecated = 33 // optional bool
187 ServiceOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
188)
189
190// Field numbers for google.protobuf.MethodOptions.
191const (
192 MethodOptions_Deprecated = 33 // optional bool
193 MethodOptions_IdempotencyLevel = 34 // optional google.protobuf.MethodOptions.IdempotencyLevel
194 MethodOptions_UninterpretedOption = 999 // repeated google.protobuf.UninterpretedOption
195)
196
197// Field numbers for google.protobuf.UninterpretedOption.
198const (
199 UninterpretedOption_Name = 2 // repeated google.protobuf.UninterpretedOption.NamePart
200 UninterpretedOption_IdentifierValue = 3 // optional string
201 UninterpretedOption_PositiveIntValue = 4 // optional uint64
202 UninterpretedOption_NegativeIntValue = 5 // optional int64
203 UninterpretedOption_DoubleValue = 6 // optional double
204 UninterpretedOption_StringValue = 7 // optional bytes
205 UninterpretedOption_AggregateValue = 8 // optional string
206)
207
208// Field numbers for google.protobuf.UninterpretedOption.NamePart.
209const (
210 UninterpretedOption_NamePart_NamePart = 1 // required string
211 UninterpretedOption_NamePart_IsExtension = 2 // required bool
212)
213
214// Field numbers for google.protobuf.SourceCodeInfo.
215const (
216 SourceCodeInfo_Location = 1 // repeated google.protobuf.SourceCodeInfo.Location
217)
218
219// Field numbers for google.protobuf.SourceCodeInfo.Location.
220const (
221 SourceCodeInfo_Location_Path = 1 // repeated int32
222 SourceCodeInfo_Location_Span = 2 // repeated int32
223 SourceCodeInfo_Location_LeadingComments = 3 // optional string
224 SourceCodeInfo_Location_TrailingComments = 4 // optional string
225 SourceCodeInfo_Location_LeadingDetachedComments = 6 // repeated string
226)
227
228// Field numbers for google.protobuf.GeneratedCodeInfo.
229const (
230 GeneratedCodeInfo_Annotation = 1 // repeated google.protobuf.GeneratedCodeInfo.Annotation
231)
232
233// Field numbers for google.protobuf.GeneratedCodeInfo.Annotation.
234const (
235 GeneratedCodeInfo_Annotation_Path = 1 // repeated int32
236 GeneratedCodeInfo_Annotation_SourceFile = 2 // optional string
237 GeneratedCodeInfo_Annotation_Begin = 3 // optional int32
238 GeneratedCodeInfo_Annotation_End = 4 // optional int32
239)