Lily.cs 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: lily.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021, 8981
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace Palm.Lily.V1 {
  12. /// <summary>Holder for reflection information generated from lily.proto</summary>
  13. public static partial class LilyReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for lily.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static LilyReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "CgpsaWx5LnByb3RvEgxwYWxtLmxpbHkudjEaHmdvb2dsZS9wcm90b2J1Zi9k",
  24. "dXJhdGlvbi5wcm90byK2AQoKRXhjZWxNb2RlbBIuCgZzaGVldHMYASADKAsy",
  25. "Hi5wYWxtLmxpbHkudjEuRXhjZWxNb2RlbC5TaGVldBp4CgVTaGVldBIMCgRu",
  26. "YW1lGAEgASgJEjIKBWNlbGxzGAIgAygLMiMucGFsbS5saWx5LnYxLkV4Y2Vs",
  27. "TW9kZWwuU2hlZXQuQ2VsbBotCgRDZWxsEgsKA3JvdxgBIAEoDRILCgNjb2wY",
  28. "AiABKA0SCwoDdmFsGAMgASgJIjwKBlMzRmlsZRIOCgZidWNrZXQYASABKAkS",
  29. "DAoEbmFtZRgCIAEoCRIUCgxjb250ZW50X3R5cGUYCSABKAkiWAoQUzNHZXRG",
  30. "aWxlUmVxdWVzdBIOCgZidWNrZXQYASABKAkSDAoEbmFtZRgCIAEoCRImCgN0",
  31. "dGwYCSABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24iIAoRUzNHZXRG",
  32. "aWxlUmVzcG9uc2USCwoDdXJsGAEgASgJIucBCgxUZXhUb1JlcXVlc3QSDQoF",
  33. "dGl0bGUYASABKAkSNAoFZmlsZXMYAiADKAsyJS5wYWxtLmxpbHkudjEuVGV4",
  34. "VG9SZXF1ZXN0LkZpbGVzRW50cnkSKwoDdHRsGAcgASgLMhkuZ29vZ2xlLnBy",
  35. "b3RvYnVmLkR1cmF0aW9uSACIAQESEgoFb3duZXIYCCABKAlIAYgBARIRCglw",
  36. "dWJsaXNoZWQYCSABKAgaLAoKRmlsZXNFbnRyeRILCgNrZXkYASABKAkSDQoF",
  37. "dmFsdWUYAiABKAw6AjgBQgYKBF90dGxCCAoGX293bmVyIhIKEEVwdWJCdWls",
  38. "ZFJlcXVlc3QygAEKBUV4Y2VsEjkKBVBhcnNlEhQucGFsbS5saWx5LnYxLlMz",
  39. "RmlsZRoYLnBhbG0ubGlseS52MS5FeGNlbE1vZGVsIgASPAoIR2VuZXJhdGUS",
  40. "GC5wYWxtLmxpbHkudjEuRXhjZWxNb2RlbBoULnBhbG0ubGlseS52MS5TM0Zp",
  41. "bGUiADJSCgJTMxJMCgdHZXRGaWxlEh4ucGFsbS5saWx5LnYxLlMzR2V0Rmls",
  42. "ZVJlcXVlc3QaHy5wYWxtLmxpbHkudjEuUzNHZXRGaWxlUmVzcG9uc2UiADKA",
  43. "AQoDVGV4EjsKBVRvUGRmEhoucGFsbS5saWx5LnYxLlRleFRvUmVxdWVzdBoU",
  44. "LnBhbG0ubGlseS52MS5TM0ZpbGUiABI8CgZUb1dvcmQSGi5wYWxtLmxpbHku",
  45. "djEuVGV4VG9SZXF1ZXN0GhQucGFsbS5saWx5LnYxLlMzRmlsZSIAMkcKBEVw",
  46. "dWISPwoFQnVpbGQSHi5wYWxtLmxpbHkudjEuRXB1YkJ1aWxkUmVxdWVzdBoU",
  47. "LnBhbG0ubGlseS52MS5TM0ZpbGUiAEIuCipjb20uZ2l0aHViLnNhdHVybl94",
  48. "aXYucGFsbS5wbHVnaW5zLmxpbHkudjFQAWIGcHJvdG8z"));
  49. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  50. new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, },
  51. new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
  52. new pbr::GeneratedClrTypeInfo(typeof(global::Palm.Lily.V1.ExcelModel), global::Palm.Lily.V1.ExcelModel.Parser, new[]{ "Sheets" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Palm.Lily.V1.ExcelModel.Types.Sheet), global::Palm.Lily.V1.ExcelModel.Types.Sheet.Parser, new[]{ "Name", "Cells" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Palm.Lily.V1.ExcelModel.Types.Sheet.Types.Cell), global::Palm.Lily.V1.ExcelModel.Types.Sheet.Types.Cell.Parser, new[]{ "Row", "Col", "Val" }, null, null, null, null)})}),
  53. new pbr::GeneratedClrTypeInfo(typeof(global::Palm.Lily.V1.S3File), global::Palm.Lily.V1.S3File.Parser, new[]{ "Bucket", "Name", "ContentType" }, null, null, null, null),
  54. new pbr::GeneratedClrTypeInfo(typeof(global::Palm.Lily.V1.S3GetFileRequest), global::Palm.Lily.V1.S3GetFileRequest.Parser, new[]{ "Bucket", "Name", "Ttl" }, null, null, null, null),
  55. new pbr::GeneratedClrTypeInfo(typeof(global::Palm.Lily.V1.S3GetFileResponse), global::Palm.Lily.V1.S3GetFileResponse.Parser, new[]{ "Url" }, null, null, null, null),
  56. new pbr::GeneratedClrTypeInfo(typeof(global::Palm.Lily.V1.TexToRequest), global::Palm.Lily.V1.TexToRequest.Parser, new[]{ "Title", "Files", "Ttl", "Owner", "Published" }, new[]{ "Ttl", "Owner" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
  57. new pbr::GeneratedClrTypeInfo(typeof(global::Palm.Lily.V1.EpubBuildRequest), global::Palm.Lily.V1.EpubBuildRequest.Parser, null, null, null, null, null)
  58. }));
  59. }
  60. #endregion
  61. }
  62. #region Messages
  63. public sealed partial class ExcelModel : pb::IMessage<ExcelModel>
  64. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  65. , pb::IBufferMessage
  66. #endif
  67. {
  68. private static readonly pb::MessageParser<ExcelModel> _parser = new pb::MessageParser<ExcelModel>(() => new ExcelModel());
  69. private pb::UnknownFieldSet _unknownFields;
  70. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  71. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  72. public static pb::MessageParser<ExcelModel> Parser { get { return _parser; } }
  73. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  74. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  75. public static pbr::MessageDescriptor Descriptor {
  76. get { return global::Palm.Lily.V1.LilyReflection.Descriptor.MessageTypes[0]; }
  77. }
  78. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  79. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  80. pbr::MessageDescriptor pb::IMessage.Descriptor {
  81. get { return Descriptor; }
  82. }
  83. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  84. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  85. public ExcelModel() {
  86. OnConstruction();
  87. }
  88. partial void OnConstruction();
  89. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  90. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  91. public ExcelModel(ExcelModel other) : this() {
  92. sheets_ = other.sheets_.Clone();
  93. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  94. }
  95. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  96. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  97. public ExcelModel Clone() {
  98. return new ExcelModel(this);
  99. }
  100. /// <summary>Field number for the "sheets" field.</summary>
  101. public const int SheetsFieldNumber = 1;
  102. private static readonly pb::FieldCodec<global::Palm.Lily.V1.ExcelModel.Types.Sheet> _repeated_sheets_codec
  103. = pb::FieldCodec.ForMessage(10, global::Palm.Lily.V1.ExcelModel.Types.Sheet.Parser);
  104. private readonly pbc::RepeatedField<global::Palm.Lily.V1.ExcelModel.Types.Sheet> sheets_ = new pbc::RepeatedField<global::Palm.Lily.V1.ExcelModel.Types.Sheet>();
  105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  106. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  107. public pbc::RepeatedField<global::Palm.Lily.V1.ExcelModel.Types.Sheet> Sheets {
  108. get { return sheets_; }
  109. }
  110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  111. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  112. public override bool Equals(object other) {
  113. return Equals(other as ExcelModel);
  114. }
  115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  116. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  117. public bool Equals(ExcelModel other) {
  118. if (ReferenceEquals(other, null)) {
  119. return false;
  120. }
  121. if (ReferenceEquals(other, this)) {
  122. return true;
  123. }
  124. if(!sheets_.Equals(other.sheets_)) return false;
  125. return Equals(_unknownFields, other._unknownFields);
  126. }
  127. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  128. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  129. public override int GetHashCode() {
  130. int hash = 1;
  131. hash ^= sheets_.GetHashCode();
  132. if (_unknownFields != null) {
  133. hash ^= _unknownFields.GetHashCode();
  134. }
  135. return hash;
  136. }
  137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  138. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  139. public override string ToString() {
  140. return pb::JsonFormatter.ToDiagnosticString(this);
  141. }
  142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  143. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  144. public void WriteTo(pb::CodedOutputStream output) {
  145. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  146. output.WriteRawMessage(this);
  147. #else
  148. sheets_.WriteTo(output, _repeated_sheets_codec);
  149. if (_unknownFields != null) {
  150. _unknownFields.WriteTo(output);
  151. }
  152. #endif
  153. }
  154. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  156. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  157. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  158. sheets_.WriteTo(ref output, _repeated_sheets_codec);
  159. if (_unknownFields != null) {
  160. _unknownFields.WriteTo(ref output);
  161. }
  162. }
  163. #endif
  164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  165. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  166. public int CalculateSize() {
  167. int size = 0;
  168. size += sheets_.CalculateSize(_repeated_sheets_codec);
  169. if (_unknownFields != null) {
  170. size += _unknownFields.CalculateSize();
  171. }
  172. return size;
  173. }
  174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  175. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  176. public void MergeFrom(ExcelModel other) {
  177. if (other == null) {
  178. return;
  179. }
  180. sheets_.Add(other.sheets_);
  181. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  182. }
  183. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  184. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  185. public void MergeFrom(pb::CodedInputStream input) {
  186. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  187. input.ReadRawMessage(this);
  188. #else
  189. uint tag;
  190. while ((tag = input.ReadTag()) != 0) {
  191. switch(tag) {
  192. default:
  193. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  194. break;
  195. case 10: {
  196. sheets_.AddEntriesFrom(input, _repeated_sheets_codec);
  197. break;
  198. }
  199. }
  200. }
  201. #endif
  202. }
  203. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  205. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  206. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  207. uint tag;
  208. while ((tag = input.ReadTag()) != 0) {
  209. switch(tag) {
  210. default:
  211. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  212. break;
  213. case 10: {
  214. sheets_.AddEntriesFrom(ref input, _repeated_sheets_codec);
  215. break;
  216. }
  217. }
  218. }
  219. }
  220. #endif
  221. #region Nested types
  222. /// <summary>Container for nested types declared in the ExcelModel message type.</summary>
  223. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  224. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  225. public static partial class Types {
  226. public sealed partial class Sheet : pb::IMessage<Sheet>
  227. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  228. , pb::IBufferMessage
  229. #endif
  230. {
  231. private static readonly pb::MessageParser<Sheet> _parser = new pb::MessageParser<Sheet>(() => new Sheet());
  232. private pb::UnknownFieldSet _unknownFields;
  233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  234. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  235. public static pb::MessageParser<Sheet> Parser { get { return _parser; } }
  236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  237. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  238. public static pbr::MessageDescriptor Descriptor {
  239. get { return global::Palm.Lily.V1.ExcelModel.Descriptor.NestedTypes[0]; }
  240. }
  241. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  242. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  243. pbr::MessageDescriptor pb::IMessage.Descriptor {
  244. get { return Descriptor; }
  245. }
  246. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  247. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  248. public Sheet() {
  249. OnConstruction();
  250. }
  251. partial void OnConstruction();
  252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  253. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  254. public Sheet(Sheet other) : this() {
  255. name_ = other.name_;
  256. cells_ = other.cells_.Clone();
  257. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  258. }
  259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  260. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  261. public Sheet Clone() {
  262. return new Sheet(this);
  263. }
  264. /// <summary>Field number for the "name" field.</summary>
  265. public const int NameFieldNumber = 1;
  266. private string name_ = "";
  267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  268. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  269. public string Name {
  270. get { return name_; }
  271. set {
  272. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  273. }
  274. }
  275. /// <summary>Field number for the "cells" field.</summary>
  276. public const int CellsFieldNumber = 2;
  277. private static readonly pb::FieldCodec<global::Palm.Lily.V1.ExcelModel.Types.Sheet.Types.Cell> _repeated_cells_codec
  278. = pb::FieldCodec.ForMessage(18, global::Palm.Lily.V1.ExcelModel.Types.Sheet.Types.Cell.Parser);
  279. private readonly pbc::RepeatedField<global::Palm.Lily.V1.ExcelModel.Types.Sheet.Types.Cell> cells_ = new pbc::RepeatedField<global::Palm.Lily.V1.ExcelModel.Types.Sheet.Types.Cell>();
  280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  281. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  282. public pbc::RepeatedField<global::Palm.Lily.V1.ExcelModel.Types.Sheet.Types.Cell> Cells {
  283. get { return cells_; }
  284. }
  285. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  286. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  287. public override bool Equals(object other) {
  288. return Equals(other as Sheet);
  289. }
  290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  291. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  292. public bool Equals(Sheet other) {
  293. if (ReferenceEquals(other, null)) {
  294. return false;
  295. }
  296. if (ReferenceEquals(other, this)) {
  297. return true;
  298. }
  299. if (Name != other.Name) return false;
  300. if(!cells_.Equals(other.cells_)) return false;
  301. return Equals(_unknownFields, other._unknownFields);
  302. }
  303. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  304. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  305. public override int GetHashCode() {
  306. int hash = 1;
  307. if (Name.Length != 0) hash ^= Name.GetHashCode();
  308. hash ^= cells_.GetHashCode();
  309. if (_unknownFields != null) {
  310. hash ^= _unknownFields.GetHashCode();
  311. }
  312. return hash;
  313. }
  314. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  315. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  316. public override string ToString() {
  317. return pb::JsonFormatter.ToDiagnosticString(this);
  318. }
  319. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  320. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  321. public void WriteTo(pb::CodedOutputStream output) {
  322. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  323. output.WriteRawMessage(this);
  324. #else
  325. if (Name.Length != 0) {
  326. output.WriteRawTag(10);
  327. output.WriteString(Name);
  328. }
  329. cells_.WriteTo(output, _repeated_cells_codec);
  330. if (_unknownFields != null) {
  331. _unknownFields.WriteTo(output);
  332. }
  333. #endif
  334. }
  335. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  336. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  337. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  338. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  339. if (Name.Length != 0) {
  340. output.WriteRawTag(10);
  341. output.WriteString(Name);
  342. }
  343. cells_.WriteTo(ref output, _repeated_cells_codec);
  344. if (_unknownFields != null) {
  345. _unknownFields.WriteTo(ref output);
  346. }
  347. }
  348. #endif
  349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  350. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  351. public int CalculateSize() {
  352. int size = 0;
  353. if (Name.Length != 0) {
  354. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  355. }
  356. size += cells_.CalculateSize(_repeated_cells_codec);
  357. if (_unknownFields != null) {
  358. size += _unknownFields.CalculateSize();
  359. }
  360. return size;
  361. }
  362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  363. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  364. public void MergeFrom(Sheet other) {
  365. if (other == null) {
  366. return;
  367. }
  368. if (other.Name.Length != 0) {
  369. Name = other.Name;
  370. }
  371. cells_.Add(other.cells_);
  372. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  373. }
  374. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  375. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  376. public void MergeFrom(pb::CodedInputStream input) {
  377. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  378. input.ReadRawMessage(this);
  379. #else
  380. uint tag;
  381. while ((tag = input.ReadTag()) != 0) {
  382. switch(tag) {
  383. default:
  384. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  385. break;
  386. case 10: {
  387. Name = input.ReadString();
  388. break;
  389. }
  390. case 18: {
  391. cells_.AddEntriesFrom(input, _repeated_cells_codec);
  392. break;
  393. }
  394. }
  395. }
  396. #endif
  397. }
  398. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  400. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  401. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  402. uint tag;
  403. while ((tag = input.ReadTag()) != 0) {
  404. switch(tag) {
  405. default:
  406. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  407. break;
  408. case 10: {
  409. Name = input.ReadString();
  410. break;
  411. }
  412. case 18: {
  413. cells_.AddEntriesFrom(ref input, _repeated_cells_codec);
  414. break;
  415. }
  416. }
  417. }
  418. }
  419. #endif
  420. #region Nested types
  421. /// <summary>Container for nested types declared in the Sheet message type.</summary>
  422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  423. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  424. public static partial class Types {
  425. public sealed partial class Cell : pb::IMessage<Cell>
  426. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  427. , pb::IBufferMessage
  428. #endif
  429. {
  430. private static readonly pb::MessageParser<Cell> _parser = new pb::MessageParser<Cell>(() => new Cell());
  431. private pb::UnknownFieldSet _unknownFields;
  432. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  433. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  434. public static pb::MessageParser<Cell> Parser { get { return _parser; } }
  435. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  436. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  437. public static pbr::MessageDescriptor Descriptor {
  438. get { return global::Palm.Lily.V1.ExcelModel.Types.Sheet.Descriptor.NestedTypes[0]; }
  439. }
  440. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  441. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  442. pbr::MessageDescriptor pb::IMessage.Descriptor {
  443. get { return Descriptor; }
  444. }
  445. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  446. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  447. public Cell() {
  448. OnConstruction();
  449. }
  450. partial void OnConstruction();
  451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  452. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  453. public Cell(Cell other) : this() {
  454. row_ = other.row_;
  455. col_ = other.col_;
  456. val_ = other.val_;
  457. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  458. }
  459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  460. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  461. public Cell Clone() {
  462. return new Cell(this);
  463. }
  464. /// <summary>Field number for the "row" field.</summary>
  465. public const int RowFieldNumber = 1;
  466. private uint row_;
  467. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  468. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  469. public uint Row {
  470. get { return row_; }
  471. set {
  472. row_ = value;
  473. }
  474. }
  475. /// <summary>Field number for the "col" field.</summary>
  476. public const int ColFieldNumber = 2;
  477. private uint col_;
  478. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  479. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  480. public uint Col {
  481. get { return col_; }
  482. set {
  483. col_ = value;
  484. }
  485. }
  486. /// <summary>Field number for the "val" field.</summary>
  487. public const int ValFieldNumber = 3;
  488. private string val_ = "";
  489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  490. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  491. public string Val {
  492. get { return val_; }
  493. set {
  494. val_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  495. }
  496. }
  497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  498. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  499. public override bool Equals(object other) {
  500. return Equals(other as Cell);
  501. }
  502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  503. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  504. public bool Equals(Cell other) {
  505. if (ReferenceEquals(other, null)) {
  506. return false;
  507. }
  508. if (ReferenceEquals(other, this)) {
  509. return true;
  510. }
  511. if (Row != other.Row) return false;
  512. if (Col != other.Col) return false;
  513. if (Val != other.Val) return false;
  514. return Equals(_unknownFields, other._unknownFields);
  515. }
  516. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  517. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  518. public override int GetHashCode() {
  519. int hash = 1;
  520. if (Row != 0) hash ^= Row.GetHashCode();
  521. if (Col != 0) hash ^= Col.GetHashCode();
  522. if (Val.Length != 0) hash ^= Val.GetHashCode();
  523. if (_unknownFields != null) {
  524. hash ^= _unknownFields.GetHashCode();
  525. }
  526. return hash;
  527. }
  528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  529. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  530. public override string ToString() {
  531. return pb::JsonFormatter.ToDiagnosticString(this);
  532. }
  533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  534. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  535. public void WriteTo(pb::CodedOutputStream output) {
  536. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  537. output.WriteRawMessage(this);
  538. #else
  539. if (Row != 0) {
  540. output.WriteRawTag(8);
  541. output.WriteUInt32(Row);
  542. }
  543. if (Col != 0) {
  544. output.WriteRawTag(16);
  545. output.WriteUInt32(Col);
  546. }
  547. if (Val.Length != 0) {
  548. output.WriteRawTag(26);
  549. output.WriteString(Val);
  550. }
  551. if (_unknownFields != null) {
  552. _unknownFields.WriteTo(output);
  553. }
  554. #endif
  555. }
  556. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  558. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  559. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  560. if (Row != 0) {
  561. output.WriteRawTag(8);
  562. output.WriteUInt32(Row);
  563. }
  564. if (Col != 0) {
  565. output.WriteRawTag(16);
  566. output.WriteUInt32(Col);
  567. }
  568. if (Val.Length != 0) {
  569. output.WriteRawTag(26);
  570. output.WriteString(Val);
  571. }
  572. if (_unknownFields != null) {
  573. _unknownFields.WriteTo(ref output);
  574. }
  575. }
  576. #endif
  577. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  578. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  579. public int CalculateSize() {
  580. int size = 0;
  581. if (Row != 0) {
  582. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Row);
  583. }
  584. if (Col != 0) {
  585. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Col);
  586. }
  587. if (Val.Length != 0) {
  588. size += 1 + pb::CodedOutputStream.ComputeStringSize(Val);
  589. }
  590. if (_unknownFields != null) {
  591. size += _unknownFields.CalculateSize();
  592. }
  593. return size;
  594. }
  595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  596. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  597. public void MergeFrom(Cell other) {
  598. if (other == null) {
  599. return;
  600. }
  601. if (other.Row != 0) {
  602. Row = other.Row;
  603. }
  604. if (other.Col != 0) {
  605. Col = other.Col;
  606. }
  607. if (other.Val.Length != 0) {
  608. Val = other.Val;
  609. }
  610. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  611. }
  612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  613. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  614. public void MergeFrom(pb::CodedInputStream input) {
  615. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  616. input.ReadRawMessage(this);
  617. #else
  618. uint tag;
  619. while ((tag = input.ReadTag()) != 0) {
  620. switch(tag) {
  621. default:
  622. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  623. break;
  624. case 8: {
  625. Row = input.ReadUInt32();
  626. break;
  627. }
  628. case 16: {
  629. Col = input.ReadUInt32();
  630. break;
  631. }
  632. case 26: {
  633. Val = input.ReadString();
  634. break;
  635. }
  636. }
  637. }
  638. #endif
  639. }
  640. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  642. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  643. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  644. uint tag;
  645. while ((tag = input.ReadTag()) != 0) {
  646. switch(tag) {
  647. default:
  648. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  649. break;
  650. case 8: {
  651. Row = input.ReadUInt32();
  652. break;
  653. }
  654. case 16: {
  655. Col = input.ReadUInt32();
  656. break;
  657. }
  658. case 26: {
  659. Val = input.ReadString();
  660. break;
  661. }
  662. }
  663. }
  664. }
  665. #endif
  666. }
  667. }
  668. #endregion
  669. }
  670. }
  671. #endregion
  672. }
  673. public sealed partial class S3File : pb::IMessage<S3File>
  674. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  675. , pb::IBufferMessage
  676. #endif
  677. {
  678. private static readonly pb::MessageParser<S3File> _parser = new pb::MessageParser<S3File>(() => new S3File());
  679. private pb::UnknownFieldSet _unknownFields;
  680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  681. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  682. public static pb::MessageParser<S3File> Parser { get { return _parser; } }
  683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  684. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  685. public static pbr::MessageDescriptor Descriptor {
  686. get { return global::Palm.Lily.V1.LilyReflection.Descriptor.MessageTypes[1]; }
  687. }
  688. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  689. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  690. pbr::MessageDescriptor pb::IMessage.Descriptor {
  691. get { return Descriptor; }
  692. }
  693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  694. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  695. public S3File() {
  696. OnConstruction();
  697. }
  698. partial void OnConstruction();
  699. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  700. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  701. public S3File(S3File other) : this() {
  702. bucket_ = other.bucket_;
  703. name_ = other.name_;
  704. contentType_ = other.contentType_;
  705. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  706. }
  707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  708. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  709. public S3File Clone() {
  710. return new S3File(this);
  711. }
  712. /// <summary>Field number for the "bucket" field.</summary>
  713. public const int BucketFieldNumber = 1;
  714. private string bucket_ = "";
  715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  716. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  717. public string Bucket {
  718. get { return bucket_; }
  719. set {
  720. bucket_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  721. }
  722. }
  723. /// <summary>Field number for the "name" field.</summary>
  724. public const int NameFieldNumber = 2;
  725. private string name_ = "";
  726. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  727. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  728. public string Name {
  729. get { return name_; }
  730. set {
  731. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  732. }
  733. }
  734. /// <summary>Field number for the "content_type" field.</summary>
  735. public const int ContentTypeFieldNumber = 9;
  736. private string contentType_ = "";
  737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  738. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  739. public string ContentType {
  740. get { return contentType_; }
  741. set {
  742. contentType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  743. }
  744. }
  745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  746. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  747. public override bool Equals(object other) {
  748. return Equals(other as S3File);
  749. }
  750. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  751. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  752. public bool Equals(S3File other) {
  753. if (ReferenceEquals(other, null)) {
  754. return false;
  755. }
  756. if (ReferenceEquals(other, this)) {
  757. return true;
  758. }
  759. if (Bucket != other.Bucket) return false;
  760. if (Name != other.Name) return false;
  761. if (ContentType != other.ContentType) return false;
  762. return Equals(_unknownFields, other._unknownFields);
  763. }
  764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  765. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  766. public override int GetHashCode() {
  767. int hash = 1;
  768. if (Bucket.Length != 0) hash ^= Bucket.GetHashCode();
  769. if (Name.Length != 0) hash ^= Name.GetHashCode();
  770. if (ContentType.Length != 0) hash ^= ContentType.GetHashCode();
  771. if (_unknownFields != null) {
  772. hash ^= _unknownFields.GetHashCode();
  773. }
  774. return hash;
  775. }
  776. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  777. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  778. public override string ToString() {
  779. return pb::JsonFormatter.ToDiagnosticString(this);
  780. }
  781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  782. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  783. public void WriteTo(pb::CodedOutputStream output) {
  784. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  785. output.WriteRawMessage(this);
  786. #else
  787. if (Bucket.Length != 0) {
  788. output.WriteRawTag(10);
  789. output.WriteString(Bucket);
  790. }
  791. if (Name.Length != 0) {
  792. output.WriteRawTag(18);
  793. output.WriteString(Name);
  794. }
  795. if (ContentType.Length != 0) {
  796. output.WriteRawTag(74);
  797. output.WriteString(ContentType);
  798. }
  799. if (_unknownFields != null) {
  800. _unknownFields.WriteTo(output);
  801. }
  802. #endif
  803. }
  804. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  805. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  806. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  807. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  808. if (Bucket.Length != 0) {
  809. output.WriteRawTag(10);
  810. output.WriteString(Bucket);
  811. }
  812. if (Name.Length != 0) {
  813. output.WriteRawTag(18);
  814. output.WriteString(Name);
  815. }
  816. if (ContentType.Length != 0) {
  817. output.WriteRawTag(74);
  818. output.WriteString(ContentType);
  819. }
  820. if (_unknownFields != null) {
  821. _unknownFields.WriteTo(ref output);
  822. }
  823. }
  824. #endif
  825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  826. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  827. public int CalculateSize() {
  828. int size = 0;
  829. if (Bucket.Length != 0) {
  830. size += 1 + pb::CodedOutputStream.ComputeStringSize(Bucket);
  831. }
  832. if (Name.Length != 0) {
  833. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  834. }
  835. if (ContentType.Length != 0) {
  836. size += 1 + pb::CodedOutputStream.ComputeStringSize(ContentType);
  837. }
  838. if (_unknownFields != null) {
  839. size += _unknownFields.CalculateSize();
  840. }
  841. return size;
  842. }
  843. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  844. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  845. public void MergeFrom(S3File other) {
  846. if (other == null) {
  847. return;
  848. }
  849. if (other.Bucket.Length != 0) {
  850. Bucket = other.Bucket;
  851. }
  852. if (other.Name.Length != 0) {
  853. Name = other.Name;
  854. }
  855. if (other.ContentType.Length != 0) {
  856. ContentType = other.ContentType;
  857. }
  858. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  859. }
  860. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  861. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  862. public void MergeFrom(pb::CodedInputStream input) {
  863. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  864. input.ReadRawMessage(this);
  865. #else
  866. uint tag;
  867. while ((tag = input.ReadTag()) != 0) {
  868. switch(tag) {
  869. default:
  870. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  871. break;
  872. case 10: {
  873. Bucket = input.ReadString();
  874. break;
  875. }
  876. case 18: {
  877. Name = input.ReadString();
  878. break;
  879. }
  880. case 74: {
  881. ContentType = input.ReadString();
  882. break;
  883. }
  884. }
  885. }
  886. #endif
  887. }
  888. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  890. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  891. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  892. uint tag;
  893. while ((tag = input.ReadTag()) != 0) {
  894. switch(tag) {
  895. default:
  896. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  897. break;
  898. case 10: {
  899. Bucket = input.ReadString();
  900. break;
  901. }
  902. case 18: {
  903. Name = input.ReadString();
  904. break;
  905. }
  906. case 74: {
  907. ContentType = input.ReadString();
  908. break;
  909. }
  910. }
  911. }
  912. }
  913. #endif
  914. }
  915. public sealed partial class S3GetFileRequest : pb::IMessage<S3GetFileRequest>
  916. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  917. , pb::IBufferMessage
  918. #endif
  919. {
  920. private static readonly pb::MessageParser<S3GetFileRequest> _parser = new pb::MessageParser<S3GetFileRequest>(() => new S3GetFileRequest());
  921. private pb::UnknownFieldSet _unknownFields;
  922. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  923. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  924. public static pb::MessageParser<S3GetFileRequest> Parser { get { return _parser; } }
  925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  926. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  927. public static pbr::MessageDescriptor Descriptor {
  928. get { return global::Palm.Lily.V1.LilyReflection.Descriptor.MessageTypes[2]; }
  929. }
  930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  931. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  932. pbr::MessageDescriptor pb::IMessage.Descriptor {
  933. get { return Descriptor; }
  934. }
  935. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  936. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  937. public S3GetFileRequest() {
  938. OnConstruction();
  939. }
  940. partial void OnConstruction();
  941. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  942. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  943. public S3GetFileRequest(S3GetFileRequest other) : this() {
  944. bucket_ = other.bucket_;
  945. name_ = other.name_;
  946. ttl_ = other.ttl_ != null ? other.ttl_.Clone() : null;
  947. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  948. }
  949. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  950. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  951. public S3GetFileRequest Clone() {
  952. return new S3GetFileRequest(this);
  953. }
  954. /// <summary>Field number for the "bucket" field.</summary>
  955. public const int BucketFieldNumber = 1;
  956. private string bucket_ = "";
  957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  958. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  959. public string Bucket {
  960. get { return bucket_; }
  961. set {
  962. bucket_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  963. }
  964. }
  965. /// <summary>Field number for the "name" field.</summary>
  966. public const int NameFieldNumber = 2;
  967. private string name_ = "";
  968. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  969. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  970. public string Name {
  971. get { return name_; }
  972. set {
  973. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  974. }
  975. }
  976. /// <summary>Field number for the "ttl" field.</summary>
  977. public const int TtlFieldNumber = 9;
  978. private global::Google.Protobuf.WellKnownTypes.Duration ttl_;
  979. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  980. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  981. public global::Google.Protobuf.WellKnownTypes.Duration Ttl {
  982. get { return ttl_; }
  983. set {
  984. ttl_ = value;
  985. }
  986. }
  987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  988. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  989. public override bool Equals(object other) {
  990. return Equals(other as S3GetFileRequest);
  991. }
  992. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  993. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  994. public bool Equals(S3GetFileRequest other) {
  995. if (ReferenceEquals(other, null)) {
  996. return false;
  997. }
  998. if (ReferenceEquals(other, this)) {
  999. return true;
  1000. }
  1001. if (Bucket != other.Bucket) return false;
  1002. if (Name != other.Name) return false;
  1003. if (!object.Equals(Ttl, other.Ttl)) return false;
  1004. return Equals(_unknownFields, other._unknownFields);
  1005. }
  1006. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1007. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1008. public override int GetHashCode() {
  1009. int hash = 1;
  1010. if (Bucket.Length != 0) hash ^= Bucket.GetHashCode();
  1011. if (Name.Length != 0) hash ^= Name.GetHashCode();
  1012. if (ttl_ != null) hash ^= Ttl.GetHashCode();
  1013. if (_unknownFields != null) {
  1014. hash ^= _unknownFields.GetHashCode();
  1015. }
  1016. return hash;
  1017. }
  1018. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1019. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1020. public override string ToString() {
  1021. return pb::JsonFormatter.ToDiagnosticString(this);
  1022. }
  1023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1024. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1025. public void WriteTo(pb::CodedOutputStream output) {
  1026. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1027. output.WriteRawMessage(this);
  1028. #else
  1029. if (Bucket.Length != 0) {
  1030. output.WriteRawTag(10);
  1031. output.WriteString(Bucket);
  1032. }
  1033. if (Name.Length != 0) {
  1034. output.WriteRawTag(18);
  1035. output.WriteString(Name);
  1036. }
  1037. if (ttl_ != null) {
  1038. output.WriteRawTag(74);
  1039. output.WriteMessage(Ttl);
  1040. }
  1041. if (_unknownFields != null) {
  1042. _unknownFields.WriteTo(output);
  1043. }
  1044. #endif
  1045. }
  1046. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1047. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1048. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1049. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1050. if (Bucket.Length != 0) {
  1051. output.WriteRawTag(10);
  1052. output.WriteString(Bucket);
  1053. }
  1054. if (Name.Length != 0) {
  1055. output.WriteRawTag(18);
  1056. output.WriteString(Name);
  1057. }
  1058. if (ttl_ != null) {
  1059. output.WriteRawTag(74);
  1060. output.WriteMessage(Ttl);
  1061. }
  1062. if (_unknownFields != null) {
  1063. _unknownFields.WriteTo(ref output);
  1064. }
  1065. }
  1066. #endif
  1067. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1068. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1069. public int CalculateSize() {
  1070. int size = 0;
  1071. if (Bucket.Length != 0) {
  1072. size += 1 + pb::CodedOutputStream.ComputeStringSize(Bucket);
  1073. }
  1074. if (Name.Length != 0) {
  1075. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  1076. }
  1077. if (ttl_ != null) {
  1078. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ttl);
  1079. }
  1080. if (_unknownFields != null) {
  1081. size += _unknownFields.CalculateSize();
  1082. }
  1083. return size;
  1084. }
  1085. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1086. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1087. public void MergeFrom(S3GetFileRequest other) {
  1088. if (other == null) {
  1089. return;
  1090. }
  1091. if (other.Bucket.Length != 0) {
  1092. Bucket = other.Bucket;
  1093. }
  1094. if (other.Name.Length != 0) {
  1095. Name = other.Name;
  1096. }
  1097. if (other.ttl_ != null) {
  1098. if (ttl_ == null) {
  1099. Ttl = new global::Google.Protobuf.WellKnownTypes.Duration();
  1100. }
  1101. Ttl.MergeFrom(other.Ttl);
  1102. }
  1103. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1104. }
  1105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1106. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1107. public void MergeFrom(pb::CodedInputStream input) {
  1108. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1109. input.ReadRawMessage(this);
  1110. #else
  1111. uint tag;
  1112. while ((tag = input.ReadTag()) != 0) {
  1113. switch(tag) {
  1114. default:
  1115. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1116. break;
  1117. case 10: {
  1118. Bucket = input.ReadString();
  1119. break;
  1120. }
  1121. case 18: {
  1122. Name = input.ReadString();
  1123. break;
  1124. }
  1125. case 74: {
  1126. if (ttl_ == null) {
  1127. Ttl = new global::Google.Protobuf.WellKnownTypes.Duration();
  1128. }
  1129. input.ReadMessage(Ttl);
  1130. break;
  1131. }
  1132. }
  1133. }
  1134. #endif
  1135. }
  1136. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1138. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1139. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1140. uint tag;
  1141. while ((tag = input.ReadTag()) != 0) {
  1142. switch(tag) {
  1143. default:
  1144. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1145. break;
  1146. case 10: {
  1147. Bucket = input.ReadString();
  1148. break;
  1149. }
  1150. case 18: {
  1151. Name = input.ReadString();
  1152. break;
  1153. }
  1154. case 74: {
  1155. if (ttl_ == null) {
  1156. Ttl = new global::Google.Protobuf.WellKnownTypes.Duration();
  1157. }
  1158. input.ReadMessage(Ttl);
  1159. break;
  1160. }
  1161. }
  1162. }
  1163. }
  1164. #endif
  1165. }
  1166. public sealed partial class S3GetFileResponse : pb::IMessage<S3GetFileResponse>
  1167. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1168. , pb::IBufferMessage
  1169. #endif
  1170. {
  1171. private static readonly pb::MessageParser<S3GetFileResponse> _parser = new pb::MessageParser<S3GetFileResponse>(() => new S3GetFileResponse());
  1172. private pb::UnknownFieldSet _unknownFields;
  1173. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1174. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1175. public static pb::MessageParser<S3GetFileResponse> Parser { get { return _parser; } }
  1176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1177. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1178. public static pbr::MessageDescriptor Descriptor {
  1179. get { return global::Palm.Lily.V1.LilyReflection.Descriptor.MessageTypes[3]; }
  1180. }
  1181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1182. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1183. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1184. get { return Descriptor; }
  1185. }
  1186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1187. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1188. public S3GetFileResponse() {
  1189. OnConstruction();
  1190. }
  1191. partial void OnConstruction();
  1192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1193. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1194. public S3GetFileResponse(S3GetFileResponse other) : this() {
  1195. url_ = other.url_;
  1196. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1197. }
  1198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1199. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1200. public S3GetFileResponse Clone() {
  1201. return new S3GetFileResponse(this);
  1202. }
  1203. /// <summary>Field number for the "url" field.</summary>
  1204. public const int UrlFieldNumber = 1;
  1205. private string url_ = "";
  1206. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1207. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1208. public string Url {
  1209. get { return url_; }
  1210. set {
  1211. url_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1212. }
  1213. }
  1214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1215. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1216. public override bool Equals(object other) {
  1217. return Equals(other as S3GetFileResponse);
  1218. }
  1219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1220. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1221. public bool Equals(S3GetFileResponse other) {
  1222. if (ReferenceEquals(other, null)) {
  1223. return false;
  1224. }
  1225. if (ReferenceEquals(other, this)) {
  1226. return true;
  1227. }
  1228. if (Url != other.Url) return false;
  1229. return Equals(_unknownFields, other._unknownFields);
  1230. }
  1231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1232. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1233. public override int GetHashCode() {
  1234. int hash = 1;
  1235. if (Url.Length != 0) hash ^= Url.GetHashCode();
  1236. if (_unknownFields != null) {
  1237. hash ^= _unknownFields.GetHashCode();
  1238. }
  1239. return hash;
  1240. }
  1241. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1242. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1243. public override string ToString() {
  1244. return pb::JsonFormatter.ToDiagnosticString(this);
  1245. }
  1246. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1247. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1248. public void WriteTo(pb::CodedOutputStream output) {
  1249. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1250. output.WriteRawMessage(this);
  1251. #else
  1252. if (Url.Length != 0) {
  1253. output.WriteRawTag(10);
  1254. output.WriteString(Url);
  1255. }
  1256. if (_unknownFields != null) {
  1257. _unknownFields.WriteTo(output);
  1258. }
  1259. #endif
  1260. }
  1261. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1263. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1264. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1265. if (Url.Length != 0) {
  1266. output.WriteRawTag(10);
  1267. output.WriteString(Url);
  1268. }
  1269. if (_unknownFields != null) {
  1270. _unknownFields.WriteTo(ref output);
  1271. }
  1272. }
  1273. #endif
  1274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1275. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1276. public int CalculateSize() {
  1277. int size = 0;
  1278. if (Url.Length != 0) {
  1279. size += 1 + pb::CodedOutputStream.ComputeStringSize(Url);
  1280. }
  1281. if (_unknownFields != null) {
  1282. size += _unknownFields.CalculateSize();
  1283. }
  1284. return size;
  1285. }
  1286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1287. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1288. public void MergeFrom(S3GetFileResponse other) {
  1289. if (other == null) {
  1290. return;
  1291. }
  1292. if (other.Url.Length != 0) {
  1293. Url = other.Url;
  1294. }
  1295. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1296. }
  1297. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1298. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1299. public void MergeFrom(pb::CodedInputStream input) {
  1300. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1301. input.ReadRawMessage(this);
  1302. #else
  1303. uint tag;
  1304. while ((tag = input.ReadTag()) != 0) {
  1305. switch(tag) {
  1306. default:
  1307. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1308. break;
  1309. case 10: {
  1310. Url = input.ReadString();
  1311. break;
  1312. }
  1313. }
  1314. }
  1315. #endif
  1316. }
  1317. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1318. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1319. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1320. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1321. uint tag;
  1322. while ((tag = input.ReadTag()) != 0) {
  1323. switch(tag) {
  1324. default:
  1325. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1326. break;
  1327. case 10: {
  1328. Url = input.ReadString();
  1329. break;
  1330. }
  1331. }
  1332. }
  1333. }
  1334. #endif
  1335. }
  1336. public sealed partial class TexToRequest : pb::IMessage<TexToRequest>
  1337. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1338. , pb::IBufferMessage
  1339. #endif
  1340. {
  1341. private static readonly pb::MessageParser<TexToRequest> _parser = new pb::MessageParser<TexToRequest>(() => new TexToRequest());
  1342. private pb::UnknownFieldSet _unknownFields;
  1343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1344. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1345. public static pb::MessageParser<TexToRequest> Parser { get { return _parser; } }
  1346. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1347. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1348. public static pbr::MessageDescriptor Descriptor {
  1349. get { return global::Palm.Lily.V1.LilyReflection.Descriptor.MessageTypes[4]; }
  1350. }
  1351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1352. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1353. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1354. get { return Descriptor; }
  1355. }
  1356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1357. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1358. public TexToRequest() {
  1359. OnConstruction();
  1360. }
  1361. partial void OnConstruction();
  1362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1363. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1364. public TexToRequest(TexToRequest other) : this() {
  1365. title_ = other.title_;
  1366. files_ = other.files_.Clone();
  1367. ttl_ = other.ttl_ != null ? other.ttl_.Clone() : null;
  1368. owner_ = other.owner_;
  1369. published_ = other.published_;
  1370. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1371. }
  1372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1373. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1374. public TexToRequest Clone() {
  1375. return new TexToRequest(this);
  1376. }
  1377. /// <summary>Field number for the "title" field.</summary>
  1378. public const int TitleFieldNumber = 1;
  1379. private string title_ = "";
  1380. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1381. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1382. public string Title {
  1383. get { return title_; }
  1384. set {
  1385. title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1386. }
  1387. }
  1388. /// <summary>Field number for the "files" field.</summary>
  1389. public const int FilesFieldNumber = 2;
  1390. private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_files_codec
  1391. = new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForBytes(18, pb::ByteString.Empty), 18);
  1392. private readonly pbc::MapField<string, pb::ByteString> files_ = new pbc::MapField<string, pb::ByteString>();
  1393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1394. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1395. public pbc::MapField<string, pb::ByteString> Files {
  1396. get { return files_; }
  1397. }
  1398. /// <summary>Field number for the "ttl" field.</summary>
  1399. public const int TtlFieldNumber = 7;
  1400. private global::Google.Protobuf.WellKnownTypes.Duration ttl_;
  1401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1402. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1403. public global::Google.Protobuf.WellKnownTypes.Duration Ttl {
  1404. get { return ttl_; }
  1405. set {
  1406. ttl_ = value;
  1407. }
  1408. }
  1409. /// <summary>Field number for the "owner" field.</summary>
  1410. public const int OwnerFieldNumber = 8;
  1411. private readonly static string OwnerDefaultValue = "";
  1412. private string owner_;
  1413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1414. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1415. public string Owner {
  1416. get { return owner_ ?? OwnerDefaultValue; }
  1417. set {
  1418. owner_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1419. }
  1420. }
  1421. /// <summary>Gets whether the "owner" field is set</summary>
  1422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1423. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1424. public bool HasOwner {
  1425. get { return owner_ != null; }
  1426. }
  1427. /// <summary>Clears the value of the "owner" field</summary>
  1428. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1429. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1430. public void ClearOwner() {
  1431. owner_ = null;
  1432. }
  1433. /// <summary>Field number for the "published" field.</summary>
  1434. public const int PublishedFieldNumber = 9;
  1435. private bool published_;
  1436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1437. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1438. public bool Published {
  1439. get { return published_; }
  1440. set {
  1441. published_ = value;
  1442. }
  1443. }
  1444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1445. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1446. public override bool Equals(object other) {
  1447. return Equals(other as TexToRequest);
  1448. }
  1449. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1450. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1451. public bool Equals(TexToRequest other) {
  1452. if (ReferenceEquals(other, null)) {
  1453. return false;
  1454. }
  1455. if (ReferenceEquals(other, this)) {
  1456. return true;
  1457. }
  1458. if (Title != other.Title) return false;
  1459. if (!Files.Equals(other.Files)) return false;
  1460. if (!object.Equals(Ttl, other.Ttl)) return false;
  1461. if (Owner != other.Owner) return false;
  1462. if (Published != other.Published) return false;
  1463. return Equals(_unknownFields, other._unknownFields);
  1464. }
  1465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1466. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1467. public override int GetHashCode() {
  1468. int hash = 1;
  1469. if (Title.Length != 0) hash ^= Title.GetHashCode();
  1470. hash ^= Files.GetHashCode();
  1471. if (ttl_ != null) hash ^= Ttl.GetHashCode();
  1472. if (HasOwner) hash ^= Owner.GetHashCode();
  1473. if (Published != false) hash ^= Published.GetHashCode();
  1474. if (_unknownFields != null) {
  1475. hash ^= _unknownFields.GetHashCode();
  1476. }
  1477. return hash;
  1478. }
  1479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1480. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1481. public override string ToString() {
  1482. return pb::JsonFormatter.ToDiagnosticString(this);
  1483. }
  1484. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1485. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1486. public void WriteTo(pb::CodedOutputStream output) {
  1487. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1488. output.WriteRawMessage(this);
  1489. #else
  1490. if (Title.Length != 0) {
  1491. output.WriteRawTag(10);
  1492. output.WriteString(Title);
  1493. }
  1494. files_.WriteTo(output, _map_files_codec);
  1495. if (ttl_ != null) {
  1496. output.WriteRawTag(58);
  1497. output.WriteMessage(Ttl);
  1498. }
  1499. if (HasOwner) {
  1500. output.WriteRawTag(66);
  1501. output.WriteString(Owner);
  1502. }
  1503. if (Published != false) {
  1504. output.WriteRawTag(72);
  1505. output.WriteBool(Published);
  1506. }
  1507. if (_unknownFields != null) {
  1508. _unknownFields.WriteTo(output);
  1509. }
  1510. #endif
  1511. }
  1512. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1514. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1515. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1516. if (Title.Length != 0) {
  1517. output.WriteRawTag(10);
  1518. output.WriteString(Title);
  1519. }
  1520. files_.WriteTo(ref output, _map_files_codec);
  1521. if (ttl_ != null) {
  1522. output.WriteRawTag(58);
  1523. output.WriteMessage(Ttl);
  1524. }
  1525. if (HasOwner) {
  1526. output.WriteRawTag(66);
  1527. output.WriteString(Owner);
  1528. }
  1529. if (Published != false) {
  1530. output.WriteRawTag(72);
  1531. output.WriteBool(Published);
  1532. }
  1533. if (_unknownFields != null) {
  1534. _unknownFields.WriteTo(ref output);
  1535. }
  1536. }
  1537. #endif
  1538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1539. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1540. public int CalculateSize() {
  1541. int size = 0;
  1542. if (Title.Length != 0) {
  1543. size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
  1544. }
  1545. size += files_.CalculateSize(_map_files_codec);
  1546. if (ttl_ != null) {
  1547. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ttl);
  1548. }
  1549. if (HasOwner) {
  1550. size += 1 + pb::CodedOutputStream.ComputeStringSize(Owner);
  1551. }
  1552. if (Published != false) {
  1553. size += 1 + 1;
  1554. }
  1555. if (_unknownFields != null) {
  1556. size += _unknownFields.CalculateSize();
  1557. }
  1558. return size;
  1559. }
  1560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1561. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1562. public void MergeFrom(TexToRequest other) {
  1563. if (other == null) {
  1564. return;
  1565. }
  1566. if (other.Title.Length != 0) {
  1567. Title = other.Title;
  1568. }
  1569. files_.MergeFrom(other.files_);
  1570. if (other.ttl_ != null) {
  1571. if (ttl_ == null) {
  1572. Ttl = new global::Google.Protobuf.WellKnownTypes.Duration();
  1573. }
  1574. Ttl.MergeFrom(other.Ttl);
  1575. }
  1576. if (other.HasOwner) {
  1577. Owner = other.Owner;
  1578. }
  1579. if (other.Published != false) {
  1580. Published = other.Published;
  1581. }
  1582. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1583. }
  1584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1585. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1586. public void MergeFrom(pb::CodedInputStream input) {
  1587. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1588. input.ReadRawMessage(this);
  1589. #else
  1590. uint tag;
  1591. while ((tag = input.ReadTag()) != 0) {
  1592. switch(tag) {
  1593. default:
  1594. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1595. break;
  1596. case 10: {
  1597. Title = input.ReadString();
  1598. break;
  1599. }
  1600. case 18: {
  1601. files_.AddEntriesFrom(input, _map_files_codec);
  1602. break;
  1603. }
  1604. case 58: {
  1605. if (ttl_ == null) {
  1606. Ttl = new global::Google.Protobuf.WellKnownTypes.Duration();
  1607. }
  1608. input.ReadMessage(Ttl);
  1609. break;
  1610. }
  1611. case 66: {
  1612. Owner = input.ReadString();
  1613. break;
  1614. }
  1615. case 72: {
  1616. Published = input.ReadBool();
  1617. break;
  1618. }
  1619. }
  1620. }
  1621. #endif
  1622. }
  1623. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1625. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1626. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1627. uint tag;
  1628. while ((tag = input.ReadTag()) != 0) {
  1629. switch(tag) {
  1630. default:
  1631. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1632. break;
  1633. case 10: {
  1634. Title = input.ReadString();
  1635. break;
  1636. }
  1637. case 18: {
  1638. files_.AddEntriesFrom(ref input, _map_files_codec);
  1639. break;
  1640. }
  1641. case 58: {
  1642. if (ttl_ == null) {
  1643. Ttl = new global::Google.Protobuf.WellKnownTypes.Duration();
  1644. }
  1645. input.ReadMessage(Ttl);
  1646. break;
  1647. }
  1648. case 66: {
  1649. Owner = input.ReadString();
  1650. break;
  1651. }
  1652. case 72: {
  1653. Published = input.ReadBool();
  1654. break;
  1655. }
  1656. }
  1657. }
  1658. }
  1659. #endif
  1660. }
  1661. public sealed partial class EpubBuildRequest : pb::IMessage<EpubBuildRequest>
  1662. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1663. , pb::IBufferMessage
  1664. #endif
  1665. {
  1666. private static readonly pb::MessageParser<EpubBuildRequest> _parser = new pb::MessageParser<EpubBuildRequest>(() => new EpubBuildRequest());
  1667. private pb::UnknownFieldSet _unknownFields;
  1668. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1669. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1670. public static pb::MessageParser<EpubBuildRequest> Parser { get { return _parser; } }
  1671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1672. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1673. public static pbr::MessageDescriptor Descriptor {
  1674. get { return global::Palm.Lily.V1.LilyReflection.Descriptor.MessageTypes[5]; }
  1675. }
  1676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1677. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1678. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1679. get { return Descriptor; }
  1680. }
  1681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1682. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1683. public EpubBuildRequest() {
  1684. OnConstruction();
  1685. }
  1686. partial void OnConstruction();
  1687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1688. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1689. public EpubBuildRequest(EpubBuildRequest other) : this() {
  1690. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1691. }
  1692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1693. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1694. public EpubBuildRequest Clone() {
  1695. return new EpubBuildRequest(this);
  1696. }
  1697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1698. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1699. public override bool Equals(object other) {
  1700. return Equals(other as EpubBuildRequest);
  1701. }
  1702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1703. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1704. public bool Equals(EpubBuildRequest other) {
  1705. if (ReferenceEquals(other, null)) {
  1706. return false;
  1707. }
  1708. if (ReferenceEquals(other, this)) {
  1709. return true;
  1710. }
  1711. return Equals(_unknownFields, other._unknownFields);
  1712. }
  1713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1714. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1715. public override int GetHashCode() {
  1716. int hash = 1;
  1717. if (_unknownFields != null) {
  1718. hash ^= _unknownFields.GetHashCode();
  1719. }
  1720. return hash;
  1721. }
  1722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1723. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1724. public override string ToString() {
  1725. return pb::JsonFormatter.ToDiagnosticString(this);
  1726. }
  1727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1728. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1729. public void WriteTo(pb::CodedOutputStream output) {
  1730. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1731. output.WriteRawMessage(this);
  1732. #else
  1733. if (_unknownFields != null) {
  1734. _unknownFields.WriteTo(output);
  1735. }
  1736. #endif
  1737. }
  1738. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1740. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1741. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1742. if (_unknownFields != null) {
  1743. _unknownFields.WriteTo(ref output);
  1744. }
  1745. }
  1746. #endif
  1747. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1748. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1749. public int CalculateSize() {
  1750. int size = 0;
  1751. if (_unknownFields != null) {
  1752. size += _unknownFields.CalculateSize();
  1753. }
  1754. return size;
  1755. }
  1756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1757. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1758. public void MergeFrom(EpubBuildRequest other) {
  1759. if (other == null) {
  1760. return;
  1761. }
  1762. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1763. }
  1764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1765. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1766. public void MergeFrom(pb::CodedInputStream input) {
  1767. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1768. input.ReadRawMessage(this);
  1769. #else
  1770. uint tag;
  1771. while ((tag = input.ReadTag()) != 0) {
  1772. switch(tag) {
  1773. default:
  1774. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1775. break;
  1776. }
  1777. }
  1778. #endif
  1779. }
  1780. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1782. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1783. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1784. uint tag;
  1785. while ((tag = input.ReadTag()) != 0) {
  1786. switch(tag) {
  1787. default:
  1788. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1789. break;
  1790. }
  1791. }
  1792. }
  1793. #endif
  1794. }
  1795. #endregion
  1796. }
  1797. #endregion Designer generated code