You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2888 lines
115 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/descriptor.proto
  3. package descriptor
  4. import (
  5. fmt "fmt"
  6. proto "github.com/golang/protobuf/proto"
  7. math "math"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  18. type FieldDescriptorProto_Type int32
  19. const (
  20. // 0 is reserved for errors.
  21. // Order is weird for historical reasons.
  22. FieldDescriptorProto_TYPE_DOUBLE FieldDescriptorProto_Type = 1
  23. FieldDescriptorProto_TYPE_FLOAT FieldDescriptorProto_Type = 2
  24. // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
  25. // negative values are likely.
  26. FieldDescriptorProto_TYPE_INT64 FieldDescriptorProto_Type = 3
  27. FieldDescriptorProto_TYPE_UINT64 FieldDescriptorProto_Type = 4
  28. // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
  29. // negative values are likely.
  30. FieldDescriptorProto_TYPE_INT32 FieldDescriptorProto_Type = 5
  31. FieldDescriptorProto_TYPE_FIXED64 FieldDescriptorProto_Type = 6
  32. FieldDescriptorProto_TYPE_FIXED32 FieldDescriptorProto_Type = 7
  33. FieldDescriptorProto_TYPE_BOOL FieldDescriptorProto_Type = 8
  34. FieldDescriptorProto_TYPE_STRING FieldDescriptorProto_Type = 9
  35. // Tag-delimited aggregate.
  36. // Group type is deprecated and not supported in proto3. However, Proto3
  37. // implementations should still be able to parse the group wire format and
  38. // treat group fields as unknown fields.
  39. FieldDescriptorProto_TYPE_GROUP FieldDescriptorProto_Type = 10
  40. FieldDescriptorProto_TYPE_MESSAGE FieldDescriptorProto_Type = 11
  41. // New in version 2.
  42. FieldDescriptorProto_TYPE_BYTES FieldDescriptorProto_Type = 12
  43. FieldDescriptorProto_TYPE_UINT32 FieldDescriptorProto_Type = 13
  44. FieldDescriptorProto_TYPE_ENUM FieldDescriptorProto_Type = 14
  45. FieldDescriptorProto_TYPE_SFIXED32 FieldDescriptorProto_Type = 15
  46. FieldDescriptorProto_TYPE_SFIXED64 FieldDescriptorProto_Type = 16
  47. FieldDescriptorProto_TYPE_SINT32 FieldDescriptorProto_Type = 17
  48. FieldDescriptorProto_TYPE_SINT64 FieldDescriptorProto_Type = 18
  49. )
  50. var FieldDescriptorProto_Type_name = map[int32]string{
  51. 1: "TYPE_DOUBLE",
  52. 2: "TYPE_FLOAT",
  53. 3: "TYPE_INT64",
  54. 4: "TYPE_UINT64",
  55. 5: "TYPE_INT32",
  56. 6: "TYPE_FIXED64",
  57. 7: "TYPE_FIXED32",
  58. 8: "TYPE_BOOL",
  59. 9: "TYPE_STRING",
  60. 10: "TYPE_GROUP",
  61. 11: "TYPE_MESSAGE",
  62. 12: "TYPE_BYTES",
  63. 13: "TYPE_UINT32",
  64. 14: "TYPE_ENUM",
  65. 15: "TYPE_SFIXED32",
  66. 16: "TYPE_SFIXED64",
  67. 17: "TYPE_SINT32",
  68. 18: "TYPE_SINT64",
  69. }
  70. var FieldDescriptorProto_Type_value = map[string]int32{
  71. "TYPE_DOUBLE": 1,
  72. "TYPE_FLOAT": 2,
  73. "TYPE_INT64": 3,
  74. "TYPE_UINT64": 4,
  75. "TYPE_INT32": 5,
  76. "TYPE_FIXED64": 6,
  77. "TYPE_FIXED32": 7,
  78. "TYPE_BOOL": 8,
  79. "TYPE_STRING": 9,
  80. "TYPE_GROUP": 10,
  81. "TYPE_MESSAGE": 11,
  82. "TYPE_BYTES": 12,
  83. "TYPE_UINT32": 13,
  84. "TYPE_ENUM": 14,
  85. "TYPE_SFIXED32": 15,
  86. "TYPE_SFIXED64": 16,
  87. "TYPE_SINT32": 17,
  88. "TYPE_SINT64": 18,
  89. }
  90. func (x FieldDescriptorProto_Type) Enum() *FieldDescriptorProto_Type {
  91. p := new(FieldDescriptorProto_Type)
  92. *p = x
  93. return p
  94. }
  95. func (x FieldDescriptorProto_Type) String() string {
  96. return proto.EnumName(FieldDescriptorProto_Type_name, int32(x))
  97. }
  98. func (x *FieldDescriptorProto_Type) UnmarshalJSON(data []byte) error {
  99. value, err := proto.UnmarshalJSONEnum(FieldDescriptorProto_Type_value, data, "FieldDescriptorProto_Type")
  100. if err != nil {
  101. return err
  102. }
  103. *x = FieldDescriptorProto_Type(value)
  104. return nil
  105. }
  106. func (FieldDescriptorProto_Type) EnumDescriptor() ([]byte, []int) {
  107. return fileDescriptor_e5baabe45344a177, []int{4, 0}
  108. }
  109. type FieldDescriptorProto_Label int32
  110. const (
  111. // 0 is reserved for errors
  112. FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1
  113. FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2
  114. FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3
  115. )
  116. var FieldDescriptorProto_Label_name = map[int32]string{
  117. 1: "LABEL_OPTIONAL",
  118. 2: "LABEL_REQUIRED",
  119. 3: "LABEL_REPEATED",
  120. }
  121. var FieldDescriptorProto_Label_value = map[string]int32{
  122. "LABEL_OPTIONAL": 1,
  123. "LABEL_REQUIRED": 2,
  124. "LABEL_REPEATED": 3,
  125. }
  126. func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label {
  127. p := new(FieldDescriptorProto_Label)
  128. *p = x
  129. return p
  130. }
  131. func (x FieldDescriptorProto_Label) String() string {
  132. return proto.EnumName(FieldDescriptorProto_Label_name, int32(x))
  133. }
  134. func (x *FieldDescriptorProto_Label) UnmarshalJSON(data []byte) error {
  135. value, err := proto.UnmarshalJSONEnum(FieldDescriptorProto_Label_value, data, "FieldDescriptorProto_Label")
  136. if err != nil {
  137. return err
  138. }
  139. *x = FieldDescriptorProto_Label(value)
  140. return nil
  141. }
  142. func (FieldDescriptorProto_Label) EnumDescriptor() ([]byte, []int) {
  143. return fileDescriptor_e5baabe45344a177, []int{4, 1}
  144. }
  145. // Generated classes can be optimized for speed or code size.
  146. type FileOptions_OptimizeMode int32
  147. const (
  148. FileOptions_SPEED FileOptions_OptimizeMode = 1
  149. // etc.
  150. FileOptions_CODE_SIZE FileOptions_OptimizeMode = 2
  151. FileOptions_LITE_RUNTIME FileOptions_OptimizeMode = 3
  152. )
  153. var FileOptions_OptimizeMode_name = map[int32]string{
  154. 1: "SPEED",
  155. 2: "CODE_SIZE",
  156. 3: "LITE_RUNTIME",
  157. }
  158. var FileOptions_OptimizeMode_value = map[string]int32{
  159. "SPEED": 1,
  160. "CODE_SIZE": 2,
  161. "LITE_RUNTIME": 3,
  162. }
  163. func (x FileOptions_OptimizeMode) Enum() *FileOptions_OptimizeMode {
  164. p := new(FileOptions_OptimizeMode)
  165. *p = x
  166. return p
  167. }
  168. func (x FileOptions_OptimizeMode) String() string {
  169. return proto.EnumName(FileOptions_OptimizeMode_name, int32(x))
  170. }
  171. func (x *FileOptions_OptimizeMode) UnmarshalJSON(data []byte) error {
  172. value, err := proto.UnmarshalJSONEnum(FileOptions_OptimizeMode_value, data, "FileOptions_OptimizeMode")
  173. if err != nil {
  174. return err
  175. }
  176. *x = FileOptions_OptimizeMode(value)
  177. return nil
  178. }
  179. func (FileOptions_OptimizeMode) EnumDescriptor() ([]byte, []int) {
  180. return fileDescriptor_e5baabe45344a177, []int{10, 0}
  181. }
  182. type FieldOptions_CType int32
  183. const (
  184. // Default mode.
  185. FieldOptions_STRING FieldOptions_CType = 0
  186. FieldOptions_CORD FieldOptions_CType = 1
  187. FieldOptions_STRING_PIECE FieldOptions_CType = 2
  188. )
  189. var FieldOptions_CType_name = map[int32]string{
  190. 0: "STRING",
  191. 1: "CORD",
  192. 2: "STRING_PIECE",
  193. }
  194. var FieldOptions_CType_value = map[string]int32{
  195. "STRING": 0,
  196. "CORD": 1,
  197. "STRING_PIECE": 2,
  198. }
  199. func (x FieldOptions_CType) Enum() *FieldOptions_CType {
  200. p := new(FieldOptions_CType)
  201. *p = x
  202. return p
  203. }
  204. func (x FieldOptions_CType) String() string {
  205. return proto.EnumName(FieldOptions_CType_name, int32(x))
  206. }
  207. func (x *FieldOptions_CType) UnmarshalJSON(data []byte) error {
  208. value, err := proto.UnmarshalJSONEnum(FieldOptions_CType_value, data, "FieldOptions_CType")
  209. if err != nil {
  210. return err
  211. }
  212. *x = FieldOptions_CType(value)
  213. return nil
  214. }
  215. func (FieldOptions_CType) EnumDescriptor() ([]byte, []int) {
  216. return fileDescriptor_e5baabe45344a177, []int{12, 0}
  217. }
  218. type FieldOptions_JSType int32
  219. const (
  220. // Use the default type.
  221. FieldOptions_JS_NORMAL FieldOptions_JSType = 0
  222. // Use JavaScript strings.
  223. FieldOptions_JS_STRING FieldOptions_JSType = 1
  224. // Use JavaScript numbers.
  225. FieldOptions_JS_NUMBER FieldOptions_JSType = 2
  226. )
  227. var FieldOptions_JSType_name = map[int32]string{
  228. 0: "JS_NORMAL",
  229. 1: "JS_STRING",
  230. 2: "JS_NUMBER",
  231. }
  232. var FieldOptions_JSType_value = map[string]int32{
  233. "JS_NORMAL": 0,
  234. "JS_STRING": 1,
  235. "JS_NUMBER": 2,
  236. }
  237. func (x FieldOptions_JSType) Enum() *FieldOptions_JSType {
  238. p := new(FieldOptions_JSType)
  239. *p = x
  240. return p
  241. }
  242. func (x FieldOptions_JSType) String() string {
  243. return proto.EnumName(FieldOptions_JSType_name, int32(x))
  244. }
  245. func (x *FieldOptions_JSType) UnmarshalJSON(data []byte) error {
  246. value, err := proto.UnmarshalJSONEnum(FieldOptions_JSType_value, data, "FieldOptions_JSType")
  247. if err != nil {
  248. return err
  249. }
  250. *x = FieldOptions_JSType(value)
  251. return nil
  252. }
  253. func (FieldOptions_JSType) EnumDescriptor() ([]byte, []int) {
  254. return fileDescriptor_e5baabe45344a177, []int{12, 1}
  255. }
  256. // Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
  257. // or neither? HTTP based RPC implementation may choose GET verb for safe
  258. // methods, and PUT verb for idempotent methods instead of the default POST.
  259. type MethodOptions_IdempotencyLevel int32
  260. const (
  261. MethodOptions_IDEMPOTENCY_UNKNOWN MethodOptions_IdempotencyLevel = 0
  262. MethodOptions_NO_SIDE_EFFECTS MethodOptions_IdempotencyLevel = 1
  263. MethodOptions_IDEMPOTENT MethodOptions_IdempotencyLevel = 2
  264. )
  265. var MethodOptions_IdempotencyLevel_name = map[int32]string{
  266. 0: "IDEMPOTENCY_UNKNOWN",
  267. 1: "NO_SIDE_EFFECTS",
  268. 2: "IDEMPOTENT",
  269. }
  270. var MethodOptions_IdempotencyLevel_value = map[string]int32{
  271. "IDEMPOTENCY_UNKNOWN": 0,
  272. "NO_SIDE_EFFECTS": 1,
  273. "IDEMPOTENT": 2,
  274. }
  275. func (x MethodOptions_IdempotencyLevel) Enum() *MethodOptions_IdempotencyLevel {
  276. p := new(MethodOptions_IdempotencyLevel)
  277. *p = x
  278. return p
  279. }
  280. func (x MethodOptions_IdempotencyLevel) String() string {
  281. return proto.EnumName(MethodOptions_IdempotencyLevel_name, int32(x))
  282. }
  283. func (x *MethodOptions_IdempotencyLevel) UnmarshalJSON(data []byte) error {
  284. value, err := proto.UnmarshalJSONEnum(MethodOptions_IdempotencyLevel_value, data, "MethodOptions_IdempotencyLevel")
  285. if err != nil {
  286. return err
  287. }
  288. *x = MethodOptions_IdempotencyLevel(value)
  289. return nil
  290. }
  291. func (MethodOptions_IdempotencyLevel) EnumDescriptor() ([]byte, []int) {
  292. return fileDescriptor_e5baabe45344a177, []int{17, 0}
  293. }
  294. // The protocol compiler can output a FileDescriptorSet containing the .proto
  295. // files it parses.
  296. type FileDescriptorSet struct {
  297. File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
  298. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  299. XXX_unrecognized []byte `json:"-"`
  300. XXX_sizecache int32 `json:"-"`
  301. }
  302. func (m *FileDescriptorSet) Reset() { *m = FileDescriptorSet{} }
  303. func (m *FileDescriptorSet) String() string { return proto.CompactTextString(m) }
  304. func (*FileDescriptorSet) ProtoMessage() {}
  305. func (*FileDescriptorSet) Descriptor() ([]byte, []int) {
  306. return fileDescriptor_e5baabe45344a177, []int{0}
  307. }
  308. func (m *FileDescriptorSet) XXX_Unmarshal(b []byte) error {
  309. return xxx_messageInfo_FileDescriptorSet.Unmarshal(m, b)
  310. }
  311. func (m *FileDescriptorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  312. return xxx_messageInfo_FileDescriptorSet.Marshal(b, m, deterministic)
  313. }
  314. func (m *FileDescriptorSet) XXX_Merge(src proto.Message) {
  315. xxx_messageInfo_FileDescriptorSet.Merge(m, src)
  316. }
  317. func (m *FileDescriptorSet) XXX_Size() int {
  318. return xxx_messageInfo_FileDescriptorSet.Size(m)
  319. }
  320. func (m *FileDescriptorSet) XXX_DiscardUnknown() {
  321. xxx_messageInfo_FileDescriptorSet.DiscardUnknown(m)
  322. }
  323. var xxx_messageInfo_FileDescriptorSet proto.InternalMessageInfo
  324. func (m *FileDescriptorSet) GetFile() []*FileDescriptorProto {
  325. if m != nil {
  326. return m.File
  327. }
  328. return nil
  329. }
  330. // Describes a complete .proto file.
  331. type FileDescriptorProto struct {
  332. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  333. Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"`
  334. // Names of files imported by this file.
  335. Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"`
  336. // Indexes of the public imported files in the dependency list above.
  337. PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"`
  338. // Indexes of the weak imported files in the dependency list.
  339. // For Google-internal migration only. Do not use.
  340. WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"`
  341. // All top-level definitions in this file.
  342. MessageType []*DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"`
  343. EnumType []*EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"`
  344. Service []*ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"`
  345. Extension []*FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"`
  346. Options *FileOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
  347. // This field contains optional information about the original source code.
  348. // You may safely remove this entire field without harming runtime
  349. // functionality of the descriptors -- the information is needed only by
  350. // development tools.
  351. SourceCodeInfo *SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"`
  352. // The syntax of the proto file.
  353. // The supported values are "proto2" and "proto3".
  354. Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"`
  355. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  356. XXX_unrecognized []byte `json:"-"`
  357. XXX_sizecache int32 `json:"-"`
  358. }
  359. func (m *FileDescriptorProto) Reset() { *m = FileDescriptorProto{} }
  360. func (m *FileDescriptorProto) String() string { return proto.CompactTextString(m) }
  361. func (*FileDescriptorProto) ProtoMessage() {}
  362. func (*FileDescriptorProto) Descriptor() ([]byte, []int) {
  363. return fileDescriptor_e5baabe45344a177, []int{1}
  364. }
  365. func (m *FileDescriptorProto) XXX_Unmarshal(b []byte) error {
  366. return xxx_messageInfo_FileDescriptorProto.Unmarshal(m, b)
  367. }
  368. func (m *FileDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  369. return xxx_messageInfo_FileDescriptorProto.Marshal(b, m, deterministic)
  370. }
  371. func (m *FileDescriptorProto) XXX_Merge(src proto.Message) {
  372. xxx_messageInfo_FileDescriptorProto.Merge(m, src)
  373. }
  374. func (m *FileDescriptorProto) XXX_Size() int {
  375. return xxx_messageInfo_FileDescriptorProto.Size(m)
  376. }
  377. func (m *FileDescriptorProto) XXX_DiscardUnknown() {
  378. xxx_messageInfo_FileDescriptorProto.DiscardUnknown(m)
  379. }
  380. var xxx_messageInfo_FileDescriptorProto proto.InternalMessageInfo
  381. func (m *FileDescriptorProto) GetName() string {
  382. if m != nil && m.Name != nil {
  383. return *m.Name
  384. }
  385. return ""
  386. }
  387. func (m *FileDescriptorProto) GetPackage() string {
  388. if m != nil && m.Package != nil {
  389. return *m.Package
  390. }
  391. return ""
  392. }
  393. func (m *FileDescriptorProto) GetDependency() []string {
  394. if m != nil {
  395. return m.Dependency
  396. }
  397. return nil
  398. }
  399. func (m *FileDescriptorProto) GetPublicDependency() []int32 {
  400. if m != nil {
  401. return m.PublicDependency
  402. }
  403. return nil
  404. }
  405. func (m *FileDescriptorProto) GetWeakDependency() []int32 {
  406. if m != nil {
  407. return m.WeakDependency
  408. }
  409. return nil
  410. }
  411. func (m *FileDescriptorProto) GetMessageType() []*DescriptorProto {
  412. if m != nil {
  413. return m.MessageType
  414. }
  415. return nil
  416. }
  417. func (m *FileDescriptorProto) GetEnumType() []*EnumDescriptorProto {
  418. if m != nil {
  419. return m.EnumType
  420. }
  421. return nil
  422. }
  423. func (m *FileDescriptorProto) GetService() []*ServiceDescriptorProto {
  424. if m != nil {
  425. return m.Service
  426. }
  427. return nil
  428. }
  429. func (m *FileDescriptorProto) GetExtension() []*FieldDescriptorProto {
  430. if m != nil {
  431. return m.Extension
  432. }
  433. return nil
  434. }
  435. func (m *FileDescriptorProto) GetOptions() *FileOptions {
  436. if m != nil {
  437. return m.Options
  438. }
  439. return nil
  440. }
  441. func (m *FileDescriptorProto) GetSourceCodeInfo() *SourceCodeInfo {
  442. if m != nil {
  443. return m.SourceCodeInfo
  444. }
  445. return nil
  446. }
  447. func (m *FileDescriptorProto) GetSyntax() string {
  448. if m != nil && m.Syntax != nil {
  449. return *m.Syntax
  450. }
  451. return ""
  452. }
  453. // Describes a message type.
  454. type DescriptorProto struct {
  455. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  456. Field []*FieldDescriptorProto `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"`
  457. Extension []*FieldDescriptorProto `protobuf:"bytes,6,rep,name=extension" json:"extension,omitempty"`
  458. NestedType []*DescriptorProto `protobuf:"bytes,3,rep,name=nested_type,json=nestedType" json:"nested_type,omitempty"`
  459. EnumType []*EnumDescriptorProto `protobuf:"bytes,4,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"`
  460. ExtensionRange []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range,json=extensionRange" json:"extension_range,omitempty"`
  461. OneofDecl []*OneofDescriptorProto `protobuf:"bytes,8,rep,name=oneof_decl,json=oneofDecl" json:"oneof_decl,omitempty"`
  462. Options *MessageOptions `protobuf:"bytes,7,opt,name=options" json:"options,omitempty"`
  463. ReservedRange []*DescriptorProto_ReservedRange `protobuf:"bytes,9,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"`
  464. // Reserved field names, which may not be used by fields in the same message.
  465. // A given name may only be reserved once.
  466. ReservedName []string `protobuf:"bytes,10,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
  467. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  468. XXX_unrecognized []byte `json:"-"`
  469. XXX_sizecache int32 `json:"-"`
  470. }
  471. func (m *DescriptorProto) Reset() { *m = DescriptorProto{} }
  472. func (m *DescriptorProto) String() string { return proto.CompactTextString(m) }
  473. func (*DescriptorProto) ProtoMessage() {}
  474. func (*DescriptorProto) Descriptor() ([]byte, []int) {
  475. return fileDescriptor_e5baabe45344a177, []int{2}
  476. }
  477. func (m *DescriptorProto) XXX_Unmarshal(b []byte) error {
  478. return xxx_messageInfo_DescriptorProto.Unmarshal(m, b)
  479. }
  480. func (m *DescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  481. return xxx_messageInfo_DescriptorProto.Marshal(b, m, deterministic)
  482. }
  483. func (m *DescriptorProto) XXX_Merge(src proto.Message) {
  484. xxx_messageInfo_DescriptorProto.Merge(m, src)
  485. }
  486. func (m *DescriptorProto) XXX_Size() int {
  487. return xxx_messageInfo_DescriptorProto.Size(m)
  488. }
  489. func (m *DescriptorProto) XXX_DiscardUnknown() {
  490. xxx_messageInfo_DescriptorProto.DiscardUnknown(m)
  491. }
  492. var xxx_messageInfo_DescriptorProto proto.InternalMessageInfo
  493. func (m *DescriptorProto) GetName() string {
  494. if m != nil && m.Name != nil {
  495. return *m.Name
  496. }
  497. return ""
  498. }
  499. func (m *DescriptorProto) GetField() []*FieldDescriptorProto {
  500. if m != nil {
  501. return m.Field
  502. }
  503. return nil
  504. }
  505. func (m *DescriptorProto) GetExtension() []*FieldDescriptorProto {
  506. if m != nil {
  507. return m.Extension
  508. }
  509. return nil
  510. }
  511. func (m *DescriptorProto) GetNestedType() []*DescriptorProto {
  512. if m != nil {
  513. return m.NestedType
  514. }
  515. return nil
  516. }
  517. func (m *DescriptorProto) GetEnumType() []*EnumDescriptorProto {
  518. if m != nil {
  519. return m.EnumType
  520. }
  521. return nil
  522. }
  523. func (m *DescriptorProto) GetExtensionRange() []*DescriptorProto_ExtensionRange {
  524. if m != nil {
  525. return m.ExtensionRange
  526. }
  527. return nil
  528. }
  529. func (m *DescriptorProto) GetOneofDecl() []*OneofDescriptorProto {
  530. if m != nil {
  531. return m.OneofDecl
  532. }
  533. return nil
  534. }
  535. func (m *DescriptorProto) GetOptions() *MessageOptions {
  536. if m != nil {
  537. return m.Options
  538. }
  539. return nil
  540. }
  541. func (m *DescriptorProto) GetReservedRange() []*DescriptorProto_ReservedRange {
  542. if m != nil {
  543. return m.ReservedRange
  544. }
  545. return nil
  546. }
  547. func (m *DescriptorProto) GetReservedName() []string {
  548. if m != nil {
  549. return m.ReservedName
  550. }
  551. return nil
  552. }
  553. type DescriptorProto_ExtensionRange struct {
  554. Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
  555. End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
  556. Options *ExtensionRangeOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
  557. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  558. XXX_unrecognized []byte `json:"-"`
  559. XXX_sizecache int32 `json:"-"`
  560. }
  561. func (m *DescriptorProto_ExtensionRange) Reset() { *m = DescriptorProto_ExtensionRange{} }
  562. func (m *DescriptorProto_ExtensionRange) String() string { return proto.CompactTextString(m) }
  563. func (*DescriptorProto_ExtensionRange) ProtoMessage() {}
  564. func (*DescriptorProto_ExtensionRange) Descriptor() ([]byte, []int) {
  565. return fileDescriptor_e5baabe45344a177, []int{2, 0}
  566. }
  567. func (m *DescriptorProto_ExtensionRange) XXX_Unmarshal(b []byte) error {
  568. return xxx_messageInfo_DescriptorProto_ExtensionRange.Unmarshal(m, b)
  569. }
  570. func (m *DescriptorProto_ExtensionRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  571. return xxx_messageInfo_DescriptorProto_ExtensionRange.Marshal(b, m, deterministic)
  572. }
  573. func (m *DescriptorProto_ExtensionRange) XXX_Merge(src proto.Message) {
  574. xxx_messageInfo_DescriptorProto_ExtensionRange.Merge(m, src)
  575. }
  576. func (m *DescriptorProto_ExtensionRange) XXX_Size() int {
  577. return xxx_messageInfo_DescriptorProto_ExtensionRange.Size(m)
  578. }
  579. func (m *DescriptorProto_ExtensionRange) XXX_DiscardUnknown() {
  580. xxx_messageInfo_DescriptorProto_ExtensionRange.DiscardUnknown(m)
  581. }
  582. var xxx_messageInfo_DescriptorProto_ExtensionRange proto.InternalMessageInfo
  583. func (m *DescriptorProto_ExtensionRange) GetStart() int32 {
  584. if m != nil && m.Start != nil {
  585. return *m.Start
  586. }
  587. return 0
  588. }
  589. func (m *DescriptorProto_ExtensionRange) GetEnd() int32 {
  590. if m != nil && m.End != nil {
  591. return *m.End
  592. }
  593. return 0
  594. }
  595. func (m *DescriptorProto_ExtensionRange) GetOptions() *ExtensionRangeOptions {
  596. if m != nil {
  597. return m.Options
  598. }
  599. return nil
  600. }
  601. // Range of reserved tag numbers. Reserved tag numbers may not be used by
  602. // fields or extension ranges in the same message. Reserved ranges may
  603. // not overlap.
  604. type DescriptorProto_ReservedRange struct {
  605. Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
  606. End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
  607. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  608. XXX_unrecognized []byte `json:"-"`
  609. XXX_sizecache int32 `json:"-"`
  610. }
  611. func (m *DescriptorProto_ReservedRange) Reset() { *m = DescriptorProto_ReservedRange{} }
  612. func (m *DescriptorProto_ReservedRange) String() string { return proto.CompactTextString(m) }
  613. func (*DescriptorProto_ReservedRange) ProtoMessage() {}
  614. func (*DescriptorProto_ReservedRange) Descriptor() ([]byte, []int) {
  615. return fileDescriptor_e5baabe45344a177, []int{2, 1}
  616. }
  617. func (m *DescriptorProto_ReservedRange) XXX_Unmarshal(b []byte) error {
  618. return xxx_messageInfo_DescriptorProto_ReservedRange.Unmarshal(m, b)
  619. }
  620. func (m *DescriptorProto_ReservedRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  621. return xxx_messageInfo_DescriptorProto_ReservedRange.Marshal(b, m, deterministic)
  622. }
  623. func (m *DescriptorProto_ReservedRange) XXX_Merge(src proto.Message) {
  624. xxx_messageInfo_DescriptorProto_ReservedRange.Merge(m, src)
  625. }
  626. func (m *DescriptorProto_ReservedRange) XXX_Size() int {
  627. return xxx_messageInfo_DescriptorProto_ReservedRange.Size(m)
  628. }
  629. func (m *DescriptorProto_ReservedRange) XXX_DiscardUnknown() {
  630. xxx_messageInfo_DescriptorProto_ReservedRange.DiscardUnknown(m)
  631. }
  632. var xxx_messageInfo_DescriptorProto_ReservedRange proto.InternalMessageInfo
  633. func (m *DescriptorProto_ReservedRange) GetStart() int32 {
  634. if m != nil && m.Start != nil {
  635. return *m.Start
  636. }
  637. return 0
  638. }
  639. func (m *DescriptorProto_ReservedRange) GetEnd() int32 {
  640. if m != nil && m.End != nil {
  641. return *m.End
  642. }
  643. return 0
  644. }
  645. type ExtensionRangeOptions struct {
  646. // The parser stores options it doesn't recognize here. See above.
  647. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  648. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  649. proto.XXX_InternalExtensions `json:"-"`
  650. XXX_unrecognized []byte `json:"-"`
  651. XXX_sizecache int32 `json:"-"`
  652. }
  653. func (m *ExtensionRangeOptions) Reset() { *m = ExtensionRangeOptions{} }
  654. func (m *ExtensionRangeOptions) String() string { return proto.CompactTextString(m) }
  655. func (*ExtensionRangeOptions) ProtoMessage() {}
  656. func (*ExtensionRangeOptions) Descriptor() ([]byte, []int) {
  657. return fileDescriptor_e5baabe45344a177, []int{3}
  658. }
  659. var extRange_ExtensionRangeOptions = []proto.ExtensionRange{
  660. {Start: 1000, End: 536870911},
  661. }
  662. func (*ExtensionRangeOptions) ExtensionRangeArray() []proto.ExtensionRange {
  663. return extRange_ExtensionRangeOptions
  664. }
  665. func (m *ExtensionRangeOptions) XXX_Unmarshal(b []byte) error {
  666. return xxx_messageInfo_ExtensionRangeOptions.Unmarshal(m, b)
  667. }
  668. func (m *ExtensionRangeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  669. return xxx_messageInfo_ExtensionRangeOptions.Marshal(b, m, deterministic)
  670. }
  671. func (m *ExtensionRangeOptions) XXX_Merge(src proto.Message) {
  672. xxx_messageInfo_ExtensionRangeOptions.Merge(m, src)
  673. }
  674. func (m *ExtensionRangeOptions) XXX_Size() int {
  675. return xxx_messageInfo_ExtensionRangeOptions.Size(m)
  676. }
  677. func (m *ExtensionRangeOptions) XXX_DiscardUnknown() {
  678. xxx_messageInfo_ExtensionRangeOptions.DiscardUnknown(m)
  679. }
  680. var xxx_messageInfo_ExtensionRangeOptions proto.InternalMessageInfo
  681. func (m *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption {
  682. if m != nil {
  683. return m.UninterpretedOption
  684. }
  685. return nil
  686. }
  687. // Describes a field within a message.
  688. type FieldDescriptorProto struct {
  689. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  690. Number *int32 `protobuf:"varint,3,opt,name=number" json:"number,omitempty"`
  691. Label *FieldDescriptorProto_Label `protobuf:"varint,4,opt,name=label,enum=google.protobuf.FieldDescriptorProto_Label" json:"label,omitempty"`
  692. // If type_name is set, this need not be set. If both this and type_name
  693. // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
  694. Type *FieldDescriptorProto_Type `protobuf:"varint,5,opt,name=type,enum=google.protobuf.FieldDescriptorProto_Type" json:"type,omitempty"`
  695. // For message and enum types, this is the name of the type. If the name
  696. // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
  697. // rules are used to find the type (i.e. first the nested types within this
  698. // message are searched, then within the parent, on up to the root
  699. // namespace).
  700. TypeName *string `protobuf:"bytes,6,opt,name=type_name,json=typeName" json:"type_name,omitempty"`
  701. // For extensions, this is the name of the type being extended. It is
  702. // resolved in the same manner as type_name.
  703. Extendee *string `protobuf:"bytes,2,opt,name=extendee" json:"extendee,omitempty"`
  704. // For numeric types, contains the original text representation of the value.
  705. // For booleans, "true" or "false".
  706. // For strings, contains the default text contents (not escaped in any way).
  707. // For bytes, contains the C escaped value. All bytes >= 128 are escaped.
  708. // TODO(kenton): Base-64 encode?
  709. DefaultValue *string `protobuf:"bytes,7,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"`
  710. // If set, gives the index of a oneof in the containing type's oneof_decl
  711. // list. This field is a member of that oneof.
  712. OneofIndex *int32 `protobuf:"varint,9,opt,name=oneof_index,json=oneofIndex" json:"oneof_index,omitempty"`
  713. // JSON name of this field. The value is set by protocol compiler. If the
  714. // user has set a "json_name" option on this field, that option's value
  715. // will be used. Otherwise, it's deduced from the field's name by converting
  716. // it to camelCase.
  717. JsonName *string `protobuf:"bytes,10,opt,name=json_name,json=jsonName" json:"json_name,omitempty"`
  718. Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
  719. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  720. XXX_unrecognized []byte `json:"-"`
  721. XXX_sizecache int32 `json:"-"`
  722. }
  723. func (m *FieldDescriptorProto) Reset() { *m = FieldDescriptorProto{} }
  724. func (m *FieldDescriptorProto) String() string { return proto.CompactTextString(m) }
  725. func (*FieldDescriptorProto) ProtoMessage() {}
  726. func (*FieldDescriptorProto) Descriptor() ([]byte, []int) {
  727. return fileDescriptor_e5baabe45344a177, []int{4}
  728. }
  729. func (m *FieldDescriptorProto) XXX_Unmarshal(b []byte) error {
  730. return xxx_messageInfo_FieldDescriptorProto.Unmarshal(m, b)
  731. }
  732. func (m *FieldDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  733. return xxx_messageInfo_FieldDescriptorProto.Marshal(b, m, deterministic)
  734. }
  735. func (m *FieldDescriptorProto) XXX_Merge(src proto.Message) {
  736. xxx_messageInfo_FieldDescriptorProto.Merge(m, src)
  737. }
  738. func (m *FieldDescriptorProto) XXX_Size() int {
  739. return xxx_messageInfo_FieldDescriptorProto.Size(m)
  740. }
  741. func (m *FieldDescriptorProto) XXX_DiscardUnknown() {
  742. xxx_messageInfo_FieldDescriptorProto.DiscardUnknown(m)
  743. }
  744. var xxx_messageInfo_FieldDescriptorProto proto.InternalMessageInfo
  745. func (m *FieldDescriptorProto) GetName() string {
  746. if m != nil && m.Name != nil {
  747. return *m.Name
  748. }
  749. return ""
  750. }
  751. func (m *FieldDescriptorProto) GetNumber() int32 {
  752. if m != nil && m.Number != nil {
  753. return *m.Number
  754. }
  755. return 0
  756. }
  757. func (m *FieldDescriptorProto) GetLabel() FieldDescriptorProto_Label {
  758. if m != nil && m.Label != nil {
  759. return *m.Label
  760. }
  761. return FieldDescriptorProto_LABEL_OPTIONAL
  762. }
  763. func (m *FieldDescriptorProto) GetType() FieldDescriptorProto_Type {
  764. if m != nil && m.Type != nil {
  765. return *m.Type
  766. }
  767. return FieldDescriptorProto_TYPE_DOUBLE
  768. }
  769. func (m *FieldDescriptorProto) GetTypeName() string {
  770. if m != nil && m.TypeName != nil {
  771. return *m.TypeName
  772. }
  773. return ""
  774. }
  775. func (m *FieldDescriptorProto) GetExtendee() string {
  776. if m != nil && m.Extendee != nil {
  777. return *m.Extendee
  778. }
  779. return ""
  780. }
  781. func (m *FieldDescriptorProto) GetDefaultValue() string {
  782. if m != nil && m.DefaultValue != nil {
  783. return *m.DefaultValue
  784. }
  785. return ""
  786. }
  787. func (m *FieldDescriptorProto) GetOneofIndex() int32 {
  788. if m != nil && m.OneofIndex != nil {
  789. return *m.OneofIndex
  790. }
  791. return 0
  792. }
  793. func (m *FieldDescriptorProto) GetJsonName() string {
  794. if m != nil && m.JsonName != nil {
  795. return *m.JsonName
  796. }
  797. return ""
  798. }
  799. func (m *FieldDescriptorProto) GetOptions() *FieldOptions {
  800. if m != nil {
  801. return m.Options
  802. }
  803. return nil
  804. }
  805. // Describes a oneof.
  806. type OneofDescriptorProto struct {
  807. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  808. Options *OneofOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"`
  809. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  810. XXX_unrecognized []byte `json:"-"`
  811. XXX_sizecache int32 `json:"-"`
  812. }
  813. func (m *OneofDescriptorProto) Reset() { *m = OneofDescriptorProto{} }
  814. func (m *OneofDescriptorProto) String() string { return proto.CompactTextString(m) }
  815. func (*OneofDescriptorProto) ProtoMessage() {}
  816. func (*OneofDescriptorProto) Descriptor() ([]byte, []int) {
  817. return fileDescriptor_e5baabe45344a177, []int{5}
  818. }
  819. func (m *OneofDescriptorProto) XXX_Unmarshal(b []byte) error {
  820. return xxx_messageInfo_OneofDescriptorProto.Unmarshal(m, b)
  821. }
  822. func (m *OneofDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  823. return xxx_messageInfo_OneofDescriptorProto.Marshal(b, m, deterministic)
  824. }
  825. func (m *OneofDescriptorProto) XXX_Merge(src proto.Message) {
  826. xxx_messageInfo_OneofDescriptorProto.Merge(m, src)
  827. }
  828. func (m *OneofDescriptorProto) XXX_Size() int {
  829. return xxx_messageInfo_OneofDescriptorProto.Size(m)
  830. }
  831. func (m *OneofDescriptorProto) XXX_DiscardUnknown() {
  832. xxx_messageInfo_OneofDescriptorProto.DiscardUnknown(m)
  833. }
  834. var xxx_messageInfo_OneofDescriptorProto proto.InternalMessageInfo
  835. func (m *OneofDescriptorProto) GetName() string {
  836. if m != nil && m.Name != nil {
  837. return *m.Name
  838. }
  839. return ""
  840. }
  841. func (m *OneofDescriptorProto) GetOptions() *OneofOptions {
  842. if m != nil {
  843. return m.Options
  844. }
  845. return nil
  846. }
  847. // Describes an enum type.
  848. type EnumDescriptorProto struct {
  849. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  850. Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
  851. Options *EnumOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
  852. // Range of reserved numeric values. Reserved numeric values may not be used
  853. // by enum values in the same enum declaration. Reserved ranges may not
  854. // overlap.
  855. ReservedRange []*EnumDescriptorProto_EnumReservedRange `protobuf:"bytes,4,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"`
  856. // Reserved enum value names, which may not be reused. A given name may only
  857. // be reserved once.
  858. ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
  859. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  860. XXX_unrecognized []byte `json:"-"`
  861. XXX_sizecache int32 `json:"-"`
  862. }
  863. func (m *EnumDescriptorProto) Reset() { *m = EnumDescriptorProto{} }
  864. func (m *EnumDescriptorProto) String() string { return proto.CompactTextString(m) }
  865. func (*EnumDescriptorProto) ProtoMessage() {}
  866. func (*EnumDescriptorProto) Descriptor() ([]byte, []int) {
  867. return fileDescriptor_e5baabe45344a177, []int{6}
  868. }
  869. func (m *EnumDescriptorProto) XXX_Unmarshal(b []byte) error {
  870. return xxx_messageInfo_EnumDescriptorProto.Unmarshal(m, b)
  871. }
  872. func (m *EnumDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  873. return xxx_messageInfo_EnumDescriptorProto.Marshal(b, m, deterministic)
  874. }
  875. func (m *EnumDescriptorProto) XXX_Merge(src proto.Message) {
  876. xxx_messageInfo_EnumDescriptorProto.Merge(m, src)
  877. }
  878. func (m *EnumDescriptorProto) XXX_Size() int {
  879. return xxx_messageInfo_EnumDescriptorProto.Size(m)
  880. }
  881. func (m *EnumDescriptorProto) XXX_DiscardUnknown() {
  882. xxx_messageInfo_EnumDescriptorProto.DiscardUnknown(m)
  883. }
  884. var xxx_messageInfo_EnumDescriptorProto proto.InternalMessageInfo
  885. func (m *EnumDescriptorProto) GetName() string {
  886. if m != nil && m.Name != nil {
  887. return *m.Name
  888. }
  889. return ""
  890. }
  891. func (m *EnumDescriptorProto) GetValue() []*EnumValueDescriptorProto {
  892. if m != nil {
  893. return m.Value
  894. }
  895. return nil
  896. }
  897. func (m *EnumDescriptorProto) GetOptions() *EnumOptions {
  898. if m != nil {
  899. return m.Options
  900. }
  901. return nil
  902. }
  903. func (m *EnumDescriptorProto) GetReservedRange() []*EnumDescriptorProto_EnumReservedRange {
  904. if m != nil {
  905. return m.ReservedRange
  906. }
  907. return nil
  908. }
  909. func (m *EnumDescriptorProto) GetReservedName() []string {
  910. if m != nil {
  911. return m.ReservedName
  912. }
  913. return nil
  914. }
  915. // Range of reserved numeric values. Reserved values may not be used by
  916. // entries in the same enum. Reserved ranges may not overlap.
  917. //
  918. // Note that this is distinct from DescriptorProto.ReservedRange in that it
  919. // is inclusive such that it can appropriately represent the entire int32
  920. // domain.
  921. type EnumDescriptorProto_EnumReservedRange struct {
  922. Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
  923. End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
  924. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  925. XXX_unrecognized []byte `json:"-"`
  926. XXX_sizecache int32 `json:"-"`
  927. }
  928. func (m *EnumDescriptorProto_EnumReservedRange) Reset() { *m = EnumDescriptorProto_EnumReservedRange{} }
  929. func (m *EnumDescriptorProto_EnumReservedRange) String() string { return proto.CompactTextString(m) }
  930. func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage() {}
  931. func (*EnumDescriptorProto_EnumReservedRange) Descriptor() ([]byte, []int) {
  932. return fileDescriptor_e5baabe45344a177, []int{6, 0}
  933. }
  934. func (m *EnumDescriptorProto_EnumReservedRange) XXX_Unmarshal(b []byte) error {
  935. return xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.Unmarshal(m, b)
  936. }
  937. func (m *EnumDescriptorProto_EnumReservedRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  938. return xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.Marshal(b, m, deterministic)
  939. }
  940. func (m *EnumDescriptorProto_EnumReservedRange) XXX_Merge(src proto.Message) {
  941. xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.Merge(m, src)
  942. }
  943. func (m *EnumDescriptorProto_EnumReservedRange) XXX_Size() int {
  944. return xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.Size(m)
  945. }
  946. func (m *EnumDescriptorProto_EnumReservedRange) XXX_DiscardUnknown() {
  947. xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.DiscardUnknown(m)
  948. }
  949. var xxx_messageInfo_EnumDescriptorProto_EnumReservedRange proto.InternalMessageInfo
  950. func (m *EnumDescriptorProto_EnumReservedRange) GetStart() int32 {
  951. if m != nil && m.Start != nil {
  952. return *m.Start
  953. }
  954. return 0
  955. }
  956. func (m *EnumDescriptorProto_EnumReservedRange) GetEnd() int32 {
  957. if m != nil && m.End != nil {
  958. return *m.End
  959. }
  960. return 0
  961. }
  962. // Describes a value within an enum.
  963. type EnumValueDescriptorProto struct {
  964. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  965. Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
  966. Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
  967. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  968. XXX_unrecognized []byte `json:"-"`
  969. XXX_sizecache int32 `json:"-"`
  970. }
  971. func (m *EnumValueDescriptorProto) Reset() { *m = EnumValueDescriptorProto{} }
  972. func (m *EnumValueDescriptorProto) String() string { return proto.CompactTextString(m) }
  973. func (*EnumValueDescriptorProto) ProtoMessage() {}
  974. func (*EnumValueDescriptorProto) Descriptor() ([]byte, []int) {
  975. return fileDescriptor_e5baabe45344a177, []int{7}
  976. }
  977. func (m *EnumValueDescriptorProto) XXX_Unmarshal(b []byte) error {
  978. return xxx_messageInfo_EnumValueDescriptorProto.Unmarshal(m, b)
  979. }
  980. func (m *EnumValueDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  981. return xxx_messageInfo_EnumValueDescriptorProto.Marshal(b, m, deterministic)
  982. }
  983. func (m *EnumValueDescriptorProto) XXX_Merge(src proto.Message) {
  984. xxx_messageInfo_EnumValueDescriptorProto.Merge(m, src)
  985. }
  986. func (m *EnumValueDescriptorProto) XXX_Size() int {
  987. return xxx_messageInfo_EnumValueDescriptorProto.Size(m)
  988. }
  989. func (m *EnumValueDescriptorProto) XXX_DiscardUnknown() {
  990. xxx_messageInfo_EnumValueDescriptorProto.DiscardUnknown(m)
  991. }
  992. var xxx_messageInfo_EnumValueDescriptorProto proto.InternalMessageInfo
  993. func (m *EnumValueDescriptorProto) GetName() string {
  994. if m != nil && m.Name != nil {
  995. return *m.Name
  996. }
  997. return ""
  998. }
  999. func (m *EnumValueDescriptorProto) GetNumber() int32 {
  1000. if m != nil && m.Number != nil {
  1001. return *m.Number
  1002. }
  1003. return 0
  1004. }
  1005. func (m *EnumValueDescriptorProto) GetOptions() *EnumValueOptions {
  1006. if m != nil {
  1007. return m.Options
  1008. }
  1009. return nil
  1010. }
  1011. // Describes a service.
  1012. type ServiceDescriptorProto struct {
  1013. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1014. Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"`
  1015. Options *ServiceOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
  1016. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1017. XXX_unrecognized []byte `json:"-"`
  1018. XXX_sizecache int32 `json:"-"`
  1019. }
  1020. func (m *ServiceDescriptorProto) Reset() { *m = ServiceDescriptorProto{} }
  1021. func (m *ServiceDescriptorProto) String() string { return proto.CompactTextString(m) }
  1022. func (*ServiceDescriptorProto) ProtoMessage() {}
  1023. func (*ServiceDescriptorProto) Descriptor() ([]byte, []int) {
  1024. return fileDescriptor_e5baabe45344a177, []int{8}
  1025. }
  1026. func (m *ServiceDescriptorProto) XXX_Unmarshal(b []byte) error {
  1027. return xxx_messageInfo_ServiceDescriptorProto.Unmarshal(m, b)
  1028. }
  1029. func (m *ServiceDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1030. return xxx_messageInfo_ServiceDescriptorProto.Marshal(b, m, deterministic)
  1031. }
  1032. func (m *ServiceDescriptorProto) XXX_Merge(src proto.Message) {
  1033. xxx_messageInfo_ServiceDescriptorProto.Merge(m, src)
  1034. }
  1035. func (m *ServiceDescriptorProto) XXX_Size() int {
  1036. return xxx_messageInfo_ServiceDescriptorProto.Size(m)
  1037. }
  1038. func (m *ServiceDescriptorProto) XXX_DiscardUnknown() {
  1039. xxx_messageInfo_ServiceDescriptorProto.DiscardUnknown(m)
  1040. }
  1041. var xxx_messageInfo_ServiceDescriptorProto proto.InternalMessageInfo
  1042. func (m *ServiceDescriptorProto) GetName() string {
  1043. if m != nil && m.Name != nil {
  1044. return *m.Name
  1045. }
  1046. return ""
  1047. }
  1048. func (m *ServiceDescriptorProto) GetMethod() []*MethodDescriptorProto {
  1049. if m != nil {
  1050. return m.Method
  1051. }
  1052. return nil
  1053. }
  1054. func (m *ServiceDescriptorProto) GetOptions() *ServiceOptions {
  1055. if m != nil {
  1056. return m.Options
  1057. }
  1058. return nil
  1059. }
  1060. // Describes a method of a service.
  1061. type MethodDescriptorProto struct {
  1062. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1063. // Input and output type names. These are resolved in the same way as
  1064. // FieldDescriptorProto.type_name, but must refer to a message type.
  1065. InputType *string `protobuf:"bytes,2,opt,name=input_type,json=inputType" json:"input_type,omitempty"`
  1066. OutputType *string `protobuf:"bytes,3,opt,name=output_type,json=outputType" json:"output_type,omitempty"`
  1067. Options *MethodOptions `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"`
  1068. // Identifies if client streams multiple client messages
  1069. ClientStreaming *bool `protobuf:"varint,5,opt,name=client_streaming,json=clientStreaming,def=0" json:"client_streaming,omitempty"`
  1070. // Identifies if server streams multiple server messages
  1071. ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"server_streaming,omitempty"`
  1072. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1073. XXX_unrecognized []byte `json:"-"`
  1074. XXX_sizecache int32 `json:"-"`
  1075. }
  1076. func (m *MethodDescriptorProto) Reset() { *m = MethodDescriptorProto{} }
  1077. func (m *MethodDescriptorProto) String() string { return proto.CompactTextString(m) }
  1078. func (*MethodDescriptorProto) ProtoMessage() {}
  1079. func (*MethodDescriptorProto) Descriptor() ([]byte, []int) {
  1080. return fileDescriptor_e5baabe45344a177, []int{9}
  1081. }
  1082. func (m *MethodDescriptorProto) XXX_Unmarshal(b []byte) error {
  1083. return xxx_messageInfo_MethodDescriptorProto.Unmarshal(m, b)
  1084. }
  1085. func (m *MethodDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1086. return xxx_messageInfo_MethodDescriptorProto.Marshal(b, m, deterministic)
  1087. }
  1088. func (m *MethodDescriptorProto) XXX_Merge(src proto.Message) {
  1089. xxx_messageInfo_MethodDescriptorProto.Merge(m, src)
  1090. }
  1091. func (m *MethodDescriptorProto) XXX_Size() int {
  1092. return xxx_messageInfo_MethodDescriptorProto.Size(m)
  1093. }
  1094. func (m *MethodDescriptorProto) XXX_DiscardUnknown() {
  1095. xxx_messageInfo_MethodDescriptorProto.DiscardUnknown(m)
  1096. }
  1097. var xxx_messageInfo_MethodDescriptorProto proto.InternalMessageInfo
  1098. const Default_MethodDescriptorProto_ClientStreaming bool = false
  1099. const Default_MethodDescriptorProto_ServerStreaming bool = false
  1100. func (m *MethodDescriptorProto) GetName() string {
  1101. if m != nil && m.Name != nil {
  1102. return *m.Name
  1103. }
  1104. return ""
  1105. }
  1106. func (m *MethodDescriptorProto) GetInputType() string {
  1107. if m != nil && m.InputType != nil {
  1108. return *m.InputType
  1109. }
  1110. return ""
  1111. }
  1112. func (m *MethodDescriptorProto) GetOutputType() string {
  1113. if m != nil && m.OutputType != nil {
  1114. return *m.OutputType
  1115. }
  1116. return ""
  1117. }
  1118. func (m *MethodDescriptorProto) GetOptions() *MethodOptions {
  1119. if m != nil {
  1120. return m.Options
  1121. }
  1122. return nil
  1123. }
  1124. func (m *MethodDescriptorProto) GetClientStreaming() bool {
  1125. if m != nil && m.ClientStreaming != nil {
  1126. return *m.ClientStreaming
  1127. }
  1128. return Default_MethodDescriptorProto_ClientStreaming
  1129. }
  1130. func (m *MethodDescriptorProto) GetServerStreaming() bool {
  1131. if m != nil && m.ServerStreaming != nil {
  1132. return *m.ServerStreaming
  1133. }
  1134. return Default_MethodDescriptorProto_ServerStreaming
  1135. }
  1136. type FileOptions struct {
  1137. // Sets the Java package where classes generated from this .proto will be
  1138. // placed. By default, the proto package is used, but this is often
  1139. // inappropriate because proto packages do not normally start with backwards
  1140. // domain names.
  1141. JavaPackage *string `protobuf:"bytes,1,opt,name=java_package,json=javaPackage" json:"java_package,omitempty"`
  1142. // If set, all the classes from the .proto file are wrapped in a single
  1143. // outer class with the given name. This applies to both Proto1
  1144. // (equivalent to the old "--one_java_file" option) and Proto2 (where
  1145. // a .proto always translates to a single class, but you may want to
  1146. // explicitly choose the class name).
  1147. JavaOuterClassname *string `protobuf:"bytes,8,opt,name=java_outer_classname,json=javaOuterClassname" json:"java_outer_classname,omitempty"`
  1148. // If set true, then the Java code generator will generate a separate .java
  1149. // file for each top-level message, enum, and service defined in the .proto
  1150. // file. Thus, these types will *not* be nested inside the outer class
  1151. // named by java_outer_classname. However, the outer class will still be
  1152. // generated to contain the file's getDescriptor() method as well as any
  1153. // top-level extensions defined in the file.
  1154. JavaMultipleFiles *bool `protobuf:"varint,10,opt,name=java_multiple_files,json=javaMultipleFiles,def=0" json:"java_multiple_files,omitempty"`
  1155. // This option does nothing.
  1156. JavaGenerateEqualsAndHash *bool `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,json=javaGenerateEqualsAndHash" json:"java_generate_equals_and_hash,omitempty"` // Deprecated: Do not use.
  1157. // If set true, then the Java2 code generator will generate code that
  1158. // throws an exception whenever an attempt is made to assign a non-UTF-8
  1159. // byte sequence to a string field.
  1160. // Message reflection will do the same.
  1161. // However, an extension field still accepts non-UTF-8 byte sequences.
  1162. // This option has no effect on when used with the lite runtime.
  1163. JavaStringCheckUtf8 *bool `protobuf:"varint,27,opt,name=java_string_check_utf8,json=javaStringCheckUtf8,def=0" json:"java_string_check_utf8,omitempty"`
  1164. OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"`
  1165. // Sets the Go package where structs generated from this .proto will be
  1166. // placed. If omitted, the Go package will be derived from the following:
  1167. // - The basename of the package import path, if provided.
  1168. // - Otherwise, the package statement in the .proto file, if present.
  1169. // - Otherwise, the basename of the .proto file, without extension.
  1170. GoPackage *string `protobuf:"bytes,11,opt,name=go_package,json=goPackage" json:"go_package,omitempty"`
  1171. // Should generic services be generated in each language? "Generic" services
  1172. // are not specific to any particular RPC system. They are generated by the
  1173. // main code generators in each language (without additional plugins).
  1174. // Generic services were the only kind of service generation supported by
  1175. // early versions of google.protobuf.
  1176. //
  1177. // Generic services are now considered deprecated in favor of using plugins
  1178. // that generate code specific to your particular RPC system. Therefore,
  1179. // these default to false. Old code which depends on generic services should
  1180. // explicitly set them to true.
  1181. CcGenericServices *bool `protobuf:"varint,16,opt,name=cc_generic_services,json=ccGenericServices,def=0" json:"cc_generic_services,omitempty"`
  1182. JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"java_generic_services,omitempty"`
  1183. PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"py_generic_services,omitempty"`
  1184. PhpGenericServices *bool `protobuf:"varint,42,opt,name=php_generic_services,json=phpGenericServices,def=0" json:"php_generic_services,omitempty"`
  1185. // Is this file deprecated?
  1186. // Depending on the target platform, this can emit Deprecated annotations
  1187. // for everything in the file, or it will be completely ignored; in the very
  1188. // least, this is a formalization for deprecating files.
  1189. Deprecated *bool `protobuf:"varint,23,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1190. // Enables the use of arenas for the proto messages in this file. This applies
  1191. // only to generated classes for C++.
  1192. CcEnableArenas *bool `protobuf:"varint,31,opt,name=cc_enable_arenas,json=ccEnableArenas,def=0" json:"cc_enable_arenas,omitempty"`
  1193. // Sets the objective c class prefix which is prepended to all objective c
  1194. // generated classes from this .proto. There is no default.
  1195. ObjcClassPrefix *string `protobuf:"bytes,36,opt,name=objc_class_prefix,json=objcClassPrefix" json:"objc_class_prefix,omitempty"`
  1196. // Namespace for generated classes; defaults to the package.
  1197. CsharpNamespace *string `protobuf:"bytes,37,opt,name=csharp_namespace,json=csharpNamespace" json:"csharp_namespace,omitempty"`
  1198. // By default Swift generators will take the proto package and CamelCase it
  1199. // replacing '.' with underscore and use that to prefix the types/symbols
  1200. // defined. When this options is provided, they will use this value instead
  1201. // to prefix the types/symbols defined.
  1202. SwiftPrefix *string `protobuf:"bytes,39,opt,name=swift_prefix,json=swiftPrefix" json:"swift_prefix,omitempty"`
  1203. // Sets the php class prefix which is prepended to all php generated classes
  1204. // from this .proto. Default is empty.
  1205. PhpClassPrefix *string `protobuf:"bytes,40,opt,name=php_class_prefix,json=phpClassPrefix" json:"php_class_prefix,omitempty"`
  1206. // Use this option to change the namespace of php generated classes. Default
  1207. // is empty. When this option is empty, the package name will be used for
  1208. // determining the namespace.
  1209. PhpNamespace *string `protobuf:"bytes,41,opt,name=php_namespace,json=phpNamespace" json:"php_namespace,omitempty"`
  1210. // Use this option to change the namespace of php generated metadata classes.
  1211. // Default is empty. When this option is empty, the proto file name will be used
  1212. // for determining the namespace.
  1213. PhpMetadataNamespace *string `protobuf:"bytes,44,opt,name=php_metadata_namespace,json=phpMetadataNamespace" json:"php_metadata_namespace,omitempty"`
  1214. // Use this option to change the package of ruby generated classes. Default
  1215. // is empty. When this option is not set, the package name will be used for
  1216. // determining the ruby package.
  1217. RubyPackage *string `protobuf:"bytes,45,opt,name=ruby_package,json=rubyPackage" json:"ruby_package,omitempty"`
  1218. // The parser stores options it doesn't recognize here.
  1219. // See the documentation for the "Options" section above.
  1220. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1221. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1222. proto.XXX_InternalExtensions `json:"-"`
  1223. XXX_unrecognized []byte `json:"-"`
  1224. XXX_sizecache int32 `json:"-"`
  1225. }
  1226. func (m *FileOptions) Reset() { *m = FileOptions{} }
  1227. func (m *FileOptions) String() string { return proto.CompactTextString(m) }
  1228. func (*FileOptions) ProtoMessage() {}
  1229. func (*FileOptions) Descriptor() ([]byte, []int) {
  1230. return fileDescriptor_e5baabe45344a177, []int{10}
  1231. }
  1232. var extRange_FileOptions = []proto.ExtensionRange{
  1233. {Start: 1000, End: 536870911},
  1234. }
  1235. func (*FileOptions) ExtensionRangeArray() []proto.ExtensionRange {
  1236. return extRange_FileOptions
  1237. }
  1238. func (m *FileOptions) XXX_Unmarshal(b []byte) error {
  1239. return xxx_messageInfo_FileOptions.Unmarshal(m, b)
  1240. }
  1241. func (m *FileOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1242. return xxx_messageInfo_FileOptions.Marshal(b, m, deterministic)
  1243. }
  1244. func (m *FileOptions) XXX_Merge(src proto.Message) {
  1245. xxx_messageInfo_FileOptions.Merge(m, src)
  1246. }
  1247. func (m *FileOptions) XXX_Size() int {
  1248. return xxx_messageInfo_FileOptions.Size(m)
  1249. }
  1250. func (m *FileOptions) XXX_DiscardUnknown() {
  1251. xxx_messageInfo_FileOptions.DiscardUnknown(m)
  1252. }
  1253. var xxx_messageInfo_FileOptions proto.InternalMessageInfo
  1254. const Default_FileOptions_JavaMultipleFiles bool = false
  1255. const Default_FileOptions_JavaStringCheckUtf8 bool = false
  1256. const Default_FileOptions_OptimizeFor FileOptions_OptimizeMode = FileOptions_SPEED
  1257. const Default_FileOptions_CcGenericServices bool = false
  1258. const Default_FileOptions_JavaGenericServices bool = false
  1259. const Default_FileOptions_PyGenericServices bool = false
  1260. const Default_FileOptions_PhpGenericServices bool = false
  1261. const Default_FileOptions_Deprecated bool = false
  1262. const Default_FileOptions_CcEnableArenas bool = false
  1263. func (m *FileOptions) GetJavaPackage() string {
  1264. if m != nil && m.JavaPackage != nil {
  1265. return *m.JavaPackage
  1266. }
  1267. return ""
  1268. }
  1269. func (m *FileOptions) GetJavaOuterClassname() string {
  1270. if m != nil && m.JavaOuterClassname != nil {
  1271. return *m.JavaOuterClassname
  1272. }
  1273. return ""
  1274. }
  1275. func (m *FileOptions) GetJavaMultipleFiles() bool {
  1276. if m != nil && m.JavaMultipleFiles != nil {
  1277. return *m.JavaMultipleFiles
  1278. }
  1279. return Default_FileOptions_JavaMultipleFiles
  1280. }
  1281. // Deprecated: Do not use.
  1282. func (m *FileOptions) GetJavaGenerateEqualsAndHash() bool {
  1283. if m != nil && m.JavaGenerateEqualsAndHash != nil {
  1284. return *m.JavaGenerateEqualsAndHash
  1285. }
  1286. return false
  1287. }
  1288. func (m *FileOptions) GetJavaStringCheckUtf8() bool {
  1289. if m != nil && m.JavaStringCheckUtf8 != nil {
  1290. return *m.JavaStringCheckUtf8
  1291. }
  1292. return Default_FileOptions_JavaStringCheckUtf8
  1293. }
  1294. func (m *FileOptions) GetOptimizeFor() FileOptions_OptimizeMode {
  1295. if m != nil && m.OptimizeFor != nil {
  1296. return *m.OptimizeFor
  1297. }
  1298. return Default_FileOptions_OptimizeFor
  1299. }
  1300. func (m *FileOptions) GetGoPackage() string {
  1301. if m != nil && m.GoPackage != nil {
  1302. return *m.GoPackage
  1303. }
  1304. return ""
  1305. }
  1306. func (m *FileOptions) GetCcGenericServices() bool {
  1307. if m != nil && m.CcGenericServices != nil {
  1308. return *m.CcGenericServices
  1309. }
  1310. return Default_FileOptions_CcGenericServices
  1311. }
  1312. func (m *FileOptions) GetJavaGenericServices() bool {
  1313. if m != nil && m.JavaGenericServices != nil {
  1314. return *m.JavaGenericServices
  1315. }
  1316. return Default_FileOptions_JavaGenericServices
  1317. }
  1318. func (m *FileOptions) GetPyGenericServices() bool {
  1319. if m != nil && m.PyGenericServices != nil {
  1320. return *m.PyGenericServices
  1321. }
  1322. return Default_FileOptions_PyGenericServices
  1323. }
  1324. func (m *FileOptions) GetPhpGenericServices() bool {
  1325. if m != nil && m.PhpGenericServices != nil {
  1326. return *m.PhpGenericServices
  1327. }
  1328. return Default_FileOptions_PhpGenericServices
  1329. }
  1330. func (m *FileOptions) GetDeprecated() bool {
  1331. if m != nil && m.Deprecated != nil {
  1332. return *m.Deprecated
  1333. }
  1334. return Default_FileOptions_Deprecated
  1335. }
  1336. func (m *FileOptions) GetCcEnableArenas() bool {
  1337. if m != nil && m.CcEnableArenas != nil {
  1338. return *m.CcEnableArenas
  1339. }
  1340. return Default_FileOptions_CcEnableArenas
  1341. }
  1342. func (m *FileOptions) GetObjcClassPrefix() string {
  1343. if m != nil && m.ObjcClassPrefix != nil {
  1344. return *m.ObjcClassPrefix
  1345. }
  1346. return ""
  1347. }
  1348. func (m *FileOptions) GetCsharpNamespace() string {
  1349. if m != nil && m.CsharpNamespace != nil {
  1350. return *m.CsharpNamespace
  1351. }
  1352. return ""
  1353. }
  1354. func (m *FileOptions) GetSwiftPrefix() string {
  1355. if m != nil && m.SwiftPrefix != nil {
  1356. return *m.SwiftPrefix
  1357. }
  1358. return ""
  1359. }
  1360. func (m *FileOptions) GetPhpClassPrefix() string {
  1361. if m != nil && m.PhpClassPrefix != nil {
  1362. return *m.PhpClassPrefix
  1363. }
  1364. return ""
  1365. }
  1366. func (m *FileOptions) GetPhpNamespace() string {
  1367. if m != nil && m.PhpNamespace != nil {
  1368. return *m.PhpNamespace
  1369. }
  1370. return ""
  1371. }
  1372. func (m *FileOptions) GetPhpMetadataNamespace() string {
  1373. if m != nil && m.PhpMetadataNamespace != nil {
  1374. return *m.PhpMetadataNamespace
  1375. }
  1376. return ""
  1377. }
  1378. func (m *FileOptions) GetRubyPackage() string {
  1379. if m != nil && m.RubyPackage != nil {
  1380. return *m.RubyPackage
  1381. }
  1382. return ""
  1383. }
  1384. func (m *FileOptions) GetUninterpretedOption() []*UninterpretedOption {
  1385. if m != nil {
  1386. return m.UninterpretedOption
  1387. }
  1388. return nil
  1389. }
  1390. type MessageOptions struct {
  1391. // Set true to use the old proto1 MessageSet wire format for extensions.
  1392. // This is provided for backwards-compatibility with the MessageSet wire
  1393. // format. You should not use this for any other reason: It's less
  1394. // efficient, has fewer features, and is more complicated.
  1395. //
  1396. // The message must be defined exactly as follows:
  1397. // message Foo {
  1398. // option message_set_wire_format = true;
  1399. // extensions 4 to max;
  1400. // }
  1401. // Note that the message cannot have any defined fields; MessageSets only
  1402. // have extensions.
  1403. //
  1404. // All extensions of your type must be singular messages; e.g. they cannot
  1405. // be int32s, enums, or repeated messages.
  1406. //
  1407. // Because this is an option, the above two restrictions are not enforced by
  1408. // the protocol compiler.
  1409. MessageSetWireFormat *bool `protobuf:"varint,1,opt,name=message_set_wire_format,json=messageSetWireFormat,def=0" json:"message_set_wire_format,omitempty"`
  1410. // Disables the generation of the standard "descriptor()" accessor, which can
  1411. // conflict with a field of the same name. This is meant to make migration
  1412. // from proto1 easier; new code should avoid fields named "descriptor".
  1413. NoStandardDescriptorAccessor *bool `protobuf:"varint,2,opt,name=no_standard_descriptor_accessor,json=noStandardDescriptorAccessor,def=0" json:"no_standard_descriptor_accessor,omitempty"`
  1414. // Is this message deprecated?
  1415. // Depending on the target platform, this can emit Deprecated annotations
  1416. // for the message, or it will be completely ignored; in the very least,
  1417. // this is a formalization for deprecating messages.
  1418. Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1419. // Whether the message is an automatically generated map entry type for the
  1420. // maps field.
  1421. //
  1422. // For maps fields:
  1423. // map<KeyType, ValueType> map_field = 1;
  1424. // The parsed descriptor looks like:
  1425. // message MapFieldEntry {
  1426. // option map_entry = true;
  1427. // optional KeyType key = 1;
  1428. // optional ValueType value = 2;
  1429. // }
  1430. // repeated MapFieldEntry map_field = 1;
  1431. //
  1432. // Implementations may choose not to generate the map_entry=true message, but
  1433. // use a native map in the target language to hold the keys and values.
  1434. // The reflection APIs in such implementions still need to work as
  1435. // if the field is a repeated message field.
  1436. //
  1437. // NOTE: Do not set the option in .proto files. Always use the maps syntax
  1438. // instead. The option should only be implicitly set by the proto compiler
  1439. // parser.
  1440. MapEntry *bool `protobuf:"varint,7,opt,name=map_entry,json=mapEntry" json:"map_entry,omitempty"`
  1441. // The parser stores options it doesn't recognize here. See above.
  1442. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1443. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1444. proto.XXX_InternalExtensions `json:"-"`
  1445. XXX_unrecognized []byte `json:"-"`
  1446. XXX_sizecache int32 `json:"-"`
  1447. }
  1448. func (m *MessageOptions) Reset() { *m = MessageOptions{} }
  1449. func (m *MessageOptions) String() string { return proto.CompactTextString(m) }
  1450. func (*MessageOptions) ProtoMessage() {}
  1451. func (*MessageOptions) Descriptor() ([]byte, []int) {
  1452. return fileDescriptor_e5baabe45344a177, []int{11}
  1453. }
  1454. var extRange_MessageOptions = []proto.ExtensionRange{
  1455. {Start: 1000, End: 536870911},
  1456. }
  1457. func (*MessageOptions) ExtensionRangeArray() []proto.ExtensionRange {
  1458. return extRange_MessageOptions
  1459. }
  1460. func (m *MessageOptions) XXX_Unmarshal(b []byte) error {
  1461. return xxx_messageInfo_MessageOptions.Unmarshal(m, b)
  1462. }
  1463. func (m *MessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1464. return xxx_messageInfo_MessageOptions.Marshal(b, m, deterministic)
  1465. }
  1466. func (m *MessageOptions) XXX_Merge(src proto.Message) {
  1467. xxx_messageInfo_MessageOptions.Merge(m, src)
  1468. }
  1469. func (m *MessageOptions) XXX_Size() int {
  1470. return xxx_messageInfo_MessageOptions.Size(m)
  1471. }
  1472. func (m *MessageOptions) XXX_DiscardUnknown() {
  1473. xxx_messageInfo_MessageOptions.DiscardUnknown(m)
  1474. }
  1475. var xxx_messageInfo_MessageOptions proto.InternalMessageInfo
  1476. const Default_MessageOptions_MessageSetWireFormat bool = false
  1477. const Default_MessageOptions_NoStandardDescriptorAccessor bool = false
  1478. const Default_MessageOptions_Deprecated bool = false
  1479. func (m *MessageOptions) GetMessageSetWireFormat() bool {
  1480. if m != nil && m.MessageSetWireFormat != nil {
  1481. return *m.MessageSetWireFormat
  1482. }
  1483. return Default_MessageOptions_MessageSetWireFormat
  1484. }
  1485. func (m *MessageOptions) GetNoStandardDescriptorAccessor() bool {
  1486. if m != nil && m.NoStandardDescriptorAccessor != nil {
  1487. return *m.NoStandardDescriptorAccessor
  1488. }
  1489. return Default_MessageOptions_NoStandardDescriptorAccessor
  1490. }
  1491. func (m *MessageOptions) GetDeprecated() bool {
  1492. if m != nil && m.Deprecated != nil {
  1493. return *m.Deprecated
  1494. }
  1495. return Default_MessageOptions_Deprecated
  1496. }
  1497. func (m *MessageOptions) GetMapEntry() bool {
  1498. if m != nil && m.MapEntry != nil {
  1499. return *m.MapEntry
  1500. }
  1501. return false
  1502. }
  1503. func (m *MessageOptions) GetUninterpretedOption() []*UninterpretedOption {
  1504. if m != nil {
  1505. return m.UninterpretedOption
  1506. }
  1507. return nil
  1508. }
  1509. type FieldOptions struct {
  1510. // The ctype option instructs the C++ code generator to use a different
  1511. // representation of the field than it normally would. See the specific
  1512. // options below. This option is not yet implemented in the open source
  1513. // release -- sorry, we'll try to include it in a future version!
  1514. Ctype *FieldOptions_CType `protobuf:"varint,1,opt,name=ctype,enum=google.protobuf.FieldOptions_CType,def=0" json:"ctype,omitempty"`
  1515. // The packed option can be enabled for repeated primitive fields to enable
  1516. // a more efficient representation on the wire. Rather than repeatedly
  1517. // writing the tag and type for each element, the entire array is encoded as
  1518. // a single length-delimited blob. In proto3, only explicit setting it to
  1519. // false will avoid using packed encoding.
  1520. Packed *bool `protobuf:"varint,2,opt,name=packed" json:"packed,omitempty"`
  1521. // The jstype option determines the JavaScript type used for values of the
  1522. // field. The option is permitted only for 64 bit integral and fixed types
  1523. // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
  1524. // is represented as JavaScript string, which avoids loss of precision that
  1525. // can happen when a large value is converted to a floating point JavaScript.
  1526. // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
  1527. // use the JavaScript "number" type. The behavior of the default option
  1528. // JS_NORMAL is implementation dependent.
  1529. //
  1530. // This option is an enum to permit additional types to be added, e.g.
  1531. // goog.math.Integer.
  1532. Jstype *FieldOptions_JSType `protobuf:"varint,6,opt,name=jstype,enum=google.protobuf.FieldOptions_JSType,def=0" json:"jstype,omitempty"`
  1533. // Should this field be parsed lazily? Lazy applies only to message-type
  1534. // fields. It means that when the outer message is initially parsed, the
  1535. // inner message's contents will not be parsed but instead stored in encoded
  1536. // form. The inner message will actually be parsed when it is first accessed.
  1537. //
  1538. // This is only a hint. Implementations are free to choose whether to use
  1539. // eager or lazy parsing regardless of the value of this option. However,
  1540. // setting this option true suggests that the protocol author believes that
  1541. // using lazy parsing on this field is worth the additional bookkeeping
  1542. // overhead typically needed to implement it.
  1543. //
  1544. // This option does not affect the public interface of any generated code;
  1545. // all method signatures remain the same. Furthermore, thread-safety of the
  1546. // interface is not affected by this option; const methods remain safe to
  1547. // call from multiple threads concurrently, while non-const methods continue
  1548. // to require exclusive access.
  1549. //
  1550. //
  1551. // Note that implementations may choose not to check required fields within
  1552. // a lazy sub-message. That is, calling IsInitialized() on the outer message
  1553. // may return true even if the inner message has missing required fields.
  1554. // This is necessary because otherwise the inner message would have to be
  1555. // parsed in order to perform the check, defeating the purpose of lazy
  1556. // parsing. An implementation which chooses not to check required fields
  1557. // must be consistent about it. That is, for any particular sub-message, the
  1558. // implementation must either *always* check its required fields, or *never*
  1559. // check its required fields, regardless of whether or not the message has
  1560. // been parsed.
  1561. Lazy *bool `protobuf:"varint,5,opt,name=lazy,def=0" json:"lazy,omitempty"`
  1562. // Is this field deprecated?
  1563. // Depending on the target platform, this can emit Deprecated annotations
  1564. // for accessors, or it will be completely ignored; in the very least, this
  1565. // is a formalization for deprecating fields.
  1566. Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1567. // For Google-internal migration only. Do not use.
  1568. Weak *bool `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"`
  1569. // The parser stores options it doesn't recognize here. See above.
  1570. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1571. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1572. proto.XXX_InternalExtensions `json:"-"`
  1573. XXX_unrecognized []byte `json:"-"`
  1574. XXX_sizecache int32 `json:"-"`
  1575. }
  1576. func (m *FieldOptions) Reset() { *m = FieldOptions{} }
  1577. func (m *FieldOptions) String() string { return proto.CompactTextString(m) }
  1578. func (*FieldOptions) ProtoMessage() {}
  1579. func (*FieldOptions) Descriptor() ([]byte, []int) {
  1580. return fileDescriptor_e5baabe45344a177, []int{12}
  1581. }
  1582. var extRange_FieldOptions = []proto.ExtensionRange{
  1583. {Start: 1000, End: 536870911},
  1584. }
  1585. func (*FieldOptions) ExtensionRangeArray() []proto.ExtensionRange {
  1586. return extRange_FieldOptions
  1587. }
  1588. func (m *FieldOptions) XXX_Unmarshal(b []byte) error {
  1589. return xxx_messageInfo_FieldOptions.Unmarshal(m, b)
  1590. }
  1591. func (m *FieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1592. return xxx_messageInfo_FieldOptions.Marshal(b, m, deterministic)
  1593. }
  1594. func (m *FieldOptions) XXX_Merge(src proto.Message) {
  1595. xxx_messageInfo_FieldOptions.Merge(m, src)
  1596. }
  1597. func (m *FieldOptions) XXX_Size() int {
  1598. return xxx_messageInfo_FieldOptions.Size(m)
  1599. }
  1600. func (m *FieldOptions) XXX_DiscardUnknown() {
  1601. xxx_messageInfo_FieldOptions.DiscardUnknown(m)
  1602. }
  1603. var xxx_messageInfo_FieldOptions proto.InternalMessageInfo
  1604. const Default_FieldOptions_Ctype FieldOptions_CType = FieldOptions_STRING
  1605. const Default_FieldOptions_Jstype FieldOptions_JSType = FieldOptions_JS_NORMAL
  1606. const Default_FieldOptions_Lazy bool = false
  1607. const Default_FieldOptions_Deprecated bool = false
  1608. const Default_FieldOptions_Weak bool = false
  1609. func (m *FieldOptions) GetCtype() FieldOptions_CType {
  1610. if m != nil && m.Ctype != nil {
  1611. return *m.Ctype
  1612. }
  1613. return Default_FieldOptions_Ctype
  1614. }
  1615. func (m *FieldOptions) GetPacked() bool {
  1616. if m != nil && m.Packed != nil {
  1617. return *m.Packed
  1618. }
  1619. return false
  1620. }
  1621. func (m *FieldOptions) GetJstype() FieldOptions_JSType {
  1622. if m != nil && m.Jstype != nil {
  1623. return *m.Jstype
  1624. }
  1625. return Default_FieldOptions_Jstype
  1626. }
  1627. func (m *FieldOptions) GetLazy() bool {
  1628. if m != nil && m.Lazy != nil {
  1629. return *m.Lazy
  1630. }
  1631. return Default_FieldOptions_Lazy
  1632. }
  1633. func (m *FieldOptions) GetDeprecated() bool {
  1634. if m != nil && m.Deprecated != nil {
  1635. return *m.Deprecated
  1636. }
  1637. return Default_FieldOptions_Deprecated
  1638. }
  1639. func (m *FieldOptions) GetWeak() bool {
  1640. if m != nil && m.Weak != nil {
  1641. return *m.Weak
  1642. }
  1643. return Default_FieldOptions_Weak
  1644. }
  1645. func (m *FieldOptions) GetUninterpretedOption() []*UninterpretedOption {
  1646. if m != nil {
  1647. return m.UninterpretedOption
  1648. }
  1649. return nil
  1650. }
  1651. type OneofOptions struct {
  1652. // The parser stores options it doesn't recognize here. See above.
  1653. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1654. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1655. proto.XXX_InternalExtensions `json:"-"`
  1656. XXX_unrecognized []byte `json:"-"`
  1657. XXX_sizecache int32 `json:"-"`
  1658. }
  1659. func (m *OneofOptions) Reset() { *m = OneofOptions{} }
  1660. func (m *OneofOptions) String() string { return proto.CompactTextString(m) }
  1661. func (*OneofOptions) ProtoMessage() {}
  1662. func (*OneofOptions) Descriptor() ([]byte, []int) {
  1663. return fileDescriptor_e5baabe45344a177, []int{13}
  1664. }
  1665. var extRange_OneofOptions = []proto.ExtensionRange{
  1666. {Start: 1000, End: 536870911},
  1667. }
  1668. func (*OneofOptions) ExtensionRangeArray() []proto.ExtensionRange {
  1669. return extRange_OneofOptions
  1670. }
  1671. func (m *OneofOptions) XXX_Unmarshal(b []byte) error {
  1672. return xxx_messageInfo_OneofOptions.Unmarshal(m, b)
  1673. }
  1674. func (m *OneofOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1675. return xxx_messageInfo_OneofOptions.Marshal(b, m, deterministic)
  1676. }
  1677. func (m *OneofOptions) XXX_Merge(src proto.Message) {
  1678. xxx_messageInfo_OneofOptions.Merge(m, src)
  1679. }
  1680. func (m *OneofOptions) XXX_Size() int {
  1681. return xxx_messageInfo_OneofOptions.Size(m)
  1682. }
  1683. func (m *OneofOptions) XXX_DiscardUnknown() {
  1684. xxx_messageInfo_OneofOptions.DiscardUnknown(m)
  1685. }
  1686. var xxx_messageInfo_OneofOptions proto.InternalMessageInfo
  1687. func (m *OneofOptions) GetUninterpretedOption() []*UninterpretedOption {
  1688. if m != nil {
  1689. return m.UninterpretedOption
  1690. }
  1691. return nil
  1692. }
  1693. type EnumOptions struct {
  1694. // Set this option to true to allow mapping different tag names to the same
  1695. // value.
  1696. AllowAlias *bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias" json:"allow_alias,omitempty"`
  1697. // Is this enum deprecated?
  1698. // Depending on the target platform, this can emit Deprecated annotations
  1699. // for the enum, or it will be completely ignored; in the very least, this
  1700. // is a formalization for deprecating enums.
  1701. Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1702. // The parser stores options it doesn't recognize here. See above.
  1703. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1704. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1705. proto.XXX_InternalExtensions `json:"-"`
  1706. XXX_unrecognized []byte `json:"-"`
  1707. XXX_sizecache int32 `json:"-"`
  1708. }
  1709. func (m *EnumOptions) Reset() { *m = EnumOptions{} }
  1710. func (m *EnumOptions) String() string { return proto.CompactTextString(m) }
  1711. func (*EnumOptions) ProtoMessage() {}
  1712. func (*EnumOptions) Descriptor() ([]byte, []int) {
  1713. return fileDescriptor_e5baabe45344a177, []int{14}
  1714. }
  1715. var extRange_EnumOptions = []proto.ExtensionRange{
  1716. {Start: 1000, End: 536870911},
  1717. }
  1718. func (*EnumOptions) ExtensionRangeArray() []proto.ExtensionRange {
  1719. return extRange_EnumOptions
  1720. }
  1721. func (m *EnumOptions) XXX_Unmarshal(b []byte) error {
  1722. return xxx_messageInfo_EnumOptions.Unmarshal(m, b)
  1723. }
  1724. func (m *EnumOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1725. return xxx_messageInfo_EnumOptions.Marshal(b, m, deterministic)
  1726. }
  1727. func (m *EnumOptions) XXX_Merge(src proto.Message) {
  1728. xxx_messageInfo_EnumOptions.Merge(m, src)
  1729. }
  1730. func (m *EnumOptions) XXX_Size() int {
  1731. return xxx_messageInfo_EnumOptions.Size(m)
  1732. }
  1733. func (m *EnumOptions) XXX_DiscardUnknown() {
  1734. xxx_messageInfo_EnumOptions.DiscardUnknown(m)
  1735. }
  1736. var xxx_messageInfo_EnumOptions proto.InternalMessageInfo
  1737. const Default_EnumOptions_Deprecated bool = false
  1738. func (m *EnumOptions) GetAllowAlias() bool {
  1739. if m != nil && m.AllowAlias != nil {
  1740. return *m.AllowAlias
  1741. }
  1742. return false
  1743. }
  1744. func (m *EnumOptions) GetDeprecated() bool {
  1745. if m != nil && m.Deprecated != nil {
  1746. return *m.Deprecated
  1747. }
  1748. return Default_EnumOptions_Deprecated
  1749. }
  1750. func (m *EnumOptions) GetUninterpretedOption() []*UninterpretedOption {
  1751. if m != nil {
  1752. return m.UninterpretedOption
  1753. }
  1754. return nil
  1755. }
  1756. type EnumValueOptions struct {
  1757. // Is this enum value deprecated?
  1758. // Depending on the target platform, this can emit Deprecated annotations
  1759. // for the enum value, or it will be completely ignored; in the very least,
  1760. // this is a formalization for deprecating enum values.
  1761. Deprecated *bool `protobuf:"varint,1,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1762. // The parser stores options it doesn't recognize here. See above.
  1763. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1764. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1765. proto.XXX_InternalExtensions `json:"-"`
  1766. XXX_unrecognized []byte `json:"-"`
  1767. XXX_sizecache int32 `json:"-"`
  1768. }
  1769. func (m *EnumValueOptions) Reset() { *m = EnumValueOptions{} }
  1770. func (m *EnumValueOptions) String() string { return proto.CompactTextString(m) }
  1771. func (*EnumValueOptions) ProtoMessage() {}
  1772. func (*EnumValueOptions) Descriptor() ([]byte, []int) {
  1773. return fileDescriptor_e5baabe45344a177, []int{15}
  1774. }
  1775. var extRange_EnumValueOptions = []proto.ExtensionRange{
  1776. {Start: 1000, End: 536870911},
  1777. }
  1778. func (*EnumValueOptions) ExtensionRangeArray() []proto.ExtensionRange {
  1779. return extRange_EnumValueOptions
  1780. }
  1781. func (m *EnumValueOptions) XXX_Unmarshal(b []byte) error {
  1782. return xxx_messageInfo_EnumValueOptions.Unmarshal(m, b)
  1783. }
  1784. func (m *EnumValueOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1785. return xxx_messageInfo_EnumValueOptions.Marshal(b, m, deterministic)
  1786. }
  1787. func (m *EnumValueOptions) XXX_Merge(src proto.Message) {
  1788. xxx_messageInfo_EnumValueOptions.Merge(m, src)
  1789. }
  1790. func (m *EnumValueOptions) XXX_Size() int {
  1791. return xxx_messageInfo_EnumValueOptions.Size(m)
  1792. }
  1793. func (m *EnumValueOptions) XXX_DiscardUnknown() {
  1794. xxx_messageInfo_EnumValueOptions.DiscardUnknown(m)
  1795. }
  1796. var xxx_messageInfo_EnumValueOptions proto.InternalMessageInfo
  1797. const Default_EnumValueOptions_Deprecated bool = false
  1798. func (m *EnumValueOptions) GetDeprecated() bool {
  1799. if m != nil && m.Deprecated != nil {
  1800. return *m.Deprecated
  1801. }
  1802. return Default_EnumValueOptions_Deprecated
  1803. }
  1804. func (m *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption {
  1805. if m != nil {
  1806. return m.UninterpretedOption
  1807. }
  1808. return nil
  1809. }
  1810. type ServiceOptions struct {
  1811. // Is this service deprecated?
  1812. // Depending on the target platform, this can emit Deprecated annotations
  1813. // for the service, or it will be completely ignored; in the very least,
  1814. // this is a formalization for deprecating services.
  1815. Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1816. // The parser stores options it doesn't recognize here. See above.
  1817. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1818. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1819. proto.XXX_InternalExtensions `json:"-"`
  1820. XXX_unrecognized []byte `json:"-"`
  1821. XXX_sizecache int32 `json:"-"`
  1822. }
  1823. func (m *ServiceOptions) Reset() { *m = ServiceOptions{} }
  1824. func (m *ServiceOptions) String() string { return proto.CompactTextString(m) }
  1825. func (*ServiceOptions) ProtoMessage() {}
  1826. func (*ServiceOptions) Descriptor() ([]byte, []int) {
  1827. return fileDescriptor_e5baabe45344a177, []int{16}
  1828. }
  1829. var extRange_ServiceOptions = []proto.ExtensionRange{
  1830. {Start: 1000, End: 536870911},
  1831. }
  1832. func (*ServiceOptions) ExtensionRangeArray() []proto.ExtensionRange {
  1833. return extRange_ServiceOptions
  1834. }
  1835. func (m *ServiceOptions) XXX_Unmarshal(b []byte) error {
  1836. return xxx_messageInfo_ServiceOptions.Unmarshal(m, b)
  1837. }
  1838. func (m *ServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1839. return xxx_messageInfo_ServiceOptions.Marshal(b, m, deterministic)
  1840. }
  1841. func (m *ServiceOptions) XXX_Merge(src proto.Message) {
  1842. xxx_messageInfo_ServiceOptions.Merge(m, src)
  1843. }
  1844. func (m *ServiceOptions) XXX_Size() int {
  1845. return xxx_messageInfo_ServiceOptions.Size(m)
  1846. }
  1847. func (m *ServiceOptions) XXX_DiscardUnknown() {
  1848. xxx_messageInfo_ServiceOptions.DiscardUnknown(m)
  1849. }
  1850. var xxx_messageInfo_ServiceOptions proto.InternalMessageInfo
  1851. const Default_ServiceOptions_Deprecated bool = false
  1852. func (m *ServiceOptions) GetDeprecated() bool {
  1853. if m != nil && m.Deprecated != nil {
  1854. return *m.Deprecated
  1855. }
  1856. return Default_ServiceOptions_Deprecated
  1857. }
  1858. func (m *ServiceOptions) GetUninterpretedOption() []*UninterpretedOption {
  1859. if m != nil {
  1860. return m.UninterpretedOption
  1861. }
  1862. return nil
  1863. }
  1864. type MethodOptions struct {
  1865. // Is this method deprecated?
  1866. // Depending on the target platform, this can emit Deprecated annotations
  1867. // for the method, or it will be completely ignored; in the very least,
  1868. // this is a formalization for deprecating methods.
  1869. Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1870. IdempotencyLevel *MethodOptions_IdempotencyLevel `protobuf:"varint,34,opt,name=idempotency_level,json=idempotencyLevel,enum=google.protobuf.MethodOptions_IdempotencyLevel,def=0" json:"idempotency_level,omitempty"`
  1871. // The parser stores options it doesn't recognize here. See above.
  1872. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1873. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1874. proto.XXX_InternalExtensions `json:"-"`
  1875. XXX_unrecognized []byte `json:"-"`
  1876. XXX_sizecache int32 `json:"-"`
  1877. }
  1878. func (m *MethodOptions) Reset() { *m = MethodOptions{} }
  1879. func (m *MethodOptions) String() string { return proto.CompactTextString(m) }
  1880. func (*MethodOptions) ProtoMessage() {}
  1881. func (*MethodOptions) Descriptor() ([]byte, []int) {
  1882. return fileDescriptor_e5baabe45344a177, []int{17}
  1883. }
  1884. var extRange_MethodOptions = []proto.ExtensionRange{
  1885. {Start: 1000, End: 536870911},
  1886. }
  1887. func (*MethodOptions) ExtensionRangeArray() []proto.ExtensionRange {
  1888. return extRange_MethodOptions
  1889. }
  1890. func (m *MethodOptions) XXX_Unmarshal(b []byte) error {
  1891. return xxx_messageInfo_MethodOptions.Unmarshal(m, b)
  1892. }
  1893. func (m *MethodOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1894. return xxx_messageInfo_MethodOptions.Marshal(b, m, deterministic)
  1895. }
  1896. func (m *MethodOptions) XXX_Merge(src proto.Message) {
  1897. xxx_messageInfo_MethodOptions.Merge(m, src)
  1898. }
  1899. func (m *MethodOptions) XXX_Size() int {
  1900. return xxx_messageInfo_MethodOptions.Size(m)
  1901. }
  1902. func (m *MethodOptions) XXX_DiscardUnknown() {
  1903. xxx_messageInfo_MethodOptions.DiscardUnknown(m)
  1904. }
  1905. var xxx_messageInfo_MethodOptions proto.InternalMessageInfo
  1906. const Default_MethodOptions_Deprecated bool = false
  1907. const Default_MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel = MethodOptions_IDEMPOTENCY_UNKNOWN
  1908. func (m *MethodOptions) GetDeprecated() bool {
  1909. if m != nil && m.Deprecated != nil {
  1910. return *m.Deprecated
  1911. }
  1912. return Default_MethodOptions_Deprecated
  1913. }
  1914. func (m *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel {
  1915. if m != nil && m.IdempotencyLevel != nil {
  1916. return *m.IdempotencyLevel
  1917. }
  1918. return Default_MethodOptions_IdempotencyLevel
  1919. }
  1920. func (m *MethodOptions) GetUninterpretedOption() []*UninterpretedOption {
  1921. if m != nil {
  1922. return m.UninterpretedOption
  1923. }
  1924. return nil
  1925. }
  1926. // A message representing a option the parser does not recognize. This only
  1927. // appears in options protos created by the compiler::Parser class.
  1928. // DescriptorPool resolves these when building Descriptor objects. Therefore,
  1929. // options protos in descriptor objects (e.g. returned by Descriptor::options(),
  1930. // or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
  1931. // in them.
  1932. type UninterpretedOption struct {
  1933. Name []*UninterpretedOption_NamePart `protobuf:"bytes,2,rep,name=name" json:"name,omitempty"`
  1934. // The value of the uninterpreted option, in whatever type the tokenizer
  1935. // identified it as during parsing. Exactly one of these should be set.
  1936. IdentifierValue *string `protobuf:"bytes,3,opt,name=identifier_value,json=identifierValue" json:"identifier_value,omitempty"`
  1937. PositiveIntValue *uint64 `protobuf:"varint,4,opt,name=positive_int_value,json=positiveIntValue" json:"positive_int_value,omitempty"`
  1938. NegativeIntValue *int64 `protobuf:"varint,5,opt,name=negative_int_value,json=negativeIntValue" json:"negative_int_value,omitempty"`
  1939. DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"`
  1940. StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"string_value,omitempty"`
  1941. AggregateValue *string `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregate_value,omitempty"`
  1942. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1943. XXX_unrecognized []byte `json:"-"`
  1944. XXX_sizecache int32 `json:"-"`
  1945. }
  1946. func (m *UninterpretedOption) Reset() { *m = UninterpretedOption{} }
  1947. func (m *UninterpretedOption) String() string { return proto.CompactTextString(m) }
  1948. func (*UninterpretedOption) ProtoMessage() {}
  1949. func (*UninterpretedOption) Descriptor() ([]byte, []int) {
  1950. return fileDescriptor_e5baabe45344a177, []int{18}
  1951. }
  1952. func (m *UninterpretedOption) XXX_Unmarshal(b []byte) error {
  1953. return xxx_messageInfo_UninterpretedOption.Unmarshal(m, b)
  1954. }
  1955. func (m *UninterpretedOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1956. return xxx_messageInfo_UninterpretedOption.Marshal(b, m, deterministic)
  1957. }
  1958. func (m *UninterpretedOption) XXX_Merge(src proto.Message) {
  1959. xxx_messageInfo_UninterpretedOption.Merge(m, src)
  1960. }
  1961. func (m *UninterpretedOption) XXX_Size() int {
  1962. return xxx_messageInfo_UninterpretedOption.Size(m)
  1963. }
  1964. func (m *UninterpretedOption) XXX_DiscardUnknown() {
  1965. xxx_messageInfo_UninterpretedOption.DiscardUnknown(m)
  1966. }
  1967. var xxx_messageInfo_UninterpretedOption proto.InternalMessageInfo
  1968. func (m *UninterpretedOption) GetName() []*UninterpretedOption_NamePart {
  1969. if m != nil {
  1970. return m.Name
  1971. }
  1972. return nil
  1973. }
  1974. func (m *UninterpretedOption) GetIdentifierValue() string {
  1975. if m != nil && m.IdentifierValue != nil {
  1976. return *m.IdentifierValue
  1977. }
  1978. return ""
  1979. }
  1980. func (m *UninterpretedOption) GetPositiveIntValue() uint64 {
  1981. if m != nil && m.PositiveIntValue != nil {
  1982. return *m.PositiveIntValue
  1983. }
  1984. return 0
  1985. }
  1986. func (m *UninterpretedOption) GetNegativeIntValue() int64 {
  1987. if m != nil && m.NegativeIntValue != nil {
  1988. return *m.NegativeIntValue
  1989. }
  1990. return 0
  1991. }
  1992. func (m *UninterpretedOption) GetDoubleValue() float64 {
  1993. if m != nil && m.DoubleValue != nil {
  1994. return *m.DoubleValue
  1995. }
  1996. return 0
  1997. }
  1998. func (m *UninterpretedOption) GetStringValue() []byte {
  1999. if m != nil {
  2000. return m.StringValue
  2001. }
  2002. return nil
  2003. }
  2004. func (m *UninterpretedOption) GetAggregateValue() string {
  2005. if m != nil && m.AggregateValue != nil {
  2006. return *m.AggregateValue
  2007. }
  2008. return ""
  2009. }
  2010. // The name of the uninterpreted option. Each string represents a segment in
  2011. // a dot-separated name. is_extension is true iff a segment represents an
  2012. // extension (denoted with parentheses in options specs in .proto files).
  2013. // E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
  2014. // "foo.(bar.baz).qux".
  2015. type UninterpretedOption_NamePart struct {
  2016. NamePart *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"name_part,omitempty"`
  2017. IsExtension *bool `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"is_extension,omitempty"`
  2018. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2019. XXX_unrecognized []byte `json:"-"`
  2020. XXX_sizecache int32 `json:"-"`
  2021. }
  2022. func (m *UninterpretedOption_NamePart) Reset() { *m = UninterpretedOption_NamePart{} }
  2023. func (m *UninterpretedOption_NamePart) String() string { return proto.CompactTextString(m) }
  2024. func (*UninterpretedOption_NamePart) ProtoMessage() {}
  2025. func (*UninterpretedOption_NamePart) Descriptor() ([]byte, []int) {
  2026. return fileDescriptor_e5baabe45344a177, []int{18, 0}
  2027. }
  2028. func (m *UninterpretedOption_NamePart) XXX_Unmarshal(b []byte) error {
  2029. return xxx_messageInfo_UninterpretedOption_NamePart.Unmarshal(m, b)
  2030. }
  2031. func (m *UninterpretedOption_NamePart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2032. return xxx_messageInfo_UninterpretedOption_NamePart.Marshal(b, m, deterministic)
  2033. }
  2034. func (m *UninterpretedOption_NamePart) XXX_Merge(src proto.Message) {
  2035. xxx_messageInfo_UninterpretedOption_NamePart.Merge(m, src)
  2036. }
  2037. func (m *UninterpretedOption_NamePart) XXX_Size() int {
  2038. return xxx_messageInfo_UninterpretedOption_NamePart.Size(m)
  2039. }
  2040. func (m *UninterpretedOption_NamePart) XXX_DiscardUnknown() {
  2041. xxx_messageInfo_UninterpretedOption_NamePart.DiscardUnknown(m)
  2042. }
  2043. var xxx_messageInfo_UninterpretedOption_NamePart proto.InternalMessageInfo
  2044. func (m *UninterpretedOption_NamePart) GetNamePart() string {
  2045. if m != nil && m.NamePart != nil {
  2046. return *m.NamePart
  2047. }
  2048. return ""
  2049. }
  2050. func (m *UninterpretedOption_NamePart) GetIsExtension() bool {
  2051. if m != nil && m.IsExtension != nil {
  2052. return *m.IsExtension
  2053. }
  2054. return false
  2055. }
  2056. // Encapsulates information about the original source file from which a
  2057. // FileDescriptorProto was generated.
  2058. type SourceCodeInfo struct {
  2059. // A Location identifies a piece of source code in a .proto file which
  2060. // corresponds to a particular definition. This information is intended
  2061. // to be useful to IDEs, code indexers, documentation generators, and similar
  2062. // tools.
  2063. //
  2064. // For example, say we have a file like:
  2065. // message Foo {
  2066. // optional string foo = 1;
  2067. // }
  2068. // Let's look at just the field definition:
  2069. // optional string foo = 1;
  2070. // ^ ^^ ^^ ^ ^^^
  2071. // a bc de f ghi
  2072. // We have the following locations:
  2073. // span path represents
  2074. // [a,i) [ 4, 0, 2, 0 ] The whole field definition.
  2075. // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
  2076. // [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
  2077. // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
  2078. // [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
  2079. //
  2080. // Notes:
  2081. // - A location may refer to a repeated field itself (i.e. not to any
  2082. // particular index within it). This is used whenever a set of elements are
  2083. // logically enclosed in a single code segment. For example, an entire
  2084. // extend block (possibly containing multiple extension definitions) will
  2085. // have an outer location whose path refers to the "extensions" repeated
  2086. // field without an index.
  2087. // - Multiple locations may have the same path. This happens when a single
  2088. // logical declaration is spread out across multiple places. The most
  2089. // obvious example is the "extend" block again -- there may be multiple
  2090. // extend blocks in the same scope, each of which will have the same path.
  2091. // - A location's span is not always a subset of its parent's span. For
  2092. // example, the "extendee" of an extension declaration appears at the
  2093. // beginning of the "extend" block and is shared by all extensions within
  2094. // the block.
  2095. // - Just because a location's span is a subset of some other location's span
  2096. // does not mean that it is a descendent. For example, a "group" defines
  2097. // both a type and a field in a single declaration. Thus, the locations
  2098. // corresponding to the type and field and their components will overlap.
  2099. // - Code which tries to interpret locations should probably be designed to
  2100. // ignore those that it doesn't understand, as more types of locations could
  2101. // be recorded in the future.
  2102. Location []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"`
  2103. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2104. XXX_unrecognized []byte `json:"-"`
  2105. XXX_sizecache int32 `json:"-"`
  2106. }
  2107. func (m *SourceCodeInfo) Reset() { *m = SourceCodeInfo{} }
  2108. func (m *SourceCodeInfo) String() string { return proto.CompactTextString(m) }
  2109. func (*SourceCodeInfo) ProtoMessage() {}
  2110. func (*SourceCodeInfo) Descriptor() ([]byte, []int) {
  2111. return fileDescriptor_e5baabe45344a177, []int{19}
  2112. }
  2113. func (m *SourceCodeInfo) XXX_Unmarshal(b []byte) error {
  2114. return xxx_messageInfo_SourceCodeInfo.Unmarshal(m, b)
  2115. }
  2116. func (m *SourceCodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2117. return xxx_messageInfo_SourceCodeInfo.Marshal(b, m, deterministic)
  2118. }
  2119. func (m *SourceCodeInfo) XXX_Merge(src proto.Message) {
  2120. xxx_messageInfo_SourceCodeInfo.Merge(m, src)
  2121. }
  2122. func (m *SourceCodeInfo) XXX_Size() int {
  2123. return xxx_messageInfo_SourceCodeInfo.Size(m)
  2124. }
  2125. func (m *SourceCodeInfo) XXX_DiscardUnknown() {
  2126. xxx_messageInfo_SourceCodeInfo.DiscardUnknown(m)
  2127. }
  2128. var xxx_messageInfo_SourceCodeInfo proto.InternalMessageInfo
  2129. func (m *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location {
  2130. if m != nil {
  2131. return m.Location
  2132. }
  2133. return nil
  2134. }
  2135. type SourceCodeInfo_Location struct {
  2136. // Identifies which part of the FileDescriptorProto was defined at this
  2137. // location.
  2138. //
  2139. // Each element is a field number or an index. They form a path from
  2140. // the root FileDescriptorProto to the place where the definition. For
  2141. // example, this path:
  2142. // [ 4, 3, 2, 7, 1 ]
  2143. // refers to:
  2144. // file.message_type(3) // 4, 3
  2145. // .field(7) // 2, 7
  2146. // .name() // 1
  2147. // This is because FileDescriptorProto.message_type has field number 4:
  2148. // repeated DescriptorProto message_type = 4;
  2149. // and DescriptorProto.field has field number 2:
  2150. // repeated FieldDescriptorProto field = 2;
  2151. // and FieldDescriptorProto.name has field number 1:
  2152. // optional string name = 1;
  2153. //
  2154. // Thus, the above path gives the location of a field name. If we removed
  2155. // the last element:
  2156. // [ 4, 3, 2, 7 ]
  2157. // this path refers to the whole field declaration (from the beginning
  2158. // of the label to the terminating semicolon).
  2159. Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"`
  2160. // Always has exactly three or four elements: start line, start column,
  2161. // end line (optional, otherwise assumed same as start line), end column.
  2162. // These are packed into a single field for efficiency. Note that line
  2163. // and column numbers are zero-based -- typically you will want to add
  2164. // 1 to each before displaying to a user.
  2165. Span []int32 `protobuf:"varint,2,rep,packed,name=span" json:"span,omitempty"`
  2166. // If this SourceCodeInfo represents a complete declaration, these are any
  2167. // comments appearing before and after the declaration which appear to be
  2168. // attached to the declaration.
  2169. //
  2170. // A series of line comments appearing on consecutive lines, with no other
  2171. // tokens appearing on those lines, will be treated as a single comment.
  2172. //
  2173. // leading_detached_comments will keep paragraphs of comments that appear
  2174. // before (but not connected to) the current element. Each paragraph,
  2175. // separated by empty lines, will be one comment element in the repeated
  2176. // field.
  2177. //
  2178. // Only the comment content is provided; comment markers (e.g. //) are
  2179. // stripped out. For block comments, leading whitespace and an asterisk
  2180. // will be stripped from the beginning of each line other than the first.
  2181. // Newlines are included in the output.
  2182. //
  2183. // Examples:
  2184. //
  2185. // optional int32 foo = 1; // Comment attached to foo.
  2186. // // Comment attached to bar.
  2187. // optional int32 bar = 2;
  2188. //
  2189. // optional string baz = 3;
  2190. // // Comment attached to baz.
  2191. // // Another line attached to baz.
  2192. //
  2193. // // Comment attached to qux.
  2194. // //
  2195. // // Another line attached to qux.
  2196. // optional double qux = 4;
  2197. //
  2198. // // Detached comment for corge. This is not leading or trailing comments
  2199. // // to qux or corge because there are blank lines separating it from
  2200. // // both.
  2201. //
  2202. // // Detached comment for corge paragraph 2.
  2203. //
  2204. // optional string corge = 5;
  2205. // /* Block comment attached
  2206. // * to corge. Leading asterisks
  2207. // * will be removed. */
  2208. // /* Block comment attached to
  2209. // * grault. */
  2210. // optional int32 grault = 6;
  2211. //
  2212. // // ignored detached comments.
  2213. LeadingComments *string `protobuf:"bytes,3,opt,name=leading_comments,json=leadingComments" json:"leading_comments,omitempty"`
  2214. TrailingComments *string `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailing_comments,omitempty"`
  2215. LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leading_detached_comments,omitempty"`
  2216. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2217. XXX_unrecognized []byte `json:"-"`
  2218. XXX_sizecache int32 `json:"-"`
  2219. }
  2220. func (m *SourceCodeInfo_Location) Reset() { *m = SourceCodeInfo_Location{} }
  2221. func (m *SourceCodeInfo_Location) String() string { return proto.CompactTextString(m) }
  2222. func (*SourceCodeInfo_Location) ProtoMessage() {}
  2223. func (*SourceCodeInfo_Location) Descriptor() ([]byte, []int) {
  2224. return fileDescriptor_e5baabe45344a177, []int{19, 0}
  2225. }
  2226. func (m *SourceCodeInfo_Location) XXX_Unmarshal(b []byte) error {
  2227. return xxx_messageInfo_SourceCodeInfo_Location.Unmarshal(m, b)
  2228. }
  2229. func (m *SourceCodeInfo_Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2230. return xxx_messageInfo_SourceCodeInfo_Location.Marshal(b, m, deterministic)
  2231. }
  2232. func (m *SourceCodeInfo_Location) XXX_Merge(src proto.Message) {
  2233. xxx_messageInfo_SourceCodeInfo_Location.Merge(m, src)
  2234. }
  2235. func (m *SourceCodeInfo_Location) XXX_Size() int {
  2236. return xxx_messageInfo_SourceCodeInfo_Location.Size(m)
  2237. }
  2238. func (m *SourceCodeInfo_Location) XXX_DiscardUnknown() {
  2239. xxx_messageInfo_SourceCodeInfo_Location.DiscardUnknown(m)
  2240. }
  2241. var xxx_messageInfo_SourceCodeInfo_Location proto.InternalMessageInfo
  2242. func (m *SourceCodeInfo_Location) GetPath() []int32 {
  2243. if m != nil {
  2244. return m.Path
  2245. }
  2246. return nil
  2247. }
  2248. func (m *SourceCodeInfo_Location) GetSpan() []int32 {
  2249. if m != nil {
  2250. return m.Span
  2251. }
  2252. return nil
  2253. }
  2254. func (m *SourceCodeInfo_Location) GetLeadingComments() string {
  2255. if m != nil && m.LeadingComments != nil {
  2256. return *m.LeadingComments
  2257. }
  2258. return ""
  2259. }
  2260. func (m *SourceCodeInfo_Location) GetTrailingComments() string {
  2261. if m != nil && m.TrailingComments != nil {
  2262. return *m.TrailingComments
  2263. }
  2264. return ""
  2265. }
  2266. func (m *SourceCodeInfo_Location) GetLeadingDetachedComments() []string {
  2267. if m != nil {
  2268. return m.LeadingDetachedComments
  2269. }
  2270. return nil
  2271. }
  2272. // Describes the relationship between generated code and its original source
  2273. // file. A GeneratedCodeInfo message is associated with only one generated
  2274. // source file, but may contain references to different source .proto files.
  2275. type GeneratedCodeInfo struct {
  2276. // An Annotation connects some span of text in generated code to an element
  2277. // of its generating .proto file.
  2278. Annotation []*GeneratedCodeInfo_Annotation `protobuf:"bytes,1,rep,name=annotation" json:"annotation,omitempty"`
  2279. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2280. XXX_unrecognized []byte `json:"-"`
  2281. XXX_sizecache int32 `json:"-"`
  2282. }
  2283. func (m *GeneratedCodeInfo) Reset() { *m = GeneratedCodeInfo{} }
  2284. func (m *GeneratedCodeInfo) String() string { return proto.CompactTextString(m) }
  2285. func (*GeneratedCodeInfo) ProtoMessage() {}
  2286. func (*GeneratedCodeInfo) Descriptor() ([]byte, []int) {
  2287. return fileDescriptor_e5baabe45344a177, []int{20}
  2288. }
  2289. func (m *GeneratedCodeInfo) XXX_Unmarshal(b []byte) error {
  2290. return xxx_messageInfo_GeneratedCodeInfo.Unmarshal(m, b)
  2291. }
  2292. func (m *GeneratedCodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2293. return xxx_messageInfo_GeneratedCodeInfo.Marshal(b, m, deterministic)
  2294. }
  2295. func (m *GeneratedCodeInfo) XXX_Merge(src proto.Message) {
  2296. xxx_messageInfo_GeneratedCodeInfo.Merge(m, src)
  2297. }
  2298. func (m *GeneratedCodeInfo) XXX_Size() int {
  2299. return xxx_messageInfo_GeneratedCodeInfo.Size(m)
  2300. }
  2301. func (m *GeneratedCodeInfo) XXX_DiscardUnknown() {
  2302. xxx_messageInfo_GeneratedCodeInfo.DiscardUnknown(m)
  2303. }
  2304. var xxx_messageInfo_GeneratedCodeInfo proto.InternalMessageInfo
  2305. func (m *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation {
  2306. if m != nil {
  2307. return m.Annotation
  2308. }
  2309. return nil
  2310. }
  2311. type GeneratedCodeInfo_Annotation struct {
  2312. // Identifies the element in the original source .proto file. This field
  2313. // is formatted the same as SourceCodeInfo.Location.path.
  2314. Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"`
  2315. // Identifies the filesystem path to the original source .proto.
  2316. SourceFile *string `protobuf:"bytes,2,opt,name=source_file,json=sourceFile" json:"source_file,omitempty"`
  2317. // Identifies the starting offset in bytes in the generated code
  2318. // that relates to the identified object.
  2319. Begin *int32 `protobuf:"varint,3,opt,name=begin" json:"begin,omitempty"`
  2320. // Identifies the ending offset in bytes in the generated code that
  2321. // relates to the identified offset. The end offset should be one past
  2322. // the last relevant byte (so the length of the text = end - begin).
  2323. End *int32 `protobuf:"varint,4,opt,name=end" json:"end,omitempty"`
  2324. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2325. XXX_unrecognized []byte `json:"-"`
  2326. XXX_sizecache int32 `json:"-"`
  2327. }
  2328. func (m *GeneratedCodeInfo_Annotation) Reset() { *m = GeneratedCodeInfo_Annotation{} }
  2329. func (m *GeneratedCodeInfo_Annotation) String() string { return proto.CompactTextString(m) }
  2330. func (*GeneratedCodeInfo_Annotation) ProtoMessage() {}
  2331. func (*GeneratedCodeInfo_Annotation) Descriptor() ([]byte, []int) {
  2332. return fileDescriptor_e5baabe45344a177, []int{20, 0}
  2333. }
  2334. func (m *GeneratedCodeInfo_Annotation) XXX_Unmarshal(b []byte) error {
  2335. return xxx_messageInfo_GeneratedCodeInfo_Annotation.Unmarshal(m, b)
  2336. }
  2337. func (m *GeneratedCodeInfo_Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2338. return xxx_messageInfo_GeneratedCodeInfo_Annotation.Marshal(b, m, deterministic)
  2339. }
  2340. func (m *GeneratedCodeInfo_Annotation) XXX_Merge(src proto.Message) {
  2341. xxx_messageInfo_GeneratedCodeInfo_Annotation.Merge(m, src)
  2342. }
  2343. func (m *GeneratedCodeInfo_Annotation) XXX_Size() int {
  2344. return xxx_messageInfo_GeneratedCodeInfo_Annotation.Size(m)
  2345. }
  2346. func (m *GeneratedCodeInfo_Annotation) XXX_DiscardUnknown() {
  2347. xxx_messageInfo_GeneratedCodeInfo_Annotation.DiscardUnknown(m)
  2348. }
  2349. var xxx_messageInfo_GeneratedCodeInfo_Annotation proto.InternalMessageInfo
  2350. func (m *GeneratedCodeInfo_Annotation) GetPath() []int32 {
  2351. if m != nil {
  2352. return m.Path
  2353. }
  2354. return nil
  2355. }
  2356. func (m *GeneratedCodeInfo_Annotation) GetSourceFile() string {
  2357. if m != nil && m.SourceFile != nil {
  2358. return *m.SourceFile
  2359. }
  2360. return ""
  2361. }
  2362. func (m *GeneratedCodeInfo_Annotation) GetBegin() int32 {
  2363. if m != nil && m.Begin != nil {
  2364. return *m.Begin
  2365. }
  2366. return 0
  2367. }
  2368. func (m *GeneratedCodeInfo_Annotation) GetEnd() int32 {
  2369. if m != nil && m.End != nil {
  2370. return *m.End
  2371. }
  2372. return 0
  2373. }
  2374. func init() {
  2375. proto.RegisterEnum("google.protobuf.FieldDescriptorProto_Type", FieldDescriptorProto_Type_name, FieldDescriptorProto_Type_value)
  2376. proto.RegisterEnum("google.protobuf.FieldDescriptorProto_Label", FieldDescriptorProto_Label_name, FieldDescriptorProto_Label_value)
  2377. proto.RegisterEnum("google.protobuf.FileOptions_OptimizeMode", FileOptions_OptimizeMode_name, FileOptions_OptimizeMode_value)
  2378. proto.RegisterEnum("google.protobuf.FieldOptions_CType", FieldOptions_CType_name, FieldOptions_CType_value)
  2379. proto.RegisterEnum("google.protobuf.FieldOptions_JSType", FieldOptions_JSType_name, FieldOptions_JSType_value)
  2380. proto.RegisterEnum("google.protobuf.MethodOptions_IdempotencyLevel", MethodOptions_IdempotencyLevel_name, MethodOptions_IdempotencyLevel_value)
  2381. proto.RegisterType((*FileDescriptorSet)(nil), "google.protobuf.FileDescriptorSet")
  2382. proto.RegisterType((*FileDescriptorProto)(nil), "google.protobuf.FileDescriptorProto")
  2383. proto.RegisterType((*DescriptorProto)(nil), "google.protobuf.DescriptorProto")
  2384. proto.RegisterType((*DescriptorProto_ExtensionRange)(nil), "google.protobuf.DescriptorProto.ExtensionRange")
  2385. proto.RegisterType((*DescriptorProto_ReservedRange)(nil), "google.protobuf.DescriptorProto.ReservedRange")
  2386. proto.RegisterType((*ExtensionRangeOptions)(nil), "google.protobuf.ExtensionRangeOptions")
  2387. proto.RegisterType((*FieldDescriptorProto)(nil), "google.protobuf.FieldDescriptorProto")
  2388. proto.RegisterType((*OneofDescriptorProto)(nil), "google.protobuf.OneofDescriptorProto")
  2389. proto.RegisterType((*EnumDescriptorProto)(nil), "google.protobuf.EnumDescriptorProto")
  2390. proto.RegisterType((*EnumDescriptorProto_EnumReservedRange)(nil), "google.protobuf.EnumDescriptorProto.EnumReservedRange")
  2391. proto.RegisterType((*EnumValueDescriptorProto)(nil), "google.protobuf.EnumValueDescriptorProto")
  2392. proto.RegisterType((*ServiceDescriptorProto)(nil), "google.protobuf.ServiceDescriptorProto")
  2393. proto.RegisterType((*MethodDescriptorProto)(nil), "google.protobuf.MethodDescriptorProto")
  2394. proto.RegisterType((*FileOptions)(nil), "google.protobuf.FileOptions")
  2395. proto.RegisterType((*MessageOptions)(nil), "google.protobuf.MessageOptions")
  2396. proto.RegisterType((*FieldOptions)(nil), "google.protobuf.FieldOptions")
  2397. proto.RegisterType((*OneofOptions)(nil), "google.protobuf.OneofOptions")
  2398. proto.RegisterType((*EnumOptions)(nil), "google.protobuf.EnumOptions")
  2399. proto.RegisterType((*EnumValueOptions)(nil), "google.protobuf.EnumValueOptions")
  2400. proto.RegisterType((*ServiceOptions)(nil), "google.protobuf.ServiceOptions")
  2401. proto.RegisterType((*MethodOptions)(nil), "google.protobuf.MethodOptions")
  2402. proto.RegisterType((*UninterpretedOption)(nil), "google.protobuf.UninterpretedOption")
  2403. proto.RegisterType((*UninterpretedOption_NamePart)(nil), "google.protobuf.UninterpretedOption.NamePart")
  2404. proto.RegisterType((*SourceCodeInfo)(nil), "google.protobuf.SourceCodeInfo")
  2405. proto.RegisterType((*SourceCodeInfo_Location)(nil), "google.protobuf.SourceCodeInfo.Location")
  2406. proto.RegisterType((*GeneratedCodeInfo)(nil), "google.protobuf.GeneratedCodeInfo")
  2407. proto.RegisterType((*GeneratedCodeInfo_Annotation)(nil), "google.protobuf.GeneratedCodeInfo.Annotation")
  2408. }
  2409. func init() { proto.RegisterFile("google/protobuf/descriptor.proto", fileDescriptor_e5baabe45344a177) }
  2410. var fileDescriptor_e5baabe45344a177 = []byte{
  2411. // 2589 bytes of a gzipped FileDescriptorProto
  2412. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xdd, 0x8e, 0xdb, 0xc6,
  2413. 0x15, 0x0e, 0xf5, 0xb7, 0xd2, 0x91, 0x56, 0x3b, 0x3b, 0xbb, 0xb1, 0xe9, 0xcd, 0x8f, 0xd7, 0xca,
  2414. 0x8f, 0xd7, 0x4e, 0xac, 0x0d, 0x1c, 0xdb, 0x71, 0xd6, 0x45, 0x5a, 0xad, 0x44, 0x6f, 0xe4, 0xee,
  2415. 0x4a, 0x2a, 0xa5, 0x6d, 0x7e, 0x80, 0x82, 0x98, 0x25, 0x47, 0x12, 0x6d, 0x8a, 0x64, 0x48, 0xca,
  2416. 0xf6, 0x06, 0xbd, 0x30, 0xd0, 0xab, 0x5e, 0x15, 0xe8, 0x55, 0x51, 0x14, 0xbd, 0xe8, 0x4d, 0x80,
  2417. 0x3e, 0x40, 0x81, 0xde, 0xf5, 0x09, 0x0a, 0xe4, 0x0d, 0x8a, 0xb6, 0x40, 0xfb, 0x08, 0xbd, 0x2c,
  2418. 0x66, 0x86, 0xa4, 0x48, 0x49, 0x1b, 0x6f, 0x02, 0xc4, 0xb9, 0x92, 0xe6, 0x3b, 0xdf, 0x39, 0x73,
  2419. 0xe6, 0xcc, 0x99, 0x99, 0x33, 0x43, 0xd8, 0x1e, 0x39, 0xce, 0xc8, 0xa2, 0xbb, 0xae, 0xe7, 0x04,
  2420. 0xce, 0xc9, 0x74, 0xb8, 0x6b, 0x50, 0x5f, 0xf7, 0x4c, 0x37, 0x70, 0xbc, 0x3a, 0xc7, 0xf0, 0x9a,
  2421. 0x60, 0xd4, 0x23, 0x46, 0xed, 0x08, 0xd6, 0xef, 0x9b, 0x16, 0x6d, 0xc5, 0xc4, 0x3e, 0x0d, 0xf0,
  2422. 0x5d, 0xc8, 0x0d, 0x4d, 0x8b, 0xca, 0xd2, 0x76, 0x76, 0xa7, 0x7c, 0xf3, 0xcd, 0xfa, 0x9c, 0x52,
  2423. 0x3d, 0xad, 0xd1, 0x63, 0xb0, 0xca, 0x35, 0x6a, 0xff, 0xce, 0xc1, 0xc6, 0x12, 0x29, 0xc6, 0x90,
  2424. 0xb3, 0xc9, 0x84, 0x59, 0x94, 0x76, 0x4a, 0x2a, 0xff, 0x8f, 0x65, 0x58, 0x71, 0x89, 0xfe, 0x88,
  2425. 0x8c, 0xa8, 0x9c, 0xe1, 0x70, 0xd4, 0xc4, 0xaf, 0x03, 0x18, 0xd4, 0xa5, 0xb6, 0x41, 0x6d, 0xfd,
  2426. 0x54, 0xce, 0x6e, 0x67, 0x77, 0x4a, 0x6a, 0x02, 0xc1, 0xef, 0xc0, 0xba, 0x3b, 0x3d, 0xb1, 0x4c,
  2427. 0x5d, 0x4b, 0xd0, 0x60, 0x3b, 0xbb, 0x93, 0x57, 0x91, 0x10, 0xb4, 0x66, 0xe4, 0xab, 0xb0, 0xf6,
  2428. 0x84, 0x92, 0x47, 0x49, 0x6a, 0x99, 0x53, 0xab, 0x0c, 0x4e, 0x10, 0x9b, 0x50, 0x99, 0x50, 0xdf,
  2429. 0x27, 0x23, 0xaa, 0x05, 0xa7, 0x2e, 0x95, 0x73, 0x7c, 0xf4, 0xdb, 0x0b, 0xa3, 0x9f, 0x1f, 0x79,
  2430. 0x39, 0xd4, 0x1a, 0x9c, 0xba, 0x14, 0x37, 0xa0, 0x44, 0xed, 0xe9, 0x44, 0x58, 0xc8, 0x9f, 0x11,
  2431. 0x3f, 0xc5, 0x9e, 0x4e, 0xe6, 0xad, 0x14, 0x99, 0x5a, 0x68, 0x62, 0xc5, 0xa7, 0xde, 0x63, 0x53,
  2432. 0xa7, 0x72, 0x81, 0x1b, 0xb8, 0xba, 0x60, 0xa0, 0x2f, 0xe4, 0xf3, 0x36, 0x22, 0x3d, 0xdc, 0x84,
  2433. 0x12, 0x7d, 0x1a, 0x50, 0xdb, 0x37, 0x1d, 0x5b, 0x5e, 0xe1, 0x46, 0xde, 0x5a, 0x32, 0x8b, 0xd4,
  2434. 0x32, 0xe6, 0x4d, 0xcc, 0xf4, 0xf0, 0x1d, 0x58, 0x71, 0xdc, 0xc0, 0x74, 0x6c, 0x5f, 0x2e, 0x6e,
  2435. 0x4b, 0x3b, 0xe5, 0x9b, 0xaf, 0x2e, 0x4d, 0x84, 0xae, 0xe0, 0xa8, 0x11, 0x19, 0xb7, 0x01, 0xf9,
  2436. 0xce, 0xd4, 0xd3, 0xa9, 0xa6, 0x3b, 0x06, 0xd5, 0x4c, 0x7b, 0xe8, 0xc8, 0x25, 0x6e, 0xe0, 0xf2,
  2437. 0xe2, 0x40, 0x38, 0xb1, 0xe9, 0x18, 0xb4, 0x6d, 0x0f, 0x1d, 0xb5, 0xea, 0xa7, 0xda, 0xf8, 0x02,
  2438. 0x14, 0xfc, 0x53, 0x3b, 0x20, 0x4f, 0xe5, 0x0a, 0xcf, 0x90, 0xb0, 0x55, 0xfb, 0x6b, 0x01, 0xd6,
  2439. 0xce, 0x93, 0x62, 0xf7, 0x20, 0x3f, 0x64, 0xa3, 0x94, 0x33, 0xdf, 0x26, 0x06, 0x42, 0x27, 0x1d,
  2440. 0xc4, 0xc2, 0x77, 0x0c, 0x62, 0x03, 0xca, 0x36, 0xf5, 0x03, 0x6a, 0x88, 0x8c, 0xc8, 0x9e, 0x33,
  2441. 0xa7, 0x40, 0x28, 0x2d, 0xa6, 0x54, 0xee, 0x3b, 0xa5, 0xd4, 0xa7, 0xb0, 0x16, 0xbb, 0xa4, 0x79,
  2442. 0xc4, 0x1e, 0x45, 0xb9, 0xb9, 0xfb, 0x3c, 0x4f, 0xea, 0x4a, 0xa4, 0xa7, 0x32, 0x35, 0xb5, 0x4a,
  2443. 0x53, 0x6d, 0xdc, 0x02, 0x70, 0x6c, 0xea, 0x0c, 0x35, 0x83, 0xea, 0x96, 0x5c, 0x3c, 0x23, 0x4a,
  2444. 0x5d, 0x46, 0x59, 0x88, 0x92, 0x23, 0x50, 0xdd, 0xc2, 0x1f, 0xce, 0x52, 0x6d, 0xe5, 0x8c, 0x4c,
  2445. 0x39, 0x12, 0x8b, 0x6c, 0x21, 0xdb, 0x8e, 0xa1, 0xea, 0x51, 0x96, 0xf7, 0xd4, 0x08, 0x47, 0x56,
  2446. 0xe2, 0x4e, 0xd4, 0x9f, 0x3b, 0x32, 0x35, 0x54, 0x13, 0x03, 0x5b, 0xf5, 0x92, 0x4d, 0xfc, 0x06,
  2447. 0xc4, 0x80, 0xc6, 0xd3, 0x0a, 0xf8, 0x2e, 0x54, 0x89, 0xc0, 0x0e, 0x99, 0xd0, 0xad, 0x2f, 0xa1,
  2448. 0x9a, 0x0e, 0x0f, 0xde, 0x84, 0xbc, 0x1f, 0x10, 0x2f, 0xe0, 0x59, 0x98, 0x57, 0x45, 0x03, 0x23,
  2449. 0xc8, 0x52, 0xdb, 0xe0, 0xbb, 0x5c, 0x5e, 0x65, 0x7f, 0xf1, 0x4f, 0x66, 0x03, 0xce, 0xf2, 0x01,
  2450. 0xbf, 0xbd, 0x38, 0xa3, 0x29, 0xcb, 0xf3, 0xe3, 0xde, 0xfa, 0x00, 0x56, 0x53, 0x03, 0x38, 0x6f,
  2451. 0xd7, 0xb5, 0x5f, 0xc2, 0xcb, 0x4b, 0x4d, 0xe3, 0x4f, 0x61, 0x73, 0x6a, 0x9b, 0x76, 0x40, 0x3d,
  2452. 0xd7, 0xa3, 0x2c, 0x63, 0x45, 0x57, 0xf2, 0x7f, 0x56, 0xce, 0xc8, 0xb9, 0xe3, 0x24, 0x5b, 0x58,
  2453. 0x51, 0x37, 0xa6, 0x8b, 0xe0, 0xf5, 0x52, 0xf1, 0xbf, 0x2b, 0xe8, 0xd9, 0xb3, 0x67, 0xcf, 0x32,
  2454. 0xb5, 0xdf, 0x15, 0x60, 0x73, 0xd9, 0x9a, 0x59, 0xba, 0x7c, 0x2f, 0x40, 0xc1, 0x9e, 0x4e, 0x4e,
  2455. 0xa8, 0xc7, 0x83, 0x94, 0x57, 0xc3, 0x16, 0x6e, 0x40, 0xde, 0x22, 0x27, 0xd4, 0x92, 0x73, 0xdb,
  2456. 0xd2, 0x4e, 0xf5, 0xe6, 0x3b, 0xe7, 0x5a, 0x95, 0xf5, 0x43, 0xa6, 0xa2, 0x0a, 0x4d, 0xfc, 0x11,
  2457. 0xe4, 0xc2, 0x2d, 0x9a, 0x59, 0xb8, 0x7e, 0x3e, 0x0b, 0x6c, 0x2d, 0xa9, 0x5c, 0x0f, 0xbf, 0x02,
  2458. 0x25, 0xf6, 0x2b, 0x72, 0xa3, 0xc0, 0x7d, 0x2e, 0x32, 0x80, 0xe5, 0x05, 0xde, 0x82, 0x22, 0x5f,
  2459. 0x26, 0x06, 0x8d, 0x8e, 0xb6, 0xb8, 0xcd, 0x12, 0xcb, 0xa0, 0x43, 0x32, 0xb5, 0x02, 0xed, 0x31,
  2460. 0xb1, 0xa6, 0x94, 0x27, 0x7c, 0x49, 0xad, 0x84, 0xe0, 0xcf, 0x19, 0x86, 0x2f, 0x43, 0x59, 0xac,
  2461. 0x2a, 0xd3, 0x36, 0xe8, 0x53, 0xbe, 0x7b, 0xe6, 0x55, 0xb1, 0xd0, 0xda, 0x0c, 0x61, 0xdd, 0x3f,
  2462. 0xf4, 0x1d, 0x3b, 0x4a, 0x4d, 0xde, 0x05, 0x03, 0x78, 0xf7, 0x1f, 0xcc, 0x6f, 0xdc, 0xaf, 0x2d,
  2463. 0x1f, 0xde, 0x7c, 0x4e, 0xd5, 0xfe, 0x92, 0x81, 0x1c, 0xdf, 0x2f, 0xd6, 0xa0, 0x3c, 0xf8, 0xac,
  2464. 0xa7, 0x68, 0xad, 0xee, 0xf1, 0xfe, 0xa1, 0x82, 0x24, 0x5c, 0x05, 0xe0, 0xc0, 0xfd, 0xc3, 0x6e,
  2465. 0x63, 0x80, 0x32, 0x71, 0xbb, 0xdd, 0x19, 0xdc, 0xb9, 0x85, 0xb2, 0xb1, 0xc2, 0xb1, 0x00, 0x72,
  2466. 0x49, 0xc2, 0xfb, 0x37, 0x51, 0x1e, 0x23, 0xa8, 0x08, 0x03, 0xed, 0x4f, 0x95, 0xd6, 0x9d, 0x5b,
  2467. 0xa8, 0x90, 0x46, 0xde, 0xbf, 0x89, 0x56, 0xf0, 0x2a, 0x94, 0x38, 0xb2, 0xdf, 0xed, 0x1e, 0xa2,
  2468. 0x62, 0x6c, 0xb3, 0x3f, 0x50, 0xdb, 0x9d, 0x03, 0x54, 0x8a, 0x6d, 0x1e, 0xa8, 0xdd, 0xe3, 0x1e,
  2469. 0x82, 0xd8, 0xc2, 0x91, 0xd2, 0xef, 0x37, 0x0e, 0x14, 0x54, 0x8e, 0x19, 0xfb, 0x9f, 0x0d, 0x94,
  2470. 0x3e, 0xaa, 0xa4, 0xdc, 0x7a, 0xff, 0x26, 0x5a, 0x8d, 0xbb, 0x50, 0x3a, 0xc7, 0x47, 0xa8, 0x8a,
  2471. 0xd7, 0x61, 0x55, 0x74, 0x11, 0x39, 0xb1, 0x36, 0x07, 0xdd, 0xb9, 0x85, 0xd0, 0xcc, 0x11, 0x61,
  2472. 0x65, 0x3d, 0x05, 0xdc, 0xb9, 0x85, 0x70, 0xad, 0x09, 0x79, 0x9e, 0x5d, 0x18, 0x43, 0xf5, 0xb0,
  2473. 0xb1, 0xaf, 0x1c, 0x6a, 0xdd, 0xde, 0xa0, 0xdd, 0xed, 0x34, 0x0e, 0x91, 0x34, 0xc3, 0x54, 0xe5,
  2474. 0x67, 0xc7, 0x6d, 0x55, 0x69, 0xa1, 0x4c, 0x12, 0xeb, 0x29, 0x8d, 0x81, 0xd2, 0x42, 0xd9, 0x9a,
  2475. 0x0e, 0x9b, 0xcb, 0xf6, 0xc9, 0xa5, 0x2b, 0x23, 0x31, 0xc5, 0x99, 0x33, 0xa6, 0x98, 0xdb, 0x5a,
  2476. 0x98, 0xe2, 0x7f, 0x65, 0x60, 0x63, 0xc9, 0x59, 0xb1, 0xb4, 0x93, 0x1f, 0x43, 0x5e, 0xa4, 0xa8,
  2477. 0x38, 0x3d, 0xaf, 0x2d, 0x3d, 0x74, 0x78, 0xc2, 0x2e, 0x9c, 0xa0, 0x5c, 0x2f, 0x59, 0x41, 0x64,
  2478. 0xcf, 0xa8, 0x20, 0x98, 0x89, 0x85, 0x3d, 0xfd, 0x17, 0x0b, 0x7b, 0xba, 0x38, 0xf6, 0xee, 0x9c,
  2479. 0xe7, 0xd8, 0xe3, 0xd8, 0xb7, 0xdb, 0xdb, 0xf3, 0x4b, 0xf6, 0xf6, 0x7b, 0xb0, 0xbe, 0x60, 0xe8,
  2480. 0xdc, 0x7b, 0xec, 0xaf, 0x24, 0x90, 0xcf, 0x0a, 0xce, 0x73, 0x76, 0xba, 0x4c, 0x6a, 0xa7, 0xbb,
  2481. 0x37, 0x1f, 0xc1, 0x2b, 0x67, 0x4f, 0xc2, 0xc2, 0x5c, 0x7f, 0x25, 0xc1, 0x85, 0xe5, 0x95, 0xe2,
  2482. 0x52, 0x1f, 0x3e, 0x82, 0xc2, 0x84, 0x06, 0x63, 0x27, 0xaa, 0x96, 0xde, 0x5e, 0x72, 0x06, 0x33,
  2483. 0xf1, 0xfc, 0x64, 0x87, 0x5a, 0xc9, 0x43, 0x3c, 0x7b, 0x56, 0xb9, 0x27, 0xbc, 0x59, 0xf0, 0xf4,
  2484. 0xd7, 0x19, 0x78, 0x79, 0xa9, 0xf1, 0xa5, 0x8e, 0xbe, 0x06, 0x60, 0xda, 0xee, 0x34, 0x10, 0x15,
  2485. 0x91, 0xd8, 0x60, 0x4b, 0x1c, 0xe1, 0x9b, 0x17, 0xdb, 0x3c, 0xa7, 0x41, 0x2c, 0xcf, 0x72, 0x39,
  2486. 0x08, 0x88, 0x13, 0xee, 0xce, 0x1c, 0xcd, 0x71, 0x47, 0x5f, 0x3f, 0x63, 0xa4, 0x0b, 0x89, 0xf9,
  2487. 0x1e, 0x20, 0xdd, 0x32, 0xa9, 0x1d, 0x68, 0x7e, 0xe0, 0x51, 0x32, 0x31, 0xed, 0x11, 0x3f, 0x41,
  2488. 0x8a, 0x7b, 0xf9, 0x21, 0xb1, 0x7c, 0xaa, 0xae, 0x09, 0x71, 0x3f, 0x92, 0x32, 0x0d, 0x9e, 0x40,
  2489. 0x5e, 0x42, 0xa3, 0x90, 0xd2, 0x10, 0xe2, 0x58, 0xa3, 0xf6, 0xdb, 0x12, 0x94, 0x13, 0x75, 0x35,
  2490. 0xbe, 0x02, 0x95, 0x87, 0xe4, 0x31, 0xd1, 0xa2, 0xbb, 0x92, 0x88, 0x44, 0x99, 0x61, 0xbd, 0xf0,
  2491. 0xbe, 0xf4, 0x1e, 0x6c, 0x72, 0x8a, 0x33, 0x0d, 0xa8, 0xa7, 0xe9, 0x16, 0xf1, 0x7d, 0x1e, 0xb4,
  2492. 0x22, 0xa7, 0x62, 0x26, 0xeb, 0x32, 0x51, 0x33, 0x92, 0xe0, 0xdb, 0xb0, 0xc1, 0x35, 0x26, 0x53,
  2493. 0x2b, 0x30, 0x5d, 0x8b, 0x6a, 0xec, 0xf6, 0xe6, 0xf3, 0x93, 0x24, 0xf6, 0x6c, 0x9d, 0x31, 0x8e,
  2494. 0x42, 0x02, 0xf3, 0xc8, 0xc7, 0x2d, 0x78, 0x8d, 0xab, 0x8d, 0xa8, 0x4d, 0x3d, 0x12, 0x50, 0x8d,
  2495. 0x7e, 0x31, 0x25, 0x96, 0xaf, 0x11, 0xdb, 0xd0, 0xc6, 0xc4, 0x1f, 0xcb, 0x9b, 0xcc, 0xc0, 0x7e,
  2496. 0x46, 0x96, 0xd4, 0x4b, 0x8c, 0x78, 0x10, 0xf2, 0x14, 0x4e, 0x6b, 0xd8, 0xc6, 0xc7, 0xc4, 0x1f,
  2497. 0xe3, 0x3d, 0xb8, 0xc0, 0xad, 0xf8, 0x81, 0x67, 0xda, 0x23, 0x4d, 0x1f, 0x53, 0xfd, 0x91, 0x36,
  2498. 0x0d, 0x86, 0x77, 0xe5, 0x57, 0x92, 0xfd, 0x73, 0x0f, 0xfb, 0x9c, 0xd3, 0x64, 0x94, 0xe3, 0x60,
  2499. 0x78, 0x17, 0xf7, 0xa1, 0xc2, 0x26, 0x63, 0x62, 0x7e, 0x49, 0xb5, 0xa1, 0xe3, 0xf1, 0xa3, 0xb1,
  2500. 0xba, 0x64, 0x6b, 0x4a, 0x44, 0xb0, 0xde, 0x0d, 0x15, 0x8e, 0x1c, 0x83, 0xee, 0xe5, 0xfb, 0x3d,
  2501. 0x45, 0x69, 0xa9, 0xe5, 0xc8, 0xca, 0x7d, 0xc7, 0x63, 0x09, 0x35, 0x72, 0xe2, 0x00, 0x97, 0x45,
  2502. 0x42, 0x8d, 0x9c, 0x28, 0xbc, 0xb7, 0x61, 0x43, 0xd7, 0xc5, 0x98, 0x4d, 0x5d, 0x0b, 0xef, 0x58,
  2503. 0xbe, 0x8c, 0x52, 0xc1, 0xd2, 0xf5, 0x03, 0x41, 0x08, 0x73, 0xdc, 0xc7, 0x1f, 0xc2, 0xcb, 0xb3,
  2504. 0x60, 0x25, 0x15, 0xd7, 0x17, 0x46, 0x39, 0xaf, 0x7a, 0x1b, 0x36, 0xdc, 0xd3, 0x45, 0x45, 0x9c,
  2505. 0xea, 0xd1, 0x3d, 0x9d, 0x57, 0xfb, 0x00, 0x36, 0xdd, 0xb1, 0xbb, 0xa8, 0x77, 0x3d, 0xa9, 0x87,
  2506. 0xdd, 0xb1, 0x3b, 0xaf, 0xf8, 0x16, 0xbf, 0x70, 0x7b, 0x54, 0x27, 0x01, 0x35, 0xe4, 0x8b, 0x49,
  2507. 0x7a, 0x42, 0x80, 0x77, 0x01, 0xe9, 0xba, 0x46, 0x6d, 0x72, 0x62, 0x51, 0x8d, 0x78, 0xd4, 0x26,
  2508. 0xbe, 0x7c, 0x39, 0x49, 0xae, 0xea, 0xba, 0xc2, 0xa5, 0x0d, 0x2e, 0xc4, 0xd7, 0x61, 0xdd, 0x39,
  2509. 0x79, 0xa8, 0x8b, 0x94, 0xd4, 0x5c, 0x8f, 0x0e, 0xcd, 0xa7, 0xf2, 0x9b, 0x3c, 0xbe, 0x6b, 0x4c,
  2510. 0xc0, 0x13, 0xb2, 0xc7, 0x61, 0x7c, 0x0d, 0x90, 0xee, 0x8f, 0x89, 0xe7, 0xf2, 0x3d, 0xd9, 0x77,
  2511. 0x89, 0x4e, 0xe5, 0xb7, 0x04, 0x55, 0xe0, 0x9d, 0x08, 0x66, 0x4b, 0xc2, 0x7f, 0x62, 0x0e, 0x83,
  2512. 0xc8, 0xe2, 0x55, 0xb1, 0x24, 0x38, 0x16, 0x5a, 0xdb, 0x01, 0xc4, 0x42, 0x91, 0xea, 0x78, 0x87,
  2513. 0xd3, 0xaa, 0xee, 0xd8, 0x4d, 0xf6, 0xfb, 0x06, 0xac, 0x32, 0xe6, 0xac, 0xd3, 0x6b, 0xa2, 0x20,
  2514. 0x73, 0xc7, 0x89, 0x1e, 0x6f, 0xc1, 0x05, 0x46, 0x9a, 0xd0, 0x80, 0x18, 0x24, 0x20, 0x09, 0xf6,
  2515. 0xbb, 0x9c, 0xcd, 0xe2, 0x7e, 0x14, 0x0a, 0x53, 0x7e, 0x7a, 0xd3, 0x93, 0xd3, 0x38, 0xb3, 0x6e,
  2516. 0x08, 0x3f, 0x19, 0x16, 0xe5, 0xd6, 0xf7, 0x56, 0x74, 0xd7, 0xf6, 0xa0, 0x92, 0x4c, 0x7c, 0x5c,
  2517. 0x02, 0x91, 0xfa, 0x48, 0x62, 0x55, 0x50, 0xb3, 0xdb, 0x62, 0xf5, 0xcb, 0xe7, 0x0a, 0xca, 0xb0,
  2518. 0x3a, 0xea, 0xb0, 0x3d, 0x50, 0x34, 0xf5, 0xb8, 0x33, 0x68, 0x1f, 0x29, 0x28, 0x9b, 0x28, 0xd8,
  2519. 0x1f, 0xe4, 0x8a, 0x6f, 0xa3, 0xab, 0xb5, 0xaf, 0x33, 0x50, 0x4d, 0xdf, 0xc0, 0xf0, 0x8f, 0xe0,
  2520. 0x62, 0xf4, 0x5c, 0xe2, 0xd3, 0x40, 0x7b, 0x62, 0x7a, 0x7c, 0x45, 0x4e, 0x88, 0x38, 0x1d, 0xe3,
  2521. 0x9c, 0xd8, 0x0c, 0x59, 0x7d, 0x1a, 0x7c, 0x62, 0x7a, 0x6c, 0xbd, 0x4d, 0x48, 0x80, 0x0f, 0xe1,
  2522. 0xb2, 0xed, 0x68, 0x7e, 0x40, 0x6c, 0x83, 0x78, 0x86, 0x36, 0x7b, 0xa8, 0xd2, 0x88, 0xae, 0x53,
  2523. 0xdf, 0x77, 0xc4, 0x49, 0x18, 0x5b, 0x79, 0xd5, 0x76, 0xfa, 0x21, 0x79, 0x76, 0x44, 0x34, 0x42,
  2524. 0xea, 0x5c, 0xfe, 0x66, 0xcf, 0xca, 0xdf, 0x57, 0xa0, 0x34, 0x21, 0xae, 0x46, 0xed, 0xc0, 0x3b,
  2525. 0xe5, 0x75, 0x77, 0x51, 0x2d, 0x4e, 0x88, 0xab, 0xb0, 0xf6, 0x0b, 0xb9, 0xfe, 0x3c, 0xc8, 0x15,
  2526. 0x8b, 0xa8, 0xf4, 0x20, 0x57, 0x2c, 0x21, 0xa8, 0xfd, 0x33, 0x0b, 0x95, 0x64, 0x1d, 0xce, 0xae,
  2527. 0x35, 0x3a, 0x3f, 0xb2, 0x24, 0xbe, 0xa9, 0xbd, 0xf1, 0x8d, 0x55, 0x7b, 0xbd, 0xc9, 0xce, 0xb2,
  2528. 0xbd, 0x82, 0xa8, 0x8e, 0x55, 0xa1, 0xc9, 0xea, 0x08, 0x96, 0x6c, 0x54, 0x54, 0x23, 0x45, 0x35,
  2529. 0x6c, 0xe1, 0x03, 0x28, 0x3c, 0xf4, 0xb9, 0xed, 0x02, 0xb7, 0xfd, 0xe6, 0x37, 0xdb, 0x7e, 0xd0,
  2530. 0xe7, 0xc6, 0x4b, 0x0f, 0xfa, 0x5a, 0xa7, 0xab, 0x1e, 0x35, 0x0e, 0xd5, 0x50, 0x1d, 0x5f, 0x82,
  2531. 0x9c, 0x45, 0xbe, 0x3c, 0x4d, 0x9f, 0x7a, 0x1c, 0x3a, 0xef, 0x24, 0x5c, 0x82, 0xdc, 0x13, 0x4a,
  2532. 0x1e, 0xa5, 0xcf, 0x1a, 0x0e, 0x7d, 0x8f, 0x8b, 0x61, 0x17, 0xf2, 0x3c, 0x5e, 0x18, 0x20, 0x8c,
  2533. 0x18, 0x7a, 0x09, 0x17, 0x21, 0xd7, 0xec, 0xaa, 0x6c, 0x41, 0x20, 0xa8, 0x08, 0x54, 0xeb, 0xb5,
  2534. 0x95, 0xa6, 0x82, 0x32, 0xb5, 0xdb, 0x50, 0x10, 0x41, 0x60, 0x8b, 0x25, 0x0e, 0x03, 0x7a, 0x29,
  2535. 0x6c, 0x86, 0x36, 0xa4, 0x48, 0x7a, 0x7c, 0xb4, 0xaf, 0xa8, 0x28, 0x93, 0x9e, 0xea, 0x1c, 0xca,
  2536. 0xd7, 0x7c, 0xa8, 0x24, 0x0b, 0xf1, 0x17, 0x73, 0xc9, 0xfe, 0x9b, 0x04, 0xe5, 0x44, 0x61, 0xcd,
  2537. 0x2a, 0x22, 0x62, 0x59, 0xce, 0x13, 0x8d, 0x58, 0x26, 0xf1, 0xc3, 0xd4, 0x00, 0x0e, 0x35, 0x18,
  2538. 0x72, 0xde, 0xa9, 0x7b, 0x41, 0x4b, 0x24, 0x8f, 0x0a, 0xb5, 0x3f, 0x4a, 0x80, 0xe6, 0x2b, 0xdb,
  2539. 0x39, 0x37, 0xa5, 0x1f, 0xd2, 0xcd, 0xda, 0x1f, 0x24, 0xa8, 0xa6, 0xcb, 0xd9, 0x39, 0xf7, 0xae,
  2540. 0xfc, 0xa0, 0xee, 0xfd, 0x23, 0x03, 0xab, 0xa9, 0x22, 0xf6, 0xbc, 0xde, 0x7d, 0x01, 0xeb, 0xa6,
  2541. 0x41, 0x27, 0xae, 0x13, 0x50, 0x5b, 0x3f, 0xd5, 0x2c, 0xfa, 0x98, 0x5a, 0x72, 0x8d, 0x6f, 0x1a,
  2542. 0xbb, 0xdf, 0x5c, 0x26, 0xd7, 0xdb, 0x33, 0xbd, 0x43, 0xa6, 0xb6, 0xb7, 0xd1, 0x6e, 0x29, 0x47,
  2543. 0xbd, 0xee, 0x40, 0xe9, 0x34, 0x3f, 0xd3, 0x8e, 0x3b, 0x3f, 0xed, 0x74, 0x3f, 0xe9, 0xa8, 0xc8,
  2544. 0x9c, 0xa3, 0x7d, 0x8f, 0xcb, 0xbe, 0x07, 0x68, 0xde, 0x29, 0x7c, 0x11, 0x96, 0xb9, 0x85, 0x5e,
  2545. 0xc2, 0x1b, 0xb0, 0xd6, 0xe9, 0x6a, 0xfd, 0x76, 0x4b, 0xd1, 0x94, 0xfb, 0xf7, 0x95, 0xe6, 0xa0,
  2546. 0x2f, 0x1e, 0x3e, 0x62, 0xf6, 0x20, 0xb5, 0xc0, 0x6b, 0xbf, 0xcf, 0xc2, 0xc6, 0x12, 0x4f, 0x70,
  2547. 0x23, 0xbc, 0xb2, 0x88, 0x5b, 0xd4, 0x8d, 0xf3, 0x78, 0x5f, 0x67, 0x35, 0x43, 0x8f, 0x78, 0x41,
  2548. 0x78, 0xc3, 0xb9, 0x06, 0x2c, 0x4a, 0x76, 0x60, 0x0e, 0x4d, 0xea, 0x85, 0xef, 0x44, 0xe2, 0x1e,
  2549. 0xb3, 0x36, 0xc3, 0xc5, 0x53, 0xd1, 0xbb, 0x80, 0x5d, 0xc7, 0x37, 0x03, 0xf3, 0x31, 0xd5, 0x4c,
  2550. 0x3b, 0x7a, 0x54, 0x62, 0xf7, 0x9a, 0x9c, 0x8a, 0x22, 0x49, 0xdb, 0x0e, 0x62, 0xb6, 0x4d, 0x47,
  2551. 0x64, 0x8e, 0xcd, 0x36, 0xf3, 0xac, 0x8a, 0x22, 0x49, 0xcc, 0xbe, 0x02, 0x15, 0xc3, 0x99, 0xb2,
  2552. 0x62, 0x4f, 0xf0, 0xd8, 0xd9, 0x21, 0xa9, 0x65, 0x81, 0xc5, 0x94, 0xb0, 0x8c, 0x9f, 0xbd, 0x66,
  2553. 0x55, 0xd4, 0xb2, 0xc0, 0x04, 0xe5, 0x2a, 0xac, 0x91, 0xd1, 0xc8, 0x63, 0xc6, 0x23, 0x43, 0xe2,
  2554. 0x62, 0x52, 0x8d, 0x61, 0x4e, 0xdc, 0x7a, 0x00, 0xc5, 0x28, 0x0e, 0xec, 0xa8, 0x66, 0x91, 0xd0,
  2555. 0x5c, 0x71, 0xdb, 0xce, 0xec, 0x94, 0xd4, 0xa2, 0x1d, 0x09, 0xaf, 0x40, 0xc5, 0xf4, 0xb5, 0xd9,
  2556. 0xe3, 0x7c, 0x66, 0x3b, 0xb3, 0x53, 0x54, 0xcb, 0xa6, 0x1f, 0x3f, 0x6c, 0xd6, 0xbe, 0xca, 0x40,
  2557. 0x35, 0xfd, 0x71, 0x01, 0xb7, 0xa0, 0x68, 0x39, 0x3a, 0xe1, 0xa9, 0x25, 0xbe, 0x6c, 0xed, 0x3c,
  2558. 0xe7, 0x7b, 0x44, 0xfd, 0x30, 0xe4, 0xab, 0xb1, 0xe6, 0xd6, 0xdf, 0x25, 0x28, 0x46, 0x30, 0xbe,
  2559. 0x00, 0x39, 0x97, 0x04, 0x63, 0x6e, 0x2e, 0xbf, 0x9f, 0x41, 0x92, 0xca, 0xdb, 0x0c, 0xf7, 0x5d,
  2560. 0x62, 0xf3, 0x14, 0x08, 0x71, 0xd6, 0x66, 0xf3, 0x6a, 0x51, 0x62, 0xf0, 0x5b, 0x8f, 0x33, 0x99,
  2561. 0x50, 0x3b, 0xf0, 0xa3, 0x79, 0x0d, 0xf1, 0x66, 0x08, 0xe3, 0x77, 0x60, 0x3d, 0xf0, 0x88, 0x69,
  2562. 0xa5, 0xb8, 0x39, 0xce, 0x45, 0x91, 0x20, 0x26, 0xef, 0xc1, 0xa5, 0xc8, 0xae, 0x41, 0x03, 0xa2,
  2563. 0x8f, 0xa9, 0x31, 0x53, 0x2a, 0xf0, 0xd7, 0x8d, 0x8b, 0x21, 0xa1, 0x15, 0xca, 0x23, 0xdd, 0xda,
  2564. 0xd7, 0x12, 0xac, 0x47, 0xf7, 0x34, 0x23, 0x0e, 0xd6, 0x11, 0x00, 0xb1, 0x6d, 0x27, 0x48, 0x86,
  2565. 0x6b, 0x31, 0x95, 0x17, 0xf4, 0xea, 0x8d, 0x58, 0x49, 0x4d, 0x18, 0xd8, 0x9a, 0x00, 0xcc, 0x24,
  2566. 0x67, 0x86, 0xed, 0x32, 0x94, 0xc3, 0x2f, 0x47, 0xfc, 0xf3, 0xa3, 0xb8, 0xd9, 0x83, 0x80, 0xd8,
  2567. 0x85, 0x0e, 0x6f, 0x42, 0xfe, 0x84, 0x8e, 0x4c, 0x3b, 0x7c, 0x0f, 0x16, 0x8d, 0xe8, 0xfd, 0x25,
  2568. 0x17, 0xbf, 0xbf, 0xec, 0xff, 0x46, 0x82, 0x0d, 0xdd, 0x99, 0xcc, 0xfb, 0xbb, 0x8f, 0xe6, 0x9e,
  2569. 0x17, 0xfc, 0x8f, 0xa5, 0xcf, 0x3f, 0x1a, 0x99, 0xc1, 0x78, 0x7a, 0x52, 0xd7, 0x9d, 0xc9, 0xee,
  2570. 0xc8, 0xb1, 0x88, 0x3d, 0x9a, 0x7d, 0x3f, 0xe5, 0x7f, 0xf4, 0x1b, 0x23, 0x6a, 0xdf, 0x18, 0x39,
  2571. 0x89, 0xaf, 0xa9, 0xf7, 0x66, 0x7f, 0xff, 0x27, 0x49, 0x7f, 0xca, 0x64, 0x0f, 0x7a, 0xfb, 0x7f,
  2572. 0xce, 0x6c, 0x1d, 0x88, 0xee, 0x7a, 0x51, 0x78, 0x54, 0x3a, 0xb4, 0xa8, 0xce, 0x86, 0xfc, 0xff,
  2573. 0x00, 0x00, 0x00, 0xff, 0xff, 0x3e, 0xe8, 0xef, 0xc4, 0x9b, 0x1d, 0x00, 0x00,
  2574. }