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.
 
 

4351 lines
178 KiB

  1. // Protocol Buffers - Google's data interchange format
  2. // Copyright 2008 Google Inc. All rights reserved.
  3. // https://developers.google.com/protocol-buffers/
  4. //
  5. // Redistribution and use in source and binary forms, with or without
  6. // modification, are permitted provided that the following conditions are
  7. // met:
  8. //
  9. // * Redistributions of source code must retain the above copyright
  10. // notice, this list of conditions and the following disclaimer.
  11. // * Redistributions in binary form must reproduce the above
  12. // copyright notice, this list of conditions and the following disclaimer
  13. // in the documentation and/or other materials provided with the
  14. // distribution.
  15. // * Neither the name of Google Inc. nor the names of its
  16. // contributors may be used to endorse or promote products derived from
  17. // this software without specific prior written permission.
  18. //
  19. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  20. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  21. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  22. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  23. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  24. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  25. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  26. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  27. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  28. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  29. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30. // Author: kenton@google.com (Kenton Varda)
  31. // Based on original Protocol Buffers design by
  32. // Sanjay Ghemawat, Jeff Dean, and others.
  33. //
  34. // The messages in this file describe the definitions found in .proto files.
  35. // A valid .proto file can be translated directly to a FileDescriptorProto
  36. // without any other information (e.g. without reading its imports).
  37. // Code generated by protoc-gen-go. DO NOT EDIT.
  38. // source: google/protobuf/descriptor.proto
  39. package descriptorpb
  40. import (
  41. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  42. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  43. reflect "reflect"
  44. sync "sync"
  45. )
  46. type FieldDescriptorProto_Type int32
  47. const (
  48. // 0 is reserved for errors.
  49. // Order is weird for historical reasons.
  50. FieldDescriptorProto_TYPE_DOUBLE FieldDescriptorProto_Type = 1
  51. FieldDescriptorProto_TYPE_FLOAT FieldDescriptorProto_Type = 2
  52. // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
  53. // negative values are likely.
  54. FieldDescriptorProto_TYPE_INT64 FieldDescriptorProto_Type = 3
  55. FieldDescriptorProto_TYPE_UINT64 FieldDescriptorProto_Type = 4
  56. // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
  57. // negative values are likely.
  58. FieldDescriptorProto_TYPE_INT32 FieldDescriptorProto_Type = 5
  59. FieldDescriptorProto_TYPE_FIXED64 FieldDescriptorProto_Type = 6
  60. FieldDescriptorProto_TYPE_FIXED32 FieldDescriptorProto_Type = 7
  61. FieldDescriptorProto_TYPE_BOOL FieldDescriptorProto_Type = 8
  62. FieldDescriptorProto_TYPE_STRING FieldDescriptorProto_Type = 9
  63. // Tag-delimited aggregate.
  64. // Group type is deprecated and not supported in proto3. However, Proto3
  65. // implementations should still be able to parse the group wire format and
  66. // treat group fields as unknown fields.
  67. FieldDescriptorProto_TYPE_GROUP FieldDescriptorProto_Type = 10
  68. FieldDescriptorProto_TYPE_MESSAGE FieldDescriptorProto_Type = 11 // Length-delimited aggregate.
  69. // New in version 2.
  70. FieldDescriptorProto_TYPE_BYTES FieldDescriptorProto_Type = 12
  71. FieldDescriptorProto_TYPE_UINT32 FieldDescriptorProto_Type = 13
  72. FieldDescriptorProto_TYPE_ENUM FieldDescriptorProto_Type = 14
  73. FieldDescriptorProto_TYPE_SFIXED32 FieldDescriptorProto_Type = 15
  74. FieldDescriptorProto_TYPE_SFIXED64 FieldDescriptorProto_Type = 16
  75. FieldDescriptorProto_TYPE_SINT32 FieldDescriptorProto_Type = 17 // Uses ZigZag encoding.
  76. FieldDescriptorProto_TYPE_SINT64 FieldDescriptorProto_Type = 18 // Uses ZigZag encoding.
  77. )
  78. // Enum value maps for FieldDescriptorProto_Type.
  79. var (
  80. FieldDescriptorProto_Type_name = map[int32]string{
  81. 1: "TYPE_DOUBLE",
  82. 2: "TYPE_FLOAT",
  83. 3: "TYPE_INT64",
  84. 4: "TYPE_UINT64",
  85. 5: "TYPE_INT32",
  86. 6: "TYPE_FIXED64",
  87. 7: "TYPE_FIXED32",
  88. 8: "TYPE_BOOL",
  89. 9: "TYPE_STRING",
  90. 10: "TYPE_GROUP",
  91. 11: "TYPE_MESSAGE",
  92. 12: "TYPE_BYTES",
  93. 13: "TYPE_UINT32",
  94. 14: "TYPE_ENUM",
  95. 15: "TYPE_SFIXED32",
  96. 16: "TYPE_SFIXED64",
  97. 17: "TYPE_SINT32",
  98. 18: "TYPE_SINT64",
  99. }
  100. FieldDescriptorProto_Type_value = map[string]int32{
  101. "TYPE_DOUBLE": 1,
  102. "TYPE_FLOAT": 2,
  103. "TYPE_INT64": 3,
  104. "TYPE_UINT64": 4,
  105. "TYPE_INT32": 5,
  106. "TYPE_FIXED64": 6,
  107. "TYPE_FIXED32": 7,
  108. "TYPE_BOOL": 8,
  109. "TYPE_STRING": 9,
  110. "TYPE_GROUP": 10,
  111. "TYPE_MESSAGE": 11,
  112. "TYPE_BYTES": 12,
  113. "TYPE_UINT32": 13,
  114. "TYPE_ENUM": 14,
  115. "TYPE_SFIXED32": 15,
  116. "TYPE_SFIXED64": 16,
  117. "TYPE_SINT32": 17,
  118. "TYPE_SINT64": 18,
  119. }
  120. )
  121. func (x FieldDescriptorProto_Type) Enum() *FieldDescriptorProto_Type {
  122. p := new(FieldDescriptorProto_Type)
  123. *p = x
  124. return p
  125. }
  126. func (x FieldDescriptorProto_Type) String() string {
  127. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  128. }
  129. func (FieldDescriptorProto_Type) Descriptor() protoreflect.EnumDescriptor {
  130. return file_google_protobuf_descriptor_proto_enumTypes[0].Descriptor()
  131. }
  132. func (FieldDescriptorProto_Type) Type() protoreflect.EnumType {
  133. return &file_google_protobuf_descriptor_proto_enumTypes[0]
  134. }
  135. func (x FieldDescriptorProto_Type) Number() protoreflect.EnumNumber {
  136. return protoreflect.EnumNumber(x)
  137. }
  138. // Deprecated: Do not use.
  139. func (x *FieldDescriptorProto_Type) UnmarshalJSON(b []byte) error {
  140. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  141. if err != nil {
  142. return err
  143. }
  144. *x = FieldDescriptorProto_Type(num)
  145. return nil
  146. }
  147. // Deprecated: Use FieldDescriptorProto_Type.Descriptor instead.
  148. func (FieldDescriptorProto_Type) EnumDescriptor() ([]byte, []int) {
  149. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4, 0}
  150. }
  151. type FieldDescriptorProto_Label int32
  152. const (
  153. // 0 is reserved for errors
  154. FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1
  155. FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2
  156. FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3
  157. )
  158. // Enum value maps for FieldDescriptorProto_Label.
  159. var (
  160. FieldDescriptorProto_Label_name = map[int32]string{
  161. 1: "LABEL_OPTIONAL",
  162. 2: "LABEL_REQUIRED",
  163. 3: "LABEL_REPEATED",
  164. }
  165. FieldDescriptorProto_Label_value = map[string]int32{
  166. "LABEL_OPTIONAL": 1,
  167. "LABEL_REQUIRED": 2,
  168. "LABEL_REPEATED": 3,
  169. }
  170. )
  171. func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label {
  172. p := new(FieldDescriptorProto_Label)
  173. *p = x
  174. return p
  175. }
  176. func (x FieldDescriptorProto_Label) String() string {
  177. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  178. }
  179. func (FieldDescriptorProto_Label) Descriptor() protoreflect.EnumDescriptor {
  180. return file_google_protobuf_descriptor_proto_enumTypes[1].Descriptor()
  181. }
  182. func (FieldDescriptorProto_Label) Type() protoreflect.EnumType {
  183. return &file_google_protobuf_descriptor_proto_enumTypes[1]
  184. }
  185. func (x FieldDescriptorProto_Label) Number() protoreflect.EnumNumber {
  186. return protoreflect.EnumNumber(x)
  187. }
  188. // Deprecated: Do not use.
  189. func (x *FieldDescriptorProto_Label) UnmarshalJSON(b []byte) error {
  190. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  191. if err != nil {
  192. return err
  193. }
  194. *x = FieldDescriptorProto_Label(num)
  195. return nil
  196. }
  197. // Deprecated: Use FieldDescriptorProto_Label.Descriptor instead.
  198. func (FieldDescriptorProto_Label) EnumDescriptor() ([]byte, []int) {
  199. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4, 1}
  200. }
  201. // Generated classes can be optimized for speed or code size.
  202. type FileOptions_OptimizeMode int32
  203. const (
  204. FileOptions_SPEED FileOptions_OptimizeMode = 1 // Generate complete code for parsing, serialization,
  205. // etc.
  206. FileOptions_CODE_SIZE FileOptions_OptimizeMode = 2 // Use ReflectionOps to implement these methods.
  207. FileOptions_LITE_RUNTIME FileOptions_OptimizeMode = 3 // Generate code using MessageLite and the lite runtime.
  208. )
  209. // Enum value maps for FileOptions_OptimizeMode.
  210. var (
  211. FileOptions_OptimizeMode_name = map[int32]string{
  212. 1: "SPEED",
  213. 2: "CODE_SIZE",
  214. 3: "LITE_RUNTIME",
  215. }
  216. FileOptions_OptimizeMode_value = map[string]int32{
  217. "SPEED": 1,
  218. "CODE_SIZE": 2,
  219. "LITE_RUNTIME": 3,
  220. }
  221. )
  222. func (x FileOptions_OptimizeMode) Enum() *FileOptions_OptimizeMode {
  223. p := new(FileOptions_OptimizeMode)
  224. *p = x
  225. return p
  226. }
  227. func (x FileOptions_OptimizeMode) String() string {
  228. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  229. }
  230. func (FileOptions_OptimizeMode) Descriptor() protoreflect.EnumDescriptor {
  231. return file_google_protobuf_descriptor_proto_enumTypes[2].Descriptor()
  232. }
  233. func (FileOptions_OptimizeMode) Type() protoreflect.EnumType {
  234. return &file_google_protobuf_descriptor_proto_enumTypes[2]
  235. }
  236. func (x FileOptions_OptimizeMode) Number() protoreflect.EnumNumber {
  237. return protoreflect.EnumNumber(x)
  238. }
  239. // Deprecated: Do not use.
  240. func (x *FileOptions_OptimizeMode) UnmarshalJSON(b []byte) error {
  241. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  242. if err != nil {
  243. return err
  244. }
  245. *x = FileOptions_OptimizeMode(num)
  246. return nil
  247. }
  248. // Deprecated: Use FileOptions_OptimizeMode.Descriptor instead.
  249. func (FileOptions_OptimizeMode) EnumDescriptor() ([]byte, []int) {
  250. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{10, 0}
  251. }
  252. type FieldOptions_CType int32
  253. const (
  254. // Default mode.
  255. FieldOptions_STRING FieldOptions_CType = 0
  256. FieldOptions_CORD FieldOptions_CType = 1
  257. FieldOptions_STRING_PIECE FieldOptions_CType = 2
  258. )
  259. // Enum value maps for FieldOptions_CType.
  260. var (
  261. FieldOptions_CType_name = map[int32]string{
  262. 0: "STRING",
  263. 1: "CORD",
  264. 2: "STRING_PIECE",
  265. }
  266. FieldOptions_CType_value = map[string]int32{
  267. "STRING": 0,
  268. "CORD": 1,
  269. "STRING_PIECE": 2,
  270. }
  271. )
  272. func (x FieldOptions_CType) Enum() *FieldOptions_CType {
  273. p := new(FieldOptions_CType)
  274. *p = x
  275. return p
  276. }
  277. func (x FieldOptions_CType) String() string {
  278. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  279. }
  280. func (FieldOptions_CType) Descriptor() protoreflect.EnumDescriptor {
  281. return file_google_protobuf_descriptor_proto_enumTypes[3].Descriptor()
  282. }
  283. func (FieldOptions_CType) Type() protoreflect.EnumType {
  284. return &file_google_protobuf_descriptor_proto_enumTypes[3]
  285. }
  286. func (x FieldOptions_CType) Number() protoreflect.EnumNumber {
  287. return protoreflect.EnumNumber(x)
  288. }
  289. // Deprecated: Do not use.
  290. func (x *FieldOptions_CType) UnmarshalJSON(b []byte) error {
  291. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  292. if err != nil {
  293. return err
  294. }
  295. *x = FieldOptions_CType(num)
  296. return nil
  297. }
  298. // Deprecated: Use FieldOptions_CType.Descriptor instead.
  299. func (FieldOptions_CType) EnumDescriptor() ([]byte, []int) {
  300. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 0}
  301. }
  302. type FieldOptions_JSType int32
  303. const (
  304. // Use the default type.
  305. FieldOptions_JS_NORMAL FieldOptions_JSType = 0
  306. // Use JavaScript strings.
  307. FieldOptions_JS_STRING FieldOptions_JSType = 1
  308. // Use JavaScript numbers.
  309. FieldOptions_JS_NUMBER FieldOptions_JSType = 2
  310. )
  311. // Enum value maps for FieldOptions_JSType.
  312. var (
  313. FieldOptions_JSType_name = map[int32]string{
  314. 0: "JS_NORMAL",
  315. 1: "JS_STRING",
  316. 2: "JS_NUMBER",
  317. }
  318. FieldOptions_JSType_value = map[string]int32{
  319. "JS_NORMAL": 0,
  320. "JS_STRING": 1,
  321. "JS_NUMBER": 2,
  322. }
  323. )
  324. func (x FieldOptions_JSType) Enum() *FieldOptions_JSType {
  325. p := new(FieldOptions_JSType)
  326. *p = x
  327. return p
  328. }
  329. func (x FieldOptions_JSType) String() string {
  330. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  331. }
  332. func (FieldOptions_JSType) Descriptor() protoreflect.EnumDescriptor {
  333. return file_google_protobuf_descriptor_proto_enumTypes[4].Descriptor()
  334. }
  335. func (FieldOptions_JSType) Type() protoreflect.EnumType {
  336. return &file_google_protobuf_descriptor_proto_enumTypes[4]
  337. }
  338. func (x FieldOptions_JSType) Number() protoreflect.EnumNumber {
  339. return protoreflect.EnumNumber(x)
  340. }
  341. // Deprecated: Do not use.
  342. func (x *FieldOptions_JSType) UnmarshalJSON(b []byte) error {
  343. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  344. if err != nil {
  345. return err
  346. }
  347. *x = FieldOptions_JSType(num)
  348. return nil
  349. }
  350. // Deprecated: Use FieldOptions_JSType.Descriptor instead.
  351. func (FieldOptions_JSType) EnumDescriptor() ([]byte, []int) {
  352. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 1}
  353. }
  354. // If set to RETENTION_SOURCE, the option will be omitted from the binary.
  355. // Note: as of January 2023, support for this is in progress and does not yet
  356. // have an effect (b/264593489).
  357. type FieldOptions_OptionRetention int32
  358. const (
  359. FieldOptions_RETENTION_UNKNOWN FieldOptions_OptionRetention = 0
  360. FieldOptions_RETENTION_RUNTIME FieldOptions_OptionRetention = 1
  361. FieldOptions_RETENTION_SOURCE FieldOptions_OptionRetention = 2
  362. )
  363. // Enum value maps for FieldOptions_OptionRetention.
  364. var (
  365. FieldOptions_OptionRetention_name = map[int32]string{
  366. 0: "RETENTION_UNKNOWN",
  367. 1: "RETENTION_RUNTIME",
  368. 2: "RETENTION_SOURCE",
  369. }
  370. FieldOptions_OptionRetention_value = map[string]int32{
  371. "RETENTION_UNKNOWN": 0,
  372. "RETENTION_RUNTIME": 1,
  373. "RETENTION_SOURCE": 2,
  374. }
  375. )
  376. func (x FieldOptions_OptionRetention) Enum() *FieldOptions_OptionRetention {
  377. p := new(FieldOptions_OptionRetention)
  378. *p = x
  379. return p
  380. }
  381. func (x FieldOptions_OptionRetention) String() string {
  382. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  383. }
  384. func (FieldOptions_OptionRetention) Descriptor() protoreflect.EnumDescriptor {
  385. return file_google_protobuf_descriptor_proto_enumTypes[5].Descriptor()
  386. }
  387. func (FieldOptions_OptionRetention) Type() protoreflect.EnumType {
  388. return &file_google_protobuf_descriptor_proto_enumTypes[5]
  389. }
  390. func (x FieldOptions_OptionRetention) Number() protoreflect.EnumNumber {
  391. return protoreflect.EnumNumber(x)
  392. }
  393. // Deprecated: Do not use.
  394. func (x *FieldOptions_OptionRetention) UnmarshalJSON(b []byte) error {
  395. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  396. if err != nil {
  397. return err
  398. }
  399. *x = FieldOptions_OptionRetention(num)
  400. return nil
  401. }
  402. // Deprecated: Use FieldOptions_OptionRetention.Descriptor instead.
  403. func (FieldOptions_OptionRetention) EnumDescriptor() ([]byte, []int) {
  404. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 2}
  405. }
  406. // This indicates the types of entities that the field may apply to when used
  407. // as an option. If it is unset, then the field may be freely used as an
  408. // option on any kind of entity. Note: as of January 2023, support for this is
  409. // in progress and does not yet have an effect (b/264593489).
  410. type FieldOptions_OptionTargetType int32
  411. const (
  412. FieldOptions_TARGET_TYPE_UNKNOWN FieldOptions_OptionTargetType = 0
  413. FieldOptions_TARGET_TYPE_FILE FieldOptions_OptionTargetType = 1
  414. FieldOptions_TARGET_TYPE_EXTENSION_RANGE FieldOptions_OptionTargetType = 2
  415. FieldOptions_TARGET_TYPE_MESSAGE FieldOptions_OptionTargetType = 3
  416. FieldOptions_TARGET_TYPE_FIELD FieldOptions_OptionTargetType = 4
  417. FieldOptions_TARGET_TYPE_ONEOF FieldOptions_OptionTargetType = 5
  418. FieldOptions_TARGET_TYPE_ENUM FieldOptions_OptionTargetType = 6
  419. FieldOptions_TARGET_TYPE_ENUM_ENTRY FieldOptions_OptionTargetType = 7
  420. FieldOptions_TARGET_TYPE_SERVICE FieldOptions_OptionTargetType = 8
  421. FieldOptions_TARGET_TYPE_METHOD FieldOptions_OptionTargetType = 9
  422. )
  423. // Enum value maps for FieldOptions_OptionTargetType.
  424. var (
  425. FieldOptions_OptionTargetType_name = map[int32]string{
  426. 0: "TARGET_TYPE_UNKNOWN",
  427. 1: "TARGET_TYPE_FILE",
  428. 2: "TARGET_TYPE_EXTENSION_RANGE",
  429. 3: "TARGET_TYPE_MESSAGE",
  430. 4: "TARGET_TYPE_FIELD",
  431. 5: "TARGET_TYPE_ONEOF",
  432. 6: "TARGET_TYPE_ENUM",
  433. 7: "TARGET_TYPE_ENUM_ENTRY",
  434. 8: "TARGET_TYPE_SERVICE",
  435. 9: "TARGET_TYPE_METHOD",
  436. }
  437. FieldOptions_OptionTargetType_value = map[string]int32{
  438. "TARGET_TYPE_UNKNOWN": 0,
  439. "TARGET_TYPE_FILE": 1,
  440. "TARGET_TYPE_EXTENSION_RANGE": 2,
  441. "TARGET_TYPE_MESSAGE": 3,
  442. "TARGET_TYPE_FIELD": 4,
  443. "TARGET_TYPE_ONEOF": 5,
  444. "TARGET_TYPE_ENUM": 6,
  445. "TARGET_TYPE_ENUM_ENTRY": 7,
  446. "TARGET_TYPE_SERVICE": 8,
  447. "TARGET_TYPE_METHOD": 9,
  448. }
  449. )
  450. func (x FieldOptions_OptionTargetType) Enum() *FieldOptions_OptionTargetType {
  451. p := new(FieldOptions_OptionTargetType)
  452. *p = x
  453. return p
  454. }
  455. func (x FieldOptions_OptionTargetType) String() string {
  456. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  457. }
  458. func (FieldOptions_OptionTargetType) Descriptor() protoreflect.EnumDescriptor {
  459. return file_google_protobuf_descriptor_proto_enumTypes[6].Descriptor()
  460. }
  461. func (FieldOptions_OptionTargetType) Type() protoreflect.EnumType {
  462. return &file_google_protobuf_descriptor_proto_enumTypes[6]
  463. }
  464. func (x FieldOptions_OptionTargetType) Number() protoreflect.EnumNumber {
  465. return protoreflect.EnumNumber(x)
  466. }
  467. // Deprecated: Do not use.
  468. func (x *FieldOptions_OptionTargetType) UnmarshalJSON(b []byte) error {
  469. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  470. if err != nil {
  471. return err
  472. }
  473. *x = FieldOptions_OptionTargetType(num)
  474. return nil
  475. }
  476. // Deprecated: Use FieldOptions_OptionTargetType.Descriptor instead.
  477. func (FieldOptions_OptionTargetType) EnumDescriptor() ([]byte, []int) {
  478. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 3}
  479. }
  480. // Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
  481. // or neither? HTTP based RPC implementation may choose GET verb for safe
  482. // methods, and PUT verb for idempotent methods instead of the default POST.
  483. type MethodOptions_IdempotencyLevel int32
  484. const (
  485. MethodOptions_IDEMPOTENCY_UNKNOWN MethodOptions_IdempotencyLevel = 0
  486. MethodOptions_NO_SIDE_EFFECTS MethodOptions_IdempotencyLevel = 1 // implies idempotent
  487. MethodOptions_IDEMPOTENT MethodOptions_IdempotencyLevel = 2 // idempotent, but may have side effects
  488. )
  489. // Enum value maps for MethodOptions_IdempotencyLevel.
  490. var (
  491. MethodOptions_IdempotencyLevel_name = map[int32]string{
  492. 0: "IDEMPOTENCY_UNKNOWN",
  493. 1: "NO_SIDE_EFFECTS",
  494. 2: "IDEMPOTENT",
  495. }
  496. MethodOptions_IdempotencyLevel_value = map[string]int32{
  497. "IDEMPOTENCY_UNKNOWN": 0,
  498. "NO_SIDE_EFFECTS": 1,
  499. "IDEMPOTENT": 2,
  500. }
  501. )
  502. func (x MethodOptions_IdempotencyLevel) Enum() *MethodOptions_IdempotencyLevel {
  503. p := new(MethodOptions_IdempotencyLevel)
  504. *p = x
  505. return p
  506. }
  507. func (x MethodOptions_IdempotencyLevel) String() string {
  508. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  509. }
  510. func (MethodOptions_IdempotencyLevel) Descriptor() protoreflect.EnumDescriptor {
  511. return file_google_protobuf_descriptor_proto_enumTypes[7].Descriptor()
  512. }
  513. func (MethodOptions_IdempotencyLevel) Type() protoreflect.EnumType {
  514. return &file_google_protobuf_descriptor_proto_enumTypes[7]
  515. }
  516. func (x MethodOptions_IdempotencyLevel) Number() protoreflect.EnumNumber {
  517. return protoreflect.EnumNumber(x)
  518. }
  519. // Deprecated: Do not use.
  520. func (x *MethodOptions_IdempotencyLevel) UnmarshalJSON(b []byte) error {
  521. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  522. if err != nil {
  523. return err
  524. }
  525. *x = MethodOptions_IdempotencyLevel(num)
  526. return nil
  527. }
  528. // Deprecated: Use MethodOptions_IdempotencyLevel.Descriptor instead.
  529. func (MethodOptions_IdempotencyLevel) EnumDescriptor() ([]byte, []int) {
  530. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{17, 0}
  531. }
  532. // Represents the identified object's effect on the element in the original
  533. // .proto file.
  534. type GeneratedCodeInfo_Annotation_Semantic int32
  535. const (
  536. // There is no effect or the effect is indescribable.
  537. GeneratedCodeInfo_Annotation_NONE GeneratedCodeInfo_Annotation_Semantic = 0
  538. // The element is set or otherwise mutated.
  539. GeneratedCodeInfo_Annotation_SET GeneratedCodeInfo_Annotation_Semantic = 1
  540. // An alias to the element is returned.
  541. GeneratedCodeInfo_Annotation_ALIAS GeneratedCodeInfo_Annotation_Semantic = 2
  542. )
  543. // Enum value maps for GeneratedCodeInfo_Annotation_Semantic.
  544. var (
  545. GeneratedCodeInfo_Annotation_Semantic_name = map[int32]string{
  546. 0: "NONE",
  547. 1: "SET",
  548. 2: "ALIAS",
  549. }
  550. GeneratedCodeInfo_Annotation_Semantic_value = map[string]int32{
  551. "NONE": 0,
  552. "SET": 1,
  553. "ALIAS": 2,
  554. }
  555. )
  556. func (x GeneratedCodeInfo_Annotation_Semantic) Enum() *GeneratedCodeInfo_Annotation_Semantic {
  557. p := new(GeneratedCodeInfo_Annotation_Semantic)
  558. *p = x
  559. return p
  560. }
  561. func (x GeneratedCodeInfo_Annotation_Semantic) String() string {
  562. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  563. }
  564. func (GeneratedCodeInfo_Annotation_Semantic) Descriptor() protoreflect.EnumDescriptor {
  565. return file_google_protobuf_descriptor_proto_enumTypes[8].Descriptor()
  566. }
  567. func (GeneratedCodeInfo_Annotation_Semantic) Type() protoreflect.EnumType {
  568. return &file_google_protobuf_descriptor_proto_enumTypes[8]
  569. }
  570. func (x GeneratedCodeInfo_Annotation_Semantic) Number() protoreflect.EnumNumber {
  571. return protoreflect.EnumNumber(x)
  572. }
  573. // Deprecated: Do not use.
  574. func (x *GeneratedCodeInfo_Annotation_Semantic) UnmarshalJSON(b []byte) error {
  575. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  576. if err != nil {
  577. return err
  578. }
  579. *x = GeneratedCodeInfo_Annotation_Semantic(num)
  580. return nil
  581. }
  582. // Deprecated: Use GeneratedCodeInfo_Annotation_Semantic.Descriptor instead.
  583. func (GeneratedCodeInfo_Annotation_Semantic) EnumDescriptor() ([]byte, []int) {
  584. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20, 0, 0}
  585. }
  586. // The protocol compiler can output a FileDescriptorSet containing the .proto
  587. // files it parses.
  588. type FileDescriptorSet struct {
  589. state protoimpl.MessageState
  590. sizeCache protoimpl.SizeCache
  591. unknownFields protoimpl.UnknownFields
  592. File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
  593. }
  594. func (x *FileDescriptorSet) Reset() {
  595. *x = FileDescriptorSet{}
  596. if protoimpl.UnsafeEnabled {
  597. mi := &file_google_protobuf_descriptor_proto_msgTypes[0]
  598. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  599. ms.StoreMessageInfo(mi)
  600. }
  601. }
  602. func (x *FileDescriptorSet) String() string {
  603. return protoimpl.X.MessageStringOf(x)
  604. }
  605. func (*FileDescriptorSet) ProtoMessage() {}
  606. func (x *FileDescriptorSet) ProtoReflect() protoreflect.Message {
  607. mi := &file_google_protobuf_descriptor_proto_msgTypes[0]
  608. if protoimpl.UnsafeEnabled && x != nil {
  609. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  610. if ms.LoadMessageInfo() == nil {
  611. ms.StoreMessageInfo(mi)
  612. }
  613. return ms
  614. }
  615. return mi.MessageOf(x)
  616. }
  617. // Deprecated: Use FileDescriptorSet.ProtoReflect.Descriptor instead.
  618. func (*FileDescriptorSet) Descriptor() ([]byte, []int) {
  619. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{0}
  620. }
  621. func (x *FileDescriptorSet) GetFile() []*FileDescriptorProto {
  622. if x != nil {
  623. return x.File
  624. }
  625. return nil
  626. }
  627. // Describes a complete .proto file.
  628. type FileDescriptorProto struct {
  629. state protoimpl.MessageState
  630. sizeCache protoimpl.SizeCache
  631. unknownFields protoimpl.UnknownFields
  632. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // file name, relative to root of source tree
  633. Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"` // e.g. "foo", "foo.bar", etc.
  634. // Names of files imported by this file.
  635. Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"`
  636. // Indexes of the public imported files in the dependency list above.
  637. PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"`
  638. // Indexes of the weak imported files in the dependency list.
  639. // For Google-internal migration only. Do not use.
  640. WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"`
  641. // All top-level definitions in this file.
  642. MessageType []*DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"`
  643. EnumType []*EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"`
  644. Service []*ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"`
  645. Extension []*FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"`
  646. Options *FileOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
  647. // This field contains optional information about the original source code.
  648. // You may safely remove this entire field without harming runtime
  649. // functionality of the descriptors -- the information is needed only by
  650. // development tools.
  651. SourceCodeInfo *SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"`
  652. // The syntax of the proto file.
  653. // The supported values are "proto2", "proto3", and "editions".
  654. //
  655. // If `edition` is present, this value must be "editions".
  656. Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"`
  657. // The edition of the proto file, which is an opaque string.
  658. Edition *string `protobuf:"bytes,13,opt,name=edition" json:"edition,omitempty"`
  659. }
  660. func (x *FileDescriptorProto) Reset() {
  661. *x = FileDescriptorProto{}
  662. if protoimpl.UnsafeEnabled {
  663. mi := &file_google_protobuf_descriptor_proto_msgTypes[1]
  664. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  665. ms.StoreMessageInfo(mi)
  666. }
  667. }
  668. func (x *FileDescriptorProto) String() string {
  669. return protoimpl.X.MessageStringOf(x)
  670. }
  671. func (*FileDescriptorProto) ProtoMessage() {}
  672. func (x *FileDescriptorProto) ProtoReflect() protoreflect.Message {
  673. mi := &file_google_protobuf_descriptor_proto_msgTypes[1]
  674. if protoimpl.UnsafeEnabled && x != nil {
  675. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  676. if ms.LoadMessageInfo() == nil {
  677. ms.StoreMessageInfo(mi)
  678. }
  679. return ms
  680. }
  681. return mi.MessageOf(x)
  682. }
  683. // Deprecated: Use FileDescriptorProto.ProtoReflect.Descriptor instead.
  684. func (*FileDescriptorProto) Descriptor() ([]byte, []int) {
  685. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{1}
  686. }
  687. func (x *FileDescriptorProto) GetName() string {
  688. if x != nil && x.Name != nil {
  689. return *x.Name
  690. }
  691. return ""
  692. }
  693. func (x *FileDescriptorProto) GetPackage() string {
  694. if x != nil && x.Package != nil {
  695. return *x.Package
  696. }
  697. return ""
  698. }
  699. func (x *FileDescriptorProto) GetDependency() []string {
  700. if x != nil {
  701. return x.Dependency
  702. }
  703. return nil
  704. }
  705. func (x *FileDescriptorProto) GetPublicDependency() []int32 {
  706. if x != nil {
  707. return x.PublicDependency
  708. }
  709. return nil
  710. }
  711. func (x *FileDescriptorProto) GetWeakDependency() []int32 {
  712. if x != nil {
  713. return x.WeakDependency
  714. }
  715. return nil
  716. }
  717. func (x *FileDescriptorProto) GetMessageType() []*DescriptorProto {
  718. if x != nil {
  719. return x.MessageType
  720. }
  721. return nil
  722. }
  723. func (x *FileDescriptorProto) GetEnumType() []*EnumDescriptorProto {
  724. if x != nil {
  725. return x.EnumType
  726. }
  727. return nil
  728. }
  729. func (x *FileDescriptorProto) GetService() []*ServiceDescriptorProto {
  730. if x != nil {
  731. return x.Service
  732. }
  733. return nil
  734. }
  735. func (x *FileDescriptorProto) GetExtension() []*FieldDescriptorProto {
  736. if x != nil {
  737. return x.Extension
  738. }
  739. return nil
  740. }
  741. func (x *FileDescriptorProto) GetOptions() *FileOptions {
  742. if x != nil {
  743. return x.Options
  744. }
  745. return nil
  746. }
  747. func (x *FileDescriptorProto) GetSourceCodeInfo() *SourceCodeInfo {
  748. if x != nil {
  749. return x.SourceCodeInfo
  750. }
  751. return nil
  752. }
  753. func (x *FileDescriptorProto) GetSyntax() string {
  754. if x != nil && x.Syntax != nil {
  755. return *x.Syntax
  756. }
  757. return ""
  758. }
  759. func (x *FileDescriptorProto) GetEdition() string {
  760. if x != nil && x.Edition != nil {
  761. return *x.Edition
  762. }
  763. return ""
  764. }
  765. // Describes a message type.
  766. type DescriptorProto struct {
  767. state protoimpl.MessageState
  768. sizeCache protoimpl.SizeCache
  769. unknownFields protoimpl.UnknownFields
  770. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  771. Field []*FieldDescriptorProto `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"`
  772. Extension []*FieldDescriptorProto `protobuf:"bytes,6,rep,name=extension" json:"extension,omitempty"`
  773. NestedType []*DescriptorProto `protobuf:"bytes,3,rep,name=nested_type,json=nestedType" json:"nested_type,omitempty"`
  774. EnumType []*EnumDescriptorProto `protobuf:"bytes,4,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"`
  775. ExtensionRange []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range,json=extensionRange" json:"extension_range,omitempty"`
  776. OneofDecl []*OneofDescriptorProto `protobuf:"bytes,8,rep,name=oneof_decl,json=oneofDecl" json:"oneof_decl,omitempty"`
  777. Options *MessageOptions `protobuf:"bytes,7,opt,name=options" json:"options,omitempty"`
  778. ReservedRange []*DescriptorProto_ReservedRange `protobuf:"bytes,9,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"`
  779. // Reserved field names, which may not be used by fields in the same message.
  780. // A given name may only be reserved once.
  781. ReservedName []string `protobuf:"bytes,10,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
  782. }
  783. func (x *DescriptorProto) Reset() {
  784. *x = DescriptorProto{}
  785. if protoimpl.UnsafeEnabled {
  786. mi := &file_google_protobuf_descriptor_proto_msgTypes[2]
  787. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  788. ms.StoreMessageInfo(mi)
  789. }
  790. }
  791. func (x *DescriptorProto) String() string {
  792. return protoimpl.X.MessageStringOf(x)
  793. }
  794. func (*DescriptorProto) ProtoMessage() {}
  795. func (x *DescriptorProto) ProtoReflect() protoreflect.Message {
  796. mi := &file_google_protobuf_descriptor_proto_msgTypes[2]
  797. if protoimpl.UnsafeEnabled && x != nil {
  798. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  799. if ms.LoadMessageInfo() == nil {
  800. ms.StoreMessageInfo(mi)
  801. }
  802. return ms
  803. }
  804. return mi.MessageOf(x)
  805. }
  806. // Deprecated: Use DescriptorProto.ProtoReflect.Descriptor instead.
  807. func (*DescriptorProto) Descriptor() ([]byte, []int) {
  808. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2}
  809. }
  810. func (x *DescriptorProto) GetName() string {
  811. if x != nil && x.Name != nil {
  812. return *x.Name
  813. }
  814. return ""
  815. }
  816. func (x *DescriptorProto) GetField() []*FieldDescriptorProto {
  817. if x != nil {
  818. return x.Field
  819. }
  820. return nil
  821. }
  822. func (x *DescriptorProto) GetExtension() []*FieldDescriptorProto {
  823. if x != nil {
  824. return x.Extension
  825. }
  826. return nil
  827. }
  828. func (x *DescriptorProto) GetNestedType() []*DescriptorProto {
  829. if x != nil {
  830. return x.NestedType
  831. }
  832. return nil
  833. }
  834. func (x *DescriptorProto) GetEnumType() []*EnumDescriptorProto {
  835. if x != nil {
  836. return x.EnumType
  837. }
  838. return nil
  839. }
  840. func (x *DescriptorProto) GetExtensionRange() []*DescriptorProto_ExtensionRange {
  841. if x != nil {
  842. return x.ExtensionRange
  843. }
  844. return nil
  845. }
  846. func (x *DescriptorProto) GetOneofDecl() []*OneofDescriptorProto {
  847. if x != nil {
  848. return x.OneofDecl
  849. }
  850. return nil
  851. }
  852. func (x *DescriptorProto) GetOptions() *MessageOptions {
  853. if x != nil {
  854. return x.Options
  855. }
  856. return nil
  857. }
  858. func (x *DescriptorProto) GetReservedRange() []*DescriptorProto_ReservedRange {
  859. if x != nil {
  860. return x.ReservedRange
  861. }
  862. return nil
  863. }
  864. func (x *DescriptorProto) GetReservedName() []string {
  865. if x != nil {
  866. return x.ReservedName
  867. }
  868. return nil
  869. }
  870. type ExtensionRangeOptions struct {
  871. state protoimpl.MessageState
  872. sizeCache protoimpl.SizeCache
  873. unknownFields protoimpl.UnknownFields
  874. extensionFields protoimpl.ExtensionFields
  875. // The parser stores options it doesn't recognize here. See above.
  876. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  877. }
  878. func (x *ExtensionRangeOptions) Reset() {
  879. *x = ExtensionRangeOptions{}
  880. if protoimpl.UnsafeEnabled {
  881. mi := &file_google_protobuf_descriptor_proto_msgTypes[3]
  882. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  883. ms.StoreMessageInfo(mi)
  884. }
  885. }
  886. func (x *ExtensionRangeOptions) String() string {
  887. return protoimpl.X.MessageStringOf(x)
  888. }
  889. func (*ExtensionRangeOptions) ProtoMessage() {}
  890. func (x *ExtensionRangeOptions) ProtoReflect() protoreflect.Message {
  891. mi := &file_google_protobuf_descriptor_proto_msgTypes[3]
  892. if protoimpl.UnsafeEnabled && x != nil {
  893. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  894. if ms.LoadMessageInfo() == nil {
  895. ms.StoreMessageInfo(mi)
  896. }
  897. return ms
  898. }
  899. return mi.MessageOf(x)
  900. }
  901. // Deprecated: Use ExtensionRangeOptions.ProtoReflect.Descriptor instead.
  902. func (*ExtensionRangeOptions) Descriptor() ([]byte, []int) {
  903. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3}
  904. }
  905. func (x *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption {
  906. if x != nil {
  907. return x.UninterpretedOption
  908. }
  909. return nil
  910. }
  911. // Describes a field within a message.
  912. type FieldDescriptorProto struct {
  913. state protoimpl.MessageState
  914. sizeCache protoimpl.SizeCache
  915. unknownFields protoimpl.UnknownFields
  916. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  917. Number *int32 `protobuf:"varint,3,opt,name=number" json:"number,omitempty"`
  918. Label *FieldDescriptorProto_Label `protobuf:"varint,4,opt,name=label,enum=google.protobuf.FieldDescriptorProto_Label" json:"label,omitempty"`
  919. // If type_name is set, this need not be set. If both this and type_name
  920. // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
  921. Type *FieldDescriptorProto_Type `protobuf:"varint,5,opt,name=type,enum=google.protobuf.FieldDescriptorProto_Type" json:"type,omitempty"`
  922. // For message and enum types, this is the name of the type. If the name
  923. // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
  924. // rules are used to find the type (i.e. first the nested types within this
  925. // message are searched, then within the parent, on up to the root
  926. // namespace).
  927. TypeName *string `protobuf:"bytes,6,opt,name=type_name,json=typeName" json:"type_name,omitempty"`
  928. // For extensions, this is the name of the type being extended. It is
  929. // resolved in the same manner as type_name.
  930. Extendee *string `protobuf:"bytes,2,opt,name=extendee" json:"extendee,omitempty"`
  931. // For numeric types, contains the original text representation of the value.
  932. // For booleans, "true" or "false".
  933. // For strings, contains the default text contents (not escaped in any way).
  934. // For bytes, contains the C escaped value. All bytes >= 128 are escaped.
  935. DefaultValue *string `protobuf:"bytes,7,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"`
  936. // If set, gives the index of a oneof in the containing type's oneof_decl
  937. // list. This field is a member of that oneof.
  938. OneofIndex *int32 `protobuf:"varint,9,opt,name=oneof_index,json=oneofIndex" json:"oneof_index,omitempty"`
  939. // JSON name of this field. The value is set by protocol compiler. If the
  940. // user has set a "json_name" option on this field, that option's value
  941. // will be used. Otherwise, it's deduced from the field's name by converting
  942. // it to camelCase.
  943. JsonName *string `protobuf:"bytes,10,opt,name=json_name,json=jsonName" json:"json_name,omitempty"`
  944. Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
  945. // If true, this is a proto3 "optional". When a proto3 field is optional, it
  946. // tracks presence regardless of field type.
  947. //
  948. // When proto3_optional is true, this field must be belong to a oneof to
  949. // signal to old proto3 clients that presence is tracked for this field. This
  950. // oneof is known as a "synthetic" oneof, and this field must be its sole
  951. // member (each proto3 optional field gets its own synthetic oneof). Synthetic
  952. // oneofs exist in the descriptor only, and do not generate any API. Synthetic
  953. // oneofs must be ordered after all "real" oneofs.
  954. //
  955. // For message fields, proto3_optional doesn't create any semantic change,
  956. // since non-repeated message fields always track presence. However it still
  957. // indicates the semantic detail of whether the user wrote "optional" or not.
  958. // This can be useful for round-tripping the .proto file. For consistency we
  959. // give message fields a synthetic oneof also, even though it is not required
  960. // to track presence. This is especially important because the parser can't
  961. // tell if a field is a message or an enum, so it must always create a
  962. // synthetic oneof.
  963. //
  964. // Proto2 optional fields do not set this flag, because they already indicate
  965. // optional with `LABEL_OPTIONAL`.
  966. Proto3Optional *bool `protobuf:"varint,17,opt,name=proto3_optional,json=proto3Optional" json:"proto3_optional,omitempty"`
  967. }
  968. func (x *FieldDescriptorProto) Reset() {
  969. *x = FieldDescriptorProto{}
  970. if protoimpl.UnsafeEnabled {
  971. mi := &file_google_protobuf_descriptor_proto_msgTypes[4]
  972. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  973. ms.StoreMessageInfo(mi)
  974. }
  975. }
  976. func (x *FieldDescriptorProto) String() string {
  977. return protoimpl.X.MessageStringOf(x)
  978. }
  979. func (*FieldDescriptorProto) ProtoMessage() {}
  980. func (x *FieldDescriptorProto) ProtoReflect() protoreflect.Message {
  981. mi := &file_google_protobuf_descriptor_proto_msgTypes[4]
  982. if protoimpl.UnsafeEnabled && x != nil {
  983. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  984. if ms.LoadMessageInfo() == nil {
  985. ms.StoreMessageInfo(mi)
  986. }
  987. return ms
  988. }
  989. return mi.MessageOf(x)
  990. }
  991. // Deprecated: Use FieldDescriptorProto.ProtoReflect.Descriptor instead.
  992. func (*FieldDescriptorProto) Descriptor() ([]byte, []int) {
  993. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4}
  994. }
  995. func (x *FieldDescriptorProto) GetName() string {
  996. if x != nil && x.Name != nil {
  997. return *x.Name
  998. }
  999. return ""
  1000. }
  1001. func (x *FieldDescriptorProto) GetNumber() int32 {
  1002. if x != nil && x.Number != nil {
  1003. return *x.Number
  1004. }
  1005. return 0
  1006. }
  1007. func (x *FieldDescriptorProto) GetLabel() FieldDescriptorProto_Label {
  1008. if x != nil && x.Label != nil {
  1009. return *x.Label
  1010. }
  1011. return FieldDescriptorProto_LABEL_OPTIONAL
  1012. }
  1013. func (x *FieldDescriptorProto) GetType() FieldDescriptorProto_Type {
  1014. if x != nil && x.Type != nil {
  1015. return *x.Type
  1016. }
  1017. return FieldDescriptorProto_TYPE_DOUBLE
  1018. }
  1019. func (x *FieldDescriptorProto) GetTypeName() string {
  1020. if x != nil && x.TypeName != nil {
  1021. return *x.TypeName
  1022. }
  1023. return ""
  1024. }
  1025. func (x *FieldDescriptorProto) GetExtendee() string {
  1026. if x != nil && x.Extendee != nil {
  1027. return *x.Extendee
  1028. }
  1029. return ""
  1030. }
  1031. func (x *FieldDescriptorProto) GetDefaultValue() string {
  1032. if x != nil && x.DefaultValue != nil {
  1033. return *x.DefaultValue
  1034. }
  1035. return ""
  1036. }
  1037. func (x *FieldDescriptorProto) GetOneofIndex() int32 {
  1038. if x != nil && x.OneofIndex != nil {
  1039. return *x.OneofIndex
  1040. }
  1041. return 0
  1042. }
  1043. func (x *FieldDescriptorProto) GetJsonName() string {
  1044. if x != nil && x.JsonName != nil {
  1045. return *x.JsonName
  1046. }
  1047. return ""
  1048. }
  1049. func (x *FieldDescriptorProto) GetOptions() *FieldOptions {
  1050. if x != nil {
  1051. return x.Options
  1052. }
  1053. return nil
  1054. }
  1055. func (x *FieldDescriptorProto) GetProto3Optional() bool {
  1056. if x != nil && x.Proto3Optional != nil {
  1057. return *x.Proto3Optional
  1058. }
  1059. return false
  1060. }
  1061. // Describes a oneof.
  1062. type OneofDescriptorProto struct {
  1063. state protoimpl.MessageState
  1064. sizeCache protoimpl.SizeCache
  1065. unknownFields protoimpl.UnknownFields
  1066. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1067. Options *OneofOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"`
  1068. }
  1069. func (x *OneofDescriptorProto) Reset() {
  1070. *x = OneofDescriptorProto{}
  1071. if protoimpl.UnsafeEnabled {
  1072. mi := &file_google_protobuf_descriptor_proto_msgTypes[5]
  1073. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1074. ms.StoreMessageInfo(mi)
  1075. }
  1076. }
  1077. func (x *OneofDescriptorProto) String() string {
  1078. return protoimpl.X.MessageStringOf(x)
  1079. }
  1080. func (*OneofDescriptorProto) ProtoMessage() {}
  1081. func (x *OneofDescriptorProto) ProtoReflect() protoreflect.Message {
  1082. mi := &file_google_protobuf_descriptor_proto_msgTypes[5]
  1083. if protoimpl.UnsafeEnabled && x != nil {
  1084. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1085. if ms.LoadMessageInfo() == nil {
  1086. ms.StoreMessageInfo(mi)
  1087. }
  1088. return ms
  1089. }
  1090. return mi.MessageOf(x)
  1091. }
  1092. // Deprecated: Use OneofDescriptorProto.ProtoReflect.Descriptor instead.
  1093. func (*OneofDescriptorProto) Descriptor() ([]byte, []int) {
  1094. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{5}
  1095. }
  1096. func (x *OneofDescriptorProto) GetName() string {
  1097. if x != nil && x.Name != nil {
  1098. return *x.Name
  1099. }
  1100. return ""
  1101. }
  1102. func (x *OneofDescriptorProto) GetOptions() *OneofOptions {
  1103. if x != nil {
  1104. return x.Options
  1105. }
  1106. return nil
  1107. }
  1108. // Describes an enum type.
  1109. type EnumDescriptorProto struct {
  1110. state protoimpl.MessageState
  1111. sizeCache protoimpl.SizeCache
  1112. unknownFields protoimpl.UnknownFields
  1113. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1114. Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
  1115. Options *EnumOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
  1116. // Range of reserved numeric values. Reserved numeric values may not be used
  1117. // by enum values in the same enum declaration. Reserved ranges may not
  1118. // overlap.
  1119. ReservedRange []*EnumDescriptorProto_EnumReservedRange `protobuf:"bytes,4,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"`
  1120. // Reserved enum value names, which may not be reused. A given name may only
  1121. // be reserved once.
  1122. ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
  1123. }
  1124. func (x *EnumDescriptorProto) Reset() {
  1125. *x = EnumDescriptorProto{}
  1126. if protoimpl.UnsafeEnabled {
  1127. mi := &file_google_protobuf_descriptor_proto_msgTypes[6]
  1128. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1129. ms.StoreMessageInfo(mi)
  1130. }
  1131. }
  1132. func (x *EnumDescriptorProto) String() string {
  1133. return protoimpl.X.MessageStringOf(x)
  1134. }
  1135. func (*EnumDescriptorProto) ProtoMessage() {}
  1136. func (x *EnumDescriptorProto) ProtoReflect() protoreflect.Message {
  1137. mi := &file_google_protobuf_descriptor_proto_msgTypes[6]
  1138. if protoimpl.UnsafeEnabled && x != nil {
  1139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1140. if ms.LoadMessageInfo() == nil {
  1141. ms.StoreMessageInfo(mi)
  1142. }
  1143. return ms
  1144. }
  1145. return mi.MessageOf(x)
  1146. }
  1147. // Deprecated: Use EnumDescriptorProto.ProtoReflect.Descriptor instead.
  1148. func (*EnumDescriptorProto) Descriptor() ([]byte, []int) {
  1149. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{6}
  1150. }
  1151. func (x *EnumDescriptorProto) GetName() string {
  1152. if x != nil && x.Name != nil {
  1153. return *x.Name
  1154. }
  1155. return ""
  1156. }
  1157. func (x *EnumDescriptorProto) GetValue() []*EnumValueDescriptorProto {
  1158. if x != nil {
  1159. return x.Value
  1160. }
  1161. return nil
  1162. }
  1163. func (x *EnumDescriptorProto) GetOptions() *EnumOptions {
  1164. if x != nil {
  1165. return x.Options
  1166. }
  1167. return nil
  1168. }
  1169. func (x *EnumDescriptorProto) GetReservedRange() []*EnumDescriptorProto_EnumReservedRange {
  1170. if x != nil {
  1171. return x.ReservedRange
  1172. }
  1173. return nil
  1174. }
  1175. func (x *EnumDescriptorProto) GetReservedName() []string {
  1176. if x != nil {
  1177. return x.ReservedName
  1178. }
  1179. return nil
  1180. }
  1181. // Describes a value within an enum.
  1182. type EnumValueDescriptorProto struct {
  1183. state protoimpl.MessageState
  1184. sizeCache protoimpl.SizeCache
  1185. unknownFields protoimpl.UnknownFields
  1186. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1187. Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
  1188. Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
  1189. }
  1190. func (x *EnumValueDescriptorProto) Reset() {
  1191. *x = EnumValueDescriptorProto{}
  1192. if protoimpl.UnsafeEnabled {
  1193. mi := &file_google_protobuf_descriptor_proto_msgTypes[7]
  1194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1195. ms.StoreMessageInfo(mi)
  1196. }
  1197. }
  1198. func (x *EnumValueDescriptorProto) String() string {
  1199. return protoimpl.X.MessageStringOf(x)
  1200. }
  1201. func (*EnumValueDescriptorProto) ProtoMessage() {}
  1202. func (x *EnumValueDescriptorProto) ProtoReflect() protoreflect.Message {
  1203. mi := &file_google_protobuf_descriptor_proto_msgTypes[7]
  1204. if protoimpl.UnsafeEnabled && x != nil {
  1205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1206. if ms.LoadMessageInfo() == nil {
  1207. ms.StoreMessageInfo(mi)
  1208. }
  1209. return ms
  1210. }
  1211. return mi.MessageOf(x)
  1212. }
  1213. // Deprecated: Use EnumValueDescriptorProto.ProtoReflect.Descriptor instead.
  1214. func (*EnumValueDescriptorProto) Descriptor() ([]byte, []int) {
  1215. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{7}
  1216. }
  1217. func (x *EnumValueDescriptorProto) GetName() string {
  1218. if x != nil && x.Name != nil {
  1219. return *x.Name
  1220. }
  1221. return ""
  1222. }
  1223. func (x *EnumValueDescriptorProto) GetNumber() int32 {
  1224. if x != nil && x.Number != nil {
  1225. return *x.Number
  1226. }
  1227. return 0
  1228. }
  1229. func (x *EnumValueDescriptorProto) GetOptions() *EnumValueOptions {
  1230. if x != nil {
  1231. return x.Options
  1232. }
  1233. return nil
  1234. }
  1235. // Describes a service.
  1236. type ServiceDescriptorProto struct {
  1237. state protoimpl.MessageState
  1238. sizeCache protoimpl.SizeCache
  1239. unknownFields protoimpl.UnknownFields
  1240. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1241. Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"`
  1242. Options *ServiceOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
  1243. }
  1244. func (x *ServiceDescriptorProto) Reset() {
  1245. *x = ServiceDescriptorProto{}
  1246. if protoimpl.UnsafeEnabled {
  1247. mi := &file_google_protobuf_descriptor_proto_msgTypes[8]
  1248. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1249. ms.StoreMessageInfo(mi)
  1250. }
  1251. }
  1252. func (x *ServiceDescriptorProto) String() string {
  1253. return protoimpl.X.MessageStringOf(x)
  1254. }
  1255. func (*ServiceDescriptorProto) ProtoMessage() {}
  1256. func (x *ServiceDescriptorProto) ProtoReflect() protoreflect.Message {
  1257. mi := &file_google_protobuf_descriptor_proto_msgTypes[8]
  1258. if protoimpl.UnsafeEnabled && x != nil {
  1259. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1260. if ms.LoadMessageInfo() == nil {
  1261. ms.StoreMessageInfo(mi)
  1262. }
  1263. return ms
  1264. }
  1265. return mi.MessageOf(x)
  1266. }
  1267. // Deprecated: Use ServiceDescriptorProto.ProtoReflect.Descriptor instead.
  1268. func (*ServiceDescriptorProto) Descriptor() ([]byte, []int) {
  1269. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{8}
  1270. }
  1271. func (x *ServiceDescriptorProto) GetName() string {
  1272. if x != nil && x.Name != nil {
  1273. return *x.Name
  1274. }
  1275. return ""
  1276. }
  1277. func (x *ServiceDescriptorProto) GetMethod() []*MethodDescriptorProto {
  1278. if x != nil {
  1279. return x.Method
  1280. }
  1281. return nil
  1282. }
  1283. func (x *ServiceDescriptorProto) GetOptions() *ServiceOptions {
  1284. if x != nil {
  1285. return x.Options
  1286. }
  1287. return nil
  1288. }
  1289. // Describes a method of a service.
  1290. type MethodDescriptorProto struct {
  1291. state protoimpl.MessageState
  1292. sizeCache protoimpl.SizeCache
  1293. unknownFields protoimpl.UnknownFields
  1294. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1295. // Input and output type names. These are resolved in the same way as
  1296. // FieldDescriptorProto.type_name, but must refer to a message type.
  1297. InputType *string `protobuf:"bytes,2,opt,name=input_type,json=inputType" json:"input_type,omitempty"`
  1298. OutputType *string `protobuf:"bytes,3,opt,name=output_type,json=outputType" json:"output_type,omitempty"`
  1299. Options *MethodOptions `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"`
  1300. // Identifies if client streams multiple client messages
  1301. ClientStreaming *bool `protobuf:"varint,5,opt,name=client_streaming,json=clientStreaming,def=0" json:"client_streaming,omitempty"`
  1302. // Identifies if server streams multiple server messages
  1303. ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"server_streaming,omitempty"`
  1304. }
  1305. // Default values for MethodDescriptorProto fields.
  1306. const (
  1307. Default_MethodDescriptorProto_ClientStreaming = bool(false)
  1308. Default_MethodDescriptorProto_ServerStreaming = bool(false)
  1309. )
  1310. func (x *MethodDescriptorProto) Reset() {
  1311. *x = MethodDescriptorProto{}
  1312. if protoimpl.UnsafeEnabled {
  1313. mi := &file_google_protobuf_descriptor_proto_msgTypes[9]
  1314. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1315. ms.StoreMessageInfo(mi)
  1316. }
  1317. }
  1318. func (x *MethodDescriptorProto) String() string {
  1319. return protoimpl.X.MessageStringOf(x)
  1320. }
  1321. func (*MethodDescriptorProto) ProtoMessage() {}
  1322. func (x *MethodDescriptorProto) ProtoReflect() protoreflect.Message {
  1323. mi := &file_google_protobuf_descriptor_proto_msgTypes[9]
  1324. if protoimpl.UnsafeEnabled && x != nil {
  1325. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1326. if ms.LoadMessageInfo() == nil {
  1327. ms.StoreMessageInfo(mi)
  1328. }
  1329. return ms
  1330. }
  1331. return mi.MessageOf(x)
  1332. }
  1333. // Deprecated: Use MethodDescriptorProto.ProtoReflect.Descriptor instead.
  1334. func (*MethodDescriptorProto) Descriptor() ([]byte, []int) {
  1335. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{9}
  1336. }
  1337. func (x *MethodDescriptorProto) GetName() string {
  1338. if x != nil && x.Name != nil {
  1339. return *x.Name
  1340. }
  1341. return ""
  1342. }
  1343. func (x *MethodDescriptorProto) GetInputType() string {
  1344. if x != nil && x.InputType != nil {
  1345. return *x.InputType
  1346. }
  1347. return ""
  1348. }
  1349. func (x *MethodDescriptorProto) GetOutputType() string {
  1350. if x != nil && x.OutputType != nil {
  1351. return *x.OutputType
  1352. }
  1353. return ""
  1354. }
  1355. func (x *MethodDescriptorProto) GetOptions() *MethodOptions {
  1356. if x != nil {
  1357. return x.Options
  1358. }
  1359. return nil
  1360. }
  1361. func (x *MethodDescriptorProto) GetClientStreaming() bool {
  1362. if x != nil && x.ClientStreaming != nil {
  1363. return *x.ClientStreaming
  1364. }
  1365. return Default_MethodDescriptorProto_ClientStreaming
  1366. }
  1367. func (x *MethodDescriptorProto) GetServerStreaming() bool {
  1368. if x != nil && x.ServerStreaming != nil {
  1369. return *x.ServerStreaming
  1370. }
  1371. return Default_MethodDescriptorProto_ServerStreaming
  1372. }
  1373. type FileOptions struct {
  1374. state protoimpl.MessageState
  1375. sizeCache protoimpl.SizeCache
  1376. unknownFields protoimpl.UnknownFields
  1377. extensionFields protoimpl.ExtensionFields
  1378. // Sets the Java package where classes generated from this .proto will be
  1379. // placed. By default, the proto package is used, but this is often
  1380. // inappropriate because proto packages do not normally start with backwards
  1381. // domain names.
  1382. JavaPackage *string `protobuf:"bytes,1,opt,name=java_package,json=javaPackage" json:"java_package,omitempty"`
  1383. // Controls the name of the wrapper Java class generated for the .proto file.
  1384. // That class will always contain the .proto file's getDescriptor() method as
  1385. // well as any top-level extensions defined in the .proto file.
  1386. // If java_multiple_files is disabled, then all the other classes from the
  1387. // .proto file will be nested inside the single wrapper outer class.
  1388. JavaOuterClassname *string `protobuf:"bytes,8,opt,name=java_outer_classname,json=javaOuterClassname" json:"java_outer_classname,omitempty"`
  1389. // If enabled, then the Java code generator will generate a separate .java
  1390. // file for each top-level message, enum, and service defined in the .proto
  1391. // file. Thus, these types will *not* be nested inside the wrapper class
  1392. // named by java_outer_classname. However, the wrapper class will still be
  1393. // generated to contain the file's getDescriptor() method as well as any
  1394. // top-level extensions defined in the file.
  1395. JavaMultipleFiles *bool `protobuf:"varint,10,opt,name=java_multiple_files,json=javaMultipleFiles,def=0" json:"java_multiple_files,omitempty"`
  1396. // This option does nothing.
  1397. //
  1398. // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
  1399. JavaGenerateEqualsAndHash *bool `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,json=javaGenerateEqualsAndHash" json:"java_generate_equals_and_hash,omitempty"`
  1400. // If set true, then the Java2 code generator will generate code that
  1401. // throws an exception whenever an attempt is made to assign a non-UTF-8
  1402. // byte sequence to a string field.
  1403. // Message reflection will do the same.
  1404. // However, an extension field still accepts non-UTF-8 byte sequences.
  1405. // This option has no effect on when used with the lite runtime.
  1406. JavaStringCheckUtf8 *bool `protobuf:"varint,27,opt,name=java_string_check_utf8,json=javaStringCheckUtf8,def=0" json:"java_string_check_utf8,omitempty"`
  1407. OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"`
  1408. // Sets the Go package where structs generated from this .proto will be
  1409. // placed. If omitted, the Go package will be derived from the following:
  1410. // - The basename of the package import path, if provided.
  1411. // - Otherwise, the package statement in the .proto file, if present.
  1412. // - Otherwise, the basename of the .proto file, without extension.
  1413. GoPackage *string `protobuf:"bytes,11,opt,name=go_package,json=goPackage" json:"go_package,omitempty"`
  1414. // Should generic services be generated in each language? "Generic" services
  1415. // are not specific to any particular RPC system. They are generated by the
  1416. // main code generators in each language (without additional plugins).
  1417. // Generic services were the only kind of service generation supported by
  1418. // early versions of google.protobuf.
  1419. //
  1420. // Generic services are now considered deprecated in favor of using plugins
  1421. // that generate code specific to your particular RPC system. Therefore,
  1422. // these default to false. Old code which depends on generic services should
  1423. // explicitly set them to true.
  1424. CcGenericServices *bool `protobuf:"varint,16,opt,name=cc_generic_services,json=ccGenericServices,def=0" json:"cc_generic_services,omitempty"`
  1425. JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"java_generic_services,omitempty"`
  1426. PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"py_generic_services,omitempty"`
  1427. PhpGenericServices *bool `protobuf:"varint,42,opt,name=php_generic_services,json=phpGenericServices,def=0" json:"php_generic_services,omitempty"`
  1428. // Is this file deprecated?
  1429. // Depending on the target platform, this can emit Deprecated annotations
  1430. // for everything in the file, or it will be completely ignored; in the very
  1431. // least, this is a formalization for deprecating files.
  1432. Deprecated *bool `protobuf:"varint,23,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1433. // Enables the use of arenas for the proto messages in this file. This applies
  1434. // only to generated classes for C++.
  1435. CcEnableArenas *bool `protobuf:"varint,31,opt,name=cc_enable_arenas,json=ccEnableArenas,def=1" json:"cc_enable_arenas,omitempty"`
  1436. // Sets the objective c class prefix which is prepended to all objective c
  1437. // generated classes from this .proto. There is no default.
  1438. ObjcClassPrefix *string `protobuf:"bytes,36,opt,name=objc_class_prefix,json=objcClassPrefix" json:"objc_class_prefix,omitempty"`
  1439. // Namespace for generated classes; defaults to the package.
  1440. CsharpNamespace *string `protobuf:"bytes,37,opt,name=csharp_namespace,json=csharpNamespace" json:"csharp_namespace,omitempty"`
  1441. // By default Swift generators will take the proto package and CamelCase it
  1442. // replacing '.' with underscore and use that to prefix the types/symbols
  1443. // defined. When this options is provided, they will use this value instead
  1444. // to prefix the types/symbols defined.
  1445. SwiftPrefix *string `protobuf:"bytes,39,opt,name=swift_prefix,json=swiftPrefix" json:"swift_prefix,omitempty"`
  1446. // Sets the php class prefix which is prepended to all php generated classes
  1447. // from this .proto. Default is empty.
  1448. PhpClassPrefix *string `protobuf:"bytes,40,opt,name=php_class_prefix,json=phpClassPrefix" json:"php_class_prefix,omitempty"`
  1449. // Use this option to change the namespace of php generated classes. Default
  1450. // is empty. When this option is empty, the package name will be used for
  1451. // determining the namespace.
  1452. PhpNamespace *string `protobuf:"bytes,41,opt,name=php_namespace,json=phpNamespace" json:"php_namespace,omitempty"`
  1453. // Use this option to change the namespace of php generated metadata classes.
  1454. // Default is empty. When this option is empty, the proto file name will be
  1455. // used for determining the namespace.
  1456. PhpMetadataNamespace *string `protobuf:"bytes,44,opt,name=php_metadata_namespace,json=phpMetadataNamespace" json:"php_metadata_namespace,omitempty"`
  1457. // Use this option to change the package of ruby generated classes. Default
  1458. // is empty. When this option is not set, the package name will be used for
  1459. // determining the ruby package.
  1460. RubyPackage *string `protobuf:"bytes,45,opt,name=ruby_package,json=rubyPackage" json:"ruby_package,omitempty"`
  1461. // The parser stores options it doesn't recognize here.
  1462. // See the documentation for the "Options" section above.
  1463. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1464. }
  1465. // Default values for FileOptions fields.
  1466. const (
  1467. Default_FileOptions_JavaMultipleFiles = bool(false)
  1468. Default_FileOptions_JavaStringCheckUtf8 = bool(false)
  1469. Default_FileOptions_OptimizeFor = FileOptions_SPEED
  1470. Default_FileOptions_CcGenericServices = bool(false)
  1471. Default_FileOptions_JavaGenericServices = bool(false)
  1472. Default_FileOptions_PyGenericServices = bool(false)
  1473. Default_FileOptions_PhpGenericServices = bool(false)
  1474. Default_FileOptions_Deprecated = bool(false)
  1475. Default_FileOptions_CcEnableArenas = bool(true)
  1476. )
  1477. func (x *FileOptions) Reset() {
  1478. *x = FileOptions{}
  1479. if protoimpl.UnsafeEnabled {
  1480. mi := &file_google_protobuf_descriptor_proto_msgTypes[10]
  1481. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1482. ms.StoreMessageInfo(mi)
  1483. }
  1484. }
  1485. func (x *FileOptions) String() string {
  1486. return protoimpl.X.MessageStringOf(x)
  1487. }
  1488. func (*FileOptions) ProtoMessage() {}
  1489. func (x *FileOptions) ProtoReflect() protoreflect.Message {
  1490. mi := &file_google_protobuf_descriptor_proto_msgTypes[10]
  1491. if protoimpl.UnsafeEnabled && x != nil {
  1492. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1493. if ms.LoadMessageInfo() == nil {
  1494. ms.StoreMessageInfo(mi)
  1495. }
  1496. return ms
  1497. }
  1498. return mi.MessageOf(x)
  1499. }
  1500. // Deprecated: Use FileOptions.ProtoReflect.Descriptor instead.
  1501. func (*FileOptions) Descriptor() ([]byte, []int) {
  1502. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{10}
  1503. }
  1504. func (x *FileOptions) GetJavaPackage() string {
  1505. if x != nil && x.JavaPackage != nil {
  1506. return *x.JavaPackage
  1507. }
  1508. return ""
  1509. }
  1510. func (x *FileOptions) GetJavaOuterClassname() string {
  1511. if x != nil && x.JavaOuterClassname != nil {
  1512. return *x.JavaOuterClassname
  1513. }
  1514. return ""
  1515. }
  1516. func (x *FileOptions) GetJavaMultipleFiles() bool {
  1517. if x != nil && x.JavaMultipleFiles != nil {
  1518. return *x.JavaMultipleFiles
  1519. }
  1520. return Default_FileOptions_JavaMultipleFiles
  1521. }
  1522. // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
  1523. func (x *FileOptions) GetJavaGenerateEqualsAndHash() bool {
  1524. if x != nil && x.JavaGenerateEqualsAndHash != nil {
  1525. return *x.JavaGenerateEqualsAndHash
  1526. }
  1527. return false
  1528. }
  1529. func (x *FileOptions) GetJavaStringCheckUtf8() bool {
  1530. if x != nil && x.JavaStringCheckUtf8 != nil {
  1531. return *x.JavaStringCheckUtf8
  1532. }
  1533. return Default_FileOptions_JavaStringCheckUtf8
  1534. }
  1535. func (x *FileOptions) GetOptimizeFor() FileOptions_OptimizeMode {
  1536. if x != nil && x.OptimizeFor != nil {
  1537. return *x.OptimizeFor
  1538. }
  1539. return Default_FileOptions_OptimizeFor
  1540. }
  1541. func (x *FileOptions) GetGoPackage() string {
  1542. if x != nil && x.GoPackage != nil {
  1543. return *x.GoPackage
  1544. }
  1545. return ""
  1546. }
  1547. func (x *FileOptions) GetCcGenericServices() bool {
  1548. if x != nil && x.CcGenericServices != nil {
  1549. return *x.CcGenericServices
  1550. }
  1551. return Default_FileOptions_CcGenericServices
  1552. }
  1553. func (x *FileOptions) GetJavaGenericServices() bool {
  1554. if x != nil && x.JavaGenericServices != nil {
  1555. return *x.JavaGenericServices
  1556. }
  1557. return Default_FileOptions_JavaGenericServices
  1558. }
  1559. func (x *FileOptions) GetPyGenericServices() bool {
  1560. if x != nil && x.PyGenericServices != nil {
  1561. return *x.PyGenericServices
  1562. }
  1563. return Default_FileOptions_PyGenericServices
  1564. }
  1565. func (x *FileOptions) GetPhpGenericServices() bool {
  1566. if x != nil && x.PhpGenericServices != nil {
  1567. return *x.PhpGenericServices
  1568. }
  1569. return Default_FileOptions_PhpGenericServices
  1570. }
  1571. func (x *FileOptions) GetDeprecated() bool {
  1572. if x != nil && x.Deprecated != nil {
  1573. return *x.Deprecated
  1574. }
  1575. return Default_FileOptions_Deprecated
  1576. }
  1577. func (x *FileOptions) GetCcEnableArenas() bool {
  1578. if x != nil && x.CcEnableArenas != nil {
  1579. return *x.CcEnableArenas
  1580. }
  1581. return Default_FileOptions_CcEnableArenas
  1582. }
  1583. func (x *FileOptions) GetObjcClassPrefix() string {
  1584. if x != nil && x.ObjcClassPrefix != nil {
  1585. return *x.ObjcClassPrefix
  1586. }
  1587. return ""
  1588. }
  1589. func (x *FileOptions) GetCsharpNamespace() string {
  1590. if x != nil && x.CsharpNamespace != nil {
  1591. return *x.CsharpNamespace
  1592. }
  1593. return ""
  1594. }
  1595. func (x *FileOptions) GetSwiftPrefix() string {
  1596. if x != nil && x.SwiftPrefix != nil {
  1597. return *x.SwiftPrefix
  1598. }
  1599. return ""
  1600. }
  1601. func (x *FileOptions) GetPhpClassPrefix() string {
  1602. if x != nil && x.PhpClassPrefix != nil {
  1603. return *x.PhpClassPrefix
  1604. }
  1605. return ""
  1606. }
  1607. func (x *FileOptions) GetPhpNamespace() string {
  1608. if x != nil && x.PhpNamespace != nil {
  1609. return *x.PhpNamespace
  1610. }
  1611. return ""
  1612. }
  1613. func (x *FileOptions) GetPhpMetadataNamespace() string {
  1614. if x != nil && x.PhpMetadataNamespace != nil {
  1615. return *x.PhpMetadataNamespace
  1616. }
  1617. return ""
  1618. }
  1619. func (x *FileOptions) GetRubyPackage() string {
  1620. if x != nil && x.RubyPackage != nil {
  1621. return *x.RubyPackage
  1622. }
  1623. return ""
  1624. }
  1625. func (x *FileOptions) GetUninterpretedOption() []*UninterpretedOption {
  1626. if x != nil {
  1627. return x.UninterpretedOption
  1628. }
  1629. return nil
  1630. }
  1631. type MessageOptions struct {
  1632. state protoimpl.MessageState
  1633. sizeCache protoimpl.SizeCache
  1634. unknownFields protoimpl.UnknownFields
  1635. extensionFields protoimpl.ExtensionFields
  1636. // Set true to use the old proto1 MessageSet wire format for extensions.
  1637. // This is provided for backwards-compatibility with the MessageSet wire
  1638. // format. You should not use this for any other reason: It's less
  1639. // efficient, has fewer features, and is more complicated.
  1640. //
  1641. // The message must be defined exactly as follows:
  1642. //
  1643. // message Foo {
  1644. // option message_set_wire_format = true;
  1645. // extensions 4 to max;
  1646. // }
  1647. //
  1648. // Note that the message cannot have any defined fields; MessageSets only
  1649. // have extensions.
  1650. //
  1651. // All extensions of your type must be singular messages; e.g. they cannot
  1652. // be int32s, enums, or repeated messages.
  1653. //
  1654. // Because this is an option, the above two restrictions are not enforced by
  1655. // the protocol compiler.
  1656. MessageSetWireFormat *bool `protobuf:"varint,1,opt,name=message_set_wire_format,json=messageSetWireFormat,def=0" json:"message_set_wire_format,omitempty"`
  1657. // Disables the generation of the standard "descriptor()" accessor, which can
  1658. // conflict with a field of the same name. This is meant to make migration
  1659. // from proto1 easier; new code should avoid fields named "descriptor".
  1660. NoStandardDescriptorAccessor *bool `protobuf:"varint,2,opt,name=no_standard_descriptor_accessor,json=noStandardDescriptorAccessor,def=0" json:"no_standard_descriptor_accessor,omitempty"`
  1661. // Is this message deprecated?
  1662. // Depending on the target platform, this can emit Deprecated annotations
  1663. // for the message, or it will be completely ignored; in the very least,
  1664. // this is a formalization for deprecating messages.
  1665. Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1666. // NOTE: Do not set the option in .proto files. Always use the maps syntax
  1667. // instead. The option should only be implicitly set by the proto compiler
  1668. // parser.
  1669. //
  1670. // Whether the message is an automatically generated map entry type for the
  1671. // maps field.
  1672. //
  1673. // For maps fields:
  1674. //
  1675. // map<KeyType, ValueType> map_field = 1;
  1676. //
  1677. // The parsed descriptor looks like:
  1678. //
  1679. // message MapFieldEntry {
  1680. // option map_entry = true;
  1681. // optional KeyType key = 1;
  1682. // optional ValueType value = 2;
  1683. // }
  1684. // repeated MapFieldEntry map_field = 1;
  1685. //
  1686. // Implementations may choose not to generate the map_entry=true message, but
  1687. // use a native map in the target language to hold the keys and values.
  1688. // The reflection APIs in such implementations still need to work as
  1689. // if the field is a repeated message field.
  1690. MapEntry *bool `protobuf:"varint,7,opt,name=map_entry,json=mapEntry" json:"map_entry,omitempty"`
  1691. // Enable the legacy handling of JSON field name conflicts. This lowercases
  1692. // and strips underscored from the fields before comparison in proto3 only.
  1693. // The new behavior takes `json_name` into account and applies to proto2 as
  1694. // well.
  1695. //
  1696. // This should only be used as a temporary measure against broken builds due
  1697. // to the change in behavior for JSON field name conflicts.
  1698. //
  1699. // TODO(b/261750190) This is legacy behavior we plan to remove once downstream
  1700. // teams have had time to migrate.
  1701. //
  1702. // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
  1703. DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,11,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"`
  1704. // The parser stores options it doesn't recognize here. See above.
  1705. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1706. }
  1707. // Default values for MessageOptions fields.
  1708. const (
  1709. Default_MessageOptions_MessageSetWireFormat = bool(false)
  1710. Default_MessageOptions_NoStandardDescriptorAccessor = bool(false)
  1711. Default_MessageOptions_Deprecated = bool(false)
  1712. )
  1713. func (x *MessageOptions) Reset() {
  1714. *x = MessageOptions{}
  1715. if protoimpl.UnsafeEnabled {
  1716. mi := &file_google_protobuf_descriptor_proto_msgTypes[11]
  1717. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1718. ms.StoreMessageInfo(mi)
  1719. }
  1720. }
  1721. func (x *MessageOptions) String() string {
  1722. return protoimpl.X.MessageStringOf(x)
  1723. }
  1724. func (*MessageOptions) ProtoMessage() {}
  1725. func (x *MessageOptions) ProtoReflect() protoreflect.Message {
  1726. mi := &file_google_protobuf_descriptor_proto_msgTypes[11]
  1727. if protoimpl.UnsafeEnabled && x != nil {
  1728. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1729. if ms.LoadMessageInfo() == nil {
  1730. ms.StoreMessageInfo(mi)
  1731. }
  1732. return ms
  1733. }
  1734. return mi.MessageOf(x)
  1735. }
  1736. // Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead.
  1737. func (*MessageOptions) Descriptor() ([]byte, []int) {
  1738. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{11}
  1739. }
  1740. func (x *MessageOptions) GetMessageSetWireFormat() bool {
  1741. if x != nil && x.MessageSetWireFormat != nil {
  1742. return *x.MessageSetWireFormat
  1743. }
  1744. return Default_MessageOptions_MessageSetWireFormat
  1745. }
  1746. func (x *MessageOptions) GetNoStandardDescriptorAccessor() bool {
  1747. if x != nil && x.NoStandardDescriptorAccessor != nil {
  1748. return *x.NoStandardDescriptorAccessor
  1749. }
  1750. return Default_MessageOptions_NoStandardDescriptorAccessor
  1751. }
  1752. func (x *MessageOptions) GetDeprecated() bool {
  1753. if x != nil && x.Deprecated != nil {
  1754. return *x.Deprecated
  1755. }
  1756. return Default_MessageOptions_Deprecated
  1757. }
  1758. func (x *MessageOptions) GetMapEntry() bool {
  1759. if x != nil && x.MapEntry != nil {
  1760. return *x.MapEntry
  1761. }
  1762. return false
  1763. }
  1764. // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
  1765. func (x *MessageOptions) GetDeprecatedLegacyJsonFieldConflicts() bool {
  1766. if x != nil && x.DeprecatedLegacyJsonFieldConflicts != nil {
  1767. return *x.DeprecatedLegacyJsonFieldConflicts
  1768. }
  1769. return false
  1770. }
  1771. func (x *MessageOptions) GetUninterpretedOption() []*UninterpretedOption {
  1772. if x != nil {
  1773. return x.UninterpretedOption
  1774. }
  1775. return nil
  1776. }
  1777. type FieldOptions struct {
  1778. state protoimpl.MessageState
  1779. sizeCache protoimpl.SizeCache
  1780. unknownFields protoimpl.UnknownFields
  1781. extensionFields protoimpl.ExtensionFields
  1782. // The ctype option instructs the C++ code generator to use a different
  1783. // representation of the field than it normally would. See the specific
  1784. // options below. This option is not yet implemented in the open source
  1785. // release -- sorry, we'll try to include it in a future version!
  1786. Ctype *FieldOptions_CType `protobuf:"varint,1,opt,name=ctype,enum=google.protobuf.FieldOptions_CType,def=0" json:"ctype,omitempty"`
  1787. // The packed option can be enabled for repeated primitive fields to enable
  1788. // a more efficient representation on the wire. Rather than repeatedly
  1789. // writing the tag and type for each element, the entire array is encoded as
  1790. // a single length-delimited blob. In proto3, only explicit setting it to
  1791. // false will avoid using packed encoding.
  1792. Packed *bool `protobuf:"varint,2,opt,name=packed" json:"packed,omitempty"`
  1793. // The jstype option determines the JavaScript type used for values of the
  1794. // field. The option is permitted only for 64 bit integral and fixed types
  1795. // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
  1796. // is represented as JavaScript string, which avoids loss of precision that
  1797. // can happen when a large value is converted to a floating point JavaScript.
  1798. // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
  1799. // use the JavaScript "number" type. The behavior of the default option
  1800. // JS_NORMAL is implementation dependent.
  1801. //
  1802. // This option is an enum to permit additional types to be added, e.g.
  1803. // goog.math.Integer.
  1804. Jstype *FieldOptions_JSType `protobuf:"varint,6,opt,name=jstype,enum=google.protobuf.FieldOptions_JSType,def=0" json:"jstype,omitempty"`
  1805. // Should this field be parsed lazily? Lazy applies only to message-type
  1806. // fields. It means that when the outer message is initially parsed, the
  1807. // inner message's contents will not be parsed but instead stored in encoded
  1808. // form. The inner message will actually be parsed when it is first accessed.
  1809. //
  1810. // This is only a hint. Implementations are free to choose whether to use
  1811. // eager or lazy parsing regardless of the value of this option. However,
  1812. // setting this option true suggests that the protocol author believes that
  1813. // using lazy parsing on this field is worth the additional bookkeeping
  1814. // overhead typically needed to implement it.
  1815. //
  1816. // This option does not affect the public interface of any generated code;
  1817. // all method signatures remain the same. Furthermore, thread-safety of the
  1818. // interface is not affected by this option; const methods remain safe to
  1819. // call from multiple threads concurrently, while non-const methods continue
  1820. // to require exclusive access.
  1821. //
  1822. // Note that implementations may choose not to check required fields within
  1823. // a lazy sub-message. That is, calling IsInitialized() on the outer message
  1824. // may return true even if the inner message has missing required fields.
  1825. // This is necessary because otherwise the inner message would have to be
  1826. // parsed in order to perform the check, defeating the purpose of lazy
  1827. // parsing. An implementation which chooses not to check required fields
  1828. // must be consistent about it. That is, for any particular sub-message, the
  1829. // implementation must either *always* check its required fields, or *never*
  1830. // check its required fields, regardless of whether or not the message has
  1831. // been parsed.
  1832. //
  1833. // As of May 2022, lazy verifies the contents of the byte stream during
  1834. // parsing. An invalid byte stream will cause the overall parsing to fail.
  1835. Lazy *bool `protobuf:"varint,5,opt,name=lazy,def=0" json:"lazy,omitempty"`
  1836. // unverified_lazy does no correctness checks on the byte stream. This should
  1837. // only be used where lazy with verification is prohibitive for performance
  1838. // reasons.
  1839. UnverifiedLazy *bool `protobuf:"varint,15,opt,name=unverified_lazy,json=unverifiedLazy,def=0" json:"unverified_lazy,omitempty"`
  1840. // Is this field deprecated?
  1841. // Depending on the target platform, this can emit Deprecated annotations
  1842. // for accessors, or it will be completely ignored; in the very least, this
  1843. // is a formalization for deprecating fields.
  1844. Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  1845. // For Google-internal migration only. Do not use.
  1846. Weak *bool `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"`
  1847. // Indicate that the field value should not be printed out when using debug
  1848. // formats, e.g. when the field contains sensitive credentials.
  1849. DebugRedact *bool `protobuf:"varint,16,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"`
  1850. Retention *FieldOptions_OptionRetention `protobuf:"varint,17,opt,name=retention,enum=google.protobuf.FieldOptions_OptionRetention" json:"retention,omitempty"`
  1851. Target *FieldOptions_OptionTargetType `protobuf:"varint,18,opt,name=target,enum=google.protobuf.FieldOptions_OptionTargetType" json:"target,omitempty"`
  1852. // The parser stores options it doesn't recognize here. See above.
  1853. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1854. }
  1855. // Default values for FieldOptions fields.
  1856. const (
  1857. Default_FieldOptions_Ctype = FieldOptions_STRING
  1858. Default_FieldOptions_Jstype = FieldOptions_JS_NORMAL
  1859. Default_FieldOptions_Lazy = bool(false)
  1860. Default_FieldOptions_UnverifiedLazy = bool(false)
  1861. Default_FieldOptions_Deprecated = bool(false)
  1862. Default_FieldOptions_Weak = bool(false)
  1863. Default_FieldOptions_DebugRedact = bool(false)
  1864. )
  1865. func (x *FieldOptions) Reset() {
  1866. *x = FieldOptions{}
  1867. if protoimpl.UnsafeEnabled {
  1868. mi := &file_google_protobuf_descriptor_proto_msgTypes[12]
  1869. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1870. ms.StoreMessageInfo(mi)
  1871. }
  1872. }
  1873. func (x *FieldOptions) String() string {
  1874. return protoimpl.X.MessageStringOf(x)
  1875. }
  1876. func (*FieldOptions) ProtoMessage() {}
  1877. func (x *FieldOptions) ProtoReflect() protoreflect.Message {
  1878. mi := &file_google_protobuf_descriptor_proto_msgTypes[12]
  1879. if protoimpl.UnsafeEnabled && x != nil {
  1880. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1881. if ms.LoadMessageInfo() == nil {
  1882. ms.StoreMessageInfo(mi)
  1883. }
  1884. return ms
  1885. }
  1886. return mi.MessageOf(x)
  1887. }
  1888. // Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.
  1889. func (*FieldOptions) Descriptor() ([]byte, []int) {
  1890. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12}
  1891. }
  1892. func (x *FieldOptions) GetCtype() FieldOptions_CType {
  1893. if x != nil && x.Ctype != nil {
  1894. return *x.Ctype
  1895. }
  1896. return Default_FieldOptions_Ctype
  1897. }
  1898. func (x *FieldOptions) GetPacked() bool {
  1899. if x != nil && x.Packed != nil {
  1900. return *x.Packed
  1901. }
  1902. return false
  1903. }
  1904. func (x *FieldOptions) GetJstype() FieldOptions_JSType {
  1905. if x != nil && x.Jstype != nil {
  1906. return *x.Jstype
  1907. }
  1908. return Default_FieldOptions_Jstype
  1909. }
  1910. func (x *FieldOptions) GetLazy() bool {
  1911. if x != nil && x.Lazy != nil {
  1912. return *x.Lazy
  1913. }
  1914. return Default_FieldOptions_Lazy
  1915. }
  1916. func (x *FieldOptions) GetUnverifiedLazy() bool {
  1917. if x != nil && x.UnverifiedLazy != nil {
  1918. return *x.UnverifiedLazy
  1919. }
  1920. return Default_FieldOptions_UnverifiedLazy
  1921. }
  1922. func (x *FieldOptions) GetDeprecated() bool {
  1923. if x != nil && x.Deprecated != nil {
  1924. return *x.Deprecated
  1925. }
  1926. return Default_FieldOptions_Deprecated
  1927. }
  1928. func (x *FieldOptions) GetWeak() bool {
  1929. if x != nil && x.Weak != nil {
  1930. return *x.Weak
  1931. }
  1932. return Default_FieldOptions_Weak
  1933. }
  1934. func (x *FieldOptions) GetDebugRedact() bool {
  1935. if x != nil && x.DebugRedact != nil {
  1936. return *x.DebugRedact
  1937. }
  1938. return Default_FieldOptions_DebugRedact
  1939. }
  1940. func (x *FieldOptions) GetRetention() FieldOptions_OptionRetention {
  1941. if x != nil && x.Retention != nil {
  1942. return *x.Retention
  1943. }
  1944. return FieldOptions_RETENTION_UNKNOWN
  1945. }
  1946. func (x *FieldOptions) GetTarget() FieldOptions_OptionTargetType {
  1947. if x != nil && x.Target != nil {
  1948. return *x.Target
  1949. }
  1950. return FieldOptions_TARGET_TYPE_UNKNOWN
  1951. }
  1952. func (x *FieldOptions) GetUninterpretedOption() []*UninterpretedOption {
  1953. if x != nil {
  1954. return x.UninterpretedOption
  1955. }
  1956. return nil
  1957. }
  1958. type OneofOptions struct {
  1959. state protoimpl.MessageState
  1960. sizeCache protoimpl.SizeCache
  1961. unknownFields protoimpl.UnknownFields
  1962. extensionFields protoimpl.ExtensionFields
  1963. // The parser stores options it doesn't recognize here. See above.
  1964. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  1965. }
  1966. func (x *OneofOptions) Reset() {
  1967. *x = OneofOptions{}
  1968. if protoimpl.UnsafeEnabled {
  1969. mi := &file_google_protobuf_descriptor_proto_msgTypes[13]
  1970. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1971. ms.StoreMessageInfo(mi)
  1972. }
  1973. }
  1974. func (x *OneofOptions) String() string {
  1975. return protoimpl.X.MessageStringOf(x)
  1976. }
  1977. func (*OneofOptions) ProtoMessage() {}
  1978. func (x *OneofOptions) ProtoReflect() protoreflect.Message {
  1979. mi := &file_google_protobuf_descriptor_proto_msgTypes[13]
  1980. if protoimpl.UnsafeEnabled && x != nil {
  1981. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1982. if ms.LoadMessageInfo() == nil {
  1983. ms.StoreMessageInfo(mi)
  1984. }
  1985. return ms
  1986. }
  1987. return mi.MessageOf(x)
  1988. }
  1989. // Deprecated: Use OneofOptions.ProtoReflect.Descriptor instead.
  1990. func (*OneofOptions) Descriptor() ([]byte, []int) {
  1991. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{13}
  1992. }
  1993. func (x *OneofOptions) GetUninterpretedOption() []*UninterpretedOption {
  1994. if x != nil {
  1995. return x.UninterpretedOption
  1996. }
  1997. return nil
  1998. }
  1999. type EnumOptions struct {
  2000. state protoimpl.MessageState
  2001. sizeCache protoimpl.SizeCache
  2002. unknownFields protoimpl.UnknownFields
  2003. extensionFields protoimpl.ExtensionFields
  2004. // Set this option to true to allow mapping different tag names to the same
  2005. // value.
  2006. AllowAlias *bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias" json:"allow_alias,omitempty"`
  2007. // Is this enum deprecated?
  2008. // Depending on the target platform, this can emit Deprecated annotations
  2009. // for the enum, or it will be completely ignored; in the very least, this
  2010. // is a formalization for deprecating enums.
  2011. Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  2012. // Enable the legacy handling of JSON field name conflicts. This lowercases
  2013. // and strips underscored from the fields before comparison in proto3 only.
  2014. // The new behavior takes `json_name` into account and applies to proto2 as
  2015. // well.
  2016. // TODO(b/261750190) Remove this legacy behavior once downstream teams have
  2017. // had time to migrate.
  2018. //
  2019. // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
  2020. DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,6,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"`
  2021. // The parser stores options it doesn't recognize here. See above.
  2022. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  2023. }
  2024. // Default values for EnumOptions fields.
  2025. const (
  2026. Default_EnumOptions_Deprecated = bool(false)
  2027. )
  2028. func (x *EnumOptions) Reset() {
  2029. *x = EnumOptions{}
  2030. if protoimpl.UnsafeEnabled {
  2031. mi := &file_google_protobuf_descriptor_proto_msgTypes[14]
  2032. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2033. ms.StoreMessageInfo(mi)
  2034. }
  2035. }
  2036. func (x *EnumOptions) String() string {
  2037. return protoimpl.X.MessageStringOf(x)
  2038. }
  2039. func (*EnumOptions) ProtoMessage() {}
  2040. func (x *EnumOptions) ProtoReflect() protoreflect.Message {
  2041. mi := &file_google_protobuf_descriptor_proto_msgTypes[14]
  2042. if protoimpl.UnsafeEnabled && x != nil {
  2043. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2044. if ms.LoadMessageInfo() == nil {
  2045. ms.StoreMessageInfo(mi)
  2046. }
  2047. return ms
  2048. }
  2049. return mi.MessageOf(x)
  2050. }
  2051. // Deprecated: Use EnumOptions.ProtoReflect.Descriptor instead.
  2052. func (*EnumOptions) Descriptor() ([]byte, []int) {
  2053. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{14}
  2054. }
  2055. func (x *EnumOptions) GetAllowAlias() bool {
  2056. if x != nil && x.AllowAlias != nil {
  2057. return *x.AllowAlias
  2058. }
  2059. return false
  2060. }
  2061. func (x *EnumOptions) GetDeprecated() bool {
  2062. if x != nil && x.Deprecated != nil {
  2063. return *x.Deprecated
  2064. }
  2065. return Default_EnumOptions_Deprecated
  2066. }
  2067. // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
  2068. func (x *EnumOptions) GetDeprecatedLegacyJsonFieldConflicts() bool {
  2069. if x != nil && x.DeprecatedLegacyJsonFieldConflicts != nil {
  2070. return *x.DeprecatedLegacyJsonFieldConflicts
  2071. }
  2072. return false
  2073. }
  2074. func (x *EnumOptions) GetUninterpretedOption() []*UninterpretedOption {
  2075. if x != nil {
  2076. return x.UninterpretedOption
  2077. }
  2078. return nil
  2079. }
  2080. type EnumValueOptions struct {
  2081. state protoimpl.MessageState
  2082. sizeCache protoimpl.SizeCache
  2083. unknownFields protoimpl.UnknownFields
  2084. extensionFields protoimpl.ExtensionFields
  2085. // Is this enum value deprecated?
  2086. // Depending on the target platform, this can emit Deprecated annotations
  2087. // for the enum value, or it will be completely ignored; in the very least,
  2088. // this is a formalization for deprecating enum values.
  2089. Deprecated *bool `protobuf:"varint,1,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  2090. // The parser stores options it doesn't recognize here. See above.
  2091. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  2092. }
  2093. // Default values for EnumValueOptions fields.
  2094. const (
  2095. Default_EnumValueOptions_Deprecated = bool(false)
  2096. )
  2097. func (x *EnumValueOptions) Reset() {
  2098. *x = EnumValueOptions{}
  2099. if protoimpl.UnsafeEnabled {
  2100. mi := &file_google_protobuf_descriptor_proto_msgTypes[15]
  2101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2102. ms.StoreMessageInfo(mi)
  2103. }
  2104. }
  2105. func (x *EnumValueOptions) String() string {
  2106. return protoimpl.X.MessageStringOf(x)
  2107. }
  2108. func (*EnumValueOptions) ProtoMessage() {}
  2109. func (x *EnumValueOptions) ProtoReflect() protoreflect.Message {
  2110. mi := &file_google_protobuf_descriptor_proto_msgTypes[15]
  2111. if protoimpl.UnsafeEnabled && x != nil {
  2112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2113. if ms.LoadMessageInfo() == nil {
  2114. ms.StoreMessageInfo(mi)
  2115. }
  2116. return ms
  2117. }
  2118. return mi.MessageOf(x)
  2119. }
  2120. // Deprecated: Use EnumValueOptions.ProtoReflect.Descriptor instead.
  2121. func (*EnumValueOptions) Descriptor() ([]byte, []int) {
  2122. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{15}
  2123. }
  2124. func (x *EnumValueOptions) GetDeprecated() bool {
  2125. if x != nil && x.Deprecated != nil {
  2126. return *x.Deprecated
  2127. }
  2128. return Default_EnumValueOptions_Deprecated
  2129. }
  2130. func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption {
  2131. if x != nil {
  2132. return x.UninterpretedOption
  2133. }
  2134. return nil
  2135. }
  2136. type ServiceOptions struct {
  2137. state protoimpl.MessageState
  2138. sizeCache protoimpl.SizeCache
  2139. unknownFields protoimpl.UnknownFields
  2140. extensionFields protoimpl.ExtensionFields
  2141. // Is this service deprecated?
  2142. // Depending on the target platform, this can emit Deprecated annotations
  2143. // for the service, or it will be completely ignored; in the very least,
  2144. // this is a formalization for deprecating services.
  2145. Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  2146. // The parser stores options it doesn't recognize here. See above.
  2147. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  2148. }
  2149. // Default values for ServiceOptions fields.
  2150. const (
  2151. Default_ServiceOptions_Deprecated = bool(false)
  2152. )
  2153. func (x *ServiceOptions) Reset() {
  2154. *x = ServiceOptions{}
  2155. if protoimpl.UnsafeEnabled {
  2156. mi := &file_google_protobuf_descriptor_proto_msgTypes[16]
  2157. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2158. ms.StoreMessageInfo(mi)
  2159. }
  2160. }
  2161. func (x *ServiceOptions) String() string {
  2162. return protoimpl.X.MessageStringOf(x)
  2163. }
  2164. func (*ServiceOptions) ProtoMessage() {}
  2165. func (x *ServiceOptions) ProtoReflect() protoreflect.Message {
  2166. mi := &file_google_protobuf_descriptor_proto_msgTypes[16]
  2167. if protoimpl.UnsafeEnabled && x != nil {
  2168. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2169. if ms.LoadMessageInfo() == nil {
  2170. ms.StoreMessageInfo(mi)
  2171. }
  2172. return ms
  2173. }
  2174. return mi.MessageOf(x)
  2175. }
  2176. // Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead.
  2177. func (*ServiceOptions) Descriptor() ([]byte, []int) {
  2178. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{16}
  2179. }
  2180. func (x *ServiceOptions) GetDeprecated() bool {
  2181. if x != nil && x.Deprecated != nil {
  2182. return *x.Deprecated
  2183. }
  2184. return Default_ServiceOptions_Deprecated
  2185. }
  2186. func (x *ServiceOptions) GetUninterpretedOption() []*UninterpretedOption {
  2187. if x != nil {
  2188. return x.UninterpretedOption
  2189. }
  2190. return nil
  2191. }
  2192. type MethodOptions struct {
  2193. state protoimpl.MessageState
  2194. sizeCache protoimpl.SizeCache
  2195. unknownFields protoimpl.UnknownFields
  2196. extensionFields protoimpl.ExtensionFields
  2197. // Is this method deprecated?
  2198. // Depending on the target platform, this can emit Deprecated annotations
  2199. // for the method, or it will be completely ignored; in the very least,
  2200. // this is a formalization for deprecating methods.
  2201. Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
  2202. IdempotencyLevel *MethodOptions_IdempotencyLevel `protobuf:"varint,34,opt,name=idempotency_level,json=idempotencyLevel,enum=google.protobuf.MethodOptions_IdempotencyLevel,def=0" json:"idempotency_level,omitempty"`
  2203. // The parser stores options it doesn't recognize here. See above.
  2204. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
  2205. }
  2206. // Default values for MethodOptions fields.
  2207. const (
  2208. Default_MethodOptions_Deprecated = bool(false)
  2209. Default_MethodOptions_IdempotencyLevel = MethodOptions_IDEMPOTENCY_UNKNOWN
  2210. )
  2211. func (x *MethodOptions) Reset() {
  2212. *x = MethodOptions{}
  2213. if protoimpl.UnsafeEnabled {
  2214. mi := &file_google_protobuf_descriptor_proto_msgTypes[17]
  2215. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2216. ms.StoreMessageInfo(mi)
  2217. }
  2218. }
  2219. func (x *MethodOptions) String() string {
  2220. return protoimpl.X.MessageStringOf(x)
  2221. }
  2222. func (*MethodOptions) ProtoMessage() {}
  2223. func (x *MethodOptions) ProtoReflect() protoreflect.Message {
  2224. mi := &file_google_protobuf_descriptor_proto_msgTypes[17]
  2225. if protoimpl.UnsafeEnabled && x != nil {
  2226. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2227. if ms.LoadMessageInfo() == nil {
  2228. ms.StoreMessageInfo(mi)
  2229. }
  2230. return ms
  2231. }
  2232. return mi.MessageOf(x)
  2233. }
  2234. // Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead.
  2235. func (*MethodOptions) Descriptor() ([]byte, []int) {
  2236. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{17}
  2237. }
  2238. func (x *MethodOptions) GetDeprecated() bool {
  2239. if x != nil && x.Deprecated != nil {
  2240. return *x.Deprecated
  2241. }
  2242. return Default_MethodOptions_Deprecated
  2243. }
  2244. func (x *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel {
  2245. if x != nil && x.IdempotencyLevel != nil {
  2246. return *x.IdempotencyLevel
  2247. }
  2248. return Default_MethodOptions_IdempotencyLevel
  2249. }
  2250. func (x *MethodOptions) GetUninterpretedOption() []*UninterpretedOption {
  2251. if x != nil {
  2252. return x.UninterpretedOption
  2253. }
  2254. return nil
  2255. }
  2256. // A message representing a option the parser does not recognize. This only
  2257. // appears in options protos created by the compiler::Parser class.
  2258. // DescriptorPool resolves these when building Descriptor objects. Therefore,
  2259. // options protos in descriptor objects (e.g. returned by Descriptor::options(),
  2260. // or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
  2261. // in them.
  2262. type UninterpretedOption struct {
  2263. state protoimpl.MessageState
  2264. sizeCache protoimpl.SizeCache
  2265. unknownFields protoimpl.UnknownFields
  2266. Name []*UninterpretedOption_NamePart `protobuf:"bytes,2,rep,name=name" json:"name,omitempty"`
  2267. // The value of the uninterpreted option, in whatever type the tokenizer
  2268. // identified it as during parsing. Exactly one of these should be set.
  2269. IdentifierValue *string `protobuf:"bytes,3,opt,name=identifier_value,json=identifierValue" json:"identifier_value,omitempty"`
  2270. PositiveIntValue *uint64 `protobuf:"varint,4,opt,name=positive_int_value,json=positiveIntValue" json:"positive_int_value,omitempty"`
  2271. NegativeIntValue *int64 `protobuf:"varint,5,opt,name=negative_int_value,json=negativeIntValue" json:"negative_int_value,omitempty"`
  2272. DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"`
  2273. StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"string_value,omitempty"`
  2274. AggregateValue *string `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregate_value,omitempty"`
  2275. }
  2276. func (x *UninterpretedOption) Reset() {
  2277. *x = UninterpretedOption{}
  2278. if protoimpl.UnsafeEnabled {
  2279. mi := &file_google_protobuf_descriptor_proto_msgTypes[18]
  2280. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2281. ms.StoreMessageInfo(mi)
  2282. }
  2283. }
  2284. func (x *UninterpretedOption) String() string {
  2285. return protoimpl.X.MessageStringOf(x)
  2286. }
  2287. func (*UninterpretedOption) ProtoMessage() {}
  2288. func (x *UninterpretedOption) ProtoReflect() protoreflect.Message {
  2289. mi := &file_google_protobuf_descriptor_proto_msgTypes[18]
  2290. if protoimpl.UnsafeEnabled && x != nil {
  2291. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2292. if ms.LoadMessageInfo() == nil {
  2293. ms.StoreMessageInfo(mi)
  2294. }
  2295. return ms
  2296. }
  2297. return mi.MessageOf(x)
  2298. }
  2299. // Deprecated: Use UninterpretedOption.ProtoReflect.Descriptor instead.
  2300. func (*UninterpretedOption) Descriptor() ([]byte, []int) {
  2301. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{18}
  2302. }
  2303. func (x *UninterpretedOption) GetName() []*UninterpretedOption_NamePart {
  2304. if x != nil {
  2305. return x.Name
  2306. }
  2307. return nil
  2308. }
  2309. func (x *UninterpretedOption) GetIdentifierValue() string {
  2310. if x != nil && x.IdentifierValue != nil {
  2311. return *x.IdentifierValue
  2312. }
  2313. return ""
  2314. }
  2315. func (x *UninterpretedOption) GetPositiveIntValue() uint64 {
  2316. if x != nil && x.PositiveIntValue != nil {
  2317. return *x.PositiveIntValue
  2318. }
  2319. return 0
  2320. }
  2321. func (x *UninterpretedOption) GetNegativeIntValue() int64 {
  2322. if x != nil && x.NegativeIntValue != nil {
  2323. return *x.NegativeIntValue
  2324. }
  2325. return 0
  2326. }
  2327. func (x *UninterpretedOption) GetDoubleValue() float64 {
  2328. if x != nil && x.DoubleValue != nil {
  2329. return *x.DoubleValue
  2330. }
  2331. return 0
  2332. }
  2333. func (x *UninterpretedOption) GetStringValue() []byte {
  2334. if x != nil {
  2335. return x.StringValue
  2336. }
  2337. return nil
  2338. }
  2339. func (x *UninterpretedOption) GetAggregateValue() string {
  2340. if x != nil && x.AggregateValue != nil {
  2341. return *x.AggregateValue
  2342. }
  2343. return ""
  2344. }
  2345. // Encapsulates information about the original source file from which a
  2346. // FileDescriptorProto was generated.
  2347. type SourceCodeInfo struct {
  2348. state protoimpl.MessageState
  2349. sizeCache protoimpl.SizeCache
  2350. unknownFields protoimpl.UnknownFields
  2351. // A Location identifies a piece of source code in a .proto file which
  2352. // corresponds to a particular definition. This information is intended
  2353. // to be useful to IDEs, code indexers, documentation generators, and similar
  2354. // tools.
  2355. //
  2356. // For example, say we have a file like:
  2357. //
  2358. // message Foo {
  2359. // optional string foo = 1;
  2360. // }
  2361. //
  2362. // Let's look at just the field definition:
  2363. //
  2364. // optional string foo = 1;
  2365. // ^ ^^ ^^ ^ ^^^
  2366. // a bc de f ghi
  2367. //
  2368. // We have the following locations:
  2369. //
  2370. // span path represents
  2371. // [a,i) [ 4, 0, 2, 0 ] The whole field definition.
  2372. // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
  2373. // [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
  2374. // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
  2375. // [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
  2376. //
  2377. // Notes:
  2378. // - A location may refer to a repeated field itself (i.e. not to any
  2379. // particular index within it). This is used whenever a set of elements are
  2380. // logically enclosed in a single code segment. For example, an entire
  2381. // extend block (possibly containing multiple extension definitions) will
  2382. // have an outer location whose path refers to the "extensions" repeated
  2383. // field without an index.
  2384. // - Multiple locations may have the same path. This happens when a single
  2385. // logical declaration is spread out across multiple places. The most
  2386. // obvious example is the "extend" block again -- there may be multiple
  2387. // extend blocks in the same scope, each of which will have the same path.
  2388. // - A location's span is not always a subset of its parent's span. For
  2389. // example, the "extendee" of an extension declaration appears at the
  2390. // beginning of the "extend" block and is shared by all extensions within
  2391. // the block.
  2392. // - Just because a location's span is a subset of some other location's span
  2393. // does not mean that it is a descendant. For example, a "group" defines
  2394. // both a type and a field in a single declaration. Thus, the locations
  2395. // corresponding to the type and field and their components will overlap.
  2396. // - Code which tries to interpret locations should probably be designed to
  2397. // ignore those that it doesn't understand, as more types of locations could
  2398. // be recorded in the future.
  2399. Location []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"`
  2400. }
  2401. func (x *SourceCodeInfo) Reset() {
  2402. *x = SourceCodeInfo{}
  2403. if protoimpl.UnsafeEnabled {
  2404. mi := &file_google_protobuf_descriptor_proto_msgTypes[19]
  2405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2406. ms.StoreMessageInfo(mi)
  2407. }
  2408. }
  2409. func (x *SourceCodeInfo) String() string {
  2410. return protoimpl.X.MessageStringOf(x)
  2411. }
  2412. func (*SourceCodeInfo) ProtoMessage() {}
  2413. func (x *SourceCodeInfo) ProtoReflect() protoreflect.Message {
  2414. mi := &file_google_protobuf_descriptor_proto_msgTypes[19]
  2415. if protoimpl.UnsafeEnabled && x != nil {
  2416. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2417. if ms.LoadMessageInfo() == nil {
  2418. ms.StoreMessageInfo(mi)
  2419. }
  2420. return ms
  2421. }
  2422. return mi.MessageOf(x)
  2423. }
  2424. // Deprecated: Use SourceCodeInfo.ProtoReflect.Descriptor instead.
  2425. func (*SourceCodeInfo) Descriptor() ([]byte, []int) {
  2426. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19}
  2427. }
  2428. func (x *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location {
  2429. if x != nil {
  2430. return x.Location
  2431. }
  2432. return nil
  2433. }
  2434. // Describes the relationship between generated code and its original source
  2435. // file. A GeneratedCodeInfo message is associated with only one generated
  2436. // source file, but may contain references to different source .proto files.
  2437. type GeneratedCodeInfo struct {
  2438. state protoimpl.MessageState
  2439. sizeCache protoimpl.SizeCache
  2440. unknownFields protoimpl.UnknownFields
  2441. // An Annotation connects some span of text in generated code to an element
  2442. // of its generating .proto file.
  2443. Annotation []*GeneratedCodeInfo_Annotation `protobuf:"bytes,1,rep,name=annotation" json:"annotation,omitempty"`
  2444. }
  2445. func (x *GeneratedCodeInfo) Reset() {
  2446. *x = GeneratedCodeInfo{}
  2447. if protoimpl.UnsafeEnabled {
  2448. mi := &file_google_protobuf_descriptor_proto_msgTypes[20]
  2449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2450. ms.StoreMessageInfo(mi)
  2451. }
  2452. }
  2453. func (x *GeneratedCodeInfo) String() string {
  2454. return protoimpl.X.MessageStringOf(x)
  2455. }
  2456. func (*GeneratedCodeInfo) ProtoMessage() {}
  2457. func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message {
  2458. mi := &file_google_protobuf_descriptor_proto_msgTypes[20]
  2459. if protoimpl.UnsafeEnabled && x != nil {
  2460. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2461. if ms.LoadMessageInfo() == nil {
  2462. ms.StoreMessageInfo(mi)
  2463. }
  2464. return ms
  2465. }
  2466. return mi.MessageOf(x)
  2467. }
  2468. // Deprecated: Use GeneratedCodeInfo.ProtoReflect.Descriptor instead.
  2469. func (*GeneratedCodeInfo) Descriptor() ([]byte, []int) {
  2470. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20}
  2471. }
  2472. func (x *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation {
  2473. if x != nil {
  2474. return x.Annotation
  2475. }
  2476. return nil
  2477. }
  2478. type DescriptorProto_ExtensionRange struct {
  2479. state protoimpl.MessageState
  2480. sizeCache protoimpl.SizeCache
  2481. unknownFields protoimpl.UnknownFields
  2482. Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive.
  2483. End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Exclusive.
  2484. Options *ExtensionRangeOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
  2485. }
  2486. func (x *DescriptorProto_ExtensionRange) Reset() {
  2487. *x = DescriptorProto_ExtensionRange{}
  2488. if protoimpl.UnsafeEnabled {
  2489. mi := &file_google_protobuf_descriptor_proto_msgTypes[21]
  2490. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2491. ms.StoreMessageInfo(mi)
  2492. }
  2493. }
  2494. func (x *DescriptorProto_ExtensionRange) String() string {
  2495. return protoimpl.X.MessageStringOf(x)
  2496. }
  2497. func (*DescriptorProto_ExtensionRange) ProtoMessage() {}
  2498. func (x *DescriptorProto_ExtensionRange) ProtoReflect() protoreflect.Message {
  2499. mi := &file_google_protobuf_descriptor_proto_msgTypes[21]
  2500. if protoimpl.UnsafeEnabled && x != nil {
  2501. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2502. if ms.LoadMessageInfo() == nil {
  2503. ms.StoreMessageInfo(mi)
  2504. }
  2505. return ms
  2506. }
  2507. return mi.MessageOf(x)
  2508. }
  2509. // Deprecated: Use DescriptorProto_ExtensionRange.ProtoReflect.Descriptor instead.
  2510. func (*DescriptorProto_ExtensionRange) Descriptor() ([]byte, []int) {
  2511. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2, 0}
  2512. }
  2513. func (x *DescriptorProto_ExtensionRange) GetStart() int32 {
  2514. if x != nil && x.Start != nil {
  2515. return *x.Start
  2516. }
  2517. return 0
  2518. }
  2519. func (x *DescriptorProto_ExtensionRange) GetEnd() int32 {
  2520. if x != nil && x.End != nil {
  2521. return *x.End
  2522. }
  2523. return 0
  2524. }
  2525. func (x *DescriptorProto_ExtensionRange) GetOptions() *ExtensionRangeOptions {
  2526. if x != nil {
  2527. return x.Options
  2528. }
  2529. return nil
  2530. }
  2531. // Range of reserved tag numbers. Reserved tag numbers may not be used by
  2532. // fields or extension ranges in the same message. Reserved ranges may
  2533. // not overlap.
  2534. type DescriptorProto_ReservedRange struct {
  2535. state protoimpl.MessageState
  2536. sizeCache protoimpl.SizeCache
  2537. unknownFields protoimpl.UnknownFields
  2538. Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive.
  2539. End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Exclusive.
  2540. }
  2541. func (x *DescriptorProto_ReservedRange) Reset() {
  2542. *x = DescriptorProto_ReservedRange{}
  2543. if protoimpl.UnsafeEnabled {
  2544. mi := &file_google_protobuf_descriptor_proto_msgTypes[22]
  2545. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2546. ms.StoreMessageInfo(mi)
  2547. }
  2548. }
  2549. func (x *DescriptorProto_ReservedRange) String() string {
  2550. return protoimpl.X.MessageStringOf(x)
  2551. }
  2552. func (*DescriptorProto_ReservedRange) ProtoMessage() {}
  2553. func (x *DescriptorProto_ReservedRange) ProtoReflect() protoreflect.Message {
  2554. mi := &file_google_protobuf_descriptor_proto_msgTypes[22]
  2555. if protoimpl.UnsafeEnabled && x != nil {
  2556. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2557. if ms.LoadMessageInfo() == nil {
  2558. ms.StoreMessageInfo(mi)
  2559. }
  2560. return ms
  2561. }
  2562. return mi.MessageOf(x)
  2563. }
  2564. // Deprecated: Use DescriptorProto_ReservedRange.ProtoReflect.Descriptor instead.
  2565. func (*DescriptorProto_ReservedRange) Descriptor() ([]byte, []int) {
  2566. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2, 1}
  2567. }
  2568. func (x *DescriptorProto_ReservedRange) GetStart() int32 {
  2569. if x != nil && x.Start != nil {
  2570. return *x.Start
  2571. }
  2572. return 0
  2573. }
  2574. func (x *DescriptorProto_ReservedRange) GetEnd() int32 {
  2575. if x != nil && x.End != nil {
  2576. return *x.End
  2577. }
  2578. return 0
  2579. }
  2580. // Range of reserved numeric values. Reserved values may not be used by
  2581. // entries in the same enum. Reserved ranges may not overlap.
  2582. //
  2583. // Note that this is distinct from DescriptorProto.ReservedRange in that it
  2584. // is inclusive such that it can appropriately represent the entire int32
  2585. // domain.
  2586. type EnumDescriptorProto_EnumReservedRange struct {
  2587. state protoimpl.MessageState
  2588. sizeCache protoimpl.SizeCache
  2589. unknownFields protoimpl.UnknownFields
  2590. Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive.
  2591. End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Inclusive.
  2592. }
  2593. func (x *EnumDescriptorProto_EnumReservedRange) Reset() {
  2594. *x = EnumDescriptorProto_EnumReservedRange{}
  2595. if protoimpl.UnsafeEnabled {
  2596. mi := &file_google_protobuf_descriptor_proto_msgTypes[23]
  2597. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2598. ms.StoreMessageInfo(mi)
  2599. }
  2600. }
  2601. func (x *EnumDescriptorProto_EnumReservedRange) String() string {
  2602. return protoimpl.X.MessageStringOf(x)
  2603. }
  2604. func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage() {}
  2605. func (x *EnumDescriptorProto_EnumReservedRange) ProtoReflect() protoreflect.Message {
  2606. mi := &file_google_protobuf_descriptor_proto_msgTypes[23]
  2607. if protoimpl.UnsafeEnabled && x != nil {
  2608. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2609. if ms.LoadMessageInfo() == nil {
  2610. ms.StoreMessageInfo(mi)
  2611. }
  2612. return ms
  2613. }
  2614. return mi.MessageOf(x)
  2615. }
  2616. // Deprecated: Use EnumDescriptorProto_EnumReservedRange.ProtoReflect.Descriptor instead.
  2617. func (*EnumDescriptorProto_EnumReservedRange) Descriptor() ([]byte, []int) {
  2618. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{6, 0}
  2619. }
  2620. func (x *EnumDescriptorProto_EnumReservedRange) GetStart() int32 {
  2621. if x != nil && x.Start != nil {
  2622. return *x.Start
  2623. }
  2624. return 0
  2625. }
  2626. func (x *EnumDescriptorProto_EnumReservedRange) GetEnd() int32 {
  2627. if x != nil && x.End != nil {
  2628. return *x.End
  2629. }
  2630. return 0
  2631. }
  2632. // The name of the uninterpreted option. Each string represents a segment in
  2633. // a dot-separated name. is_extension is true iff a segment represents an
  2634. // extension (denoted with parentheses in options specs in .proto files).
  2635. // E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
  2636. // "foo.(bar.baz).moo".
  2637. type UninterpretedOption_NamePart struct {
  2638. state protoimpl.MessageState
  2639. sizeCache protoimpl.SizeCache
  2640. unknownFields protoimpl.UnknownFields
  2641. NamePart *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"name_part,omitempty"`
  2642. IsExtension *bool `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"is_extension,omitempty"`
  2643. }
  2644. func (x *UninterpretedOption_NamePart) Reset() {
  2645. *x = UninterpretedOption_NamePart{}
  2646. if protoimpl.UnsafeEnabled {
  2647. mi := &file_google_protobuf_descriptor_proto_msgTypes[24]
  2648. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2649. ms.StoreMessageInfo(mi)
  2650. }
  2651. }
  2652. func (x *UninterpretedOption_NamePart) String() string {
  2653. return protoimpl.X.MessageStringOf(x)
  2654. }
  2655. func (*UninterpretedOption_NamePart) ProtoMessage() {}
  2656. func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message {
  2657. mi := &file_google_protobuf_descriptor_proto_msgTypes[24]
  2658. if protoimpl.UnsafeEnabled && x != nil {
  2659. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2660. if ms.LoadMessageInfo() == nil {
  2661. ms.StoreMessageInfo(mi)
  2662. }
  2663. return ms
  2664. }
  2665. return mi.MessageOf(x)
  2666. }
  2667. // Deprecated: Use UninterpretedOption_NamePart.ProtoReflect.Descriptor instead.
  2668. func (*UninterpretedOption_NamePart) Descriptor() ([]byte, []int) {
  2669. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{18, 0}
  2670. }
  2671. func (x *UninterpretedOption_NamePart) GetNamePart() string {
  2672. if x != nil && x.NamePart != nil {
  2673. return *x.NamePart
  2674. }
  2675. return ""
  2676. }
  2677. func (x *UninterpretedOption_NamePart) GetIsExtension() bool {
  2678. if x != nil && x.IsExtension != nil {
  2679. return *x.IsExtension
  2680. }
  2681. return false
  2682. }
  2683. type SourceCodeInfo_Location struct {
  2684. state protoimpl.MessageState
  2685. sizeCache protoimpl.SizeCache
  2686. unknownFields protoimpl.UnknownFields
  2687. // Identifies which part of the FileDescriptorProto was defined at this
  2688. // location.
  2689. //
  2690. // Each element is a field number or an index. They form a path from
  2691. // the root FileDescriptorProto to the place where the definition occurs.
  2692. // For example, this path:
  2693. //
  2694. // [ 4, 3, 2, 7, 1 ]
  2695. //
  2696. // refers to:
  2697. //
  2698. // file.message_type(3) // 4, 3
  2699. // .field(7) // 2, 7
  2700. // .name() // 1
  2701. //
  2702. // This is because FileDescriptorProto.message_type has field number 4:
  2703. //
  2704. // repeated DescriptorProto message_type = 4;
  2705. //
  2706. // and DescriptorProto.field has field number 2:
  2707. //
  2708. // repeated FieldDescriptorProto field = 2;
  2709. //
  2710. // and FieldDescriptorProto.name has field number 1:
  2711. //
  2712. // optional string name = 1;
  2713. //
  2714. // Thus, the above path gives the location of a field name. If we removed
  2715. // the last element:
  2716. //
  2717. // [ 4, 3, 2, 7 ]
  2718. //
  2719. // this path refers to the whole field declaration (from the beginning
  2720. // of the label to the terminating semicolon).
  2721. Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"`
  2722. // Always has exactly three or four elements: start line, start column,
  2723. // end line (optional, otherwise assumed same as start line), end column.
  2724. // These are packed into a single field for efficiency. Note that line
  2725. // and column numbers are zero-based -- typically you will want to add
  2726. // 1 to each before displaying to a user.
  2727. Span []int32 `protobuf:"varint,2,rep,packed,name=span" json:"span,omitempty"`
  2728. // If this SourceCodeInfo represents a complete declaration, these are any
  2729. // comments appearing before and after the declaration which appear to be
  2730. // attached to the declaration.
  2731. //
  2732. // A series of line comments appearing on consecutive lines, with no other
  2733. // tokens appearing on those lines, will be treated as a single comment.
  2734. //
  2735. // leading_detached_comments will keep paragraphs of comments that appear
  2736. // before (but not connected to) the current element. Each paragraph,
  2737. // separated by empty lines, will be one comment element in the repeated
  2738. // field.
  2739. //
  2740. // Only the comment content is provided; comment markers (e.g. //) are
  2741. // stripped out. For block comments, leading whitespace and an asterisk
  2742. // will be stripped from the beginning of each line other than the first.
  2743. // Newlines are included in the output.
  2744. //
  2745. // Examples:
  2746. //
  2747. // optional int32 foo = 1; // Comment attached to foo.
  2748. // // Comment attached to bar.
  2749. // optional int32 bar = 2;
  2750. //
  2751. // optional string baz = 3;
  2752. // // Comment attached to baz.
  2753. // // Another line attached to baz.
  2754. //
  2755. // // Comment attached to moo.
  2756. // //
  2757. // // Another line attached to moo.
  2758. // optional double moo = 4;
  2759. //
  2760. // // Detached comment for corge. This is not leading or trailing comments
  2761. // // to moo or corge because there are blank lines separating it from
  2762. // // both.
  2763. //
  2764. // // Detached comment for corge paragraph 2.
  2765. //
  2766. // optional string corge = 5;
  2767. // /* Block comment attached
  2768. // * to corge. Leading asterisks
  2769. // * will be removed. */
  2770. // /* Block comment attached to
  2771. // * grault. */
  2772. // optional int32 grault = 6;
  2773. //
  2774. // // ignored detached comments.
  2775. LeadingComments *string `protobuf:"bytes,3,opt,name=leading_comments,json=leadingComments" json:"leading_comments,omitempty"`
  2776. TrailingComments *string `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailing_comments,omitempty"`
  2777. LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leading_detached_comments,omitempty"`
  2778. }
  2779. func (x *SourceCodeInfo_Location) Reset() {
  2780. *x = SourceCodeInfo_Location{}
  2781. if protoimpl.UnsafeEnabled {
  2782. mi := &file_google_protobuf_descriptor_proto_msgTypes[25]
  2783. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2784. ms.StoreMessageInfo(mi)
  2785. }
  2786. }
  2787. func (x *SourceCodeInfo_Location) String() string {
  2788. return protoimpl.X.MessageStringOf(x)
  2789. }
  2790. func (*SourceCodeInfo_Location) ProtoMessage() {}
  2791. func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message {
  2792. mi := &file_google_protobuf_descriptor_proto_msgTypes[25]
  2793. if protoimpl.UnsafeEnabled && x != nil {
  2794. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2795. if ms.LoadMessageInfo() == nil {
  2796. ms.StoreMessageInfo(mi)
  2797. }
  2798. return ms
  2799. }
  2800. return mi.MessageOf(x)
  2801. }
  2802. // Deprecated: Use SourceCodeInfo_Location.ProtoReflect.Descriptor instead.
  2803. func (*SourceCodeInfo_Location) Descriptor() ([]byte, []int) {
  2804. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 0}
  2805. }
  2806. func (x *SourceCodeInfo_Location) GetPath() []int32 {
  2807. if x != nil {
  2808. return x.Path
  2809. }
  2810. return nil
  2811. }
  2812. func (x *SourceCodeInfo_Location) GetSpan() []int32 {
  2813. if x != nil {
  2814. return x.Span
  2815. }
  2816. return nil
  2817. }
  2818. func (x *SourceCodeInfo_Location) GetLeadingComments() string {
  2819. if x != nil && x.LeadingComments != nil {
  2820. return *x.LeadingComments
  2821. }
  2822. return ""
  2823. }
  2824. func (x *SourceCodeInfo_Location) GetTrailingComments() string {
  2825. if x != nil && x.TrailingComments != nil {
  2826. return *x.TrailingComments
  2827. }
  2828. return ""
  2829. }
  2830. func (x *SourceCodeInfo_Location) GetLeadingDetachedComments() []string {
  2831. if x != nil {
  2832. return x.LeadingDetachedComments
  2833. }
  2834. return nil
  2835. }
  2836. type GeneratedCodeInfo_Annotation struct {
  2837. state protoimpl.MessageState
  2838. sizeCache protoimpl.SizeCache
  2839. unknownFields protoimpl.UnknownFields
  2840. // Identifies the element in the original source .proto file. This field
  2841. // is formatted the same as SourceCodeInfo.Location.path.
  2842. Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"`
  2843. // Identifies the filesystem path to the original source .proto.
  2844. SourceFile *string `protobuf:"bytes,2,opt,name=source_file,json=sourceFile" json:"source_file,omitempty"`
  2845. // Identifies the starting offset in bytes in the generated code
  2846. // that relates to the identified object.
  2847. Begin *int32 `protobuf:"varint,3,opt,name=begin" json:"begin,omitempty"`
  2848. // Identifies the ending offset in bytes in the generated code that
  2849. // relates to the identified object. The end offset should be one past
  2850. // the last relevant byte (so the length of the text = end - begin).
  2851. End *int32 `protobuf:"varint,4,opt,name=end" json:"end,omitempty"`
  2852. Semantic *GeneratedCodeInfo_Annotation_Semantic `protobuf:"varint,5,opt,name=semantic,enum=google.protobuf.GeneratedCodeInfo_Annotation_Semantic" json:"semantic,omitempty"`
  2853. }
  2854. func (x *GeneratedCodeInfo_Annotation) Reset() {
  2855. *x = GeneratedCodeInfo_Annotation{}
  2856. if protoimpl.UnsafeEnabled {
  2857. mi := &file_google_protobuf_descriptor_proto_msgTypes[26]
  2858. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2859. ms.StoreMessageInfo(mi)
  2860. }
  2861. }
  2862. func (x *GeneratedCodeInfo_Annotation) String() string {
  2863. return protoimpl.X.MessageStringOf(x)
  2864. }
  2865. func (*GeneratedCodeInfo_Annotation) ProtoMessage() {}
  2866. func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message {
  2867. mi := &file_google_protobuf_descriptor_proto_msgTypes[26]
  2868. if protoimpl.UnsafeEnabled && x != nil {
  2869. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2870. if ms.LoadMessageInfo() == nil {
  2871. ms.StoreMessageInfo(mi)
  2872. }
  2873. return ms
  2874. }
  2875. return mi.MessageOf(x)
  2876. }
  2877. // Deprecated: Use GeneratedCodeInfo_Annotation.ProtoReflect.Descriptor instead.
  2878. func (*GeneratedCodeInfo_Annotation) Descriptor() ([]byte, []int) {
  2879. return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20, 0}
  2880. }
  2881. func (x *GeneratedCodeInfo_Annotation) GetPath() []int32 {
  2882. if x != nil {
  2883. return x.Path
  2884. }
  2885. return nil
  2886. }
  2887. func (x *GeneratedCodeInfo_Annotation) GetSourceFile() string {
  2888. if x != nil && x.SourceFile != nil {
  2889. return *x.SourceFile
  2890. }
  2891. return ""
  2892. }
  2893. func (x *GeneratedCodeInfo_Annotation) GetBegin() int32 {
  2894. if x != nil && x.Begin != nil {
  2895. return *x.Begin
  2896. }
  2897. return 0
  2898. }
  2899. func (x *GeneratedCodeInfo_Annotation) GetEnd() int32 {
  2900. if x != nil && x.End != nil {
  2901. return *x.End
  2902. }
  2903. return 0
  2904. }
  2905. func (x *GeneratedCodeInfo_Annotation) GetSemantic() GeneratedCodeInfo_Annotation_Semantic {
  2906. if x != nil && x.Semantic != nil {
  2907. return *x.Semantic
  2908. }
  2909. return GeneratedCodeInfo_Annotation_NONE
  2910. }
  2911. var File_google_protobuf_descriptor_proto protoreflect.FileDescriptor
  2912. var file_google_protobuf_descriptor_proto_rawDesc = []byte{
  2913. 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  2914. 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
  2915. 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  2916. 0x62, 0x75, 0x66, 0x22, 0x4d, 0x0a, 0x11, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72,
  2917. 0x69, 0x70, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65,
  2918. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  2919. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73,
  2920. 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x66, 0x69,
  2921. 0x6c, 0x65, 0x22, 0xfe, 0x04, 0x0a, 0x13, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72,
  2922. 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  2923. 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
  2924. 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  2925. 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x65,
  2926. 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
  2927. 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c,
  2928. 0x69, 0x63, 0x5f, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0a, 0x20,
  2929. 0x03, 0x28, 0x05, 0x52, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x44, 0x65, 0x70, 0x65, 0x6e,
  2930. 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x65, 0x61, 0x6b, 0x5f, 0x64, 0x65,
  2931. 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e,
  2932. 0x77, 0x65, 0x61, 0x6b, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x43,
  2933. 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04,
  2934. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  2935. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
  2936. 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
  2937. 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65,
  2938. 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  2939. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73,
  2940. 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x6e,
  2941. 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
  2942. 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  2943. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
  2944. 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  2945. 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x78, 0x74,
  2946. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67,
  2947. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
  2948. 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
  2949. 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36,
  2950. 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
  2951. 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  2952. 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f,
  2953. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  2954. 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b,
  2955. 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  2956. 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66,
  2957. 0x6f, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66,
  2958. 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28,
  2959. 0x09, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x64, 0x69,
  2960. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74,
  2961. 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x06, 0x0a, 0x0f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
  2962. 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  2963. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x66,
  2964. 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
  2965. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
  2966. 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74,
  2967. 0x6f, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65,
  2968. 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f,
  2969. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
  2970. 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
  2971. 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a,
  2972. 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x03,
  2973. 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  2974. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50,
  2975. 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65,
  2976. 0x12, 0x41, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
  2977. 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  2978. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
  2979. 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54,
  2980. 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  2981. 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67,
  2982. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
  2983. 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45,
  2984. 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0e, 0x65,
  2985. 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x44, 0x0a,
  2986. 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28,
  2987. 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  2988. 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
  2989. 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x44,
  2990. 0x65, 0x63, 0x6c, 0x12, 0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07,
  2991. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  2992. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70,
  2993. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x55,
  2994. 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65,
  2995. 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  2996. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
  2997. 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65,
  2998. 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64,
  2999. 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65,
  3000. 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65,
  3001. 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x7a, 0x0a, 0x0e, 0x45, 0x78,
  3002. 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
  3003. 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61,
  3004. 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  3005. 0x03, 0x65, 0x6e, 0x64, 0x12, 0x40, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
  3006. 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  3007. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
  3008. 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f,
  3009. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x37, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76,
  3010. 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,
  3011. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a,
  3012. 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22,
  3013. 0x7c, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67,
  3014. 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e,
  3015. 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  3016. 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  3017. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65,
  3018. 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75,
  3019. 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69,
  3020. 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xc1, 0x06,
  3021. 0x0a, 0x14, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
  3022. 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  3023. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75,
  3024. 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62,
  3025. 0x65, 0x72, 0x12, 0x41, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
  3026. 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  3027. 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
  3028. 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x05,
  3029. 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20,
  3030. 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  3031. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72,
  3032. 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,
  3033. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61,
  3034. 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61,
  3035. 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x18, 0x02,
  3036. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x12, 0x23,
  3037. 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  3038. 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61,
  3039. 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x69, 0x6e, 0x64,
  3040. 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x49,
  3041. 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d,
  3042. 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d,
  3043. 0x65, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01,
  3044. 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  3045. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  3046. 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72,
  3047. 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x11, 0x20,
  3048. 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x4f, 0x70, 0x74, 0x69, 0x6f,
  3049. 0x6e, 0x61, 0x6c, 0x22, 0xb6, 0x02, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b,
  3050. 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a,
  3051. 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a,
  3052. 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x03, 0x12, 0x0f, 0x0a,
  3053. 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x0e,
  3054. 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x05, 0x12, 0x10,
  3055. 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x06,
  3056. 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32,
  3057. 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10,
  3058. 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47,
  3059. 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50,
  3060. 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41,
  3061. 0x47, 0x45, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x59, 0x54,
  3062. 0x45, 0x53, 0x10, 0x0c, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e,
  3063. 0x54, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e,
  3064. 0x55, 0x4d, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x46, 0x49,
  3065. 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f,
  3066. 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59,
  3067. 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x11, 0x12, 0x0f, 0x0a, 0x0b, 0x54,
  3068. 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x12, 0x22, 0x43, 0x0a, 0x05,
  3069. 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x4f,
  3070. 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42,
  3071. 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12, 0x12, 0x0a,
  3072. 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10,
  3073. 0x03, 0x22, 0x63, 0x0a, 0x14, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
  3074. 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  3075. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a,
  3076. 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
  3077. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  3078. 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f,
  3079. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe3, 0x02, 0x0a, 0x13, 0x45, 0x6e, 0x75, 0x6d, 0x44,
  3080. 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12,
  3081. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  3082. 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28,
  3083. 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  3084. 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73,
  3085. 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x76, 0x61,
  3086. 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03,
  3087. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  3088. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f,
  3089. 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x72,
  3090. 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20,
  3091. 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  3092. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
  3093. 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65,
  3094. 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73,
  3095. 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65,
  3096. 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28,
  3097. 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x1a,
  3098. 0x3b, 0x0a, 0x11, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52,
  3099. 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20,
  3100. 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e,
  3101. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x83, 0x01, 0x0a,
  3102. 0x18, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
  3103. 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  3104. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a,
  3105. 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e,
  3106. 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  3107. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  3108. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c,
  3109. 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
  3110. 0x6e, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65,
  3111. 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a,
  3112. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  3113. 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28,
  3114. 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  3115. 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
  3116. 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
  3117. 0x64, 0x12, 0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01,
  3118. 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  3119. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69,
  3120. 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x89, 0x02, 0x0a,
  3121. 0x15, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
  3122. 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  3123. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e,
  3124. 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  3125. 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74,
  3126. 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  3127. 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x6f, 0x70,
  3128. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f,
  3129. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65,
  3130. 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74,
  3131. 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73,
  3132. 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05,
  3133. 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72,
  3134. 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
  3135. 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
  3136. 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53,
  3137. 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0x91, 0x09, 0x0a, 0x0b, 0x46, 0x69, 0x6c,
  3138. 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6a, 0x61, 0x76, 0x61,
  3139. 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  3140. 0x6a, 0x61, 0x76, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6a,
  3141. 0x61, 0x76, 0x61, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x6e,
  3142. 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6a, 0x61, 0x76, 0x61, 0x4f,
  3143. 0x75, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a,
  3144. 0x13, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x66,
  3145. 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73,
  3146. 0x65, 0x52, 0x11, 0x6a, 0x61, 0x76, 0x61, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x46,
  3147. 0x69, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x1d, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e,
  3148. 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x5f, 0x61, 0x6e, 0x64,
  3149. 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52,
  3150. 0x19, 0x6a, 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x45, 0x71, 0x75,
  3151. 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3a, 0x0a, 0x16, 0x6a, 0x61,
  3152. 0x76, 0x61, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f,
  3153. 0x75, 0x74, 0x66, 0x38, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73,
  3154. 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x65,
  3155. 0x63, 0x6b, 0x55, 0x74, 0x66, 0x38, 0x12, 0x53, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69,
  3156. 0x7a, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67,
  3157. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
  3158. 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d,
  3159. 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x52, 0x0b,
  3160. 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x46, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x67,
  3161. 0x6f, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
  3162. 0x09, 0x67, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x13, 0x63, 0x63,
  3163. 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  3164. 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x11,
  3165. 0x63, 0x63, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  3166. 0x73, 0x12, 0x39, 0x0a, 0x15, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69,
  3167. 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08,
  3168. 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e,
  3169. 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x13,
  3170. 0x70, 0x79, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
  3171. 0x63, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65,
  3172. 0x52, 0x11, 0x70, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69,
  3173. 0x63, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x14, 0x70, 0x68, 0x70, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72,
  3174. 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x2a, 0x20, 0x01, 0x28,
  3175. 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x12, 0x70, 0x68, 0x70, 0x47, 0x65, 0x6e,
  3176. 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a,
  3177. 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08,
  3178. 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
  3179. 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x63, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
  3180. 0x5f, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74,
  3181. 0x72, 0x75, 0x65, 0x52, 0x0e, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x72, 0x65,
  3182. 0x6e, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x62, 0x6a, 0x63, 0x5f, 0x63, 0x6c, 0x61, 0x73,
  3183. 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
  3184. 0x6f, 0x62, 0x6a, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
  3185. 0x29, 0x0a, 0x10, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
  3186. 0x61, 0x63, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x73, 0x68, 0x61, 0x72,
  3187. 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x77,
  3188. 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x27, 0x20, 0x01, 0x28, 0x09,
  3189. 0x52, 0x0b, 0x73, 0x77, 0x69, 0x66, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x28, 0x0a,
  3190. 0x10, 0x70, 0x68, 0x70, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69,
  3191. 0x78, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x68, 0x70, 0x43, 0x6c, 0x61, 0x73,
  3192. 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x68, 0x70, 0x5f, 0x6e,
  3193. 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
  3194. 0x70, 0x68, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x16,
  3195. 0x70, 0x68, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x61, 0x6d,
  3196. 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x70, 0x68,
  3197. 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
  3198. 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61,
  3199. 0x67, 0x65, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x75, 0x62, 0x79, 0x50, 0x61,
  3200. 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72,
  3201. 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07,
  3202. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  3203. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
  3204. 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e,
  3205. 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  3206. 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12,
  3207. 0x09, 0x0a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f,
  3208. 0x44, 0x45, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x54,
  3209. 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0x09, 0x08, 0xe8, 0x07,
  3210. 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x22, 0xbb, 0x03, 0x0a,
  3211. 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
  3212. 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x77,
  3213. 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
  3214. 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  3215. 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4c, 0x0a,
  3216. 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x73,
  3217. 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72,
  3218. 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x1c, 0x6e,
  3219. 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
  3220. 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0a, 0x64,
  3221. 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a,
  3222. 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74,
  3223. 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18,
  3224. 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
  3225. 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65,
  3226. 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
  3227. 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42,
  3228. 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c,
  3229. 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f,
  3230. 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74,
  3231. 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  3232. 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  3233. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72,
  3234. 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e,
  3235. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
  3236. 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04,
  3237. 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04,
  3238. 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0xb7, 0x08, 0x0a, 0x0c, 0x46,
  3239. 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x63,
  3240. 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f,
  3241. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
  3242. 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, 0x65, 0x3a,
  3243. 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16,
  3244. 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
  3245. 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65,
  3246. 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  3247. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70,
  3248. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, 0x4a, 0x53,
  3249. 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12,
  3250. 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66,
  3251. 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, 0x75, 0x6e,
  3252. 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x0f, 0x20,
  3253. 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, 0x76, 0x65,
  3254. 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65,
  3255. 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05,
  3256. 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
  3257. 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a,
  3258. 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, 0x0a, 0x0c,
  3259. 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, 0x20, 0x01,
  3260. 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67,
  3261. 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74,
  3262. 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  3263. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
  3264. 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
  3265. 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74,
  3266. 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x12, 0x20,
  3267. 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  3268. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
  3269. 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54,
  3270. 0x79, 0x70, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75,
  3271. 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74,
  3272. 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
  3273. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69,
  3274. 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  3275. 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f,
  3276. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2f, 0x0a, 0x05, 0x43, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a,
  3277. 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f,
  3278. 0x52, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x50,
  3279. 0x49, 0x45, 0x43, 0x45, 0x10, 0x02, 0x22, 0x35, 0x0a, 0x06, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65,
  3280. 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12,
  3281. 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d,
  3282. 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x22, 0x55, 0x0a,
  3283. 0x0f, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e,
  3284. 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e,
  3285. 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e,
  3286. 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x14,
  3287. 0x0a, 0x10, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52,
  3288. 0x43, 0x45, 0x10, 0x02, 0x22, 0x8c, 0x02, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54,
  3289. 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52,
  3290. 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
  3291. 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
  3292. 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47,
  3293. 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f,
  3294. 0x4e, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52,
  3295. 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45,
  3296. 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
  3297. 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52,
  3298. 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x10, 0x05,
  3299. 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
  3300. 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54,
  3301. 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59,
  3302. 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
  3303. 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x54,
  3304. 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f,
  3305. 0x44, 0x10, 0x09, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04,
  3306. 0x08, 0x04, 0x10, 0x05, 0x22, 0x73, 0x0a, 0x0c, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74,
  3307. 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
  3308. 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20,
  3309. 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  3310. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65,
  3311. 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74,
  3312. 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09,
  3313. 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x98, 0x02, 0x0a, 0x0b, 0x45, 0x6e,
  3314. 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c,
  3315. 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
  3316. 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65,
  3317. 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05,
  3318. 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
  3319. 0x64, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f,
  3320. 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c,
  3321. 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
  3322. 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
  3323. 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64,
  3324. 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69,
  3325. 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
  3326. 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  3327. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74,
  3328. 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13,
  3329. 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
  3330. 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04,
  3331. 0x08, 0x05, 0x10, 0x06, 0x22, 0x9e, 0x01, 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c,
  3332. 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70,
  3333. 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66,
  3334. 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
  3335. 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65,
  3336. 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
  3337. 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  3338. 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f,
  3339. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
  3340. 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10,
  3341. 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9c, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
  3342. 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72,
  3343. 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61,
  3344. 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12,
  3345. 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64,
  3346. 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24,
  3347. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  3348. 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70,
  3349. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65,
  3350. 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80,
  3351. 0x80, 0x80, 0x80, 0x02, 0x22, 0xe0, 0x02, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f,
  3352. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63,
  3353. 0x61, 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73,
  3354. 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x71, 0x0a,
  3355. 0x11, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76,
  3356. 0x65, 0x6c, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  3357. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f,
  3358. 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74,
  3359. 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50,
  3360. 0x4f, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x10,
  3361. 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c,
  3362. 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65,
  3363. 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
  3364. 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  3365. 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f,
  3366. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
  3367. 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x10, 0x49, 0x64,
  3368. 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17,
  3369. 0x0a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e,
  3370. 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x4f, 0x5f, 0x53, 0x49,
  3371. 0x44, 0x45, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x53, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a,
  3372. 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x09, 0x08, 0xe8,
  3373. 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9a, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x69, 0x6e,
  3374. 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  3375. 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
  3376. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  3377. 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
  3378. 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61,
  3379. 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
  3380. 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x64,
  3381. 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a,
  3382. 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61,
  3383. 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x69, 0x74,
  3384. 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6e,
  3385. 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  3386. 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76,
  3387. 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x75,
  3388. 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52,
  3389. 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c,
  3390. 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01,
  3391. 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  3392. 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c,
  3393. 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67,
  3394. 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4a, 0x0a, 0x08, 0x4e, 0x61, 0x6d, 0x65,
  3395. 0x50, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x72,
  3396. 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72,
  3397. 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
  3398. 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x45, 0x78, 0x74, 0x65, 0x6e,
  3399. 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x02, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43,
  3400. 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74,
  3401. 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  3402. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72,
  3403. 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74,
  3404. 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xce, 0x01,
  3405. 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61,
  3406. 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61,
  3407. 0x74, 0x68, 0x12, 0x16, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05,
  3408. 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x65,
  3409. 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03,
  3410. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d,
  3411. 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e,
  3412. 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  3413. 0x52, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
  3414. 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65,
  3415. 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
  3416. 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x65,
  3417. 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd0,
  3418. 0x02, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65,
  3419. 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
  3420. 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  3421. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
  3422. 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e,
  3423. 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  3424. 0x69, 0x6f, 0x6e, 0x1a, 0xeb, 0x01, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
  3425. 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
  3426. 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f,
  3427. 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  3428. 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62,
  3429. 0x65, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x65, 0x67, 0x69,
  3430. 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
  3431. 0x65, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x18,
  3432. 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  3433. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
  3434. 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
  3435. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x52, 0x08, 0x73,
  3436. 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x22, 0x28, 0x0a, 0x08, 0x53, 0x65, 0x6d, 0x61, 0x6e,
  3437. 0x74, 0x69, 0x63, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a,
  3438. 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x49, 0x41, 0x53, 0x10,
  3439. 0x02, 0x42, 0x7e, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  3440. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
  3441. 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x2d, 0x67, 0x6f,
  3442. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
  3443. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x64,
  3444. 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02,
  3445. 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72,
  3446. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
  3447. 0x6e,
  3448. }
  3449. var (
  3450. file_google_protobuf_descriptor_proto_rawDescOnce sync.Once
  3451. file_google_protobuf_descriptor_proto_rawDescData = file_google_protobuf_descriptor_proto_rawDesc
  3452. )
  3453. func file_google_protobuf_descriptor_proto_rawDescGZIP() []byte {
  3454. file_google_protobuf_descriptor_proto_rawDescOnce.Do(func() {
  3455. file_google_protobuf_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_descriptor_proto_rawDescData)
  3456. })
  3457. return file_google_protobuf_descriptor_proto_rawDescData
  3458. }
  3459. var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
  3460. var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
  3461. var file_google_protobuf_descriptor_proto_goTypes = []interface{}{
  3462. (FieldDescriptorProto_Type)(0), // 0: google.protobuf.FieldDescriptorProto.Type
  3463. (FieldDescriptorProto_Label)(0), // 1: google.protobuf.FieldDescriptorProto.Label
  3464. (FileOptions_OptimizeMode)(0), // 2: google.protobuf.FileOptions.OptimizeMode
  3465. (FieldOptions_CType)(0), // 3: google.protobuf.FieldOptions.CType
  3466. (FieldOptions_JSType)(0), // 4: google.protobuf.FieldOptions.JSType
  3467. (FieldOptions_OptionRetention)(0), // 5: google.protobuf.FieldOptions.OptionRetention
  3468. (FieldOptions_OptionTargetType)(0), // 6: google.protobuf.FieldOptions.OptionTargetType
  3469. (MethodOptions_IdempotencyLevel)(0), // 7: google.protobuf.MethodOptions.IdempotencyLevel
  3470. (GeneratedCodeInfo_Annotation_Semantic)(0), // 8: google.protobuf.GeneratedCodeInfo.Annotation.Semantic
  3471. (*FileDescriptorSet)(nil), // 9: google.protobuf.FileDescriptorSet
  3472. (*FileDescriptorProto)(nil), // 10: google.protobuf.FileDescriptorProto
  3473. (*DescriptorProto)(nil), // 11: google.protobuf.DescriptorProto
  3474. (*ExtensionRangeOptions)(nil), // 12: google.protobuf.ExtensionRangeOptions
  3475. (*FieldDescriptorProto)(nil), // 13: google.protobuf.FieldDescriptorProto
  3476. (*OneofDescriptorProto)(nil), // 14: google.protobuf.OneofDescriptorProto
  3477. (*EnumDescriptorProto)(nil), // 15: google.protobuf.EnumDescriptorProto
  3478. (*EnumValueDescriptorProto)(nil), // 16: google.protobuf.EnumValueDescriptorProto
  3479. (*ServiceDescriptorProto)(nil), // 17: google.protobuf.ServiceDescriptorProto
  3480. (*MethodDescriptorProto)(nil), // 18: google.protobuf.MethodDescriptorProto
  3481. (*FileOptions)(nil), // 19: google.protobuf.FileOptions
  3482. (*MessageOptions)(nil), // 20: google.protobuf.MessageOptions
  3483. (*FieldOptions)(nil), // 21: google.protobuf.FieldOptions
  3484. (*OneofOptions)(nil), // 22: google.protobuf.OneofOptions
  3485. (*EnumOptions)(nil), // 23: google.protobuf.EnumOptions
  3486. (*EnumValueOptions)(nil), // 24: google.protobuf.EnumValueOptions
  3487. (*ServiceOptions)(nil), // 25: google.protobuf.ServiceOptions
  3488. (*MethodOptions)(nil), // 26: google.protobuf.MethodOptions
  3489. (*UninterpretedOption)(nil), // 27: google.protobuf.UninterpretedOption
  3490. (*SourceCodeInfo)(nil), // 28: google.protobuf.SourceCodeInfo
  3491. (*GeneratedCodeInfo)(nil), // 29: google.protobuf.GeneratedCodeInfo
  3492. (*DescriptorProto_ExtensionRange)(nil), // 30: google.protobuf.DescriptorProto.ExtensionRange
  3493. (*DescriptorProto_ReservedRange)(nil), // 31: google.protobuf.DescriptorProto.ReservedRange
  3494. (*EnumDescriptorProto_EnumReservedRange)(nil), // 32: google.protobuf.EnumDescriptorProto.EnumReservedRange
  3495. (*UninterpretedOption_NamePart)(nil), // 33: google.protobuf.UninterpretedOption.NamePart
  3496. (*SourceCodeInfo_Location)(nil), // 34: google.protobuf.SourceCodeInfo.Location
  3497. (*GeneratedCodeInfo_Annotation)(nil), // 35: google.protobuf.GeneratedCodeInfo.Annotation
  3498. }
  3499. var file_google_protobuf_descriptor_proto_depIdxs = []int32{
  3500. 10, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto
  3501. 11, // 1: google.protobuf.FileDescriptorProto.message_type:type_name -> google.protobuf.DescriptorProto
  3502. 15, // 2: google.protobuf.FileDescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto
  3503. 17, // 3: google.protobuf.FileDescriptorProto.service:type_name -> google.protobuf.ServiceDescriptorProto
  3504. 13, // 4: google.protobuf.FileDescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto
  3505. 19, // 5: google.protobuf.FileDescriptorProto.options:type_name -> google.protobuf.FileOptions
  3506. 28, // 6: google.protobuf.FileDescriptorProto.source_code_info:type_name -> google.protobuf.SourceCodeInfo
  3507. 13, // 7: google.protobuf.DescriptorProto.field:type_name -> google.protobuf.FieldDescriptorProto
  3508. 13, // 8: google.protobuf.DescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto
  3509. 11, // 9: google.protobuf.DescriptorProto.nested_type:type_name -> google.protobuf.DescriptorProto
  3510. 15, // 10: google.protobuf.DescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto
  3511. 30, // 11: google.protobuf.DescriptorProto.extension_range:type_name -> google.protobuf.DescriptorProto.ExtensionRange
  3512. 14, // 12: google.protobuf.DescriptorProto.oneof_decl:type_name -> google.protobuf.OneofDescriptorProto
  3513. 20, // 13: google.protobuf.DescriptorProto.options:type_name -> google.protobuf.MessageOptions
  3514. 31, // 14: google.protobuf.DescriptorProto.reserved_range:type_name -> google.protobuf.DescriptorProto.ReservedRange
  3515. 27, // 15: google.protobuf.ExtensionRangeOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3516. 1, // 16: google.protobuf.FieldDescriptorProto.label:type_name -> google.protobuf.FieldDescriptorProto.Label
  3517. 0, // 17: google.protobuf.FieldDescriptorProto.type:type_name -> google.protobuf.FieldDescriptorProto.Type
  3518. 21, // 18: google.protobuf.FieldDescriptorProto.options:type_name -> google.protobuf.FieldOptions
  3519. 22, // 19: google.protobuf.OneofDescriptorProto.options:type_name -> google.protobuf.OneofOptions
  3520. 16, // 20: google.protobuf.EnumDescriptorProto.value:type_name -> google.protobuf.EnumValueDescriptorProto
  3521. 23, // 21: google.protobuf.EnumDescriptorProto.options:type_name -> google.protobuf.EnumOptions
  3522. 32, // 22: google.protobuf.EnumDescriptorProto.reserved_range:type_name -> google.protobuf.EnumDescriptorProto.EnumReservedRange
  3523. 24, // 23: google.protobuf.EnumValueDescriptorProto.options:type_name -> google.protobuf.EnumValueOptions
  3524. 18, // 24: google.protobuf.ServiceDescriptorProto.method:type_name -> google.protobuf.MethodDescriptorProto
  3525. 25, // 25: google.protobuf.ServiceDescriptorProto.options:type_name -> google.protobuf.ServiceOptions
  3526. 26, // 26: google.protobuf.MethodDescriptorProto.options:type_name -> google.protobuf.MethodOptions
  3527. 2, // 27: google.protobuf.FileOptions.optimize_for:type_name -> google.protobuf.FileOptions.OptimizeMode
  3528. 27, // 28: google.protobuf.FileOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3529. 27, // 29: google.protobuf.MessageOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3530. 3, // 30: google.protobuf.FieldOptions.ctype:type_name -> google.protobuf.FieldOptions.CType
  3531. 4, // 31: google.protobuf.FieldOptions.jstype:type_name -> google.protobuf.FieldOptions.JSType
  3532. 5, // 32: google.protobuf.FieldOptions.retention:type_name -> google.protobuf.FieldOptions.OptionRetention
  3533. 6, // 33: google.protobuf.FieldOptions.target:type_name -> google.protobuf.FieldOptions.OptionTargetType
  3534. 27, // 34: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3535. 27, // 35: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3536. 27, // 36: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3537. 27, // 37: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3538. 27, // 38: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3539. 7, // 39: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel
  3540. 27, // 40: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
  3541. 33, // 41: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart
  3542. 34, // 42: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location
  3543. 35, // 43: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation
  3544. 12, // 44: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions
  3545. 8, // 45: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic
  3546. 46, // [46:46] is the sub-list for method output_type
  3547. 46, // [46:46] is the sub-list for method input_type
  3548. 46, // [46:46] is the sub-list for extension type_name
  3549. 46, // [46:46] is the sub-list for extension extendee
  3550. 0, // [0:46] is the sub-list for field type_name
  3551. }
  3552. func init() { file_google_protobuf_descriptor_proto_init() }
  3553. func file_google_protobuf_descriptor_proto_init() {
  3554. if File_google_protobuf_descriptor_proto != nil {
  3555. return
  3556. }
  3557. if !protoimpl.UnsafeEnabled {
  3558. file_google_protobuf_descriptor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  3559. switch v := v.(*FileDescriptorSet); i {
  3560. case 0:
  3561. return &v.state
  3562. case 1:
  3563. return &v.sizeCache
  3564. case 2:
  3565. return &v.unknownFields
  3566. default:
  3567. return nil
  3568. }
  3569. }
  3570. file_google_protobuf_descriptor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  3571. switch v := v.(*FileDescriptorProto); i {
  3572. case 0:
  3573. return &v.state
  3574. case 1:
  3575. return &v.sizeCache
  3576. case 2:
  3577. return &v.unknownFields
  3578. default:
  3579. return nil
  3580. }
  3581. }
  3582. file_google_protobuf_descriptor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  3583. switch v := v.(*DescriptorProto); i {
  3584. case 0:
  3585. return &v.state
  3586. case 1:
  3587. return &v.sizeCache
  3588. case 2:
  3589. return &v.unknownFields
  3590. default:
  3591. return nil
  3592. }
  3593. }
  3594. file_google_protobuf_descriptor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  3595. switch v := v.(*ExtensionRangeOptions); i {
  3596. case 0:
  3597. return &v.state
  3598. case 1:
  3599. return &v.sizeCache
  3600. case 2:
  3601. return &v.unknownFields
  3602. case 3:
  3603. return &v.extensionFields
  3604. default:
  3605. return nil
  3606. }
  3607. }
  3608. file_google_protobuf_descriptor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  3609. switch v := v.(*FieldDescriptorProto); i {
  3610. case 0:
  3611. return &v.state
  3612. case 1:
  3613. return &v.sizeCache
  3614. case 2:
  3615. return &v.unknownFields
  3616. default:
  3617. return nil
  3618. }
  3619. }
  3620. file_google_protobuf_descriptor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  3621. switch v := v.(*OneofDescriptorProto); i {
  3622. case 0:
  3623. return &v.state
  3624. case 1:
  3625. return &v.sizeCache
  3626. case 2:
  3627. return &v.unknownFields
  3628. default:
  3629. return nil
  3630. }
  3631. }
  3632. file_google_protobuf_descriptor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  3633. switch v := v.(*EnumDescriptorProto); i {
  3634. case 0:
  3635. return &v.state
  3636. case 1:
  3637. return &v.sizeCache
  3638. case 2:
  3639. return &v.unknownFields
  3640. default:
  3641. return nil
  3642. }
  3643. }
  3644. file_google_protobuf_descriptor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  3645. switch v := v.(*EnumValueDescriptorProto); i {
  3646. case 0:
  3647. return &v.state
  3648. case 1:
  3649. return &v.sizeCache
  3650. case 2:
  3651. return &v.unknownFields
  3652. default:
  3653. return nil
  3654. }
  3655. }
  3656. file_google_protobuf_descriptor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  3657. switch v := v.(*ServiceDescriptorProto); i {
  3658. case 0:
  3659. return &v.state
  3660. case 1:
  3661. return &v.sizeCache
  3662. case 2:
  3663. return &v.unknownFields
  3664. default:
  3665. return nil
  3666. }
  3667. }
  3668. file_google_protobuf_descriptor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  3669. switch v := v.(*MethodDescriptorProto); i {
  3670. case 0:
  3671. return &v.state
  3672. case 1:
  3673. return &v.sizeCache
  3674. case 2:
  3675. return &v.unknownFields
  3676. default:
  3677. return nil
  3678. }
  3679. }
  3680. file_google_protobuf_descriptor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  3681. switch v := v.(*FileOptions); i {
  3682. case 0:
  3683. return &v.state
  3684. case 1:
  3685. return &v.sizeCache
  3686. case 2:
  3687. return &v.unknownFields
  3688. case 3:
  3689. return &v.extensionFields
  3690. default:
  3691. return nil
  3692. }
  3693. }
  3694. file_google_protobuf_descriptor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  3695. switch v := v.(*MessageOptions); i {
  3696. case 0:
  3697. return &v.state
  3698. case 1:
  3699. return &v.sizeCache
  3700. case 2:
  3701. return &v.unknownFields
  3702. case 3:
  3703. return &v.extensionFields
  3704. default:
  3705. return nil
  3706. }
  3707. }
  3708. file_google_protobuf_descriptor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  3709. switch v := v.(*FieldOptions); i {
  3710. case 0:
  3711. return &v.state
  3712. case 1:
  3713. return &v.sizeCache
  3714. case 2:
  3715. return &v.unknownFields
  3716. case 3:
  3717. return &v.extensionFields
  3718. default:
  3719. return nil
  3720. }
  3721. }
  3722. file_google_protobuf_descriptor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  3723. switch v := v.(*OneofOptions); i {
  3724. case 0:
  3725. return &v.state
  3726. case 1:
  3727. return &v.sizeCache
  3728. case 2:
  3729. return &v.unknownFields
  3730. case 3:
  3731. return &v.extensionFields
  3732. default:
  3733. return nil
  3734. }
  3735. }
  3736. file_google_protobuf_descriptor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  3737. switch v := v.(*EnumOptions); i {
  3738. case 0:
  3739. return &v.state
  3740. case 1:
  3741. return &v.sizeCache
  3742. case 2:
  3743. return &v.unknownFields
  3744. case 3:
  3745. return &v.extensionFields
  3746. default:
  3747. return nil
  3748. }
  3749. }
  3750. file_google_protobuf_descriptor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  3751. switch v := v.(*EnumValueOptions); i {
  3752. case 0:
  3753. return &v.state
  3754. case 1:
  3755. return &v.sizeCache
  3756. case 2:
  3757. return &v.unknownFields
  3758. case 3:
  3759. return &v.extensionFields
  3760. default:
  3761. return nil
  3762. }
  3763. }
  3764. file_google_protobuf_descriptor_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  3765. switch v := v.(*ServiceOptions); i {
  3766. case 0:
  3767. return &v.state
  3768. case 1:
  3769. return &v.sizeCache
  3770. case 2:
  3771. return &v.unknownFields
  3772. case 3:
  3773. return &v.extensionFields
  3774. default:
  3775. return nil
  3776. }
  3777. }
  3778. file_google_protobuf_descriptor_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  3779. switch v := v.(*MethodOptions); i {
  3780. case 0:
  3781. return &v.state
  3782. case 1:
  3783. return &v.sizeCache
  3784. case 2:
  3785. return &v.unknownFields
  3786. case 3:
  3787. return &v.extensionFields
  3788. default:
  3789. return nil
  3790. }
  3791. }
  3792. file_google_protobuf_descriptor_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  3793. switch v := v.(*UninterpretedOption); i {
  3794. case 0:
  3795. return &v.state
  3796. case 1:
  3797. return &v.sizeCache
  3798. case 2:
  3799. return &v.unknownFields
  3800. default:
  3801. return nil
  3802. }
  3803. }
  3804. file_google_protobuf_descriptor_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  3805. switch v := v.(*SourceCodeInfo); i {
  3806. case 0:
  3807. return &v.state
  3808. case 1:
  3809. return &v.sizeCache
  3810. case 2:
  3811. return &v.unknownFields
  3812. default:
  3813. return nil
  3814. }
  3815. }
  3816. file_google_protobuf_descriptor_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  3817. switch v := v.(*GeneratedCodeInfo); i {
  3818. case 0:
  3819. return &v.state
  3820. case 1:
  3821. return &v.sizeCache
  3822. case 2:
  3823. return &v.unknownFields
  3824. default:
  3825. return nil
  3826. }
  3827. }
  3828. file_google_protobuf_descriptor_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  3829. switch v := v.(*DescriptorProto_ExtensionRange); i {
  3830. case 0:
  3831. return &v.state
  3832. case 1:
  3833. return &v.sizeCache
  3834. case 2:
  3835. return &v.unknownFields
  3836. default:
  3837. return nil
  3838. }
  3839. }
  3840. file_google_protobuf_descriptor_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  3841. switch v := v.(*DescriptorProto_ReservedRange); i {
  3842. case 0:
  3843. return &v.state
  3844. case 1:
  3845. return &v.sizeCache
  3846. case 2:
  3847. return &v.unknownFields
  3848. default:
  3849. return nil
  3850. }
  3851. }
  3852. file_google_protobuf_descriptor_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  3853. switch v := v.(*EnumDescriptorProto_EnumReservedRange); i {
  3854. case 0:
  3855. return &v.state
  3856. case 1:
  3857. return &v.sizeCache
  3858. case 2:
  3859. return &v.unknownFields
  3860. default:
  3861. return nil
  3862. }
  3863. }
  3864. file_google_protobuf_descriptor_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  3865. switch v := v.(*UninterpretedOption_NamePart); i {
  3866. case 0:
  3867. return &v.state
  3868. case 1:
  3869. return &v.sizeCache
  3870. case 2:
  3871. return &v.unknownFields
  3872. default:
  3873. return nil
  3874. }
  3875. }
  3876. file_google_protobuf_descriptor_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  3877. switch v := v.(*SourceCodeInfo_Location); i {
  3878. case 0:
  3879. return &v.state
  3880. case 1:
  3881. return &v.sizeCache
  3882. case 2:
  3883. return &v.unknownFields
  3884. default:
  3885. return nil
  3886. }
  3887. }
  3888. file_google_protobuf_descriptor_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  3889. switch v := v.(*GeneratedCodeInfo_Annotation); i {
  3890. case 0:
  3891. return &v.state
  3892. case 1:
  3893. return &v.sizeCache
  3894. case 2:
  3895. return &v.unknownFields
  3896. default:
  3897. return nil
  3898. }
  3899. }
  3900. }
  3901. type x struct{}
  3902. out := protoimpl.TypeBuilder{
  3903. File: protoimpl.DescBuilder{
  3904. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3905. RawDescriptor: file_google_protobuf_descriptor_proto_rawDesc,
  3906. NumEnums: 9,
  3907. NumMessages: 27,
  3908. NumExtensions: 0,
  3909. NumServices: 0,
  3910. },
  3911. GoTypes: file_google_protobuf_descriptor_proto_goTypes,
  3912. DependencyIndexes: file_google_protobuf_descriptor_proto_depIdxs,
  3913. EnumInfos: file_google_protobuf_descriptor_proto_enumTypes,
  3914. MessageInfos: file_google_protobuf_descriptor_proto_msgTypes,
  3915. }.Build()
  3916. File_google_protobuf_descriptor_proto = out.File
  3917. file_google_protobuf_descriptor_proto_rawDesc = nil
  3918. file_google_protobuf_descriptor_proto_goTypes = nil
  3919. file_google_protobuf_descriptor_proto_depIdxs = nil
  3920. }