workspace_create.rs 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. // This file is generated by rust-protobuf 2.22.1. Do not edit
  2. // @generated
  3. // https://github.com/rust-lang/rust-clippy/issues/702
  4. #![allow(unknown_lints)]
  5. #![allow(clippy::all)]
  6. #![allow(unused_attributes)]
  7. #![cfg_attr(rustfmt, rustfmt::skip)]
  8. #![allow(box_pointers)]
  9. #![allow(dead_code)]
  10. #![allow(missing_docs)]
  11. #![allow(non_camel_case_types)]
  12. #![allow(non_snake_case)]
  13. #![allow(non_upper_case_globals)]
  14. #![allow(trivial_casts)]
  15. #![allow(unused_imports)]
  16. #![allow(unused_results)]
  17. //! Generated file from `workspace_create.proto`
  18. /// Generated files are compatible only with the same version
  19. /// of protobuf runtime.
  20. // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_22_1;
  21. #[derive(PartialEq,Clone,Default)]
  22. pub struct CreateWorkspaceRequest {
  23. // message fields
  24. pub name: ::std::string::String,
  25. pub desc: ::std::string::String,
  26. // special fields
  27. pub unknown_fields: ::protobuf::UnknownFields,
  28. pub cached_size: ::protobuf::CachedSize,
  29. }
  30. impl<'a> ::std::default::Default for &'a CreateWorkspaceRequest {
  31. fn default() -> &'a CreateWorkspaceRequest {
  32. <CreateWorkspaceRequest as ::protobuf::Message>::default_instance()
  33. }
  34. }
  35. impl CreateWorkspaceRequest {
  36. pub fn new() -> CreateWorkspaceRequest {
  37. ::std::default::Default::default()
  38. }
  39. // string name = 1;
  40. pub fn get_name(&self) -> &str {
  41. &self.name
  42. }
  43. pub fn clear_name(&mut self) {
  44. self.name.clear();
  45. }
  46. // Param is passed by value, moved
  47. pub fn set_name(&mut self, v: ::std::string::String) {
  48. self.name = v;
  49. }
  50. // Mutable pointer to the field.
  51. // If field is not initialized, it is initialized with default value first.
  52. pub fn mut_name(&mut self) -> &mut ::std::string::String {
  53. &mut self.name
  54. }
  55. // Take field
  56. pub fn take_name(&mut self) -> ::std::string::String {
  57. ::std::mem::replace(&mut self.name, ::std::string::String::new())
  58. }
  59. // string desc = 2;
  60. pub fn get_desc(&self) -> &str {
  61. &self.desc
  62. }
  63. pub fn clear_desc(&mut self) {
  64. self.desc.clear();
  65. }
  66. // Param is passed by value, moved
  67. pub fn set_desc(&mut self, v: ::std::string::String) {
  68. self.desc = v;
  69. }
  70. // Mutable pointer to the field.
  71. // If field is not initialized, it is initialized with default value first.
  72. pub fn mut_desc(&mut self) -> &mut ::std::string::String {
  73. &mut self.desc
  74. }
  75. // Take field
  76. pub fn take_desc(&mut self) -> ::std::string::String {
  77. ::std::mem::replace(&mut self.desc, ::std::string::String::new())
  78. }
  79. }
  80. impl ::protobuf::Message for CreateWorkspaceRequest {
  81. fn is_initialized(&self) -> bool {
  82. true
  83. }
  84. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
  85. while !is.eof()? {
  86. let (field_number, wire_type) = is.read_tag_unpack()?;
  87. match field_number {
  88. 1 => {
  89. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
  90. },
  91. 2 => {
  92. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.desc)?;
  93. },
  94. _ => {
  95. ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
  96. },
  97. };
  98. }
  99. ::std::result::Result::Ok(())
  100. }
  101. // Compute sizes of nested messages
  102. #[allow(unused_variables)]
  103. fn compute_size(&self) -> u32 {
  104. let mut my_size = 0;
  105. if !self.name.is_empty() {
  106. my_size += ::protobuf::rt::string_size(1, &self.name);
  107. }
  108. if !self.desc.is_empty() {
  109. my_size += ::protobuf::rt::string_size(2, &self.desc);
  110. }
  111. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  112. self.cached_size.set(my_size);
  113. my_size
  114. }
  115. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
  116. if !self.name.is_empty() {
  117. os.write_string(1, &self.name)?;
  118. }
  119. if !self.desc.is_empty() {
  120. os.write_string(2, &self.desc)?;
  121. }
  122. os.write_unknown_fields(self.get_unknown_fields())?;
  123. ::std::result::Result::Ok(())
  124. }
  125. fn get_cached_size(&self) -> u32 {
  126. self.cached_size.get()
  127. }
  128. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  129. &self.unknown_fields
  130. }
  131. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  132. &mut self.unknown_fields
  133. }
  134. fn as_any(&self) -> &dyn (::std::any::Any) {
  135. self as &dyn (::std::any::Any)
  136. }
  137. fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
  138. self as &mut dyn (::std::any::Any)
  139. }
  140. fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
  141. self
  142. }
  143. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  144. Self::descriptor_static()
  145. }
  146. fn new() -> CreateWorkspaceRequest {
  147. CreateWorkspaceRequest::new()
  148. }
  149. fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
  150. static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
  151. descriptor.get(|| {
  152. let mut fields = ::std::vec::Vec::new();
  153. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  154. "name",
  155. |m: &CreateWorkspaceRequest| { &m.name },
  156. |m: &mut CreateWorkspaceRequest| { &mut m.name },
  157. ));
  158. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  159. "desc",
  160. |m: &CreateWorkspaceRequest| { &m.desc },
  161. |m: &mut CreateWorkspaceRequest| { &mut m.desc },
  162. ));
  163. ::protobuf::reflect::MessageDescriptor::new_pb_name::<CreateWorkspaceRequest>(
  164. "CreateWorkspaceRequest",
  165. fields,
  166. file_descriptor_proto()
  167. )
  168. })
  169. }
  170. fn default_instance() -> &'static CreateWorkspaceRequest {
  171. static instance: ::protobuf::rt::LazyV2<CreateWorkspaceRequest> = ::protobuf::rt::LazyV2::INIT;
  172. instance.get(CreateWorkspaceRequest::new)
  173. }
  174. }
  175. impl ::protobuf::Clear for CreateWorkspaceRequest {
  176. fn clear(&mut self) {
  177. self.name.clear();
  178. self.desc.clear();
  179. self.unknown_fields.clear();
  180. }
  181. }
  182. impl ::std::fmt::Debug for CreateWorkspaceRequest {
  183. fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
  184. ::protobuf::text_format::fmt(self, f)
  185. }
  186. }
  187. impl ::protobuf::reflect::ProtobufValue for CreateWorkspaceRequest {
  188. fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
  189. ::protobuf::reflect::ReflectValueRef::Message(self)
  190. }
  191. }
  192. #[derive(PartialEq,Clone,Default)]
  193. pub struct Workspace {
  194. // message fields
  195. pub id: ::std::string::String,
  196. pub name: ::std::string::String,
  197. pub desc: ::std::string::String,
  198. pub apps: ::protobuf::SingularPtrField<super::app_create::RepeatedApp>,
  199. // special fields
  200. pub unknown_fields: ::protobuf::UnknownFields,
  201. pub cached_size: ::protobuf::CachedSize,
  202. }
  203. impl<'a> ::std::default::Default for &'a Workspace {
  204. fn default() -> &'a Workspace {
  205. <Workspace as ::protobuf::Message>::default_instance()
  206. }
  207. }
  208. impl Workspace {
  209. pub fn new() -> Workspace {
  210. ::std::default::Default::default()
  211. }
  212. // string id = 1;
  213. pub fn get_id(&self) -> &str {
  214. &self.id
  215. }
  216. pub fn clear_id(&mut self) {
  217. self.id.clear();
  218. }
  219. // Param is passed by value, moved
  220. pub fn set_id(&mut self, v: ::std::string::String) {
  221. self.id = v;
  222. }
  223. // Mutable pointer to the field.
  224. // If field is not initialized, it is initialized with default value first.
  225. pub fn mut_id(&mut self) -> &mut ::std::string::String {
  226. &mut self.id
  227. }
  228. // Take field
  229. pub fn take_id(&mut self) -> ::std::string::String {
  230. ::std::mem::replace(&mut self.id, ::std::string::String::new())
  231. }
  232. // string name = 2;
  233. pub fn get_name(&self) -> &str {
  234. &self.name
  235. }
  236. pub fn clear_name(&mut self) {
  237. self.name.clear();
  238. }
  239. // Param is passed by value, moved
  240. pub fn set_name(&mut self, v: ::std::string::String) {
  241. self.name = v;
  242. }
  243. // Mutable pointer to the field.
  244. // If field is not initialized, it is initialized with default value first.
  245. pub fn mut_name(&mut self) -> &mut ::std::string::String {
  246. &mut self.name
  247. }
  248. // Take field
  249. pub fn take_name(&mut self) -> ::std::string::String {
  250. ::std::mem::replace(&mut self.name, ::std::string::String::new())
  251. }
  252. // string desc = 3;
  253. pub fn get_desc(&self) -> &str {
  254. &self.desc
  255. }
  256. pub fn clear_desc(&mut self) {
  257. self.desc.clear();
  258. }
  259. // Param is passed by value, moved
  260. pub fn set_desc(&mut self, v: ::std::string::String) {
  261. self.desc = v;
  262. }
  263. // Mutable pointer to the field.
  264. // If field is not initialized, it is initialized with default value first.
  265. pub fn mut_desc(&mut self) -> &mut ::std::string::String {
  266. &mut self.desc
  267. }
  268. // Take field
  269. pub fn take_desc(&mut self) -> ::std::string::String {
  270. ::std::mem::replace(&mut self.desc, ::std::string::String::new())
  271. }
  272. // .RepeatedApp apps = 4;
  273. pub fn get_apps(&self) -> &super::app_create::RepeatedApp {
  274. self.apps.as_ref().unwrap_or_else(|| <super::app_create::RepeatedApp as ::protobuf::Message>::default_instance())
  275. }
  276. pub fn clear_apps(&mut self) {
  277. self.apps.clear();
  278. }
  279. pub fn has_apps(&self) -> bool {
  280. self.apps.is_some()
  281. }
  282. // Param is passed by value, moved
  283. pub fn set_apps(&mut self, v: super::app_create::RepeatedApp) {
  284. self.apps = ::protobuf::SingularPtrField::some(v);
  285. }
  286. // Mutable pointer to the field.
  287. // If field is not initialized, it is initialized with default value first.
  288. pub fn mut_apps(&mut self) -> &mut super::app_create::RepeatedApp {
  289. if self.apps.is_none() {
  290. self.apps.set_default();
  291. }
  292. self.apps.as_mut().unwrap()
  293. }
  294. // Take field
  295. pub fn take_apps(&mut self) -> super::app_create::RepeatedApp {
  296. self.apps.take().unwrap_or_else(|| super::app_create::RepeatedApp::new())
  297. }
  298. }
  299. impl ::protobuf::Message for Workspace {
  300. fn is_initialized(&self) -> bool {
  301. for v in &self.apps {
  302. if !v.is_initialized() {
  303. return false;
  304. }
  305. };
  306. true
  307. }
  308. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
  309. while !is.eof()? {
  310. let (field_number, wire_type) = is.read_tag_unpack()?;
  311. match field_number {
  312. 1 => {
  313. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.id)?;
  314. },
  315. 2 => {
  316. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
  317. },
  318. 3 => {
  319. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.desc)?;
  320. },
  321. 4 => {
  322. ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.apps)?;
  323. },
  324. _ => {
  325. ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
  326. },
  327. };
  328. }
  329. ::std::result::Result::Ok(())
  330. }
  331. // Compute sizes of nested messages
  332. #[allow(unused_variables)]
  333. fn compute_size(&self) -> u32 {
  334. let mut my_size = 0;
  335. if !self.id.is_empty() {
  336. my_size += ::protobuf::rt::string_size(1, &self.id);
  337. }
  338. if !self.name.is_empty() {
  339. my_size += ::protobuf::rt::string_size(2, &self.name);
  340. }
  341. if !self.desc.is_empty() {
  342. my_size += ::protobuf::rt::string_size(3, &self.desc);
  343. }
  344. if let Some(ref v) = self.apps.as_ref() {
  345. let len = v.compute_size();
  346. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  347. }
  348. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  349. self.cached_size.set(my_size);
  350. my_size
  351. }
  352. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
  353. if !self.id.is_empty() {
  354. os.write_string(1, &self.id)?;
  355. }
  356. if !self.name.is_empty() {
  357. os.write_string(2, &self.name)?;
  358. }
  359. if !self.desc.is_empty() {
  360. os.write_string(3, &self.desc)?;
  361. }
  362. if let Some(ref v) = self.apps.as_ref() {
  363. os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
  364. os.write_raw_varint32(v.get_cached_size())?;
  365. v.write_to_with_cached_sizes(os)?;
  366. }
  367. os.write_unknown_fields(self.get_unknown_fields())?;
  368. ::std::result::Result::Ok(())
  369. }
  370. fn get_cached_size(&self) -> u32 {
  371. self.cached_size.get()
  372. }
  373. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  374. &self.unknown_fields
  375. }
  376. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  377. &mut self.unknown_fields
  378. }
  379. fn as_any(&self) -> &dyn (::std::any::Any) {
  380. self as &dyn (::std::any::Any)
  381. }
  382. fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
  383. self as &mut dyn (::std::any::Any)
  384. }
  385. fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
  386. self
  387. }
  388. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  389. Self::descriptor_static()
  390. }
  391. fn new() -> Workspace {
  392. Workspace::new()
  393. }
  394. fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
  395. static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
  396. descriptor.get(|| {
  397. let mut fields = ::std::vec::Vec::new();
  398. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  399. "id",
  400. |m: &Workspace| { &m.id },
  401. |m: &mut Workspace| { &mut m.id },
  402. ));
  403. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  404. "name",
  405. |m: &Workspace| { &m.name },
  406. |m: &mut Workspace| { &mut m.name },
  407. ));
  408. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  409. "desc",
  410. |m: &Workspace| { &m.desc },
  411. |m: &mut Workspace| { &mut m.desc },
  412. ));
  413. fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::app_create::RepeatedApp>>(
  414. "apps",
  415. |m: &Workspace| { &m.apps },
  416. |m: &mut Workspace| { &mut m.apps },
  417. ));
  418. ::protobuf::reflect::MessageDescriptor::new_pb_name::<Workspace>(
  419. "Workspace",
  420. fields,
  421. file_descriptor_proto()
  422. )
  423. })
  424. }
  425. fn default_instance() -> &'static Workspace {
  426. static instance: ::protobuf::rt::LazyV2<Workspace> = ::protobuf::rt::LazyV2::INIT;
  427. instance.get(Workspace::new)
  428. }
  429. }
  430. impl ::protobuf::Clear for Workspace {
  431. fn clear(&mut self) {
  432. self.id.clear();
  433. self.name.clear();
  434. self.desc.clear();
  435. self.apps.clear();
  436. self.unknown_fields.clear();
  437. }
  438. }
  439. impl ::std::fmt::Debug for Workspace {
  440. fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
  441. ::protobuf::text_format::fmt(self, f)
  442. }
  443. }
  444. impl ::protobuf::reflect::ProtobufValue for Workspace {
  445. fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
  446. ::protobuf::reflect::ReflectValueRef::Message(self)
  447. }
  448. }
  449. static file_descriptor_proto_data: &'static [u8] = b"\
  450. \n\x16workspace_create.proto\x1a\x10app_create.proto\"@\n\x16CreateWorks\
  451. paceRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12\x12\n\x04d\
  452. esc\x18\x02\x20\x01(\tR\x04desc\"e\n\tWorkspace\x12\x0e\n\x02id\x18\x01\
  453. \x20\x01(\tR\x02id\x12\x12\n\x04name\x18\x02\x20\x01(\tR\x04name\x12\x12\
  454. \n\x04desc\x18\x03\x20\x01(\tR\x04desc\x12\x20\n\x04apps\x18\x04\x20\x01\
  455. (\x0b2\x0c.RepeatedAppR\x04appsJ\x97\x03\n\x06\x12\x04\0\0\x0c\x01\n\x08\
  456. \n\x01\x0c\x12\x03\0\0\x12\n\t\n\x02\x03\0\x12\x03\x01\0\x1a\n\n\n\x02\
  457. \x04\0\x12\x04\x03\0\x06\x01\n\n\n\x03\x04\0\x01\x12\x03\x03\x08\x1e\n\
  458. \x0b\n\x04\x04\0\x02\0\x12\x03\x04\x04\x14\n\x0c\n\x05\x04\0\x02\0\x05\
  459. \x12\x03\x04\x04\n\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x04\x0b\x0f\n\x0c\
  460. \n\x05\x04\0\x02\0\x03\x12\x03\x04\x12\x13\n\x0b\n\x04\x04\0\x02\x01\x12\
  461. \x03\x05\x04\x14\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03\x05\x04\n\n\x0c\n\
  462. \x05\x04\0\x02\x01\x01\x12\x03\x05\x0b\x0f\n\x0c\n\x05\x04\0\x02\x01\x03\
  463. \x12\x03\x05\x12\x13\n\n\n\x02\x04\x01\x12\x04\x07\0\x0c\x01\n\n\n\x03\
  464. \x04\x01\x01\x12\x03\x07\x08\x11\n\x0b\n\x04\x04\x01\x02\0\x12\x03\x08\
  465. \x04\x12\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03\x08\x04\n\n\x0c\n\x05\x04\
  466. \x01\x02\0\x01\x12\x03\x08\x0b\r\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03\
  467. \x08\x10\x11\n\x0b\n\x04\x04\x01\x02\x01\x12\x03\t\x04\x14\n\x0c\n\x05\
  468. \x04\x01\x02\x01\x05\x12\x03\t\x04\n\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\
  469. \x03\t\x0b\x0f\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03\t\x12\x13\n\x0b\n\
  470. \x04\x04\x01\x02\x02\x12\x03\n\x04\x14\n\x0c\n\x05\x04\x01\x02\x02\x05\
  471. \x12\x03\n\x04\n\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\x03\n\x0b\x0f\n\x0c\
  472. \n\x05\x04\x01\x02\x02\x03\x12\x03\n\x12\x13\n\x0b\n\x04\x04\x01\x02\x03\
  473. \x12\x03\x0b\x04\x19\n\x0c\n\x05\x04\x01\x02\x03\x06\x12\x03\x0b\x04\x0f\
  474. \n\x0c\n\x05\x04\x01\x02\x03\x01\x12\x03\x0b\x10\x14\n\x0c\n\x05\x04\x01\
  475. \x02\x03\x03\x12\x03\x0b\x17\x18b\x06proto3\
  476. ";
  477. static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
  478. fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
  479. ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
  480. }
  481. pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
  482. file_descriptor_proto_lazy.get(|| {
  483. parse_descriptor_proto()
  484. })
  485. }