blob: 507126e7362112119a2500f73d62221b8dd05ede [file] [log] [blame]
Rob Pikeaaa3a622010-03-20 22:32:34 -07001// Code generated by protoc-gen-go from "google/protobuf/descriptor.proto"
2// DO NOT EDIT!
3
4package google_protobuf
5
David Symondsb0127532010-11-09 11:10:46 +11006import proto "goprotobuf.googlecode.com/hg/proto"
David Symondsfa6a18d2011-01-19 09:30:28 +11007import "math"
8import "os"
David Symondsb0127532010-11-09 11:10:46 +11009
David Symondsfa6a18d2011-01-19 09:30:28 +110010// Reference proto, math & os imports to suppress error if they are not otherwise used.
David Symondsb0127532010-11-09 11:10:46 +110011var _ = proto.GetString
David Symondsfa6a18d2011-01-19 09:30:28 +110012var _ = math.Inf
13var _ os.Error
Rob Pikeaaa3a622010-03-20 22:32:34 -070014
David Symonds8935abf2011-07-04 15:53:16 +100015
Rob Pikeaaa3a622010-03-20 22:32:34 -070016type FieldDescriptorProto_Type int32
David Symonds8935abf2011-07-04 15:53:16 +100017
Rob Pikeaaa3a622010-03-20 22:32:34 -070018const (
David Symonds8935abf2011-07-04 15:53:16 +100019 FieldDescriptorProto_TYPE_DOUBLE = 1
20 FieldDescriptorProto_TYPE_FLOAT = 2
21 FieldDescriptorProto_TYPE_INT64 = 3
22 FieldDescriptorProto_TYPE_UINT64 = 4
23 FieldDescriptorProto_TYPE_INT32 = 5
24 FieldDescriptorProto_TYPE_FIXED64 = 6
25 FieldDescriptorProto_TYPE_FIXED32 = 7
26 FieldDescriptorProto_TYPE_BOOL = 8
27 FieldDescriptorProto_TYPE_STRING = 9
28 FieldDescriptorProto_TYPE_GROUP = 10
29 FieldDescriptorProto_TYPE_MESSAGE = 11
30 FieldDescriptorProto_TYPE_BYTES = 12
31 FieldDescriptorProto_TYPE_UINT32 = 13
32 FieldDescriptorProto_TYPE_ENUM = 14
Rob Pikeaaa3a622010-03-20 22:32:34 -070033 FieldDescriptorProto_TYPE_SFIXED32 = 15
34 FieldDescriptorProto_TYPE_SFIXED64 = 16
David Symonds8935abf2011-07-04 15:53:16 +100035 FieldDescriptorProto_TYPE_SINT32 = 17
36 FieldDescriptorProto_TYPE_SINT64 = 18
Rob Pikeaaa3a622010-03-20 22:32:34 -070037)
David Symonds8935abf2011-07-04 15:53:16 +100038
39var FieldDescriptorProto_Type_name = map[int32]string{
40 1: "TYPE_DOUBLE",
41 2: "TYPE_FLOAT",
42 3: "TYPE_INT64",
43 4: "TYPE_UINT64",
44 5: "TYPE_INT32",
45 6: "TYPE_FIXED64",
46 7: "TYPE_FIXED32",
47 8: "TYPE_BOOL",
48 9: "TYPE_STRING",
Rob Pikeaaa3a622010-03-20 22:32:34 -070049 10: "TYPE_GROUP",
50 11: "TYPE_MESSAGE",
51 12: "TYPE_BYTES",
52 13: "TYPE_UINT32",
53 14: "TYPE_ENUM",
54 15: "TYPE_SFIXED32",
55 16: "TYPE_SFIXED64",
56 17: "TYPE_SINT32",
57 18: "TYPE_SINT64",
58}
David Symonds8935abf2011-07-04 15:53:16 +100059var FieldDescriptorProto_Type_value = map[string]int32{
60 "TYPE_DOUBLE": 1,
61 "TYPE_FLOAT": 2,
62 "TYPE_INT64": 3,
63 "TYPE_UINT64": 4,
64 "TYPE_INT32": 5,
65 "TYPE_FIXED64": 6,
66 "TYPE_FIXED32": 7,
67 "TYPE_BOOL": 8,
68 "TYPE_STRING": 9,
69 "TYPE_GROUP": 10,
70 "TYPE_MESSAGE": 11,
71 "TYPE_BYTES": 12,
72 "TYPE_UINT32": 13,
73 "TYPE_ENUM": 14,
Rob Pikeaaa3a622010-03-20 22:32:34 -070074 "TYPE_SFIXED32": 15,
75 "TYPE_SFIXED64": 16,
David Symonds8935abf2011-07-04 15:53:16 +100076 "TYPE_SINT32": 17,
77 "TYPE_SINT64": 18,
Rob Pikeaaa3a622010-03-20 22:32:34 -070078}
David Symonds8935abf2011-07-04 15:53:16 +100079
Rob Pikeaaa3a622010-03-20 22:32:34 -070080func NewFieldDescriptorProto_Type(x int32) *FieldDescriptorProto_Type {
81 e := FieldDescriptorProto_Type(x)
82 return &e
83}
David Symonds8935abf2011-07-04 15:53:16 +100084func (x FieldDescriptorProto_Type) String() string {
85 return proto.EnumName(FieldDescriptorProto_Type_name, int32(x))
86}
Rob Pikeaaa3a622010-03-20 22:32:34 -070087
88type FieldDescriptorProto_Label int32
David Symonds8935abf2011-07-04 15:53:16 +100089
Rob Pikeaaa3a622010-03-20 22:32:34 -070090const (
91 FieldDescriptorProto_LABEL_OPTIONAL = 1
92 FieldDescriptorProto_LABEL_REQUIRED = 2
93 FieldDescriptorProto_LABEL_REPEATED = 3
94)
David Symonds8935abf2011-07-04 15:53:16 +100095
96var FieldDescriptorProto_Label_name = map[int32]string{
Rob Pikeaaa3a622010-03-20 22:32:34 -070097 1: "LABEL_OPTIONAL",
98 2: "LABEL_REQUIRED",
99 3: "LABEL_REPEATED",
100}
David Symonds8935abf2011-07-04 15:53:16 +1000101var FieldDescriptorProto_Label_value = map[string]int32{
Rob Pikeaaa3a622010-03-20 22:32:34 -0700102 "LABEL_OPTIONAL": 1,
103 "LABEL_REQUIRED": 2,
104 "LABEL_REPEATED": 3,
105}
David Symonds8935abf2011-07-04 15:53:16 +1000106
Rob Pikeaaa3a622010-03-20 22:32:34 -0700107func NewFieldDescriptorProto_Label(x int32) *FieldDescriptorProto_Label {
108 e := FieldDescriptorProto_Label(x)
109 return &e
110}
David Symonds8935abf2011-07-04 15:53:16 +1000111func (x FieldDescriptorProto_Label) String() string {
112 return proto.EnumName(FieldDescriptorProto_Label_name, int32(x))
113}
Rob Pikeaaa3a622010-03-20 22:32:34 -0700114
115type FileOptions_OptimizeMode int32
David Symonds8935abf2011-07-04 15:53:16 +1000116
Rob Pikeaaa3a622010-03-20 22:32:34 -0700117const (
David Symonds8935abf2011-07-04 15:53:16 +1000118 FileOptions_SPEED = 1
119 FileOptions_CODE_SIZE = 2
Rob Pikeaaa3a622010-03-20 22:32:34 -0700120 FileOptions_LITE_RUNTIME = 3
121)
David Symonds8935abf2011-07-04 15:53:16 +1000122
123var FileOptions_OptimizeMode_name = map[int32]string{
Rob Pikeaaa3a622010-03-20 22:32:34 -0700124 1: "SPEED",
125 2: "CODE_SIZE",
126 3: "LITE_RUNTIME",
127}
David Symonds8935abf2011-07-04 15:53:16 +1000128var FileOptions_OptimizeMode_value = map[string]int32{
129 "SPEED": 1,
130 "CODE_SIZE": 2,
Rob Pikeaaa3a622010-03-20 22:32:34 -0700131 "LITE_RUNTIME": 3,
132}
David Symonds8935abf2011-07-04 15:53:16 +1000133
Rob Pikeaaa3a622010-03-20 22:32:34 -0700134func NewFileOptions_OptimizeMode(x int32) *FileOptions_OptimizeMode {
135 e := FileOptions_OptimizeMode(x)
136 return &e
137}
David Symonds8935abf2011-07-04 15:53:16 +1000138func (x FileOptions_OptimizeMode) String() string {
139 return proto.EnumName(FileOptions_OptimizeMode_name, int32(x))
140}
Rob Pikeaaa3a622010-03-20 22:32:34 -0700141
142type FieldOptions_CType int32
David Symonds8935abf2011-07-04 15:53:16 +1000143
Rob Pikeaaa3a622010-03-20 22:32:34 -0700144const (
David Symonds8935abf2011-07-04 15:53:16 +1000145 FieldOptions_STRING = 0
146 FieldOptions_CORD = 1
Rob Pikeaaa3a622010-03-20 22:32:34 -0700147 FieldOptions_STRING_PIECE = 2
148)
David Symonds8935abf2011-07-04 15:53:16 +1000149
150var FieldOptions_CType_name = map[int32]string{
Rob Pikeaaa3a622010-03-20 22:32:34 -0700151 0: "STRING",
152 1: "CORD",
153 2: "STRING_PIECE",
154}
David Symonds8935abf2011-07-04 15:53:16 +1000155var FieldOptions_CType_value = map[string]int32{
156 "STRING": 0,
157 "CORD": 1,
Rob Pikeaaa3a622010-03-20 22:32:34 -0700158 "STRING_PIECE": 2,
159}
David Symonds8935abf2011-07-04 15:53:16 +1000160
Rob Pikeaaa3a622010-03-20 22:32:34 -0700161func NewFieldOptions_CType(x int32) *FieldOptions_CType {
162 e := FieldOptions_CType(x)
163 return &e
164}
David Symonds8935abf2011-07-04 15:53:16 +1000165func (x FieldOptions_CType) String() string {
166 return proto.EnumName(FieldOptions_CType_name, int32(x))
167}
Rob Pikeaaa3a622010-03-20 22:32:34 -0700168
169type FileDescriptorSet struct {
David Symonds8935abf2011-07-04 15:53:16 +1000170 File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file"`
171 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700172}
David Symonds8935abf2011-07-04 15:53:16 +1000173
174func (this *FileDescriptorSet) Reset() { *this = FileDescriptorSet{} }
175func (this *FileDescriptorSet) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700176
177type FileDescriptorProto struct {
David Symonds8935abf2011-07-04 15:53:16 +1000178 Name *string `protobuf:"bytes,1,opt,name=name"`
179 Package *string `protobuf:"bytes,2,opt,name=package"`
180 Dependency []string `protobuf:"bytes,3,rep,name=dependency"`
181 PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency"`
182 MessageType []*DescriptorProto `protobuf:"bytes,4,rep,name=message_type"`
183 EnumType []*EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type"`
184 Service []*ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service"`
185 Extension []*FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension"`
186 Options *FileOptions `protobuf:"bytes,8,opt,name=options"`
187 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700188}
David Symonds8935abf2011-07-04 15:53:16 +1000189
190func (this *FileDescriptorProto) Reset() { *this = FileDescriptorProto{} }
191func (this *FileDescriptorProto) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700192
193type DescriptorProto struct {
David Symonds8935abf2011-07-04 15:53:16 +1000194 Name *string `protobuf:"bytes,1,opt,name=name"`
195 Field []*FieldDescriptorProto `protobuf:"bytes,2,rep,name=field"`
196 Extension []*FieldDescriptorProto `protobuf:"bytes,6,rep,name=extension"`
197 NestedType []*DescriptorProto `protobuf:"bytes,3,rep,name=nested_type"`
198 EnumType []*EnumDescriptorProto `protobuf:"bytes,4,rep,name=enum_type"`
199 ExtensionRange []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range"`
200 Options *MessageOptions `protobuf:"bytes,7,opt,name=options"`
201 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700202}
David Symonds8935abf2011-07-04 15:53:16 +1000203
204func (this *DescriptorProto) Reset() { *this = DescriptorProto{} }
205func (this *DescriptorProto) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700206
207type DescriptorProto_ExtensionRange struct {
David Symonds8935abf2011-07-04 15:53:16 +1000208 Start *int32 `protobuf:"varint,1,opt,name=start"`
209 End *int32 `protobuf:"varint,2,opt,name=end"`
210 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700211}
David Symonds8935abf2011-07-04 15:53:16 +1000212
213func (this *DescriptorProto_ExtensionRange) Reset() { *this = DescriptorProto_ExtensionRange{} }
214func (this *DescriptorProto_ExtensionRange) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700215
216type FieldDescriptorProto struct {
David Symonds8935abf2011-07-04 15:53:16 +1000217 Name *string `protobuf:"bytes,1,opt,name=name"`
218 Number *int32 `protobuf:"varint,3,opt,name=number"`
219 Label *FieldDescriptorProto_Label `protobuf:"varint,4,opt,name=label,enum=google_protobuf.FieldDescriptorProto_Label"`
220 Type *FieldDescriptorProto_Type `protobuf:"varint,5,opt,name=type,enum=google_protobuf.FieldDescriptorProto_Type"`
221 TypeName *string `protobuf:"bytes,6,opt,name=type_name"`
222 Extendee *string `protobuf:"bytes,2,opt,name=extendee"`
223 DefaultValue *string `protobuf:"bytes,7,opt,name=default_value"`
224 Options *FieldOptions `protobuf:"bytes,8,opt,name=options"`
225 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700226}
David Symonds8935abf2011-07-04 15:53:16 +1000227
228func (this *FieldDescriptorProto) Reset() { *this = FieldDescriptorProto{} }
229func (this *FieldDescriptorProto) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700230
231type EnumDescriptorProto struct {
David Symonds8935abf2011-07-04 15:53:16 +1000232 Name *string `protobuf:"bytes,1,opt,name=name"`
233 Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value"`
234 Options *EnumOptions `protobuf:"bytes,3,opt,name=options"`
235 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700236}
David Symonds8935abf2011-07-04 15:53:16 +1000237
238func (this *EnumDescriptorProto) Reset() { *this = EnumDescriptorProto{} }
239func (this *EnumDescriptorProto) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700240
241type EnumValueDescriptorProto struct {
David Symonds8935abf2011-07-04 15:53:16 +1000242 Name *string `protobuf:"bytes,1,opt,name=name"`
243 Number *int32 `protobuf:"varint,2,opt,name=number"`
244 Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options"`
245 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700246}
David Symonds8935abf2011-07-04 15:53:16 +1000247
248func (this *EnumValueDescriptorProto) Reset() { *this = EnumValueDescriptorProto{} }
249func (this *EnumValueDescriptorProto) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700250
251type ServiceDescriptorProto struct {
David Symonds8935abf2011-07-04 15:53:16 +1000252 Name *string `protobuf:"bytes,1,opt,name=name"`
253 Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method"`
254 Options *ServiceOptions `protobuf:"bytes,3,opt,name=options"`
255 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700256}
David Symonds8935abf2011-07-04 15:53:16 +1000257
258func (this *ServiceDescriptorProto) Reset() { *this = ServiceDescriptorProto{} }
259func (this *ServiceDescriptorProto) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700260
261type MethodDescriptorProto struct {
David Symonds8935abf2011-07-04 15:53:16 +1000262 Name *string `protobuf:"bytes,1,opt,name=name"`
263 InputType *string `protobuf:"bytes,2,opt,name=input_type"`
264 OutputType *string `protobuf:"bytes,3,opt,name=output_type"`
265 Options *MethodOptions `protobuf:"bytes,4,opt,name=options"`
266 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700267}
Rob Pikeaaa3a622010-03-20 22:32:34 -0700268
David Symonds8935abf2011-07-04 15:53:16 +1000269func (this *MethodDescriptorProto) Reset() { *this = MethodDescriptorProto{} }
270func (this *MethodDescriptorProto) String() string { return proto.CompactTextString(this) }
271
Rob Pikeaaa3a622010-03-20 22:32:34 -0700272type FileOptions struct {
David Symonds8935abf2011-07-04 15:53:16 +1000273 JavaPackage *string `protobuf:"bytes,1,opt,name=java_package"`
274 JavaOuterClassname *string `protobuf:"bytes,8,opt,name=java_outer_classname"`
275 JavaMultipleFiles *bool `protobuf:"varint,10,opt,name=java_multiple_files,def=0"`
276 OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,enum=google_protobuf.FileOptions_OptimizeMode,def=1"`
277 CcGenericServices *bool `protobuf:"varint,16,opt,name=cc_generic_services,def=1"`
278 JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,def=1"`
279 PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,def=1"`
280 UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option"`
281 XXX_extensions map[int32][]byte
282 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700283}
David Symonds8935abf2011-07-04 15:53:16 +1000284
285func (this *FileOptions) Reset() { *this = FileOptions{} }
286func (this *FileOptions) String() string { return proto.CompactTextString(this) }
David Symondsb0127532010-11-09 11:10:46 +1100287
288var extRange_FileOptions = []proto.ExtensionRange{
289 proto.ExtensionRange{1000, 536870911},
290}
David Symonds8935abf2011-07-04 15:53:16 +1000291
David Symondsb0127532010-11-09 11:10:46 +1100292func (*FileOptions) ExtensionRangeArray() []proto.ExtensionRange {
293 return extRange_FileOptions
294}
295func (this *FileOptions) ExtensionMap() map[int32][]byte {
296 if this.XXX_extensions == nil {
297 this.XXX_extensions = make(map[int32][]byte)
298 }
299 return this.XXX_extensions
Rob Pikeaaa3a622010-03-20 22:32:34 -0700300}
David Symonds8935abf2011-07-04 15:53:16 +1000301
Rob Pikeaaa3a622010-03-20 22:32:34 -0700302const Default_FileOptions_JavaMultipleFiles bool = false
303const Default_FileOptions_OptimizeFor FileOptions_OptimizeMode = FileOptions_SPEED
David Symonds8935abf2011-07-04 15:53:16 +1000304const Default_FileOptions_CcGenericServices bool = true
305const Default_FileOptions_JavaGenericServices bool = true
306const Default_FileOptions_PyGenericServices bool = true
Rob Pikeaaa3a622010-03-20 22:32:34 -0700307
308type MessageOptions struct {
David Symonds8935abf2011-07-04 15:53:16 +1000309 MessageSetWireFormat *bool `protobuf:"varint,1,opt,name=message_set_wire_format,def=0"`
310 NoStandardDescriptorAccessor *bool `protobuf:"varint,2,opt,name=no_standard_descriptor_accessor,def=0"`
311 UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option"`
312 XXX_extensions map[int32][]byte
313 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700314}
David Symonds8935abf2011-07-04 15:53:16 +1000315
316func (this *MessageOptions) Reset() { *this = MessageOptions{} }
317func (this *MessageOptions) String() string { return proto.CompactTextString(this) }
David Symondsb0127532010-11-09 11:10:46 +1100318
319var extRange_MessageOptions = []proto.ExtensionRange{
320 proto.ExtensionRange{1000, 536870911},
321}
David Symonds8935abf2011-07-04 15:53:16 +1000322
David Symondsb0127532010-11-09 11:10:46 +1100323func (*MessageOptions) ExtensionRangeArray() []proto.ExtensionRange {
324 return extRange_MessageOptions
325}
326func (this *MessageOptions) ExtensionMap() map[int32][]byte {
327 if this.XXX_extensions == nil {
328 this.XXX_extensions = make(map[int32][]byte)
329 }
330 return this.XXX_extensions
Rob Pikeaaa3a622010-03-20 22:32:34 -0700331}
David Symonds8935abf2011-07-04 15:53:16 +1000332
Rob Pikeaaa3a622010-03-20 22:32:34 -0700333const Default_MessageOptions_MessageSetWireFormat bool = false
334const Default_MessageOptions_NoStandardDescriptorAccessor bool = false
335
336type FieldOptions struct {
David Symonds8935abf2011-07-04 15:53:16 +1000337 Ctype *FieldOptions_CType `protobuf:"varint,1,opt,name=ctype,enum=google_protobuf.FieldOptions_CType,def=0"`
338 Packed *bool `protobuf:"varint,2,opt,name=packed"`
339 Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0"`
340 ExperimentalMapKey *string `protobuf:"bytes,9,opt,name=experimental_map_key"`
341 UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option"`
342 XXX_extensions map[int32][]byte
343 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700344}
David Symonds8935abf2011-07-04 15:53:16 +1000345
346func (this *FieldOptions) Reset() { *this = FieldOptions{} }
347func (this *FieldOptions) String() string { return proto.CompactTextString(this) }
David Symondsb0127532010-11-09 11:10:46 +1100348
349var extRange_FieldOptions = []proto.ExtensionRange{
350 proto.ExtensionRange{1000, 536870911},
351}
David Symonds8935abf2011-07-04 15:53:16 +1000352
David Symondsb0127532010-11-09 11:10:46 +1100353func (*FieldOptions) ExtensionRangeArray() []proto.ExtensionRange {
354 return extRange_FieldOptions
355}
356func (this *FieldOptions) ExtensionMap() map[int32][]byte {
357 if this.XXX_extensions == nil {
358 this.XXX_extensions = make(map[int32][]byte)
359 }
360 return this.XXX_extensions
Rob Pikeaaa3a622010-03-20 22:32:34 -0700361}
David Symonds8935abf2011-07-04 15:53:16 +1000362
Rob Pikeaaa3a622010-03-20 22:32:34 -0700363const Default_FieldOptions_Ctype FieldOptions_CType = FieldOptions_STRING
364const Default_FieldOptions_Deprecated bool = false
365
366type EnumOptions struct {
David Symonds8935abf2011-07-04 15:53:16 +1000367 UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option"`
368 XXX_extensions map[int32][]byte
369 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700370}
David Symonds8935abf2011-07-04 15:53:16 +1000371
372func (this *EnumOptions) Reset() { *this = EnumOptions{} }
373func (this *EnumOptions) String() string { return proto.CompactTextString(this) }
David Symondsb0127532010-11-09 11:10:46 +1100374
375var extRange_EnumOptions = []proto.ExtensionRange{
376 proto.ExtensionRange{1000, 536870911},
377}
David Symonds8935abf2011-07-04 15:53:16 +1000378
David Symondsb0127532010-11-09 11:10:46 +1100379func (*EnumOptions) ExtensionRangeArray() []proto.ExtensionRange {
380 return extRange_EnumOptions
381}
382func (this *EnumOptions) ExtensionMap() map[int32][]byte {
383 if this.XXX_extensions == nil {
384 this.XXX_extensions = make(map[int32][]byte)
385 }
386 return this.XXX_extensions
Rob Pikeaaa3a622010-03-20 22:32:34 -0700387}
388
389type EnumValueOptions struct {
David Symonds8935abf2011-07-04 15:53:16 +1000390 UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option"`
391 XXX_extensions map[int32][]byte
392 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700393}
David Symonds8935abf2011-07-04 15:53:16 +1000394
395func (this *EnumValueOptions) Reset() { *this = EnumValueOptions{} }
396func (this *EnumValueOptions) String() string { return proto.CompactTextString(this) }
David Symondsb0127532010-11-09 11:10:46 +1100397
398var extRange_EnumValueOptions = []proto.ExtensionRange{
399 proto.ExtensionRange{1000, 536870911},
400}
David Symonds8935abf2011-07-04 15:53:16 +1000401
David Symondsb0127532010-11-09 11:10:46 +1100402func (*EnumValueOptions) ExtensionRangeArray() []proto.ExtensionRange {
403 return extRange_EnumValueOptions
404}
405func (this *EnumValueOptions) ExtensionMap() map[int32][]byte {
406 if this.XXX_extensions == nil {
407 this.XXX_extensions = make(map[int32][]byte)
408 }
409 return this.XXX_extensions
Rob Pikeaaa3a622010-03-20 22:32:34 -0700410}
411
412type ServiceOptions struct {
David Symonds8935abf2011-07-04 15:53:16 +1000413 UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option"`
414 XXX_extensions map[int32][]byte
415 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700416}
David Symonds8935abf2011-07-04 15:53:16 +1000417
418func (this *ServiceOptions) Reset() { *this = ServiceOptions{} }
419func (this *ServiceOptions) String() string { return proto.CompactTextString(this) }
David Symondsb0127532010-11-09 11:10:46 +1100420
421var extRange_ServiceOptions = []proto.ExtensionRange{
422 proto.ExtensionRange{1000, 536870911},
423}
David Symonds8935abf2011-07-04 15:53:16 +1000424
David Symondsb0127532010-11-09 11:10:46 +1100425func (*ServiceOptions) ExtensionRangeArray() []proto.ExtensionRange {
426 return extRange_ServiceOptions
427}
428func (this *ServiceOptions) ExtensionMap() map[int32][]byte {
429 if this.XXX_extensions == nil {
430 this.XXX_extensions = make(map[int32][]byte)
431 }
432 return this.XXX_extensions
Rob Pikeaaa3a622010-03-20 22:32:34 -0700433}
434
435type MethodOptions struct {
David Symonds8935abf2011-07-04 15:53:16 +1000436 UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option"`
437 XXX_extensions map[int32][]byte
438 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700439}
David Symonds8935abf2011-07-04 15:53:16 +1000440
441func (this *MethodOptions) Reset() { *this = MethodOptions{} }
442func (this *MethodOptions) String() string { return proto.CompactTextString(this) }
David Symondsb0127532010-11-09 11:10:46 +1100443
444var extRange_MethodOptions = []proto.ExtensionRange{
445 proto.ExtensionRange{1000, 536870911},
446}
David Symonds8935abf2011-07-04 15:53:16 +1000447
David Symondsb0127532010-11-09 11:10:46 +1100448func (*MethodOptions) ExtensionRangeArray() []proto.ExtensionRange {
449 return extRange_MethodOptions
450}
451func (this *MethodOptions) ExtensionMap() map[int32][]byte {
452 if this.XXX_extensions == nil {
453 this.XXX_extensions = make(map[int32][]byte)
454 }
455 return this.XXX_extensions
Rob Pikeaaa3a622010-03-20 22:32:34 -0700456}
457
458type UninterpretedOption struct {
David Symonds8935abf2011-07-04 15:53:16 +1000459 Name []*UninterpretedOption_NamePart `protobuf:"bytes,2,rep,name=name"`
460 IdentifierValue *string `protobuf:"bytes,3,opt,name=identifier_value"`
461 PositiveIntValue *uint64 `protobuf:"varint,4,opt,name=positive_int_value"`
462 NegativeIntValue *int64 `protobuf:"varint,5,opt,name=negative_int_value"`
463 DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value"`
464 StringValue []byte `protobuf:"bytes,7,opt,name=string_value"`
465 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700466}
David Symonds8935abf2011-07-04 15:53:16 +1000467
468func (this *UninterpretedOption) Reset() { *this = UninterpretedOption{} }
469func (this *UninterpretedOption) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700470
471type UninterpretedOption_NamePart struct {
David Symonds8935abf2011-07-04 15:53:16 +1000472 NamePart *string `protobuf:"bytes,1,req,name=name_part"`
473 IsExtension *bool `protobuf:"varint,2,req,name=is_extension"`
474 XXX_unrecognized []byte
Rob Pikeaaa3a622010-03-20 22:32:34 -0700475}
David Symondsb0127532010-11-09 11:10:46 +1100476
David Symonds8935abf2011-07-04 15:53:16 +1000477func (this *UninterpretedOption_NamePart) Reset() { *this = UninterpretedOption_NamePart{} }
478func (this *UninterpretedOption_NamePart) String() string { return proto.CompactTextString(this) }
Rob Pikeaaa3a622010-03-20 22:32:34 -0700479
480func init() {
481 proto.RegisterEnum("google_protobuf.FieldDescriptorProto_Type", FieldDescriptorProto_Type_name, FieldDescriptorProto_Type_value)
482 proto.RegisterEnum("google_protobuf.FieldDescriptorProto_Label", FieldDescriptorProto_Label_name, FieldDescriptorProto_Label_value)
483 proto.RegisterEnum("google_protobuf.FileOptions_OptimizeMode", FileOptions_OptimizeMode_name, FileOptions_OptimizeMode_value)
484 proto.RegisterEnum("google_protobuf.FieldOptions_CType", FieldOptions_CType_name, FieldOptions_CType_value)
485}