ws.rs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652
  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 `ws.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 DocumentWSData {
  23. // message fields
  24. pub doc_id: ::std::string::String,
  25. pub ty: DocumentWSDataType,
  26. pub data: ::std::vec::Vec<u8>,
  27. pub id: ::std::string::String,
  28. // special fields
  29. pub unknown_fields: ::protobuf::UnknownFields,
  30. pub cached_size: ::protobuf::CachedSize,
  31. }
  32. impl<'a> ::std::default::Default for &'a DocumentWSData {
  33. fn default() -> &'a DocumentWSData {
  34. <DocumentWSData as ::protobuf::Message>::default_instance()
  35. }
  36. }
  37. impl DocumentWSData {
  38. pub fn new() -> DocumentWSData {
  39. ::std::default::Default::default()
  40. }
  41. // string doc_id = 1;
  42. pub fn get_doc_id(&self) -> &str {
  43. &self.doc_id
  44. }
  45. pub fn clear_doc_id(&mut self) {
  46. self.doc_id.clear();
  47. }
  48. // Param is passed by value, moved
  49. pub fn set_doc_id(&mut self, v: ::std::string::String) {
  50. self.doc_id = v;
  51. }
  52. // Mutable pointer to the field.
  53. // If field is not initialized, it is initialized with default value first.
  54. pub fn mut_doc_id(&mut self) -> &mut ::std::string::String {
  55. &mut self.doc_id
  56. }
  57. // Take field
  58. pub fn take_doc_id(&mut self) -> ::std::string::String {
  59. ::std::mem::replace(&mut self.doc_id, ::std::string::String::new())
  60. }
  61. // .DocumentWSDataType ty = 2;
  62. pub fn get_ty(&self) -> DocumentWSDataType {
  63. self.ty
  64. }
  65. pub fn clear_ty(&mut self) {
  66. self.ty = DocumentWSDataType::Ack;
  67. }
  68. // Param is passed by value, moved
  69. pub fn set_ty(&mut self, v: DocumentWSDataType) {
  70. self.ty = v;
  71. }
  72. // bytes data = 3;
  73. pub fn get_data(&self) -> &[u8] {
  74. &self.data
  75. }
  76. pub fn clear_data(&mut self) {
  77. self.data.clear();
  78. }
  79. // Param is passed by value, moved
  80. pub fn set_data(&mut self, v: ::std::vec::Vec<u8>) {
  81. self.data = v;
  82. }
  83. // Mutable pointer to the field.
  84. // If field is not initialized, it is initialized with default value first.
  85. pub fn mut_data(&mut self) -> &mut ::std::vec::Vec<u8> {
  86. &mut self.data
  87. }
  88. // Take field
  89. pub fn take_data(&mut self) -> ::std::vec::Vec<u8> {
  90. ::std::mem::replace(&mut self.data, ::std::vec::Vec::new())
  91. }
  92. // string id = 4;
  93. pub fn get_id(&self) -> &str {
  94. &self.id
  95. }
  96. pub fn clear_id(&mut self) {
  97. self.id.clear();
  98. }
  99. // Param is passed by value, moved
  100. pub fn set_id(&mut self, v: ::std::string::String) {
  101. self.id = v;
  102. }
  103. // Mutable pointer to the field.
  104. // If field is not initialized, it is initialized with default value first.
  105. pub fn mut_id(&mut self) -> &mut ::std::string::String {
  106. &mut self.id
  107. }
  108. // Take field
  109. pub fn take_id(&mut self) -> ::std::string::String {
  110. ::std::mem::replace(&mut self.id, ::std::string::String::new())
  111. }
  112. }
  113. impl ::protobuf::Message for DocumentWSData {
  114. fn is_initialized(&self) -> bool {
  115. true
  116. }
  117. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
  118. while !is.eof()? {
  119. let (field_number, wire_type) = is.read_tag_unpack()?;
  120. match field_number {
  121. 1 => {
  122. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.doc_id)?;
  123. },
  124. 2 => {
  125. ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.ty, 2, &mut self.unknown_fields)?
  126. },
  127. 3 => {
  128. ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.data)?;
  129. },
  130. 4 => {
  131. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.id)?;
  132. },
  133. _ => {
  134. ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
  135. },
  136. };
  137. }
  138. ::std::result::Result::Ok(())
  139. }
  140. // Compute sizes of nested messages
  141. #[allow(unused_variables)]
  142. fn compute_size(&self) -> u32 {
  143. let mut my_size = 0;
  144. if !self.doc_id.is_empty() {
  145. my_size += ::protobuf::rt::string_size(1, &self.doc_id);
  146. }
  147. if self.ty != DocumentWSDataType::Ack {
  148. my_size += ::protobuf::rt::enum_size(2, self.ty);
  149. }
  150. if !self.data.is_empty() {
  151. my_size += ::protobuf::rt::bytes_size(3, &self.data);
  152. }
  153. if !self.id.is_empty() {
  154. my_size += ::protobuf::rt::string_size(4, &self.id);
  155. }
  156. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  157. self.cached_size.set(my_size);
  158. my_size
  159. }
  160. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
  161. if !self.doc_id.is_empty() {
  162. os.write_string(1, &self.doc_id)?;
  163. }
  164. if self.ty != DocumentWSDataType::Ack {
  165. os.write_enum(2, ::protobuf::ProtobufEnum::value(&self.ty))?;
  166. }
  167. if !self.data.is_empty() {
  168. os.write_bytes(3, &self.data)?;
  169. }
  170. if !self.id.is_empty() {
  171. os.write_string(4, &self.id)?;
  172. }
  173. os.write_unknown_fields(self.get_unknown_fields())?;
  174. ::std::result::Result::Ok(())
  175. }
  176. fn get_cached_size(&self) -> u32 {
  177. self.cached_size.get()
  178. }
  179. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  180. &self.unknown_fields
  181. }
  182. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  183. &mut self.unknown_fields
  184. }
  185. fn as_any(&self) -> &dyn (::std::any::Any) {
  186. self as &dyn (::std::any::Any)
  187. }
  188. fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
  189. self as &mut dyn (::std::any::Any)
  190. }
  191. fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
  192. self
  193. }
  194. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  195. Self::descriptor_static()
  196. }
  197. fn new() -> DocumentWSData {
  198. DocumentWSData::new()
  199. }
  200. fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
  201. static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
  202. descriptor.get(|| {
  203. let mut fields = ::std::vec::Vec::new();
  204. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  205. "doc_id",
  206. |m: &DocumentWSData| { &m.doc_id },
  207. |m: &mut DocumentWSData| { &mut m.doc_id },
  208. ));
  209. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<DocumentWSDataType>>(
  210. "ty",
  211. |m: &DocumentWSData| { &m.ty },
  212. |m: &mut DocumentWSData| { &mut m.ty },
  213. ));
  214. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
  215. "data",
  216. |m: &DocumentWSData| { &m.data },
  217. |m: &mut DocumentWSData| { &mut m.data },
  218. ));
  219. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  220. "id",
  221. |m: &DocumentWSData| { &m.id },
  222. |m: &mut DocumentWSData| { &mut m.id },
  223. ));
  224. ::protobuf::reflect::MessageDescriptor::new_pb_name::<DocumentWSData>(
  225. "DocumentWSData",
  226. fields,
  227. file_descriptor_proto()
  228. )
  229. })
  230. }
  231. fn default_instance() -> &'static DocumentWSData {
  232. static instance: ::protobuf::rt::LazyV2<DocumentWSData> = ::protobuf::rt::LazyV2::INIT;
  233. instance.get(DocumentWSData::new)
  234. }
  235. }
  236. impl ::protobuf::Clear for DocumentWSData {
  237. fn clear(&mut self) {
  238. self.doc_id.clear();
  239. self.ty = DocumentWSDataType::Ack;
  240. self.data.clear();
  241. self.id.clear();
  242. self.unknown_fields.clear();
  243. }
  244. }
  245. impl ::std::fmt::Debug for DocumentWSData {
  246. fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
  247. ::protobuf::text_format::fmt(self, f)
  248. }
  249. }
  250. impl ::protobuf::reflect::ProtobufValue for DocumentWSData {
  251. fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
  252. ::protobuf::reflect::ReflectValueRef::Message(self)
  253. }
  254. }
  255. #[derive(PartialEq,Clone,Default)]
  256. pub struct NewDocumentUser {
  257. // message fields
  258. pub user_id: ::std::string::String,
  259. pub doc_id: ::std::string::String,
  260. pub revision_data: ::std::vec::Vec<u8>,
  261. // special fields
  262. pub unknown_fields: ::protobuf::UnknownFields,
  263. pub cached_size: ::protobuf::CachedSize,
  264. }
  265. impl<'a> ::std::default::Default for &'a NewDocumentUser {
  266. fn default() -> &'a NewDocumentUser {
  267. <NewDocumentUser as ::protobuf::Message>::default_instance()
  268. }
  269. }
  270. impl NewDocumentUser {
  271. pub fn new() -> NewDocumentUser {
  272. ::std::default::Default::default()
  273. }
  274. // string user_id = 1;
  275. pub fn get_user_id(&self) -> &str {
  276. &self.user_id
  277. }
  278. pub fn clear_user_id(&mut self) {
  279. self.user_id.clear();
  280. }
  281. // Param is passed by value, moved
  282. pub fn set_user_id(&mut self, v: ::std::string::String) {
  283. self.user_id = v;
  284. }
  285. // Mutable pointer to the field.
  286. // If field is not initialized, it is initialized with default value first.
  287. pub fn mut_user_id(&mut self) -> &mut ::std::string::String {
  288. &mut self.user_id
  289. }
  290. // Take field
  291. pub fn take_user_id(&mut self) -> ::std::string::String {
  292. ::std::mem::replace(&mut self.user_id, ::std::string::String::new())
  293. }
  294. // string doc_id = 2;
  295. pub fn get_doc_id(&self) -> &str {
  296. &self.doc_id
  297. }
  298. pub fn clear_doc_id(&mut self) {
  299. self.doc_id.clear();
  300. }
  301. // Param is passed by value, moved
  302. pub fn set_doc_id(&mut self, v: ::std::string::String) {
  303. self.doc_id = v;
  304. }
  305. // Mutable pointer to the field.
  306. // If field is not initialized, it is initialized with default value first.
  307. pub fn mut_doc_id(&mut self) -> &mut ::std::string::String {
  308. &mut self.doc_id
  309. }
  310. // Take field
  311. pub fn take_doc_id(&mut self) -> ::std::string::String {
  312. ::std::mem::replace(&mut self.doc_id, ::std::string::String::new())
  313. }
  314. // bytes revision_data = 3;
  315. pub fn get_revision_data(&self) -> &[u8] {
  316. &self.revision_data
  317. }
  318. pub fn clear_revision_data(&mut self) {
  319. self.revision_data.clear();
  320. }
  321. // Param is passed by value, moved
  322. pub fn set_revision_data(&mut self, v: ::std::vec::Vec<u8>) {
  323. self.revision_data = v;
  324. }
  325. // Mutable pointer to the field.
  326. // If field is not initialized, it is initialized with default value first.
  327. pub fn mut_revision_data(&mut self) -> &mut ::std::vec::Vec<u8> {
  328. &mut self.revision_data
  329. }
  330. // Take field
  331. pub fn take_revision_data(&mut self) -> ::std::vec::Vec<u8> {
  332. ::std::mem::replace(&mut self.revision_data, ::std::vec::Vec::new())
  333. }
  334. }
  335. impl ::protobuf::Message for NewDocumentUser {
  336. fn is_initialized(&self) -> bool {
  337. true
  338. }
  339. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
  340. while !is.eof()? {
  341. let (field_number, wire_type) = is.read_tag_unpack()?;
  342. match field_number {
  343. 1 => {
  344. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.user_id)?;
  345. },
  346. 2 => {
  347. ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.doc_id)?;
  348. },
  349. 3 => {
  350. ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.revision_data)?;
  351. },
  352. _ => {
  353. ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
  354. },
  355. };
  356. }
  357. ::std::result::Result::Ok(())
  358. }
  359. // Compute sizes of nested messages
  360. #[allow(unused_variables)]
  361. fn compute_size(&self) -> u32 {
  362. let mut my_size = 0;
  363. if !self.user_id.is_empty() {
  364. my_size += ::protobuf::rt::string_size(1, &self.user_id);
  365. }
  366. if !self.doc_id.is_empty() {
  367. my_size += ::protobuf::rt::string_size(2, &self.doc_id);
  368. }
  369. if !self.revision_data.is_empty() {
  370. my_size += ::protobuf::rt::bytes_size(3, &self.revision_data);
  371. }
  372. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  373. self.cached_size.set(my_size);
  374. my_size
  375. }
  376. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
  377. if !self.user_id.is_empty() {
  378. os.write_string(1, &self.user_id)?;
  379. }
  380. if !self.doc_id.is_empty() {
  381. os.write_string(2, &self.doc_id)?;
  382. }
  383. if !self.revision_data.is_empty() {
  384. os.write_bytes(3, &self.revision_data)?;
  385. }
  386. os.write_unknown_fields(self.get_unknown_fields())?;
  387. ::std::result::Result::Ok(())
  388. }
  389. fn get_cached_size(&self) -> u32 {
  390. self.cached_size.get()
  391. }
  392. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  393. &self.unknown_fields
  394. }
  395. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  396. &mut self.unknown_fields
  397. }
  398. fn as_any(&self) -> &dyn (::std::any::Any) {
  399. self as &dyn (::std::any::Any)
  400. }
  401. fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
  402. self as &mut dyn (::std::any::Any)
  403. }
  404. fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
  405. self
  406. }
  407. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  408. Self::descriptor_static()
  409. }
  410. fn new() -> NewDocumentUser {
  411. NewDocumentUser::new()
  412. }
  413. fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
  414. static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
  415. descriptor.get(|| {
  416. let mut fields = ::std::vec::Vec::new();
  417. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  418. "user_id",
  419. |m: &NewDocumentUser| { &m.user_id },
  420. |m: &mut NewDocumentUser| { &mut m.user_id },
  421. ));
  422. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
  423. "doc_id",
  424. |m: &NewDocumentUser| { &m.doc_id },
  425. |m: &mut NewDocumentUser| { &mut m.doc_id },
  426. ));
  427. fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
  428. "revision_data",
  429. |m: &NewDocumentUser| { &m.revision_data },
  430. |m: &mut NewDocumentUser| { &mut m.revision_data },
  431. ));
  432. ::protobuf::reflect::MessageDescriptor::new_pb_name::<NewDocumentUser>(
  433. "NewDocumentUser",
  434. fields,
  435. file_descriptor_proto()
  436. )
  437. })
  438. }
  439. fn default_instance() -> &'static NewDocumentUser {
  440. static instance: ::protobuf::rt::LazyV2<NewDocumentUser> = ::protobuf::rt::LazyV2::INIT;
  441. instance.get(NewDocumentUser::new)
  442. }
  443. }
  444. impl ::protobuf::Clear for NewDocumentUser {
  445. fn clear(&mut self) {
  446. self.user_id.clear();
  447. self.doc_id.clear();
  448. self.revision_data.clear();
  449. self.unknown_fields.clear();
  450. }
  451. }
  452. impl ::std::fmt::Debug for NewDocumentUser {
  453. fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
  454. ::protobuf::text_format::fmt(self, f)
  455. }
  456. }
  457. impl ::protobuf::reflect::ProtobufValue for NewDocumentUser {
  458. fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
  459. ::protobuf::reflect::ReflectValueRef::Message(self)
  460. }
  461. }
  462. #[derive(Clone,PartialEq,Eq,Debug,Hash)]
  463. pub enum DocumentWSDataType {
  464. Ack = 0,
  465. PushRev = 1,
  466. PullRev = 2,
  467. UserConnect = 3,
  468. }
  469. impl ::protobuf::ProtobufEnum for DocumentWSDataType {
  470. fn value(&self) -> i32 {
  471. *self as i32
  472. }
  473. fn from_i32(value: i32) -> ::std::option::Option<DocumentWSDataType> {
  474. match value {
  475. 0 => ::std::option::Option::Some(DocumentWSDataType::Ack),
  476. 1 => ::std::option::Option::Some(DocumentWSDataType::PushRev),
  477. 2 => ::std::option::Option::Some(DocumentWSDataType::PullRev),
  478. 3 => ::std::option::Option::Some(DocumentWSDataType::UserConnect),
  479. _ => ::std::option::Option::None
  480. }
  481. }
  482. fn values() -> &'static [Self] {
  483. static values: &'static [DocumentWSDataType] = &[
  484. DocumentWSDataType::Ack,
  485. DocumentWSDataType::PushRev,
  486. DocumentWSDataType::PullRev,
  487. DocumentWSDataType::UserConnect,
  488. ];
  489. values
  490. }
  491. fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
  492. static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
  493. descriptor.get(|| {
  494. ::protobuf::reflect::EnumDescriptor::new_pb_name::<DocumentWSDataType>("DocumentWSDataType", file_descriptor_proto())
  495. })
  496. }
  497. }
  498. impl ::std::marker::Copy for DocumentWSDataType {
  499. }
  500. impl ::std::default::Default for DocumentWSDataType {
  501. fn default() -> Self {
  502. DocumentWSDataType::Ack
  503. }
  504. }
  505. impl ::protobuf::reflect::ProtobufValue for DocumentWSDataType {
  506. fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
  507. ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
  508. }
  509. }
  510. static file_descriptor_proto_data: &'static [u8] = b"\
  511. \n\x08ws.proto\"p\n\x0eDocumentWSData\x12\x15\n\x06doc_id\x18\x01\x20\
  512. \x01(\tR\x05docId\x12#\n\x02ty\x18\x02\x20\x01(\x0e2\x13.DocumentWSDataT\
  513. ypeR\x02ty\x12\x12\n\x04data\x18\x03\x20\x01(\x0cR\x04data\x12\x0e\n\x02\
  514. id\x18\x04\x20\x01(\tR\x02id\"f\n\x0fNewDocumentUser\x12\x17\n\x07user_i\
  515. d\x18\x01\x20\x01(\tR\x06userId\x12\x15\n\x06doc_id\x18\x02\x20\x01(\tR\
  516. \x05docId\x12#\n\rrevision_data\x18\x03\x20\x01(\x0cR\x0crevisionData*H\
  517. \n\x12DocumentWSDataType\x12\x07\n\x03Ack\x10\0\x12\x0b\n\x07PushRev\x10\
  518. \x01\x12\x0b\n\x07PullRev\x10\x02\x12\x0f\n\x0bUserConnect\x10\x03J\xff\
  519. \x04\n\x06\x12\x04\0\0\x11\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\n\n\n\x02\
  520. \x04\0\x12\x04\x01\0\x06\x01\n\n\n\x03\x04\0\x01\x12\x03\x01\x08\x16\n\
  521. \x0b\n\x04\x04\0\x02\0\x12\x03\x02\x04\x16\n\x0c\n\x05\x04\0\x02\0\x05\
  522. \x12\x03\x02\x04\n\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x02\x0b\x11\n\x0c\
  523. \n\x05\x04\0\x02\0\x03\x12\x03\x02\x14\x15\n\x0b\n\x04\x04\0\x02\x01\x12\
  524. \x03\x03\x04\x1e\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03\x03\x04\x16\n\x0c\
  525. \n\x05\x04\0\x02\x01\x01\x12\x03\x03\x17\x19\n\x0c\n\x05\x04\0\x02\x01\
  526. \x03\x12\x03\x03\x1c\x1d\n\x0b\n\x04\x04\0\x02\x02\x12\x03\x04\x04\x13\n\
  527. \x0c\n\x05\x04\0\x02\x02\x05\x12\x03\x04\x04\t\n\x0c\n\x05\x04\0\x02\x02\
  528. \x01\x12\x03\x04\n\x0e\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03\x04\x11\x12\
  529. \n\x0b\n\x04\x04\0\x02\x03\x12\x03\x05\x04\x12\n\x0c\n\x05\x04\0\x02\x03\
  530. \x05\x12\x03\x05\x04\n\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03\x05\x0b\r\n\
  531. \x0c\n\x05\x04\0\x02\x03\x03\x12\x03\x05\x10\x11\n\n\n\x02\x04\x01\x12\
  532. \x04\x07\0\x0b\x01\n\n\n\x03\x04\x01\x01\x12\x03\x07\x08\x17\n\x0b\n\x04\
  533. \x04\x01\x02\0\x12\x03\x08\x04\x17\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03\
  534. \x08\x04\n\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03\x08\x0b\x12\n\x0c\n\x05\
  535. \x04\x01\x02\0\x03\x12\x03\x08\x15\x16\n\x0b\n\x04\x04\x01\x02\x01\x12\
  536. \x03\t\x04\x16\n\x0c\n\x05\x04\x01\x02\x01\x05\x12\x03\t\x04\n\n\x0c\n\
  537. \x05\x04\x01\x02\x01\x01\x12\x03\t\x0b\x11\n\x0c\n\x05\x04\x01\x02\x01\
  538. \x03\x12\x03\t\x14\x15\n\x0b\n\x04\x04\x01\x02\x02\x12\x03\n\x04\x1c\n\
  539. \x0c\n\x05\x04\x01\x02\x02\x05\x12\x03\n\x04\t\n\x0c\n\x05\x04\x01\x02\
  540. \x02\x01\x12\x03\n\n\x17\n\x0c\n\x05\x04\x01\x02\x02\x03\x12\x03\n\x1a\
  541. \x1b\n\n\n\x02\x05\0\x12\x04\x0c\0\x11\x01\n\n\n\x03\x05\0\x01\x12\x03\
  542. \x0c\x05\x17\n\x0b\n\x04\x05\0\x02\0\x12\x03\r\x04\x0c\n\x0c\n\x05\x05\0\
  543. \x02\0\x01\x12\x03\r\x04\x07\n\x0c\n\x05\x05\0\x02\0\x02\x12\x03\r\n\x0b\
  544. \n\x0b\n\x04\x05\0\x02\x01\x12\x03\x0e\x04\x10\n\x0c\n\x05\x05\0\x02\x01\
  545. \x01\x12\x03\x0e\x04\x0b\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03\x0e\x0e\
  546. \x0f\n\x0b\n\x04\x05\0\x02\x02\x12\x03\x0f\x04\x10\n\x0c\n\x05\x05\0\x02\
  547. \x02\x01\x12\x03\x0f\x04\x0b\n\x0c\n\x05\x05\0\x02\x02\x02\x12\x03\x0f\
  548. \x0e\x0f\n\x0b\n\x04\x05\0\x02\x03\x12\x03\x10\x04\x14\n\x0c\n\x05\x05\0\
  549. \x02\x03\x01\x12\x03\x10\x04\x0f\n\x0c\n\x05\x05\0\x02\x03\x02\x12\x03\
  550. \x10\x12\x13b\x06proto3\
  551. ";
  552. static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
  553. fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
  554. ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
  555. }
  556. pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
  557. file_descriptor_proto_lazy.get(|| {
  558. parse_descriptor_proto()
  559. })
  560. }