From a916a3acf90952ae821857011c09571af0d7efae Mon Sep 17 00:00:00 2001 From: Nikolaus Fridau Date: Wed, 28 Jan 2026 07:34:18 +0100 Subject: [PATCH] APOLLO-249: add uuid to all remaining document elements wip APOLLO-248: add uuid to table elements wip As discussed with LJ - remove proto and span UUID for lower output size Regenerate after rebase --- build/Docframe.cs | 2058 +- build/Docframe.d.ts | 1746 +- build/Docframe.js | 20700 ++++++---------- build/docframe.proto | 20 + docframepb/docframe.pb.go | 247 +- package.json | 2 +- ...documentelements.adjust_horizontally.proto | 1 + .../documentelements.apply_cdef.proto | 1 + .../documentelements.apply_pdef.proto | 1 + .../documentelements.apply_pt_config.proto | 1 + .../documentelements.apply_ul_config.proto | 1 + .../documentelements.carry_over.proto | 1 + .../documentelements.color_def.proto | 1 + .../documentelements.footer.proto | 2 +- .../documentelements.formatted.proto | 1 + .../documentelements.layout.proto | 1 + .../documentelements.link.proto | 1 + .../documentelements.list_setting.proto | 1 + .../documentelements.paragraph_format.proto | 1 + .../documentelements.rule.proto | 1 + .../documentelements.space_vertically.proto | 1 + .../documentelements.sub_total.proto | 1 + .../documentelements.table.proto | 4 + .../documentelements.ws_area.proto | 1 + 24 files changed, 9803 insertions(+), 14992 deletions(-) diff --git a/build/Docframe.cs b/build/Docframe.cs index 8c0699b..b868e98 100644 --- a/build/Docframe.cs +++ b/build/Docframe.cs @@ -124,653 +124,659 @@ static DocframeReflection() { "Y29tQ2hhbm5lbFVVSURzGAIgAygJIoYBChpQcm90b0JyYW5jaERvY3VtZW50", "RWxlbWVudBIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxl", "bWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIX", - "Cg9jb21DaGFubmVsVVVJRHMYAyADKAkiwwEKCVByb3RvTGluaxIoCglfY2hp", + "Cg9jb21DaGFubmVsVVVJRHMYAyADKAki0QEKCVByb3RvTGluaxIoCglfY2hp", "bGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBILCgN1cmwYAiAB", "KAkSFwoPY29tQ2hhbm5lbFVVSURzGAMgAygJEhsKE3BhcmFncmFwaEZvcm1h", "dFVVSUQYBCABKAkSIwobcGFyYWdyYXBoRm9ybWF0SW50ZXJuYWxOYW1lGAUg", - "ASgJEg8KB3VybENvZGUYBiABKAkSEwoLYmluZFVybENvZGUYByABKAgi1QMK", - "FVByb3RvTGlzdExldmVsU2V0dGluZxIXCg9saXN0U2V0dGluZ05hbWUYASAB", - "KAkSIwoIZm9udFNpemUYAiABKAsyES5Qcm90b0JveGVkVWludDMyEigKBHR5", - "cGUYAyABKA4yGi5Qcm90b0xpc3RMZXZlbFNldHRpbmdUeXBlEg0KBWxldmVs", - "GAQgASgFEg4KBnByZWZpeBgFIAEoCRIOCgZzdWZmaXgYBiABKAkSIQoNZml4", - "Rm9udEZhbWlseRgHIAEoCzIKLlByb3RvRm9udBIPCgdmaXhCb2xkGAggASgI", - "EhEKCWZpeEl0YWxpYxgJIAEoCBIWCg5pbmRlbnRpb25XaWR0aBgKIAEoBRIa", - "CgVjb2xvchgLIAEoCzILLlByb3RvQ29sb3ISEQoJaW1hZ2VOYW1lGAwgASgJ", - "Eh4KCmZvbnRGYW1pbHkYDSABKAsyCi5Qcm90b0ZvbnQSHQoEYm9sZBgOIAEo", - "CzIPLlByb3RvQm94ZWRCb29sEh8KBml0YWxpYxgPIAEoCzIPLlByb3RvQm94", - "ZWRCb29sEiQKCm51bWJlclR5cGUYECABKA4yEC5Qcm90b051bWJlclR5cGUS", - "EQoJY2hhcmFjdGVyGBEgASgJIsECChpQcm90b0ltYWdlTGlzdExldmVsU2V0", - "dGluZxIXCg9saXN0U2V0dGluZ05hbWUYASABKAkSIwoIZm9udFNpemUYAiAB", - "KAsyES5Qcm90b0JveGVkVWludDMyEigKBHR5cGUYAyABKA4yGi5Qcm90b0xp", - "c3RMZXZlbFNldHRpbmdUeXBlEg0KBWxldmVsGAQgASgFEg4KBnByZWZpeBgF", - "IAEoCRIOCgZzdWZmaXgYBiABKAkSIQoNZml4Rm9udEZhbWlseRgHIAEoCzIK", - "LlByb3RvRm9udBIPCgdmaXhCb2xkGAggASgIEhEKCWZpeEl0YWxpYxgJIAEo", - "CBIWCg5pbmRlbnRpb25XaWR0aBgKIAEoBRIaCgVjb2xvchgLIAEoCzILLlBy", - "b3RvQ29sb3ISEQoJaW1hZ2VOYW1lGAwgASgJIo0DChlQcm90b1RleHRMaXN0", - "TGV2ZWxTZXR0aW5nEhcKD2xpc3RTZXR0aW5nTmFtZRgBIAEoCRIjCghmb250", - "U2l6ZRgCIAEoCzIRLlByb3RvQm94ZWRVaW50MzISKAoEdHlwZRgDIAEoDjIa", - "LlByb3RvTGlzdExldmVsU2V0dGluZ1R5cGUSDQoFbGV2ZWwYBCABKAUSDgoG", - "cHJlZml4GAUgASgJEg4KBnN1ZmZpeBgGIAEoCRIhCg1maXhGb250RmFtaWx5", - "GAcgASgLMgouUHJvdG9Gb250Eg8KB2ZpeEJvbGQYCCABKAgSEQoJZml4SXRh", - "bGljGAkgASgIEhYKDmluZGVudGlvbldpZHRoGAogASgFEhoKBWNvbG9yGAsg", - "ASgLMgsuUHJvdG9Db2xvchIeCgpmb250RmFtaWx5GAwgASgLMgouUHJvdG9G", - "b250Eh0KBGJvbGQYDSABKAsyDy5Qcm90b0JveGVkQm9vbBIfCgZpdGFsaWMY", - "DiABKAsyDy5Qcm90b0JveGVkQm9vbCK1AwobUHJvdG9OdW1iZXJMaXN0TGV2", - "ZWxTZXR0aW5nEhcKD2xpc3RTZXR0aW5nTmFtZRgBIAEoCRIjCghmb250U2l6", - "ZRgCIAEoCzIRLlByb3RvQm94ZWRVaW50MzISKAoEdHlwZRgDIAEoDjIaLlBy", - "b3RvTGlzdExldmVsU2V0dGluZ1R5cGUSDQoFbGV2ZWwYBCABKAUSDgoGcHJl", - "Zml4GAUgASgJEg4KBnN1ZmZpeBgGIAEoCRIhCg1maXhGb250RmFtaWx5GAcg", - "ASgLMgouUHJvdG9Gb250Eg8KB2ZpeEJvbGQYCCABKAgSEQoJZml4SXRhbGlj", - "GAkgASgIEhYKDmluZGVudGlvbldpZHRoGAogASgFEhoKBWNvbG9yGAsgASgL", - "MgsuUHJvdG9Db2xvchIeCgpmb250RmFtaWx5GAwgASgLMgouUHJvdG9Gb250", - "Eh0KBGJvbGQYDSABKAsyDy5Qcm90b0JveGVkQm9vbBIfCgZpdGFsaWMYDiAB", - "KAsyDy5Qcm90b0JveGVkQm9vbBIkCgpudW1iZXJUeXBlGA8gASgOMhAuUHJv", - "dG9OdW1iZXJUeXBlIqYDCh9Qcm90b1VubnVtYmVyZWRMaXN0TGV2ZWxTZXR0", - "aW5nEhcKD2xpc3RTZXR0aW5nTmFtZRgBIAEoCRIjCghmb250U2l6ZRgCIAEo", - "CzIRLlByb3RvQm94ZWRVaW50MzISKAoEdHlwZRgDIAEoDjIaLlByb3RvTGlz", - "dExldmVsU2V0dGluZ1R5cGUSDQoFbGV2ZWwYBCABKAUSDgoGcHJlZml4GAUg", - "ASgJEg4KBnN1ZmZpeBgGIAEoCRIhCg1maXhGb250RmFtaWx5GAcgASgLMgou", - "UHJvdG9Gb250Eg8KB2ZpeEJvbGQYCCABKAgSEQoJZml4SXRhbGljGAkgASgI", - "EhYKDmluZGVudGlvbldpZHRoGAogASgFEhoKBWNvbG9yGAsgASgLMgsuUHJv", - "dG9Db2xvchIeCgpmb250RmFtaWx5GAwgASgLMgouUHJvdG9Gb250Eh0KBGJv", - "bGQYDSABKAsyDy5Qcm90b0JveGVkQm9vbBIfCgZpdGFsaWMYDiABKAsyDy5Q", - "cm90b0JveGVkQm9vbBIRCgljaGFyYWN0ZXIYDyABKAkizAEKEFByb3RvTGlz", - "dFNldHRpbmcSJQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1l", - "bnQSDAoEbmFtZRgCIAEoCRIxChFsaXN0TGV2ZWxTZXR0aW5ncxgDIAMoCzIW", - "LlByb3RvTGlzdExldmVsU2V0dGluZxI3ChdkZWZhdWx0TGlzdExldmVsU2V0", - "dGluZxgEIAEoCzIWLlByb3RvTGlzdExldmVsU2V0dGluZxIXCg9jb21DaGFu", - "bmVsVVVJRHMYBSADKAkiSQoVUHJvdG9Cb3hlZExpc3RTZXR0aW5nEiAKBXZh", - "bHVlGAEgASgLMhEuUHJvdG9MaXN0U2V0dGluZxIOCgZpc051bGwYAiABKAgi", - "0QEKEFByb3RvTmFtZWRTdHJpbmcSKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJv", - "dG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1", - "bWVudEVsZW1lbnQSDAoEbmFtZRgDIAEoCRIXCg9jb21DaGFubmVsVVVJRHMY", - "BCADKAkSDAoEdXVpZBgFIAEoCRITCgtkZXNjcmlwdGlvbhgGIAEoCRIQCghu", - "YW1lQ29kZRgHIAEoCRIQCghjb2RlTW9kZRgIIAEoCCL2AQoOUHJvdG9QYXJh", - "Z3JhcGgSKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVsZW1l", - "bnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoG", - "Zm9ybWF0GAMgASgLMhUuUHJvdG9QYXJhZ3JhcGhGb3JtYXQSKAoJb3Zlcndy", - "aXRlGAQgASgLMhUuUHJvdG9QYXJhZ3JhcGhGb3JtYXQSFwoPY29tQ2hhbm5l", - "bFVVSURzGAUgAygJEhsKE3BhcmFncmFwaEZvcm1hdFVVSUQYBiABKAkSDAoE", - "dXVpZBgHIAEoCSKsCQoUUHJvdG9QYXJhZ3JhcGhGb3JtYXQSKQoKYmFzZUZv", - "cm1hdBgBIAEoCzIVLlByb3RvUGFyYWdyYXBoRm9ybWF0Eh8KBG5hbWUYAiAB", - "KAsyES5Qcm90b0JveGVkU3RyaW5nEiAKB2RlZmF1bHQYAyABKAsyDy5Qcm90", - "b0JveGVkQm9vbBIdCgRmb250GAQgASgLMg8uUHJvdG9Cb3hlZEZvbnQSHQoE", - "Ym9sZBgFIAEoCzIPLlByb3RvQm94ZWRCb29sEh8KBml0YWxpYxgGIAEoCzIP", - "LlByb3RvQm94ZWRCb29sEiMKCWZvbnRDb2xvchgHIAEoCzIQLlByb3RvQm94", - "ZWRDb2xvchIrCgl1bmRlcmxpbmUYCCABKAsyGC5Qcm90b0JveGVkVW5kZXJs", - "aW5lU3BlYxIkCghmb250U2l6ZRgJIAEoCzISLlByb3RvQm94ZWRNZWFzdXJl", - "EioKDmNoYXJhY3RlcldpZHRoGAogASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUS", - "LAoQY2hhcmFjdGVyU3BhY2luZxgLIAEoCzISLlByb3RvQm94ZWRNZWFzdXJl", - "EiQKCGxpbmVGZWVkGAwgASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSMQoJYWxp", - "Z25tZW50GA0gASgLMh4uUHJvdG9Cb3hlZEhvcml6b250YWxBbGlnbm1lbnQS", - "KgoOaW5kZW50aW9uV2lkdGgYDiABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIo", - "Cg5pbmRlbnRpb25MZXZlbBgPIAEoCzIQLlByb3RvQm94ZWRJbnQzMhImCgpz", - "cGFjZUFib3ZlGBAgASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSJgoKc3BhY2VC", - "ZWxvdxgRIAEoCzISLlByb3RvQm94ZWRNZWFzdXJlEiYKDHdpZG93U2V0dGlu", - "ZxgSIAEoCzIQLlByb3RvQm94ZWRJbnQzMhInCg1vcnBoYW5TZXR0aW5nGBMg", - "ASgLMhAuUHJvdG9Cb3hlZEludDMyEicKDXdpZG93UHJpb3JpdHkYFCABKAsy", - "EC5Qcm90b0JveGVkSW50MzISMwoNc3RyaWtldGhyb3VnaBgVIAEoCzIcLlBy", - "b3RvQm94ZWRTdHJpa2V0aHJvdWdoU3BlYxIwChRzdXBlcnNjcmlwdFN1YnNj", - "cmlwdBgWIAEoCzISLlByb3RvQm94ZWRTUEJNb2RlEikKD2JhY2tncm91bmRD", - "b2xvchgXIAEoCzIQLlByb3RvQm94ZWRDb2xvchIrCgtsaXN0U2V0dGluZxgY", - "IAEoCzIWLlByb3RvQm94ZWRMaXN0U2V0dGluZxIkCgtoeXBoZW5hdGlvbhgZ", - "IAEoCzIPLlByb3RvQm94ZWRCb29sEikKDnByZU5hbWVkU3RyaW5nGBogASgL", - "MhEuUHJvdG9Cb3hlZFN0cmluZxIqCg9wb3N0TmFtZWRTdHJpbmcYGyABKAsy", - "ES5Qcm90b0JveGVkU3RyaW5nEicKDHNlbWFudGljVHlwZRgcIAEoCzIRLlBy", - "b3RvQm94ZWRTdHJpbmcSFwoPY29tQ2hhbm5lbFVVSURzGB0gAygJIpgBCgxQ", - "cm90b1NlY3Rpb24SKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVu", - "dEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1l", - "bnQSDAoEdXVpZBgDIAEoCRIQCghjRGVmVXVpZBgEIAEoCRIXCg9jb21DaGFu", - "bmVsVVVJRHMYBSADKAkidAoUUHJvdG9TcGFjZVZlcnRpY2FsbHkSJQoGcGFy", - "ZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSHAoFc3BhY2UYAiAB", - "KAsyDS5Qcm90b01lYXN1cmUSFwoPY29tQ2hhbm5lbFVVSURzGAMgAygJIucC", - "CglQcm90b1NwYW4SKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVu", - "dEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1l", - "bnQSHQoEYm9sZBgDIAEoCzIPLlByb3RvQm94ZWRCb29sEh8KBml0YWxpYxgE", - "IAEoCzIPLlByb3RvQm94ZWRCb29sEhoKBWNvbG9yGAUgASgLMgsuUHJvdG9D", - "b2xvchIiCglzdWJzY3JpcHQYBiABKAsyDy5Qcm90b0JveGVkQm9vbBIkCgtz", - "dXBlcnNjcmlwdBgHIAEoCzIPLlByb3RvQm94ZWRCb29sEiIKCXVuZGVybGlu", - "ZRgIIAEoCzIPLlByb3RvQm94ZWRCb29sEiYKDXN0cmlrZXRocm91Z2gYCSAB", - "KAsyDy5Qcm90b0JveGVkQm9vbBIXCg9jb21DaGFubmVsVVVJRHMYCiADKAki", - "qwIKClByb3RvVGFibGUSKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1", - "bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVs", - "ZW1lbnQSJQoIc2V0dGluZ3MYAyABKAsyEy5Qcm90b1RhYmxlU2V0dGluZ3MS", - "EgoKY29uZmlnTmFtZRgEIAEoCRIYCgljYXJyeU92ZXIYBSABKAsyBS5Ob2Rl", - "EhcKCHN1YlRvdGFsGAYgASgLMgUuTm9kZRIXCg9jb21DaGFubmVsVVVJRHMY", - "ByADKAkSNwoRZWxlbWVudFByb3BlcnRpZXMYCCABKAsyHC5Qcm90b1RhYmxl", - "RWxlbWVudFByb3BlcnRpZXMSDAoEdXVpZBgJIAEoCSKNAQoQUHJvdG9UYWJs", - "ZUNvbmZpZxIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVu", - "dBIlCghzZXR0aW5ncxgCIAEoCzITLlByb3RvVGFibGVTZXR0aW5ncxISCgpj", - "b25maWdOYW1lGAMgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgEIAMoCSKWAgoS", - "UHJvdG9UYWJsZVNldHRpbmdzEh4KB3hPZmZzZXQYASABKAsyDS5Qcm90b01l", - "YXN1cmUSJAoLbGVmdE1lYXN1cmUYAiABKAsyDy5Qcm90b0JveGVkQm9vbBIc", - "CgV3aWR0aBgDIAEoCzINLlByb3RvTWVhc3VyZRInCgxyZXBlYXRIZWFkZXIY", - "BCABKAsyES5Qcm90b0JveGVkVWludDMyEhkKAndzGAUgASgLMg0uUHJvdG9U", - "YWJsZVdTEiwKE25vRG9jdW1lbnRTdHJ1Y3R1cmUYBiABKAsyDy5Qcm90b0Jv", - "eGVkQm9vbBIqCg9yZXBlYXRTdWJIZWFkZXIYByABKAsyES5Qcm90b0JveGVk", - "VWludDMyIl0KH1Byb3RvQm94ZWRUYWJsZUNvbnRlbnRHcm91cFR5cGUSKgoF", - "dmFsdWUYASABKA4yGy5Qcm90b1RhYmxlQ29udGVudEdyb3VwVHlwZRIOCgZp", - "c051bGwYAiABKAgi/AEKFlByb3RvVGFibGVDb250ZW50R3JvdXASKAoJX2No", - "aWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50", - "GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSMQoIc2V0dGluZ3MYAyAB", - "KAsyHy5Qcm90b1RhYmxlQ29udGVudEdyb3VwU2V0dGluZ3MSFwoPY29tQ2hh", - "bm5lbFVVSURzGAQgAygJEjcKEWVsZW1lbnRQcm9wZXJ0aWVzGAUgASgLMhwu", - "UHJvdG9UYWJsZUVsZW1lbnRQcm9wZXJ0aWVzEgwKBHV1aWQYBiABKAkipQEK", - "HFByb3RvVGFibGVDb250ZW50R3JvdXBDb25maWcSJQoGcGFyZW50GAEgASgL", - "MhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSMQoIc2V0dGluZ3MYAiABKAsyHy5Q", - "cm90b1RhYmxlQ29udGVudEdyb3VwU2V0dGluZ3MSEgoKY29uZmlnTmFtZRgD", - "IAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkingEKHlByb3RvVGFibGVD", - "b250ZW50R3JvdXBTZXR0aW5ncxI6ChBjb250ZW50R3JvdXBUeXBlGAEgASgL", - "MiAuUHJvdG9Cb3hlZFRhYmxlQ29udGVudEdyb3VwVHlwZRIlChBiYWNrZ3Jv", - "dW5kQ29sb3JzGAIgAygLMgsuUHJvdG9Db2xvchIZCgJ3cxgDIAEoCzINLlBy", - "b3RvVGFibGVXUyKWAgoNUHJvdG9UYWJsZVJvdxIoCglfY2hpbGRyZW4YASAD", - "KAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Q", - "cm90b0RvY3VtZW50RWxlbWVudBIoCghzZXR0aW5ncxgDIAEoCzIWLlByb3Rv", - "VGFibGVSb3dTZXR0aW5ncxIqCg9yb3dDb25maWdOdW1iZXIYBCABKAsyES5Q", - "cm90b0JveGVkVWludDMyEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMoCRI3ChFl", - "bGVtZW50UHJvcGVydGllcxgGIAEoCzIcLlByb3RvVGFibGVFbGVtZW50UHJv", - "cGVydGllcxIMCgR1dWlkGAcgASgJIrkBChNQcm90b1RhYmxlUm93Q29uZmln", - "EiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EigKCHNl", - "dHRpbmdzGAIgASgLMhYuUHJvdG9UYWJsZVJvd1NldHRpbmdzEhIKCmNvbmZp", - "Z05hbWUYAyABKAkSEQoJcm93SGVhZGVyGAQgASgJEhEKCXJvd0Zvb3RlchgF", - "IAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBiADKAkiVAoVUHJvdG9UYWJsZVJv", - "d1NldHRpbmdzEiAKCW1pbkhlaWdodBgBIAEoCzINLlByb3RvTWVhc3VyZRIZ", - "CgJ3cxgCIAEoCzINLlByb3RvVGFibGVXUyJNChdQcm90b0JveGVkVGFibGVD", - "ZWxsVHlwZRIiCgV2YWx1ZRgBIAEoDjITLlByb3RvVGFibGVDZWxsVHlwZRIO", - "CgZpc051bGwYAiABKAgivwIKDlByb3RvVGFibGVDZWxsEigKCV9jaGlsZHJl", + "ASgJEg8KB3VybENvZGUYBiABKAkSEwoLYmluZFVybENvZGUYByABKAgSDAoE", + "dXVpZBgIIAEoCSLVAwoVUHJvdG9MaXN0TGV2ZWxTZXR0aW5nEhcKD2xpc3RT", + "ZXR0aW5nTmFtZRgBIAEoCRIjCghmb250U2l6ZRgCIAEoCzIRLlByb3RvQm94", + "ZWRVaW50MzISKAoEdHlwZRgDIAEoDjIaLlByb3RvTGlzdExldmVsU2V0dGlu", + "Z1R5cGUSDQoFbGV2ZWwYBCABKAUSDgoGcHJlZml4GAUgASgJEg4KBnN1ZmZp", + "eBgGIAEoCRIhCg1maXhGb250RmFtaWx5GAcgASgLMgouUHJvdG9Gb250Eg8K", + "B2ZpeEJvbGQYCCABKAgSEQoJZml4SXRhbGljGAkgASgIEhYKDmluZGVudGlv", + "bldpZHRoGAogASgFEhoKBWNvbG9yGAsgASgLMgsuUHJvdG9Db2xvchIRCglp", + "bWFnZU5hbWUYDCABKAkSHgoKZm9udEZhbWlseRgNIAEoCzIKLlByb3RvRm9u", + "dBIdCgRib2xkGA4gASgLMg8uUHJvdG9Cb3hlZEJvb2wSHwoGaXRhbGljGA8g", + "ASgLMg8uUHJvdG9Cb3hlZEJvb2wSJAoKbnVtYmVyVHlwZRgQIAEoDjIQLlBy", + "b3RvTnVtYmVyVHlwZRIRCgljaGFyYWN0ZXIYESABKAkiwQIKGlByb3RvSW1h", + "Z2VMaXN0TGV2ZWxTZXR0aW5nEhcKD2xpc3RTZXR0aW5nTmFtZRgBIAEoCRIj", + "Cghmb250U2l6ZRgCIAEoCzIRLlByb3RvQm94ZWRVaW50MzISKAoEdHlwZRgD", + "IAEoDjIaLlByb3RvTGlzdExldmVsU2V0dGluZ1R5cGUSDQoFbGV2ZWwYBCAB", + "KAUSDgoGcHJlZml4GAUgASgJEg4KBnN1ZmZpeBgGIAEoCRIhCg1maXhGb250", + "RmFtaWx5GAcgASgLMgouUHJvdG9Gb250Eg8KB2ZpeEJvbGQYCCABKAgSEQoJ", + "Zml4SXRhbGljGAkgASgIEhYKDmluZGVudGlvbldpZHRoGAogASgFEhoKBWNv", + "bG9yGAsgASgLMgsuUHJvdG9Db2xvchIRCglpbWFnZU5hbWUYDCABKAkijQMK", + "GVByb3RvVGV4dExpc3RMZXZlbFNldHRpbmcSFwoPbGlzdFNldHRpbmdOYW1l", + "GAEgASgJEiMKCGZvbnRTaXplGAIgASgLMhEuUHJvdG9Cb3hlZFVpbnQzMhIo", + "CgR0eXBlGAMgASgOMhouUHJvdG9MaXN0TGV2ZWxTZXR0aW5nVHlwZRINCgVs", + "ZXZlbBgEIAEoBRIOCgZwcmVmaXgYBSABKAkSDgoGc3VmZml4GAYgASgJEiEK", + "DWZpeEZvbnRGYW1pbHkYByABKAsyCi5Qcm90b0ZvbnQSDwoHZml4Qm9sZBgI", + "IAEoCBIRCglmaXhJdGFsaWMYCSABKAgSFgoOaW5kZW50aW9uV2lkdGgYCiAB", + "KAUSGgoFY29sb3IYCyABKAsyCy5Qcm90b0NvbG9yEh4KCmZvbnRGYW1pbHkY", + "DCABKAsyCi5Qcm90b0ZvbnQSHQoEYm9sZBgNIAEoCzIPLlByb3RvQm94ZWRC", + "b29sEh8KBml0YWxpYxgOIAEoCzIPLlByb3RvQm94ZWRCb29sIrUDChtQcm90", + "b051bWJlckxpc3RMZXZlbFNldHRpbmcSFwoPbGlzdFNldHRpbmdOYW1lGAEg", + "ASgJEiMKCGZvbnRTaXplGAIgASgLMhEuUHJvdG9Cb3hlZFVpbnQzMhIoCgR0", + "eXBlGAMgASgOMhouUHJvdG9MaXN0TGV2ZWxTZXR0aW5nVHlwZRINCgVsZXZl", + "bBgEIAEoBRIOCgZwcmVmaXgYBSABKAkSDgoGc3VmZml4GAYgASgJEiEKDWZp", + "eEZvbnRGYW1pbHkYByABKAsyCi5Qcm90b0ZvbnQSDwoHZml4Qm9sZBgIIAEo", + "CBIRCglmaXhJdGFsaWMYCSABKAgSFgoOaW5kZW50aW9uV2lkdGgYCiABKAUS", + "GgoFY29sb3IYCyABKAsyCy5Qcm90b0NvbG9yEh4KCmZvbnRGYW1pbHkYDCAB", + "KAsyCi5Qcm90b0ZvbnQSHQoEYm9sZBgNIAEoCzIPLlByb3RvQm94ZWRCb29s", + "Eh8KBml0YWxpYxgOIAEoCzIPLlByb3RvQm94ZWRCb29sEiQKCm51bWJlclR5", + "cGUYDyABKA4yEC5Qcm90b051bWJlclR5cGUipgMKH1Byb3RvVW5udW1iZXJl", + "ZExpc3RMZXZlbFNldHRpbmcSFwoPbGlzdFNldHRpbmdOYW1lGAEgASgJEiMK", + "CGZvbnRTaXplGAIgASgLMhEuUHJvdG9Cb3hlZFVpbnQzMhIoCgR0eXBlGAMg", + "ASgOMhouUHJvdG9MaXN0TGV2ZWxTZXR0aW5nVHlwZRINCgVsZXZlbBgEIAEo", + "BRIOCgZwcmVmaXgYBSABKAkSDgoGc3VmZml4GAYgASgJEiEKDWZpeEZvbnRG", + "YW1pbHkYByABKAsyCi5Qcm90b0ZvbnQSDwoHZml4Qm9sZBgIIAEoCBIRCglm", + "aXhJdGFsaWMYCSABKAgSFgoOaW5kZW50aW9uV2lkdGgYCiABKAUSGgoFY29s", + "b3IYCyABKAsyCy5Qcm90b0NvbG9yEh4KCmZvbnRGYW1pbHkYDCABKAsyCi5Q", + "cm90b0ZvbnQSHQoEYm9sZBgNIAEoCzIPLlByb3RvQm94ZWRCb29sEh8KBml0", + "YWxpYxgOIAEoCzIPLlByb3RvQm94ZWRCb29sEhEKCWNoYXJhY3RlchgPIAEo", + "CSLaAQoQUHJvdG9MaXN0U2V0dGluZxIlCgZwYXJlbnQYASABKAsyFS5Qcm90", + "b0RvY3VtZW50RWxlbWVudBIMCgRuYW1lGAIgASgJEjEKEWxpc3RMZXZlbFNl", + "dHRpbmdzGAMgAygLMhYuUHJvdG9MaXN0TGV2ZWxTZXR0aW5nEjcKF2RlZmF1", + "bHRMaXN0TGV2ZWxTZXR0aW5nGAQgASgLMhYuUHJvdG9MaXN0TGV2ZWxTZXR0", + "aW5nEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMoCRIMCgR1dWlkGAYgASgJIkkK", + "FVByb3RvQm94ZWRMaXN0U2V0dGluZxIgCgV2YWx1ZRgBIAEoCzIRLlByb3Rv", + "TGlzdFNldHRpbmcSDgoGaXNOdWxsGAIgASgIItEBChBQcm90b05hbWVkU3Ry", + "aW5nEigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50", + "EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgwKBG5h", + "bWUYAyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAQgAygJEgwKBHV1aWQYBSAB", + "KAkSEwoLZGVzY3JpcHRpb24YBiABKAkSEAoIbmFtZUNvZGUYByABKAkSEAoI", + "Y29kZU1vZGUYCCABKAgi9gEKDlByb3RvUGFyYWdyYXBoEigKCV9jaGlsZHJl", "bhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEo", - "CzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EikKCHNldHRpbmdzGAMgASgLMhcu", - "UHJvdG9UYWJsZUNlbGxTZXR0aW5ncxIrChBjZWxsQ29uZmlnTnVtYmVyGAQg", - "ASgLMhEuUHJvdG9Cb3hlZFVpbnQzMhISCgptZXJnZWRMZWZ0GAUgASgIEhAK", - "CG1lcmdlZFVwGAYgASgIEhcKD2NvbUNoYW5uZWxVVUlEcxgHIAMoCRI3ChFl", - "bGVtZW50UHJvcGVydGllcxgIIAEoCzIcLlByb3RvVGFibGVFbGVtZW50UHJv", - "cGVydGllcxIMCgR1dWlkGAkgASgJIsEBChRQcm90b1RhYmxlQ2VsbENvbmZp", - "ZxIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIpCghz", - "ZXR0aW5ncxgCIAEoCzIXLlByb3RvVGFibGVDZWxsU2V0dGluZ3MSEgoKY29u", - "ZmlnTmFtZRgDIAEoCRIqCghjZWxsVHlwZRgEIAEoCzIYLlByb3RvQm94ZWRU", - "YWJsZUNlbGxUeXBlEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMoCSL9AgoWUHJv", - "dG9UYWJsZUNlbGxTZXR0aW5ncxIcCgV3aWR0aBgBIAEoCzINLlByb3RvTWVh", - "c3VyZRItCgVhbGlnbhgCIAEoCzIeLlByb3RvQm94ZWRIb3Jpem9udGFsQWxp", - "Z25tZW50EiwKBnZhbGlnbhgDIAEoCzIcLlByb3RvQm94ZWRWZXJ0aWNhbEFs", - "aWdubWVudBIkCg9iYWNrZ3JvdW5kQ29sb3IYBCABKAsyCy5Qcm90b0NvbG9y", - "EiMKB3BhZGRpbmcYBSABKAsyEi5Qcm90b1NpZGVNZWFzdXJlcxIhCgZib3Jk", - "ZXIYBiABKAsyES5Qcm90b1NpZGVCb3JkZXJzEiIKBm1hcmdpbhgHIAEoCzIS", - "LlByb3RvU2lkZU1lYXN1cmVzEiMKCHJvdGF0aW9uGAggASgLMhEuUHJvdG9C", - "b3hlZERvdWJsZRIxChZkZWZhdWx0UGFyYWdyYXBoRm9ybWF0GAkgASgLMhEu", - "UHJvdG9Cb3hlZFN0cmluZyJPCgxQcm90b1RhYmxlV1MSFgoObWluTGluZXNC", - "ZWZvcmUYASABKA0SFQoNbWluTGluZXNBZnRlchgCIAEoDRIQCghwcmlvcml0", - "eRgDIAEoDSLnGwobUHJvdG9UYWJsZUVsZW1lbnRQcm9wZXJ0aWVzEiYKEHdp", - "ZHRoSW5oZXJpdGFuY2UYASABKA4yDC5Jbmhlcml0YW5jZRIcCgV3aWR0aBgC", - "IAEoCzINLlByb3RvTWVhc3VyZRIRCgl3aWR0aENvZGUYAyABKAkSJgoQYWxp", - "Z25Jbmhlcml0YW5jZRgEIAEoDjIMLkluaGVyaXRhbmNlEi0KBWFsaWduGAUg", - "ASgLMh4uUHJvdG9Cb3hlZEhvcml6b250YWxBbGlnbm1lbnQSEQoJYWxpZ25D", - "b2RlGAYgASgJEicKEXZhbGlnbkluaGVyaXRhbmNlGAcgASgOMgwuSW5oZXJp", - "dGFuY2USLAoGdmFsaWduGAggASgLMhwuUHJvdG9Cb3hlZFZlcnRpY2FsQWxp", - "Z25tZW50EhIKCnZhbGlnbkNvZGUYCSABKAkSMAoaYmFja2dyb3VuZENvbG9y", - "SW5oZXJpdGFuY2UYCiABKA4yDC5Jbmhlcml0YW5jZRIkCg9iYWNrZ3JvdW5k", - "Q29sb3IYCyADKAsyCy5Qcm90b0NvbG9yEhsKE2JhY2tncm91bmRDb2xvckNv", - "ZGUYDCABKAkSKwoVcGFkZGluZ1RvcEluaGVyaXRhbmNlGA0gASgOMgwuSW5o", - "ZXJpdGFuY2USIQoKcGFkZGluZ1RvcBgOIAEoCzINLlByb3RvTWVhc3VyZRIW", - "Cg5wYWRkaW5nVG9wQ29kZRgPIAEoCRItChdwYWRkaW5nUmlnaHRJbmhlcml0", - "YW5jZRgQIAEoDjIMLkluaGVyaXRhbmNlEiMKDHBhZGRpbmdSaWdodBgRIAEo", - "CzINLlByb3RvTWVhc3VyZRIYChBwYWRkaW5nUmlnaHRDb2RlGBIgASgJEi4K", - "GHBhZGRpbmdCb3R0b21Jbmhlcml0YW5jZRgTIAEoDjIMLkluaGVyaXRhbmNl", - "EiQKDXBhZGRpbmdCb3R0b20YFCABKAsyDS5Qcm90b01lYXN1cmUSGQoRcGFk", - "ZGluZ0JvdHRvbUNvZGUYFSABKAkSLAoWcGFkZGluZ0xlZnRJbmhlcml0YW5j", - "ZRgWIAEoDjIMLkluaGVyaXRhbmNlEiIKC3BhZGRpbmdMZWZ0GBcgASgLMg0u", - "UHJvdG9NZWFzdXJlEhcKD3BhZGRpbmdMZWZ0Q29kZRgYIAEoCRIvChlib3Jk", - "ZXJUb3BDb2xvckluaGVyaXRhbmNlGBkgASgOMgwuSW5oZXJpdGFuY2USIwoO", - "Ym9yZGVyVG9wQ29sb3IYGiABKAsyCy5Qcm90b0NvbG9yEhoKEmJvcmRlclRv", - "cENvbG9yQ29kZRgbIAEoCRIwChpib3JkZXJUb3BXZWlnaHRJbmhlcml0YW5j", - "ZRgcIAEoDjIMLkluaGVyaXRhbmNlEiYKD2JvcmRlclRvcFdlaWdodBgdIAEo", - "CzINLlByb3RvTWVhc3VyZRIbChNib3JkZXJUb3BXZWlnaHRDb2RlGB4gASgJ", - "EjEKG2JvcmRlclJpZ2h0Q29sb3JJbmhlcml0YW5jZRgfIAEoDjIMLkluaGVy", - "aXRhbmNlEiUKEGJvcmRlclJpZ2h0Q29sb3IYICABKAsyCy5Qcm90b0NvbG9y", - "EhwKFGJvcmRlclJpZ2h0Q29sb3JDb2RlGCEgASgJEjIKHGJvcmRlclJpZ2h0", - "V2VpZ2h0SW5oZXJpdGFuY2UYIiABKA4yDC5Jbmhlcml0YW5jZRIoChFib3Jk", - "ZXJSaWdodFdlaWdodBgjIAEoCzINLlByb3RvTWVhc3VyZRIdChVib3JkZXJS", - "aWdodFdlaWdodENvZGUYJCABKAkSMgocYm9yZGVyQm90dG9tQ29sb3JJbmhl", - "cml0YW5jZRglIAEoDjIMLkluaGVyaXRhbmNlEiYKEWJvcmRlckJvdHRvbUNv", - "bG9yGCYgASgLMgsuUHJvdG9Db2xvchIdChVib3JkZXJCb3R0b21Db2xvckNv", - "ZGUYJyABKAkSMwodYm9yZGVyQm90dG9tV2VpZ2h0SW5oZXJpdGFuY2UYKCAB", - "KA4yDC5Jbmhlcml0YW5jZRIpChJib3JkZXJCb3R0b21XZWlnaHQYKSABKAsy", - "DS5Qcm90b01lYXN1cmUSHgoWYm9yZGVyQm90dG9tV2VpZ2h0Q29kZRgqIAEo", - "CRIwChpib3JkZXJMZWZ0Q29sb3JJbmhlcml0YW5jZRgrIAEoDjIMLkluaGVy", - "aXRhbmNlEiQKD2JvcmRlckxlZnRDb2xvchgsIAEoCzILLlByb3RvQ29sb3IS", - "GwoTYm9yZGVyTGVmdENvbG9yQ29kZRgtIAEoCRIxChtib3JkZXJMZWZ0V2Vp", - "Z2h0SW5oZXJpdGFuY2UYLiABKA4yDC5Jbmhlcml0YW5jZRInChBib3JkZXJM", - "ZWZ0V2VpZ2h0GC8gASgLMg0uUHJvdG9NZWFzdXJlEhwKFGJvcmRlckxlZnRX", - "ZWlnaHRDb2RlGDAgASgJEioKFG1hcmdpblRvcEluaGVyaXRhbmNlGDEgASgO", - "MgwuSW5oZXJpdGFuY2USIAoJbWFyZ2luVG9wGDIgASgLMg0uUHJvdG9NZWFz", - "dXJlEhUKDW1hcmdpblRvcENvZGUYMyABKAkSLAoWbWFyZ2luUmlnaHRJbmhl", - "cml0YW5jZRg0IAEoDjIMLkluaGVyaXRhbmNlEiIKC21hcmdpblJpZ2h0GDUg", - "ASgLMg0uUHJvdG9NZWFzdXJlEhcKD21hcmdpblJpZ2h0Q29kZRg2IAEoCRIt", - "ChdtYXJnaW5Cb3R0b21Jbmhlcml0YW5jZRg3IAEoDjIMLkluaGVyaXRhbmNl", - "EiMKDG1hcmdpbkJvdHRvbRg4IAEoCzINLlByb3RvTWVhc3VyZRIYChBtYXJn", - "aW5Cb3R0b21Db2RlGDkgASgJEisKFW1hcmdpbkxlZnRJbmhlcml0YW5jZRg6", - "IAEoDjIMLkluaGVyaXRhbmNlEiEKCm1hcmdpbkxlZnQYOyABKAsyDS5Qcm90", - "b01lYXN1cmUSFgoObWFyZ2luTGVmdENvZGUYPCABKAkSKQoTcm90YXRpb25J", - "bmhlcml0YW5jZRg9IAEoDjIMLkluaGVyaXRhbmNlEiMKCHJvdGF0aW9uGD4g", - "ASgLMhEuUHJvdG9Cb3hlZERvdWJsZRIUCgxyb3RhdGlvbkNvZGUYPyABKAkS", - "OwolZGVmYXVsdFBhcmFncmFwaEZvcm1hdFVVSURJbmhlcml0YW5jZRhAIAEo", - "DjIMLkluaGVyaXRhbmNlEjUKGmRlZmF1bHRQYXJhZ3JhcGhGb3JtYXRVVUlE", - "GEEgASgLMhEuUHJvdG9Cb3hlZFN0cmluZxImCh5kZWZhdWx0UGFyYWdyYXBo", - "Rm9ybWF0VVVJRENvZGUYQiABKAkSNgogdGFibGVDb250ZW50R3JvdXBUeXBl", - "SW5oZXJpdGFuY2UYQyABKA4yDC5Jbmhlcml0YW5jZRI/ChV0YWJsZUNvbnRl", - "bnRHcm91cFR5cGUYRCABKAsyIC5Qcm90b0JveGVkVGFibGVDb250ZW50R3Jv", - "dXBUeXBlEiEKGXRhYmxlQ29udGVudEdyb3VwVHlwZUNvZGUYRSABKAkSKQoT", - "Y2VsbFR5cGVJbmhlcml0YW5jZRhGIAEoDjIMLkluaGVyaXRhbmNlEioKCGNl", - "bGxUeXBlGEcgASgLMhguUHJvdG9Cb3hlZFRhYmxlQ2VsbFR5cGUSFAoMY2Vs", - "bFR5cGVDb2RlGEggASgJEi0KF21pblJvd0hlaWdodEluaGVyaXRhbmNlGEkg", - "ASgOMgwuSW5oZXJpdGFuY2USIwoMbWluUm93SGVpZ2h0GEogASgLMg0uUHJv", - "dG9NZWFzdXJlEhgKEG1pblJvd0hlaWdodENvZGUYSyABKAkSIwoNd3NJbmhl", - "cml0YW5jZRhMIAEoDjIMLkluaGVyaXRhbmNlEhkKAndzGE0gASgLMg0uUHJv", - "dG9UYWJsZVdTEg4KBndzQ29kZRhOIAEoCRIoChJ4T2Zmc2V0SW5oZXJpdGFu", - "Y2UYTyABKA4yDC5Jbmhlcml0YW5jZRIeCgd4T2Zmc2V0GFAgASgLMg0uUHJv", - "dG9NZWFzdXJlEhMKC3hPZmZzZXRDb2RlGFEgASgJEiwKFmxlZnRNZWFzdXJl", - "SW5oZXJpdGFuY2UYUiABKA4yDC5Jbmhlcml0YW5jZRIkCgtsZWZ0TWVhc3Vy", - "ZRhTIAEoCzIPLlByb3RvQm94ZWRCb29sEhcKD2xlZnRNZWFzdXJlQ29kZRhU", - "IAEoCRItChdyZXBlYXRIZWFkZXJJbmhlcml0YW5jZRhVIAEoDjIMLkluaGVy", - "aXRhbmNlEicKDHJlcGVhdEhlYWRlchhWIAEoCzIRLlByb3RvQm94ZWRVaW50", - "MzISGAoQcmVwZWF0SGVhZGVyQ29kZRhXIAEoCRI0Ch5ub0RvY3VtZW50U3Ry", - "dWN0dXJlSW5oZXJpdGFuY2UYWCABKA4yDC5Jbmhlcml0YW5jZRIsChNub0Rv", - "Y3VtZW50U3RydWN0dXJlGFkgASgLMg8uUHJvdG9Cb3hlZEJvb2wSHwoXbm9E", - "b2N1bWVudFN0cnVjdHVyZUNvZGUYWiABKAkSMAoacmVwZWF0U3ViSGVhZGVy", - "SW5oZXJpdGFuY2UYWyABKA4yDC5Jbmhlcml0YW5jZRIqCg9yZXBlYXRTdWJI", - "ZWFkZXIYXCABKAsyES5Qcm90b0JveGVkVWludDMyEhsKE3JlcGVhdFN1Ykhl", - "YWRlckNvZGUYXSABKAkiXAoJUHJvdG9UZXh0EiUKBnBhcmVudBgBIAEoCzIV", - "LlByb3RvRG9jdW1lbnRFbGVtZW50Eg8KB2NvbnRlbnQYAiABKAkSFwoPY29t", - "Q2hhbm5lbFVVSURzGAMgAygJItcDCgxQcm90b0JhcmNvZGUSHwoEdHlwZRgB", - "IAEoDjIRLlByb3RvQmFyY29kZVR5cGUSGAoBeBgCIAEoCzINLlByb3RvTWVh", - "c3VyZRIYCgF5GAMgASgLMg0uUHJvdG9NZWFzdXJlEjEKDnJlZmVyZW5jZVBv", - "aW50GAQgASgOMhkuUHJvdG9JbWFnZVJlZmVyZW5jZVBvaW50EhAKCHJvdGF0", - "aW9uGAUgASgCEhwKBXdpZHRoGAYgASgLMg0uUHJvdG9NZWFzdXJlEh0KBmhl", - "aWdodBgHIAEoCzINLlByb3RvTWVhc3VyZRIeCgdwYWRkaW5nGAggASgLMg0u", - "UHJvdG9NZWFzdXJlEgwKBGRhdGEYCSABKAkSGAoQcG9zaXRpb25BYnNvbHV0", - "ZRgKIAEoCBIXCg9jb21DaGFubmVsVVVJRHMYCyADKAkSDAoEdXVpZBgMIAEo", - "CRIMCgRjb2RlGA0gASgJEiYKC3N3aXNzUVJEYXRhGA4gASgLMhEuUHJvdG9T", - "d2lzc1FSRGF0YRIPCgdhbHRUZXh0GA8gASgJEiMKBnVhTW9kZRgQIAEoDjIT", - "LlByb3RvQmFyY29kZVVBTW9kZRIVCg11YURlc2NyaXB0aW9uGBEgASgJIlMK", - "E1Byb3RvQnJpY2tSZWZlcmVuY2USEgoKaW50ZXJuTmFtZRgBIAEoCRIPCgd2", - "ZXJzaW9uGAIgASgNEhcKD2NvbUNoYW5uZWxVVUlEcxgDIAMoCSLEAQoKUHJv", - "dG9CcmljaxIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxl", - "bWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIK", - "CgJpZBgDIAEoBBISCgppbnRlcm5OYW1lGAQgASgJEgwKBHV1aWQYBSABKAkS", - "EAoIZWRpdGFibGUYBiABKAgSFwoPY29tQ2hhbm5lbFVVSURzGAcgAygJEgwK", - "BG5hbWUYCCABKAki8gEKDVByb3RvVGVtcGxhdGUSKAoJX2NoaWxkcmVuGAEg", - "AygLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUu", - "UHJvdG9Eb2N1bWVudEVsZW1lbnQSFwoPY29tQ2hhbm5lbFVVSURzGAMgAygJ", - "EgwKBHV1aWQYBCABKAkSKQoPY29sdW1uQmFsYW5jaW5nGAUgASgOMhAuQ29s", - "dW1uQmFsYW5jaW5nEigKDHNlbWFudGljVHlwZRgGIAEoDjISLlByb3RvU2Vt", - "YW50aWNUeXBlEhQKDHRlbXBsYXRlVXVpZBgHIAEoCSKlAQoLUHJvdG9IZWFk", - "ZXISKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQS", - "JQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEdXVp", - "ZBgDIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkSHgoEbW9kZRgFIAEo", - "DjIQLlByb3RvSGVhZGVyTW9kZSKlAQoLUHJvdG9Gb290ZXISKAoJX2NoaWxk", - "cmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIg", - "ASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEdXVpZBgDIAEoCRIXCg9j", - "b21DaGFubmVsVVVJRHMYBCADKAkSHgoEbW9kZRgFIAEoDjIQLlByb3RvRm9v", - "dGVyTW9kZSL2FAoETm9kZRIXCghjaGlsZHJlbhgBIAMoCzIFLk5vZGUSKQoM", - "bGlzdF9zZXR0aW5nGAIgASgLMhEuUHJvdG9MaXN0U2V0dGluZ0gAEiIKCGNv", - "bG9yRGVmGAMgASgLMg4uUHJvdG9Db2xvckRlZkgAEhwKBWJyaWNrGAQgASgL", - "MgsuUHJvdG9Ccmlja0gAEiIKCHRlbXBsYXRlGAUgASgLMg4uUHJvdG9UZW1w", - "bGF0ZUgAEiQKCWZvcm1hdHRlZBgGIAEoCzIPLlByb3RvRm9ybWF0dGVkSAAS", - "HAoFaW1hZ2UYByABKAsyCy5Qcm90b0ltYWdlSAASMQoQcGFyYWdyYXBoX2Zv", - "cm1hdBgIIAEoCzIVLlByb3RvUGFyYWdyYXBoRm9ybWF0SAASJQoKdGV4dF9i", - "cmljaxgJIAEoCzIPLlByb3RvVGV4dEJyaWNrSAASGgoEdGV4dBgKIAEoCzIK", - "LlByb3RvVGV4dEgAEiQKCWxpbmVicmVhaxgLIAEoCzIPLlByb3RvTGluZWJy", - "ZWFrSAASMQoQc3BhY2VfdmVydGljYWxseRgMIAEoCzIVLlByb3RvU3BhY2VW", - "ZXJ0aWNhbGx5SAASHgoGZm9vdGVyGA0gASgLMgwuUHJvdG9Gb290ZXJIABIe", - "CgZoZWFkZXIYDiABKAsyDC5Qcm90b0hlYWRlckgAEhwKBXRhYmxlGA8gASgL", - "MgsuUHJvdG9UYWJsZUgAEiMKCXRhYmxlX3JvdxgQIAEoCzIOLlByb3RvVGFi", - "bGVSb3dIABIlCgp0YWJsZV9jZWxsGBEgASgLMg8uUHJvdG9UYWJsZUNlbGxI", - "ABIbCgVjX2RlZhgSIAEoCzIKLlByb3RvQ0RlZkgAEhsKBXBfZGVmGBMgASgL", - "MgouUHJvdG9QRGVmSAASKwoLYXBwbHlfY19kZWYYFCABKAsyFC5Qcm90b0Fw", - "cGx5UHJvdG9DRGVmSAASKwoLYXBwbHlfcF9kZWYYFSABKAsyFC5Qcm90b0Fw", - "cGx5UHJvdG9QRGVmSAASLgoPYXBwbHlfcHRfY29uZmlnGBYgASgLMhMuUHJv", - "dG9BcHBseVB0Q29uZmlnSAASLgoPYXBwbHlfdWxfY29uZmlnGBcgASgLMhMu", - "UHJvdG9BcHBseVVsQ29uZmlnSAASIwoJcHRfY29uZmlnGBggASgLMg4uUHJv", - "dG9QdENvbmZpZ0gAEiMKCXVsX2NvbmZpZxgZIAEoCzIOLlByb3RvVWxDb25m", - "aWdIABIhCghuZXdfcGFnZRgaIAEoCzINLlByb3RvTmV3UGFnZUgAEiIKCHZh", - "cmlhYmxlGBsgASgLMg4uUHJvdG9WYXJpYWJsZUgAEikKDG5hbWVkX3N0cmlu", - "ZxgcIAEoCzIRLlByb3RvTmFtZWRTdHJpbmdIABIkCglwYXJhZ3JhcGgYHiAB", - "KAsyDy5Qcm90b1BhcmFncmFwaEgAEiAKB3NlY3Rpb24YHyABKAsyDS5Qcm90", - "b1NlY3Rpb25IABIaCgRzcGFuGCAgASgLMgouUHJvdG9TcGFuSAASGgoEbGlu", - "axghIAEoCzIKLlByb3RvTGlua0gAEiQKCWRpcmVjdG9yeRgiIAEoCzIPLlBy", - "b3RvRGlyZWN0b3J5SAASNgoTdGFibGVfY29udGVudF9ncm91cBgjIAEoCzIX", - "LlByb3RvVGFibGVDb250ZW50R3JvdXBIABIpCgx0YWJsZV9jb25maWcYJCAB", - "KAsyES5Qcm90b1RhYmxlQ29uZmlnSAASMgoRdGFibGVfY2VsbF9jb25maWcY", - "JSABKAsyFS5Qcm90b1RhYmxlQ2VsbENvbmZpZ0gAEjAKEHRhYmxlX3Jvd19j", - "b25maWcYJiABKAsyFC5Qcm90b1RhYmxlUm93Q29uZmlnSAASQwoadGFibGVf", - "Y29udGVudF9ncm91cF9jb25maWcYJyABKAsyHS5Qcm90b1RhYmxlQ29udGVu", - "dEdyb3VwQ29uZmlnSAASLwoPYnJpY2tfcmVmZXJlbmNlGCggASgLMhQuUHJv", - "dG9Ccmlja1JlZmVyZW5jZUgAEigKC2luZGVudGF0aW9uGDcgASgLMhEuUHJv", - "dG9JbmRlbnRhdGlvbkgAEiAKB2JhcmNvZGUYOCABKAsyDS5Qcm90b0JhcmNv", - "ZGVIABIfCgd3c19hcmVhGDkgASgLMgwuUHJvdG9Xc0FyZWFIABIlCgpjYXJy", - "eV9vdmVyGDogASgLMg8uUHJvdG9DYXJyeU92ZXJIABIjCglzdWJfdG90YWwY", - "OyABKAsyDi5Qcm90b1N1YlRvdGFsSAASGgoEbG9vcBg8IAEoCzIKLlByb3Rv", - "TG9vcEgAEiUKCmxvb3BfZW50cnkYPSABKAsyDy5Qcm90b0xvb3BFbnRyeUgA", - "EhoKBHJ1bGUYPiABKAsyCi5Qcm90b1J1bGVIABIeCgZsYXlvdXQYPyABKAsy", - "DC5Qcm90b0xheW91dEgAEkQKGmFkdmFuY2VkX2lsbHVzdHJhdGlvbl9hcmVh", - "GEAgASgLMh4uUHJvdG9BZHZhbmNlZElsbHVzdHJhdGlvbkFyZWFIABI3ChNh", - "ZGp1c3RfaG9yaXpvbnRhbGx5GEEgASgLMhguUHJvdG9BZGp1c3RIb3Jpem9u", - "dGFsbHlIABIsCg1kb2N0eXBlU2NyaXB0GEIgASgLMhMuUHJvdG9Eb2N0eXBl", - "U2NyaXB0SAASIgoIZG1TY3JpcHQYQyABKAsyDi5Qcm90b0RtU2NyaXB0SAAS", - "MQoQZHluYW1pY190ZW1wbGF0ZRhEIAEoCzIVLlByb3RvRHluYW1pY1RlbXBs", - "YXRlSAASJAoJc2VsZWN0aW9uGEUgASgLMg8uUHJvdG9TZWxlY3Rpb25IABIv", - "Cg9zZWxlY3Rpb25fZW50cnkYRiABKAsyFC5Qcm90b1NlbGVjdGlvbkVudHJ5", - "SAASJAoJY29uZGl0aW9uGEcgASgLMg8uUHJvdG9Db25kaXRpb25IABItCg5w", - "YWdlX2NvbmRpdGlvbhhIIAEoCzITLlByb3RvUGFnZUNvbmRpdGlvbkgAEh4K", - "BmxvY2FsZRhJIAEoCzIMLlByb3RvTG9jYWxlSAASGAoDdGFnGEogASgLMgku", - "UHJvdG9UYWdIABI6ChVwYXJhZ3JhcGhfc2V0X2RlZmF1bHQYSyABKAsyGS5Q", - "cm90b1BhcmFncmFwaFNldERlZmF1bHRIABIwChBpbnB1dF9maWVsZF90ZXh0", - "GEwgASgLMhQuUHJvdG9JbnB1dEZpZWxkVGV4dEgAEjAKEGlucHV0X2ZpZWxk", - "X2RhdGUYTSABKAsyFC5Qcm90b0lucHV0RmllbGREYXRlSAASOAoUaW5wdXRf", - "ZmllbGRfY2hlY2tib3gYTiABKAsyGC5Qcm90b0lucHV0RmllbGRDaGVja2Jv", - "eEgAEjIKEWlucHV0X2ZpZWxkX2xhYmVsGE8gASgLMhUuUHJvdG9JbnB1dEZp", - "ZWxkTGFiZWxIABI4ChRpbnB1dF9maWVsZF9kcm9wZG93bhhQIAEoCzIYLlBy", - "b3RvSW5wdXRGaWVsZERyb3Bkb3duSABCCAoGb2JqZWN0ItEGCgpQcm90b0lt", - "YWdlEiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgsK", - "A2FsdBgCIAEoCRIMCgRuYW1lGAMgASgJEgsKA3NyYxgEIAEoCRIQCghmaWxl", - "bmFtZRgFIAEoCRIgCgVzY2FsZRgGIAEoCzIRLlByb3RvQm94ZWREb3VibGUS", - "JgoLY29sdW1uU2NhbGUYByABKAsyES5Qcm90b0JveGVkRG91YmxlEiEKBXdp", - "ZHRoGAggASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSIgoGaGVpZ2h0GAkgASgL", - "MhIuUHJvdG9Cb3hlZE1lYXN1cmUSHQoBeBgKIAEoCzISLlByb3RvQm94ZWRN", - "ZWFzdXJlEh0KAXkYCyABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIpChBwb3Np", - "dGlvbkFic29sdXRlGAwgASgLMg8uUHJvdG9Cb3hlZEJvb2wSEAoIcm90YXRp", - "b24YDSABKAESKAoMZmxpcFNldHRpbmdzGA4gASgLMhIuUHJvdG9GbGlwU2V0", - "dGluZ3MSKAoMY3JvcFNldHRpbmdzGA8gASgLMhIuUHJvdG9Dcm9wU2V0dGlu", - "Z3MSOAoDYWlhGBAgASgLMisuUHJvdG9BZHZhbmNlZElsbHVzdHJhdGlvbkFy", - "ZWFJbWFnZVNldHRpbmdzEgwKBHV1aWQYESABKAkSMQoOcmVmZXJlbmNlUG9p", - "bnQYEiABKA4yGS5Qcm90b0ltYWdlUmVmZXJlbmNlUG9pbnQSEQoJaHlwZXJs", - "aW5rGBMgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgUIAMoCRIwChBpbWFnZUNv", - "bnRlbnRUeXBlGBUgASgOMhYuUHJvdG9JbWFnZUNvbnRlbnRUeXBlEhQKDGlt", - "YWdlQ29udGVudBgWIAEoCRInCglzY2FsZVR5cGUYFyABKA4yFC5Qcm90b0lt", - "YWdlU2NhbGVUeXBlEiEKBnVhTW9kZRgYIAEoDjIRLlByb3RvSW1hZ2VVQU1v", - "ZGUSFQoNdWFEZXNjcmlwdGlvbhgZIAEoCRIwChdsZWZ0Qm9yZGVySXNMZWZ0", - "TWVhc3VyZRgaIAEoCzIPLlByb3RvQm94ZWRCb29sItIBCg5Qcm90b0RpcmVj", - "dG9yeRIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVu", - "dBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgR1", - "dWlkGAMgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgEIAMoCRIoCgxzZW1hbnRp", - "Y1R5cGUYBSABKA4yEi5Qcm90b1NlbWFudGljVHlwZRIQCghlZGl0YWJsZRgG", - "IAEoCBIMCgRuYW1lGAcgASgJIrQBCg5Qcm90b1RleHRCcmljaxIoCglfY2hp", - "bGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQY", - "AiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgR1dWlkGAMgASgJEgoK", - "AmlkGAQgASgEEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMoCRIQCghlZGl0YWJs", - "ZRgGIAEoCBIMCgRuYW1lGAcgASgJIsABCg1Qcm90b1ZhcmlhYmxlEiUKBnBh", - "cmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgwKBHBhdGgYAiAB", - "KAkSDwoHY29udGVudBgDIAEoCRISCgpmb3JtYXRVdWlkGAQgASgJEi4KC3Nw", - "ZWNpYWxUeXBlGAUgASgOMhkuUHJvdG9WYXJpYWJsZVNwZWNpYWxUeXBlEgwK", - "BHV1aWQYBiABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAcgAygJIuMBCg5Qcm90", - "b0Zvcm1hdHRlZBIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxl", - "bWVudBIWCg5kdGVkaXRvclN5bnRheBgCIAEoCBIWCg5kb2N0eXBlQ29udGVu", - "dBgDIAEoCRITCgtkb2N0eXBlQ29kZRgEIAEoCRITCgtodG1sQ29udGVudBgF", - "IAEoCRIQCghodG1sQ29kZRgGIAEoCRITCgt0ZXh0Q29udGVudBgHIAEoCRIQ", - "Cgh0ZXh0Q29kZRgIIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYCSADKAkiQAoT", - "UHJvdG9BcHBseVByb3RvQ0RlZhIQCghjRGVmVXVpZBgBIAEoCRIXCg9jb21D", - "aGFubmVsVVVJRHMYAiADKAkiQAoTUHJvdG9BcHBseVByb3RvUERlZhIQCghw", - "RGVmVXVpZBgBIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYAiADKAkiQwoSUHJv", - "dG9BcHBseVB0Q29uZmlnEhQKDHB0Q29uZmlnVXVpZBgBIAEoCRIXCg9jb21D", - "aGFubmVsVVVJRHMYAiADKAkiQwoSUHJvdG9BcHBseVVsQ29uZmlnEhQKDHVs", - "Q29uZmlnVXVpZBgBIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYAiADKAkitgEK", - "CVByb3RvQ0RlZhIrCg1jb2x1bVNldHRpbmdzGAEgASgLMhQuUHJvdG9Db2x1", - "bW5TZXR0aW5ncxIsChNhcHBseVRvSGVhZGVyRm9vdGVyGAIgASgLMg8uUHJv", - "dG9Cb3hlZEJvb2wSJwoOYXBwbHlJbW1lZGlhdGUYAyABKAsyDy5Qcm90b0Jv", - "eGVkQm9vbBIMCgRVdWlkGAQgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMo", - "CSKAAQoJUHJvdG9QRGVmEiUKCXBhZ2VXaWR0aBgBIAEoCzISLlByb3RvQm94", - "ZWRNZWFzdXJlEiUKCXBhZ2VEZXB0aBgCIAEoCzISLlByb3RvQm94ZWRNZWFz", - "dXJlEgwKBFV1aWQYAyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAQgAygJItQB", - "Cg1Qcm90b1B0Q29uZmlnEiIKBmhlaWdodBgBIAEoCzISLlByb3RvQm94ZWRN", - "ZWFzdXJlEiQKCGxpbmVGZWVkGAIgASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUS", - "KgoOY2hhcmFjdGVyV2lkdGgYAyABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIm", - "CgpzcGFjZVdpZHRoGAQgASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSDAoEVXVp", - "ZBgFIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBiADKAkiWQoNUHJvdG9VbENv", - "bmZpZxIhCgRtb2RlGAEgASgOMhMuUHJvdG9VbmRlcmxpbmVNb2RlEgwKBFV1", - "aWQYAiABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAMgAygJIu8BCgxQcm90b05l", - "d1BhZ2USDAoEdXVpZBgBIAEoCRIVCg1wYXBlclRyYXlVdWlkGAIgASgJEhcK", - "D3BhcGVyVHJheU51bWJlchgDIAEoDRISCgpwYXBlckNvdW50GAQgASgNEiAK", - "CHBhZ2VNb2RlGAUgASgOMg4uUHJvdG9QYWdlTW9kZRIuCg9wYWdlT3JpZW50", - "YXRpb24YBiABKA4yFS5Qcm90b1BhZ2VPcmllbnRhdGlvbhIQCghwRGVmVXVp", - "ZBgHIAEoCRIQCghjRGVmVXVpZBgIIAEoCRIXCg9jb21DaGFubmVsVVVJRHMY", - "CSADKAkizwEKEFByb3RvSW5kZW50YXRpb24SKAoJX2NoaWxkcmVuGAEgAygL", - "MhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJv", - "dG9Eb2N1bWVudEVsZW1lbnQSIAoEbGVmdBgDIAEoCzISLlByb3RvQm94ZWRN", - "ZWFzdXJlEiEKBXJpZ2h0GAQgASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSDAoE", - "dXVpZBgFIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBiADKAkiegoOUHJvdG9D", - "YXJyeU92ZXISKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVs", + "CzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBmZvcm1hdBgDIAEoCzIVLlBy", + "b3RvUGFyYWdyYXBoRm9ybWF0EigKCW92ZXJ3cml0ZRgEIAEoCzIVLlByb3Rv", + "UGFyYWdyYXBoRm9ybWF0EhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMoCRIbChNw", + "YXJhZ3JhcGhGb3JtYXRVVUlEGAYgASgJEgwKBHV1aWQYByABKAkiugkKFFBy", + "b3RvUGFyYWdyYXBoRm9ybWF0EikKCmJhc2VGb3JtYXQYASABKAsyFS5Qcm90", + "b1BhcmFncmFwaEZvcm1hdBIfCgRuYW1lGAIgASgLMhEuUHJvdG9Cb3hlZFN0", + "cmluZxIgCgdkZWZhdWx0GAMgASgLMg8uUHJvdG9Cb3hlZEJvb2wSHQoEZm9u", + "dBgEIAEoCzIPLlByb3RvQm94ZWRGb250Eh0KBGJvbGQYBSABKAsyDy5Qcm90", + "b0JveGVkQm9vbBIfCgZpdGFsaWMYBiABKAsyDy5Qcm90b0JveGVkQm9vbBIj", + "Cglmb250Q29sb3IYByABKAsyEC5Qcm90b0JveGVkQ29sb3ISKwoJdW5kZXJs", + "aW5lGAggASgLMhguUHJvdG9Cb3hlZFVuZGVybGluZVNwZWMSJAoIZm9udFNp", + "emUYCSABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIqCg5jaGFyYWN0ZXJXaWR0", + "aBgKIAEoCzISLlByb3RvQm94ZWRNZWFzdXJlEiwKEGNoYXJhY3RlclNwYWNp", + "bmcYCyABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIkCghsaW5lRmVlZBgMIAEo", + "CzISLlByb3RvQm94ZWRNZWFzdXJlEjEKCWFsaWdubWVudBgNIAEoCzIeLlBy", + "b3RvQm94ZWRIb3Jpem9udGFsQWxpZ25tZW50EioKDmluZGVudGlvbldpZHRo", + "GA4gASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSKAoOaW5kZW50aW9uTGV2ZWwY", + "DyABKAsyEC5Qcm90b0JveGVkSW50MzISJgoKc3BhY2VBYm92ZRgQIAEoCzIS", + "LlByb3RvQm94ZWRNZWFzdXJlEiYKCnNwYWNlQmVsb3cYESABKAsyEi5Qcm90", + "b0JveGVkTWVhc3VyZRImCgx3aWRvd1NldHRpbmcYEiABKAsyEC5Qcm90b0Jv", + "eGVkSW50MzISJwoNb3JwaGFuU2V0dGluZxgTIAEoCzIQLlByb3RvQm94ZWRJ", + "bnQzMhInCg13aWRvd1ByaW9yaXR5GBQgASgLMhAuUHJvdG9Cb3hlZEludDMy", + "EjMKDXN0cmlrZXRocm91Z2gYFSABKAsyHC5Qcm90b0JveGVkU3RyaWtldGhy", + "b3VnaFNwZWMSMAoUc3VwZXJzY3JpcHRTdWJzY3JpcHQYFiABKAsyEi5Qcm90", + "b0JveGVkU1BCTW9kZRIpCg9iYWNrZ3JvdW5kQ29sb3IYFyABKAsyEC5Qcm90", + "b0JveGVkQ29sb3ISKwoLbGlzdFNldHRpbmcYGCABKAsyFi5Qcm90b0JveGVk", + "TGlzdFNldHRpbmcSJAoLaHlwaGVuYXRpb24YGSABKAsyDy5Qcm90b0JveGVk", + "Qm9vbBIpCg5wcmVOYW1lZFN0cmluZxgaIAEoCzIRLlByb3RvQm94ZWRTdHJp", + "bmcSKgoPcG9zdE5hbWVkU3RyaW5nGBsgASgLMhEuUHJvdG9Cb3hlZFN0cmlu", + "ZxInCgxzZW1hbnRpY1R5cGUYHCABKAsyES5Qcm90b0JveGVkU3RyaW5nEhcK", + "D2NvbUNoYW5uZWxVVUlEcxgdIAMoCRIMCgR1dWlkGB4gASgJIpgBCgxQcm90", + "b1NlY3Rpb24SKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVs", "ZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQS", - "FwoPY29tQ2hhbm5lbFVVSURzGAMgAygJIqUBCg5Qcm90b0xvb3BFbnRyeRIo", - "CglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZw", - "YXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgRwYXRoGAMg", - "ASgJEg0KBWluZGV4GAQgASgEEgwKBHV1aWQYBSABKAkSFwoPY29tQ2hhbm5l", - "bFVVSURzGAYgAygJIpEBCglQcm90b0xvb3ASKAoJX2NoaWxkcmVuGAEgAygL", + "DAoEdXVpZBgDIAEoCRIQCghjRGVmVXVpZBgEIAEoCRIXCg9jb21DaGFubmVs", + "VVVJRHMYBSADKAkiggEKFFByb3RvU3BhY2VWZXJ0aWNhbGx5EiUKBnBhcmVu", + "dBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EhwKBXNwYWNlGAIgASgL", + "Mg0uUHJvdG9NZWFzdXJlEhcKD2NvbUNoYW5uZWxVVUlEcxgDIAMoCRIMCgR1", + "dWlkGAQgASgJIucCCglQcm90b1NwYW4SKAoJX2NoaWxkcmVuGAEgAygLMhUu", + "UHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9E", + "b2N1bWVudEVsZW1lbnQSHQoEYm9sZBgDIAEoCzIPLlByb3RvQm94ZWRCb29s", + "Eh8KBml0YWxpYxgEIAEoCzIPLlByb3RvQm94ZWRCb29sEhoKBWNvbG9yGAUg", + "ASgLMgsuUHJvdG9Db2xvchIiCglzdWJzY3JpcHQYBiABKAsyDy5Qcm90b0Jv", + "eGVkQm9vbBIkCgtzdXBlcnNjcmlwdBgHIAEoCzIPLlByb3RvQm94ZWRCb29s", + "EiIKCXVuZGVybGluZRgIIAEoCzIPLlByb3RvQm94ZWRCb29sEiYKDXN0cmlr", + "ZXRocm91Z2gYCSABKAsyDy5Qcm90b0JveGVkQm9vbBIXCg9jb21DaGFubmVs", + "VVVJRHMYCiADKAkiqwIKClByb3RvVGFibGUSKAoJX2NoaWxkcmVuGAEgAygL", "MhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJv", - "dG9Eb2N1bWVudEVsZW1lbnQSDAoEcGF0aBgDIAEoCRIMCgR1dWlkGAQgASgJ", - "EhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMoCSLbAQoNUHJvdG9TdWJUb3RhbBIo", - "CglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZw", - "YXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIXCg9hcHBseV9p", - "bW1lZGlhdGUYAyABKAgSKAoIcG9zaXRpb24YBCABKA4yFi5Qcm90b1N1YlRv", - "dGFsUG9zaXRpb24SHQoGaGVpZ2h0GAUgASgLMg0uUHJvdG9NZWFzdXJlEhcK", - "D2NvbUNoYW5uZWxVVUlEcxgGIAMoCSJ3CgtQcm90b1dzQXJlYRIoCglfY2hp", - "bGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQY", - "AiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIXCg9jb21DaGFubmVsVVVJ", - "RHMYAyADKAkiugIKCVByb3RvUnVsZRIeCgd4T2Zmc2V0GAEgASgLMg0uUHJv", - "dG9NZWFzdXJlEh4KB3lPZmZzZXQYAiABKAsyDS5Qcm90b01lYXN1cmUSHAoF", - "d2lkdGgYAyABKAsyDS5Qcm90b01lYXN1cmUSIAoJdGhpY2tuZXNzGAQgASgL", - "Mg0uUHJvdG9NZWFzdXJlEhAKCHJvdGF0aW9uGAUgASgBEhoKBWNvbG9yGAYg", - "ASgLMgsuUHJvdG9Db2xvchIeCgVzdHlsZRgHIAEoDjIPLlByb3RvUnVsZVN0", - "eWxlEhwKBG1vZGUYCCABKA4yDi5Qcm90b1J1bGVNb2RlEigKCmJvdW5kYXJp", - "ZXMYCSABKAsyFC5Qcm90b1J1bGVCb3VuZGFyaWVzEhcKD2NvbUNoYW5uZWxV", - "VUlEcxgKIAMoCSJPChNQcm90b1J1bGVCb3VuZGFyaWVzEhwKBXN0YXJ0GAEg", - "ASgLMg0uUHJvdG9NZWFzdXJlEhoKA2VuZBgCIAEoCzINLlByb3RvTWVhc3Vy", - "ZSJECg1Qcm90b0NvbG9yRGVmEhoKBWNvbG9yGAEgASgLMgsuUHJvdG9Db2xv", - "chIXCg9jb21DaGFubmVsVVVJRHMYAiADKAkiWwoLUHJvdG9MYXlvdXQSJQoG", - "cGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEbmFtZRgC", - "IAEoCRIXCg9jb21DaGFubmVsVVVJRHMYAyADKAki6gIKHVByb3RvQWR2YW5j", - "ZWRJbGx1c3RyYXRpb25BcmVhEigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3Rv", - "RG9jdW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1l", - "bnRFbGVtZW50EgwKBHV1aWQYAyABKAkSEAoIYWJzb2x1dGUYBCABKAgSHAoF", - "d2lkdGgYBSABKAsyDS5Qcm90b01lYXN1cmUSHQoGaGVpZ2h0GAYgASgLMg0u", - "UHJvdG9NZWFzdXJlEhgKAXgYByABKAsyDS5Qcm90b01lYXN1cmUSGAoBeRgI", - "IAEoCzINLlByb3RvTWVhc3VyZRI8Cgh0ZXh0RmxvdxgJIAEoDjIqLlByb3Rv", - "QWR2YW5jZWRJbGx1c3RyYXRpb25BcmVhVGV4dEZsb3dUeXBlEhAKCHJvdGF0", - "aW9uGAogASgCEhcKD2NvbUNoYW5uZWxVVUlEcxgLIAMoCSLLAQoXUHJvdG9B", - "ZGp1c3RIb3Jpem9udGFsbHkSKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9E", + "dG9Eb2N1bWVudEVsZW1lbnQSJQoIc2V0dGluZ3MYAyABKAsyEy5Qcm90b1Rh", + "YmxlU2V0dGluZ3MSEgoKY29uZmlnTmFtZRgEIAEoCRIYCgljYXJyeU92ZXIY", + "BSABKAsyBS5Ob2RlEhcKCHN1YlRvdGFsGAYgASgLMgUuTm9kZRIXCg9jb21D", + "aGFubmVsVVVJRHMYByADKAkSNwoRZWxlbWVudFByb3BlcnRpZXMYCCABKAsy", + "HC5Qcm90b1RhYmxlRWxlbWVudFByb3BlcnRpZXMSDAoEdXVpZBgJIAEoCSKb", + "AQoQUHJvdG9UYWJsZUNvbmZpZxIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0Rv", + "Y3VtZW50RWxlbWVudBIlCghzZXR0aW5ncxgCIAEoCzITLlByb3RvVGFibGVT", + "ZXR0aW5ncxISCgpjb25maWdOYW1lGAMgASgJEhcKD2NvbUNoYW5uZWxVVUlE", + "cxgEIAMoCRIMCgR1dWlkGAUgASgJIpYCChJQcm90b1RhYmxlU2V0dGluZ3MS", + "HgoHeE9mZnNldBgBIAEoCzINLlByb3RvTWVhc3VyZRIkCgtsZWZ0TWVhc3Vy", + "ZRgCIAEoCzIPLlByb3RvQm94ZWRCb29sEhwKBXdpZHRoGAMgASgLMg0uUHJv", + "dG9NZWFzdXJlEicKDHJlcGVhdEhlYWRlchgEIAEoCzIRLlByb3RvQm94ZWRV", + "aW50MzISGQoCd3MYBSABKAsyDS5Qcm90b1RhYmxlV1MSLAoTbm9Eb2N1bWVu", + "dFN0cnVjdHVyZRgGIAEoCzIPLlByb3RvQm94ZWRCb29sEioKD3JlcGVhdFN1", + "YkhlYWRlchgHIAEoCzIRLlByb3RvQm94ZWRVaW50MzIiXQofUHJvdG9Cb3hl", + "ZFRhYmxlQ29udGVudEdyb3VwVHlwZRIqCgV2YWx1ZRgBIAEoDjIbLlByb3Rv", + "VGFibGVDb250ZW50R3JvdXBUeXBlEg4KBmlzTnVsbBgCIAEoCCL8AQoWUHJv", + "dG9UYWJsZUNvbnRlbnRHcm91cBIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90", + "b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3Vt", + "ZW50RWxlbWVudBIxCghzZXR0aW5ncxgDIAEoCzIfLlByb3RvVGFibGVDb250", + "ZW50R3JvdXBTZXR0aW5ncxIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkSNwoR", + "ZWxlbWVudFByb3BlcnRpZXMYBSABKAsyHC5Qcm90b1RhYmxlRWxlbWVudFBy", + "b3BlcnRpZXMSDAoEdXVpZBgGIAEoCSKzAQocUHJvdG9UYWJsZUNvbnRlbnRH", + "cm91cENvbmZpZxIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxl", + "bWVudBIxCghzZXR0aW5ncxgCIAEoCzIfLlByb3RvVGFibGVDb250ZW50R3Jv", + "dXBTZXR0aW5ncxISCgpjb25maWdOYW1lGAMgASgJEhcKD2NvbUNoYW5uZWxV", + "VUlEcxgEIAMoCRIMCgR1dWlkGAUgASgJIp4BCh5Qcm90b1RhYmxlQ29udGVu", + "dEdyb3VwU2V0dGluZ3MSOgoQY29udGVudEdyb3VwVHlwZRgBIAEoCzIgLlBy", + "b3RvQm94ZWRUYWJsZUNvbnRlbnRHcm91cFR5cGUSJQoQYmFja2dyb3VuZENv", + "bG9ycxgCIAMoCzILLlByb3RvQ29sb3ISGQoCd3MYAyABKAsyDS5Qcm90b1Rh", + "YmxlV1MilgIKDVByb3RvVGFibGVSb3cSKAoJX2NoaWxkcmVuGAEgAygLMhUu", + "UHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9E", + "b2N1bWVudEVsZW1lbnQSKAoIc2V0dGluZ3MYAyABKAsyFi5Qcm90b1RhYmxl", + "Um93U2V0dGluZ3MSKgoPcm93Q29uZmlnTnVtYmVyGAQgASgLMhEuUHJvdG9C", + "b3hlZFVpbnQzMhIXCg9jb21DaGFubmVsVVVJRHMYBSADKAkSNwoRZWxlbWVu", + "dFByb3BlcnRpZXMYBiABKAsyHC5Qcm90b1RhYmxlRWxlbWVudFByb3BlcnRp", + "ZXMSDAoEdXVpZBgHIAEoCSLHAQoTUHJvdG9UYWJsZVJvd0NvbmZpZxIlCgZw", + "YXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIoCghzZXR0aW5n", + "cxgCIAEoCzIWLlByb3RvVGFibGVSb3dTZXR0aW5ncxISCgpjb25maWdOYW1l", + "GAMgASgJEhEKCXJvd0hlYWRlchgEIAEoCRIRCglyb3dGb290ZXIYBSABKAkS", + "FwoPY29tQ2hhbm5lbFVVSURzGAYgAygJEgwKBHV1aWQYByABKAkiVAoVUHJv", + "dG9UYWJsZVJvd1NldHRpbmdzEiAKCW1pbkhlaWdodBgBIAEoCzINLlByb3Rv", + "TWVhc3VyZRIZCgJ3cxgCIAEoCzINLlByb3RvVGFibGVXUyJNChdQcm90b0Jv", + "eGVkVGFibGVDZWxsVHlwZRIiCgV2YWx1ZRgBIAEoDjITLlByb3RvVGFibGVD", + "ZWxsVHlwZRIOCgZpc051bGwYAiABKAgivwIKDlByb3RvVGFibGVDZWxsEigK", + "CV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBh", + "cmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EikKCHNldHRpbmdz", + "GAMgASgLMhcuUHJvdG9UYWJsZUNlbGxTZXR0aW5ncxIrChBjZWxsQ29uZmln", + "TnVtYmVyGAQgASgLMhEuUHJvdG9Cb3hlZFVpbnQzMhISCgptZXJnZWRMZWZ0", + "GAUgASgIEhAKCG1lcmdlZFVwGAYgASgIEhcKD2NvbUNoYW5uZWxVVUlEcxgH", + "IAMoCRI3ChFlbGVtZW50UHJvcGVydGllcxgIIAEoCzIcLlByb3RvVGFibGVF", + "bGVtZW50UHJvcGVydGllcxIMCgR1dWlkGAkgASgJIs8BChRQcm90b1RhYmxl", + "Q2VsbENvbmZpZxIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxl", + "bWVudBIpCghzZXR0aW5ncxgCIAEoCzIXLlByb3RvVGFibGVDZWxsU2V0dGlu", + "Z3MSEgoKY29uZmlnTmFtZRgDIAEoCRIqCghjZWxsVHlwZRgEIAEoCzIYLlBy", + "b3RvQm94ZWRUYWJsZUNlbGxUeXBlEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMo", + "CRIMCgR1dWlkGAYgASgJIv0CChZQcm90b1RhYmxlQ2VsbFNldHRpbmdzEhwK", + "BXdpZHRoGAEgASgLMg0uUHJvdG9NZWFzdXJlEi0KBWFsaWduGAIgASgLMh4u", + "UHJvdG9Cb3hlZEhvcml6b250YWxBbGlnbm1lbnQSLAoGdmFsaWduGAMgASgL", + "MhwuUHJvdG9Cb3hlZFZlcnRpY2FsQWxpZ25tZW50EiQKD2JhY2tncm91bmRD", + "b2xvchgEIAEoCzILLlByb3RvQ29sb3ISIwoHcGFkZGluZxgFIAEoCzISLlBy", + "b3RvU2lkZU1lYXN1cmVzEiEKBmJvcmRlchgGIAEoCzIRLlByb3RvU2lkZUJv", + "cmRlcnMSIgoGbWFyZ2luGAcgASgLMhIuUHJvdG9TaWRlTWVhc3VyZXMSIwoI", + "cm90YXRpb24YCCABKAsyES5Qcm90b0JveGVkRG91YmxlEjEKFmRlZmF1bHRQ", + "YXJhZ3JhcGhGb3JtYXQYCSABKAsyES5Qcm90b0JveGVkU3RyaW5nIk8KDFBy", + "b3RvVGFibGVXUxIWCg5taW5MaW5lc0JlZm9yZRgBIAEoDRIVCg1taW5MaW5l", + "c0FmdGVyGAIgASgNEhAKCHByaW9yaXR5GAMgASgNIucbChtQcm90b1RhYmxl", + "RWxlbWVudFByb3BlcnRpZXMSJgoQd2lkdGhJbmhlcml0YW5jZRgBIAEoDjIM", + "LkluaGVyaXRhbmNlEhwKBXdpZHRoGAIgASgLMg0uUHJvdG9NZWFzdXJlEhEK", + "CXdpZHRoQ29kZRgDIAEoCRImChBhbGlnbkluaGVyaXRhbmNlGAQgASgOMgwu", + "SW5oZXJpdGFuY2USLQoFYWxpZ24YBSABKAsyHi5Qcm90b0JveGVkSG9yaXpv", + "bnRhbEFsaWdubWVudBIRCglhbGlnbkNvZGUYBiABKAkSJwoRdmFsaWduSW5o", + "ZXJpdGFuY2UYByABKA4yDC5Jbmhlcml0YW5jZRIsCgZ2YWxpZ24YCCABKAsy", + "HC5Qcm90b0JveGVkVmVydGljYWxBbGlnbm1lbnQSEgoKdmFsaWduQ29kZRgJ", + "IAEoCRIwChpiYWNrZ3JvdW5kQ29sb3JJbmhlcml0YW5jZRgKIAEoDjIMLklu", + "aGVyaXRhbmNlEiQKD2JhY2tncm91bmRDb2xvchgLIAMoCzILLlByb3RvQ29s", + "b3ISGwoTYmFja2dyb3VuZENvbG9yQ29kZRgMIAEoCRIrChVwYWRkaW5nVG9w", + "SW5oZXJpdGFuY2UYDSABKA4yDC5Jbmhlcml0YW5jZRIhCgpwYWRkaW5nVG9w", + "GA4gASgLMg0uUHJvdG9NZWFzdXJlEhYKDnBhZGRpbmdUb3BDb2RlGA8gASgJ", + "Ei0KF3BhZGRpbmdSaWdodEluaGVyaXRhbmNlGBAgASgOMgwuSW5oZXJpdGFu", + "Y2USIwoMcGFkZGluZ1JpZ2h0GBEgASgLMg0uUHJvdG9NZWFzdXJlEhgKEHBh", + "ZGRpbmdSaWdodENvZGUYEiABKAkSLgoYcGFkZGluZ0JvdHRvbUluaGVyaXRh", + "bmNlGBMgASgOMgwuSW5oZXJpdGFuY2USJAoNcGFkZGluZ0JvdHRvbRgUIAEo", + "CzINLlByb3RvTWVhc3VyZRIZChFwYWRkaW5nQm90dG9tQ29kZRgVIAEoCRIs", + "ChZwYWRkaW5nTGVmdEluaGVyaXRhbmNlGBYgASgOMgwuSW5oZXJpdGFuY2US", + "IgoLcGFkZGluZ0xlZnQYFyABKAsyDS5Qcm90b01lYXN1cmUSFwoPcGFkZGlu", + "Z0xlZnRDb2RlGBggASgJEi8KGWJvcmRlclRvcENvbG9ySW5oZXJpdGFuY2UY", + "GSABKA4yDC5Jbmhlcml0YW5jZRIjCg5ib3JkZXJUb3BDb2xvchgaIAEoCzIL", + "LlByb3RvQ29sb3ISGgoSYm9yZGVyVG9wQ29sb3JDb2RlGBsgASgJEjAKGmJv", + "cmRlclRvcFdlaWdodEluaGVyaXRhbmNlGBwgASgOMgwuSW5oZXJpdGFuY2US", + "JgoPYm9yZGVyVG9wV2VpZ2h0GB0gASgLMg0uUHJvdG9NZWFzdXJlEhsKE2Jv", + "cmRlclRvcFdlaWdodENvZGUYHiABKAkSMQobYm9yZGVyUmlnaHRDb2xvcklu", + "aGVyaXRhbmNlGB8gASgOMgwuSW5oZXJpdGFuY2USJQoQYm9yZGVyUmlnaHRD", + "b2xvchggIAEoCzILLlByb3RvQ29sb3ISHAoUYm9yZGVyUmlnaHRDb2xvckNv", + "ZGUYISABKAkSMgocYm9yZGVyUmlnaHRXZWlnaHRJbmhlcml0YW5jZRgiIAEo", + "DjIMLkluaGVyaXRhbmNlEigKEWJvcmRlclJpZ2h0V2VpZ2h0GCMgASgLMg0u", + "UHJvdG9NZWFzdXJlEh0KFWJvcmRlclJpZ2h0V2VpZ2h0Q29kZRgkIAEoCRIy", + "Chxib3JkZXJCb3R0b21Db2xvckluaGVyaXRhbmNlGCUgASgOMgwuSW5oZXJp", + "dGFuY2USJgoRYm9yZGVyQm90dG9tQ29sb3IYJiABKAsyCy5Qcm90b0NvbG9y", + "Eh0KFWJvcmRlckJvdHRvbUNvbG9yQ29kZRgnIAEoCRIzCh1ib3JkZXJCb3R0", + "b21XZWlnaHRJbmhlcml0YW5jZRgoIAEoDjIMLkluaGVyaXRhbmNlEikKEmJv", + "cmRlckJvdHRvbVdlaWdodBgpIAEoCzINLlByb3RvTWVhc3VyZRIeChZib3Jk", + "ZXJCb3R0b21XZWlnaHRDb2RlGCogASgJEjAKGmJvcmRlckxlZnRDb2xvcklu", + "aGVyaXRhbmNlGCsgASgOMgwuSW5oZXJpdGFuY2USJAoPYm9yZGVyTGVmdENv", + "bG9yGCwgASgLMgsuUHJvdG9Db2xvchIbChNib3JkZXJMZWZ0Q29sb3JDb2Rl", + "GC0gASgJEjEKG2JvcmRlckxlZnRXZWlnaHRJbmhlcml0YW5jZRguIAEoDjIM", + "LkluaGVyaXRhbmNlEicKEGJvcmRlckxlZnRXZWlnaHQYLyABKAsyDS5Qcm90", + "b01lYXN1cmUSHAoUYm9yZGVyTGVmdFdlaWdodENvZGUYMCABKAkSKgoUbWFy", + "Z2luVG9wSW5oZXJpdGFuY2UYMSABKA4yDC5Jbmhlcml0YW5jZRIgCgltYXJn", + "aW5Ub3AYMiABKAsyDS5Qcm90b01lYXN1cmUSFQoNbWFyZ2luVG9wQ29kZRgz", + "IAEoCRIsChZtYXJnaW5SaWdodEluaGVyaXRhbmNlGDQgASgOMgwuSW5oZXJp", + "dGFuY2USIgoLbWFyZ2luUmlnaHQYNSABKAsyDS5Qcm90b01lYXN1cmUSFwoP", + "bWFyZ2luUmlnaHRDb2RlGDYgASgJEi0KF21hcmdpbkJvdHRvbUluaGVyaXRh", + "bmNlGDcgASgOMgwuSW5oZXJpdGFuY2USIwoMbWFyZ2luQm90dG9tGDggASgL", + "Mg0uUHJvdG9NZWFzdXJlEhgKEG1hcmdpbkJvdHRvbUNvZGUYOSABKAkSKwoV", + "bWFyZ2luTGVmdEluaGVyaXRhbmNlGDogASgOMgwuSW5oZXJpdGFuY2USIQoK", + "bWFyZ2luTGVmdBg7IAEoCzINLlByb3RvTWVhc3VyZRIWCg5tYXJnaW5MZWZ0", + "Q29kZRg8IAEoCRIpChNyb3RhdGlvbkluaGVyaXRhbmNlGD0gASgOMgwuSW5o", + "ZXJpdGFuY2USIwoIcm90YXRpb24YPiABKAsyES5Qcm90b0JveGVkRG91Ymxl", + "EhQKDHJvdGF0aW9uQ29kZRg/IAEoCRI7CiVkZWZhdWx0UGFyYWdyYXBoRm9y", + "bWF0VVVJREluaGVyaXRhbmNlGEAgASgOMgwuSW5oZXJpdGFuY2USNQoaZGVm", + "YXVsdFBhcmFncmFwaEZvcm1hdFVVSUQYQSABKAsyES5Qcm90b0JveGVkU3Ry", + "aW5nEiYKHmRlZmF1bHRQYXJhZ3JhcGhGb3JtYXRVVUlEQ29kZRhCIAEoCRI2", + "CiB0YWJsZUNvbnRlbnRHcm91cFR5cGVJbmhlcml0YW5jZRhDIAEoDjIMLklu", + "aGVyaXRhbmNlEj8KFXRhYmxlQ29udGVudEdyb3VwVHlwZRhEIAEoCzIgLlBy", + "b3RvQm94ZWRUYWJsZUNvbnRlbnRHcm91cFR5cGUSIQoZdGFibGVDb250ZW50", + "R3JvdXBUeXBlQ29kZRhFIAEoCRIpChNjZWxsVHlwZUluaGVyaXRhbmNlGEYg", + "ASgOMgwuSW5oZXJpdGFuY2USKgoIY2VsbFR5cGUYRyABKAsyGC5Qcm90b0Jv", + "eGVkVGFibGVDZWxsVHlwZRIUCgxjZWxsVHlwZUNvZGUYSCABKAkSLQoXbWlu", + "Um93SGVpZ2h0SW5oZXJpdGFuY2UYSSABKA4yDC5Jbmhlcml0YW5jZRIjCgxt", + "aW5Sb3dIZWlnaHQYSiABKAsyDS5Qcm90b01lYXN1cmUSGAoQbWluUm93SGVp", + "Z2h0Q29kZRhLIAEoCRIjCg13c0luaGVyaXRhbmNlGEwgASgOMgwuSW5oZXJp", + "dGFuY2USGQoCd3MYTSABKAsyDS5Qcm90b1RhYmxlV1MSDgoGd3NDb2RlGE4g", + "ASgJEigKEnhPZmZzZXRJbmhlcml0YW5jZRhPIAEoDjIMLkluaGVyaXRhbmNl", + "Eh4KB3hPZmZzZXQYUCABKAsyDS5Qcm90b01lYXN1cmUSEwoLeE9mZnNldENv", + "ZGUYUSABKAkSLAoWbGVmdE1lYXN1cmVJbmhlcml0YW5jZRhSIAEoDjIMLklu", + "aGVyaXRhbmNlEiQKC2xlZnRNZWFzdXJlGFMgASgLMg8uUHJvdG9Cb3hlZEJv", + "b2wSFwoPbGVmdE1lYXN1cmVDb2RlGFQgASgJEi0KF3JlcGVhdEhlYWRlcklu", + "aGVyaXRhbmNlGFUgASgOMgwuSW5oZXJpdGFuY2USJwoMcmVwZWF0SGVhZGVy", + "GFYgASgLMhEuUHJvdG9Cb3hlZFVpbnQzMhIYChByZXBlYXRIZWFkZXJDb2Rl", + "GFcgASgJEjQKHm5vRG9jdW1lbnRTdHJ1Y3R1cmVJbmhlcml0YW5jZRhYIAEo", + "DjIMLkluaGVyaXRhbmNlEiwKE25vRG9jdW1lbnRTdHJ1Y3R1cmUYWSABKAsy", + "Dy5Qcm90b0JveGVkQm9vbBIfChdub0RvY3VtZW50U3RydWN0dXJlQ29kZRha", + "IAEoCRIwChpyZXBlYXRTdWJIZWFkZXJJbmhlcml0YW5jZRhbIAEoDjIMLklu", + "aGVyaXRhbmNlEioKD3JlcGVhdFN1YkhlYWRlchhcIAEoCzIRLlByb3RvQm94", + "ZWRVaW50MzISGwoTcmVwZWF0U3ViSGVhZGVyQ29kZRhdIAEoCSJcCglQcm90", + "b1RleHQSJQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQS", + "DwoHY29udGVudBgCIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYAyADKAki1wMK", + "DFByb3RvQmFyY29kZRIfCgR0eXBlGAEgASgOMhEuUHJvdG9CYXJjb2RlVHlw", + "ZRIYCgF4GAIgASgLMg0uUHJvdG9NZWFzdXJlEhgKAXkYAyABKAsyDS5Qcm90", + "b01lYXN1cmUSMQoOcmVmZXJlbmNlUG9pbnQYBCABKA4yGS5Qcm90b0ltYWdl", + "UmVmZXJlbmNlUG9pbnQSEAoIcm90YXRpb24YBSABKAISHAoFd2lkdGgYBiAB", + "KAsyDS5Qcm90b01lYXN1cmUSHQoGaGVpZ2h0GAcgASgLMg0uUHJvdG9NZWFz", + "dXJlEh4KB3BhZGRpbmcYCCABKAsyDS5Qcm90b01lYXN1cmUSDAoEZGF0YRgJ", + "IAEoCRIYChBwb3NpdGlvbkFic29sdXRlGAogASgIEhcKD2NvbUNoYW5uZWxV", + "VUlEcxgLIAMoCRIMCgR1dWlkGAwgASgJEgwKBGNvZGUYDSABKAkSJgoLc3dp", + "c3NRUkRhdGEYDiABKAsyES5Qcm90b1N3aXNzUVJEYXRhEg8KB2FsdFRleHQY", + "DyABKAkSIwoGdWFNb2RlGBAgASgOMhMuUHJvdG9CYXJjb2RlVUFNb2RlEhUK", + "DXVhRGVzY3JpcHRpb24YESABKAkiUwoTUHJvdG9Ccmlja1JlZmVyZW5jZRIS", + "CgppbnRlcm5OYW1lGAEgASgJEg8KB3ZlcnNpb24YAiABKA0SFwoPY29tQ2hh", + "bm5lbFVVSURzGAMgAygJIsQBCgpQcm90b0JyaWNrEigKCV9jaGlsZHJlbhgB", + "IAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIV", + "LlByb3RvRG9jdW1lbnRFbGVtZW50EgoKAmlkGAMgASgEEhIKCmludGVybk5h", + "bWUYBCABKAkSDAoEdXVpZBgFIAEoCRIQCghlZGl0YWJsZRgGIAEoCBIXCg9j", + "b21DaGFubmVsVVVJRHMYByADKAkSDAoEbmFtZRgIIAEoCSLyAQoNUHJvdG9U", + "ZW1wbGF0ZRIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxl", + "bWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIX", + "Cg9jb21DaGFubmVsVVVJRHMYAyADKAkSDAoEdXVpZBgEIAEoCRIpCg9jb2x1", + "bW5CYWxhbmNpbmcYBSABKA4yEC5Db2x1bW5CYWxhbmNpbmcSKAoMc2VtYW50", + "aWNUeXBlGAYgASgOMhIuUHJvdG9TZW1hbnRpY1R5cGUSFAoMdGVtcGxhdGVV", + "dWlkGAcgASgJIqUBCgtQcm90b0hlYWRlchIoCglfY2hpbGRyZW4YASADKAsy", + "FS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90", + "b0RvY3VtZW50RWxlbWVudBIMCgR1dWlkGAMgASgJEhcKD2NvbUNoYW5uZWxV", + "VUlEcxgEIAMoCRIeCgRtb2RlGAUgASgOMhAuUHJvdG9IZWFkZXJNb2RlIqUB", + "CgtQcm90b0Zvb3RlchIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3Vt", + "ZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxl", + "bWVudBIMCgR1dWlkGAMgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgEIAMoCRIe", + "CgRtb2RlGAUgASgOMhAuUHJvdG9Gb290ZXJNb2RlIvYUCgROb2RlEhcKCGNo", + "aWxkcmVuGAEgAygLMgUuTm9kZRIpCgxsaXN0X3NldHRpbmcYAiABKAsyES5Q", + "cm90b0xpc3RTZXR0aW5nSAASIgoIY29sb3JEZWYYAyABKAsyDi5Qcm90b0Nv", + "bG9yRGVmSAASHAoFYnJpY2sYBCABKAsyCy5Qcm90b0JyaWNrSAASIgoIdGVt", + "cGxhdGUYBSABKAsyDi5Qcm90b1RlbXBsYXRlSAASJAoJZm9ybWF0dGVkGAYg", + "ASgLMg8uUHJvdG9Gb3JtYXR0ZWRIABIcCgVpbWFnZRgHIAEoCzILLlByb3Rv", + "SW1hZ2VIABIxChBwYXJhZ3JhcGhfZm9ybWF0GAggASgLMhUuUHJvdG9QYXJh", + "Z3JhcGhGb3JtYXRIABIlCgp0ZXh0X2JyaWNrGAkgASgLMg8uUHJvdG9UZXh0", + "QnJpY2tIABIaCgR0ZXh0GAogASgLMgouUHJvdG9UZXh0SAASJAoJbGluZWJy", + "ZWFrGAsgASgLMg8uUHJvdG9MaW5lYnJlYWtIABIxChBzcGFjZV92ZXJ0aWNh", + "bGx5GAwgASgLMhUuUHJvdG9TcGFjZVZlcnRpY2FsbHlIABIeCgZmb290ZXIY", + "DSABKAsyDC5Qcm90b0Zvb3RlckgAEh4KBmhlYWRlchgOIAEoCzIMLlByb3Rv", + "SGVhZGVySAASHAoFdGFibGUYDyABKAsyCy5Qcm90b1RhYmxlSAASIwoJdGFi", + "bGVfcm93GBAgASgLMg4uUHJvdG9UYWJsZVJvd0gAEiUKCnRhYmxlX2NlbGwY", + "ESABKAsyDy5Qcm90b1RhYmxlQ2VsbEgAEhsKBWNfZGVmGBIgASgLMgouUHJv", + "dG9DRGVmSAASGwoFcF9kZWYYEyABKAsyCi5Qcm90b1BEZWZIABIrCgthcHBs", + "eV9jX2RlZhgUIAEoCzIULlByb3RvQXBwbHlQcm90b0NEZWZIABIrCgthcHBs", + "eV9wX2RlZhgVIAEoCzIULlByb3RvQXBwbHlQcm90b1BEZWZIABIuCg9hcHBs", + "eV9wdF9jb25maWcYFiABKAsyEy5Qcm90b0FwcGx5UHRDb25maWdIABIuCg9h", + "cHBseV91bF9jb25maWcYFyABKAsyEy5Qcm90b0FwcGx5VWxDb25maWdIABIj", + "CglwdF9jb25maWcYGCABKAsyDi5Qcm90b1B0Q29uZmlnSAASIwoJdWxfY29u", + "ZmlnGBkgASgLMg4uUHJvdG9VbENvbmZpZ0gAEiEKCG5ld19wYWdlGBogASgL", + "Mg0uUHJvdG9OZXdQYWdlSAASIgoIdmFyaWFibGUYGyABKAsyDi5Qcm90b1Zh", + "cmlhYmxlSAASKQoMbmFtZWRfc3RyaW5nGBwgASgLMhEuUHJvdG9OYW1lZFN0", + "cmluZ0gAEiQKCXBhcmFncmFwaBgeIAEoCzIPLlByb3RvUGFyYWdyYXBoSAAS", + "IAoHc2VjdGlvbhgfIAEoCzINLlByb3RvU2VjdGlvbkgAEhoKBHNwYW4YICAB", + "KAsyCi5Qcm90b1NwYW5IABIaCgRsaW5rGCEgASgLMgouUHJvdG9MaW5rSAAS", + "JAoJZGlyZWN0b3J5GCIgASgLMg8uUHJvdG9EaXJlY3RvcnlIABI2ChN0YWJs", + "ZV9jb250ZW50X2dyb3VwGCMgASgLMhcuUHJvdG9UYWJsZUNvbnRlbnRHcm91", + "cEgAEikKDHRhYmxlX2NvbmZpZxgkIAEoCzIRLlByb3RvVGFibGVDb25maWdI", + "ABIyChF0YWJsZV9jZWxsX2NvbmZpZxglIAEoCzIVLlByb3RvVGFibGVDZWxs", + "Q29uZmlnSAASMAoQdGFibGVfcm93X2NvbmZpZxgmIAEoCzIULlByb3RvVGFi", + "bGVSb3dDb25maWdIABJDChp0YWJsZV9jb250ZW50X2dyb3VwX2NvbmZpZxgn", + "IAEoCzIdLlByb3RvVGFibGVDb250ZW50R3JvdXBDb25maWdIABIvCg9icmlj", + "a19yZWZlcmVuY2UYKCABKAsyFC5Qcm90b0JyaWNrUmVmZXJlbmNlSAASKAoL", + "aW5kZW50YXRpb24YNyABKAsyES5Qcm90b0luZGVudGF0aW9uSAASIAoHYmFy", + "Y29kZRg4IAEoCzINLlByb3RvQmFyY29kZUgAEh8KB3dzX2FyZWEYOSABKAsy", + "DC5Qcm90b1dzQXJlYUgAEiUKCmNhcnJ5X292ZXIYOiABKAsyDy5Qcm90b0Nh", + "cnJ5T3ZlckgAEiMKCXN1Yl90b3RhbBg7IAEoCzIOLlByb3RvU3ViVG90YWxI", + "ABIaCgRsb29wGDwgASgLMgouUHJvdG9Mb29wSAASJQoKbG9vcF9lbnRyeRg9", + "IAEoCzIPLlByb3RvTG9vcEVudHJ5SAASGgoEcnVsZRg+IAEoCzIKLlByb3Rv", + "UnVsZUgAEh4KBmxheW91dBg/IAEoCzIMLlByb3RvTGF5b3V0SAASRAoaYWR2", + "YW5jZWRfaWxsdXN0cmF0aW9uX2FyZWEYQCABKAsyHi5Qcm90b0FkdmFuY2Vk", + "SWxsdXN0cmF0aW9uQXJlYUgAEjcKE2FkanVzdF9ob3Jpem9udGFsbHkYQSAB", + "KAsyGC5Qcm90b0FkanVzdEhvcml6b250YWxseUgAEiwKDWRvY3R5cGVTY3Jp", + "cHQYQiABKAsyEy5Qcm90b0RvY3R5cGVTY3JpcHRIABIiCghkbVNjcmlwdBhD", + "IAEoCzIOLlByb3RvRG1TY3JpcHRIABIxChBkeW5hbWljX3RlbXBsYXRlGEQg", + "ASgLMhUuUHJvdG9EeW5hbWljVGVtcGxhdGVIABIkCglzZWxlY3Rpb24YRSAB", + "KAsyDy5Qcm90b1NlbGVjdGlvbkgAEi8KD3NlbGVjdGlvbl9lbnRyeRhGIAEo", + "CzIULlByb3RvU2VsZWN0aW9uRW50cnlIABIkCgljb25kaXRpb24YRyABKAsy", + "Dy5Qcm90b0NvbmRpdGlvbkgAEi0KDnBhZ2VfY29uZGl0aW9uGEggASgLMhMu", + "UHJvdG9QYWdlQ29uZGl0aW9uSAASHgoGbG9jYWxlGEkgASgLMgwuUHJvdG9M", + "b2NhbGVIABIYCgN0YWcYSiABKAsyCS5Qcm90b1RhZ0gAEjoKFXBhcmFncmFw", + "aF9zZXRfZGVmYXVsdBhLIAEoCzIZLlByb3RvUGFyYWdyYXBoU2V0RGVmYXVs", + "dEgAEjAKEGlucHV0X2ZpZWxkX3RleHQYTCABKAsyFC5Qcm90b0lucHV0Rmll", + "bGRUZXh0SAASMAoQaW5wdXRfZmllbGRfZGF0ZRhNIAEoCzIULlByb3RvSW5w", + "dXRGaWVsZERhdGVIABI4ChRpbnB1dF9maWVsZF9jaGVja2JveBhOIAEoCzIY", + "LlByb3RvSW5wdXRGaWVsZENoZWNrYm94SAASMgoRaW5wdXRfZmllbGRfbGFi", + "ZWwYTyABKAsyFS5Qcm90b0lucHV0RmllbGRMYWJlbEgAEjgKFGlucHV0X2Zp", + "ZWxkX2Ryb3Bkb3duGFAgASgLMhguUHJvdG9JbnB1dEZpZWxkRHJvcGRvd25I", + "AEIICgZvYmplY3Qi0QYKClByb3RvSW1hZ2USJQoGcGFyZW50GAEgASgLMhUu", + "UHJvdG9Eb2N1bWVudEVsZW1lbnQSCwoDYWx0GAIgASgJEgwKBG5hbWUYAyAB", + "KAkSCwoDc3JjGAQgASgJEhAKCGZpbGVuYW1lGAUgASgJEiAKBXNjYWxlGAYg", + "ASgLMhEuUHJvdG9Cb3hlZERvdWJsZRImCgtjb2x1bW5TY2FsZRgHIAEoCzIR", + "LlByb3RvQm94ZWREb3VibGUSIQoFd2lkdGgYCCABKAsyEi5Qcm90b0JveGVk", + "TWVhc3VyZRIiCgZoZWlnaHQYCSABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRId", + "CgF4GAogASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSHQoBeRgLIAEoCzISLlBy", + "b3RvQm94ZWRNZWFzdXJlEikKEHBvc2l0aW9uQWJzb2x1dGUYDCABKAsyDy5Q", + "cm90b0JveGVkQm9vbBIQCghyb3RhdGlvbhgNIAEoARIoCgxmbGlwU2V0dGlu", + "Z3MYDiABKAsyEi5Qcm90b0ZsaXBTZXR0aW5ncxIoCgxjcm9wU2V0dGluZ3MY", + "DyABKAsyEi5Qcm90b0Nyb3BTZXR0aW5ncxI4CgNhaWEYECABKAsyKy5Qcm90", + "b0FkdmFuY2VkSWxsdXN0cmF0aW9uQXJlYUltYWdlU2V0dGluZ3MSDAoEdXVp", + "ZBgRIAEoCRIxCg5yZWZlcmVuY2VQb2ludBgSIAEoDjIZLlByb3RvSW1hZ2VS", + "ZWZlcmVuY2VQb2ludBIRCgloeXBlcmxpbmsYEyABKAkSFwoPY29tQ2hhbm5l", + "bFVVSURzGBQgAygJEjAKEGltYWdlQ29udGVudFR5cGUYFSABKA4yFi5Qcm90", + "b0ltYWdlQ29udGVudFR5cGUSFAoMaW1hZ2VDb250ZW50GBYgASgJEicKCXNj", + "YWxlVHlwZRgXIAEoDjIULlByb3RvSW1hZ2VTY2FsZVR5cGUSIQoGdWFNb2Rl", + "GBggASgOMhEuUHJvdG9JbWFnZVVBTW9kZRIVCg11YURlc2NyaXB0aW9uGBkg", + "ASgJEjAKF2xlZnRCb3JkZXJJc0xlZnRNZWFzdXJlGBogASgLMg8uUHJvdG9C", + "b3hlZEJvb2wi0gEKDlByb3RvRGlyZWN0b3J5EigKCV9jaGlsZHJlbhgBIAMo", + "CzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlBy", + "b3RvRG9jdW1lbnRFbGVtZW50EgwKBHV1aWQYAyABKAkSFwoPY29tQ2hhbm5l", + "bFVVSURzGAQgAygJEigKDHNlbWFudGljVHlwZRgFIAEoDjISLlByb3RvU2Vt", + "YW50aWNUeXBlEhAKCGVkaXRhYmxlGAYgASgIEgwKBG5hbWUYByABKAkitAEK", + "DlByb3RvVGV4dEJyaWNrEigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9j", + "dW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRF", + "bGVtZW50EgwKBHV1aWQYAyABKAkSCgoCaWQYBCABKAQSFwoPY29tQ2hhbm5l", + "bFVVSURzGAUgAygJEhAKCGVkaXRhYmxlGAYgASgIEgwKBG5hbWUYByABKAki", + "wAEKDVByb3RvVmFyaWFibGUSJQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1", + "bWVudEVsZW1lbnQSDAoEcGF0aBgCIAEoCRIPCgdjb250ZW50GAMgASgJEhIK", + "CmZvcm1hdFV1aWQYBCABKAkSLgoLc3BlY2lhbFR5cGUYBSABKA4yGS5Qcm90", + "b1ZhcmlhYmxlU3BlY2lhbFR5cGUSDAoEdXVpZBgGIAEoCRIXCg9jb21DaGFu", + "bmVsVVVJRHMYByADKAki8QEKDlByb3RvRm9ybWF0dGVkEiUKBnBhcmVudBgB", + "IAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EhYKDmR0ZWRpdG9yU3ludGF4", + "GAIgASgIEhYKDmRvY3R5cGVDb250ZW50GAMgASgJEhMKC2RvY3R5cGVDb2Rl", + "GAQgASgJEhMKC2h0bWxDb250ZW50GAUgASgJEhAKCGh0bWxDb2RlGAYgASgJ", + "EhMKC3RleHRDb250ZW50GAcgASgJEhAKCHRleHRDb2RlGAggASgJEhcKD2Nv", + "bUNoYW5uZWxVVUlEcxgJIAMoCRIMCgR1dWlkGAogASgJIk4KE1Byb3RvQXBw", + "bHlQcm90b0NEZWYSEAoIY0RlZlV1aWQYASABKAkSFwoPY29tQ2hhbm5lbFVV", + "SURzGAIgAygJEgwKBHV1aWQYAyABKAkiTgoTUHJvdG9BcHBseVByb3RvUERl", + "ZhIQCghwRGVmVXVpZBgBIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYAiADKAkS", + "DAoEdXVpZBgDIAEoCSJRChJQcm90b0FwcGx5UHRDb25maWcSFAoMcHRDb25m", + "aWdVdWlkGAEgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgCIAMoCRIMCgR1dWlk", + "GAMgASgJIlEKElByb3RvQXBwbHlVbENvbmZpZxIUCgx1bENvbmZpZ1V1aWQY", + "ASABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAIgAygJEgwKBHV1aWQYAyABKAki", + "tgEKCVByb3RvQ0RlZhIrCg1jb2x1bVNldHRpbmdzGAEgASgLMhQuUHJvdG9D", + "b2x1bW5TZXR0aW5ncxIsChNhcHBseVRvSGVhZGVyRm9vdGVyGAIgASgLMg8u", + "UHJvdG9Cb3hlZEJvb2wSJwoOYXBwbHlJbW1lZGlhdGUYAyABKAsyDy5Qcm90", + "b0JveGVkQm9vbBIMCgRVdWlkGAQgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgF", + "IAMoCSKAAQoJUHJvdG9QRGVmEiUKCXBhZ2VXaWR0aBgBIAEoCzISLlByb3Rv", + "Qm94ZWRNZWFzdXJlEiUKCXBhZ2VEZXB0aBgCIAEoCzISLlByb3RvQm94ZWRN", + "ZWFzdXJlEgwKBFV1aWQYAyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAQgAygJ", + "ItQBCg1Qcm90b1B0Q29uZmlnEiIKBmhlaWdodBgBIAEoCzISLlByb3RvQm94", + "ZWRNZWFzdXJlEiQKCGxpbmVGZWVkGAIgASgLMhIuUHJvdG9Cb3hlZE1lYXN1", + "cmUSKgoOY2hhcmFjdGVyV2lkdGgYAyABKAsyEi5Qcm90b0JveGVkTWVhc3Vy", + "ZRImCgpzcGFjZVdpZHRoGAQgASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSDAoE", + "VXVpZBgFIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBiADKAkiWQoNUHJvdG9V", + "bENvbmZpZxIhCgRtb2RlGAEgASgOMhMuUHJvdG9VbmRlcmxpbmVNb2RlEgwK", + "BFV1aWQYAiABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAMgAygJIu8BCgxQcm90", + "b05ld1BhZ2USDAoEdXVpZBgBIAEoCRIVCg1wYXBlclRyYXlVdWlkGAIgASgJ", + "EhcKD3BhcGVyVHJheU51bWJlchgDIAEoDRISCgpwYXBlckNvdW50GAQgASgN", + "EiAKCHBhZ2VNb2RlGAUgASgOMg4uUHJvdG9QYWdlTW9kZRIuCg9wYWdlT3Jp", + "ZW50YXRpb24YBiABKA4yFS5Qcm90b1BhZ2VPcmllbnRhdGlvbhIQCghwRGVm", + "VXVpZBgHIAEoCRIQCghjRGVmVXVpZBgIIAEoCRIXCg9jb21DaGFubmVsVVVJ", + "RHMYCSADKAkizwEKEFByb3RvSW5kZW50YXRpb24SKAoJX2NoaWxkcmVuGAEg", + "AygLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUu", + "UHJvdG9Eb2N1bWVudEVsZW1lbnQSIAoEbGVmdBgDIAEoCzISLlByb3RvQm94", + "ZWRNZWFzdXJlEiEKBXJpZ2h0GAQgASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUS", + "DAoEdXVpZBgFIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBiADKAkiiAEKDlBy", + "b3RvQ2FycnlPdmVyEigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1l", + "bnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVt", + "ZW50EhcKD2NvbUNoYW5uZWxVVUlEcxgDIAMoCRIMCgR1dWlkGAQgASgJIqUB", + "Cg5Qcm90b0xvb3BFbnRyeRIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0Rv", + "Y3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50", + "RWxlbWVudBIMCgRwYXRoGAMgASgJEg0KBWluZGV4GAQgASgEEgwKBHV1aWQY", + "BSABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAYgAygJIpEBCglQcm90b0xvb3AS", + "KAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoG", + "cGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEcGF0aBgD", + "IAEoCRIMCgR1dWlkGAQgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMoCSLp", + "AQoNUHJvdG9TdWJUb3RhbBIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0Rv", + "Y3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50", + "RWxlbWVudBIXCg9hcHBseV9pbW1lZGlhdGUYAyABKAgSKAoIcG9zaXRpb24Y", + "BCABKA4yFi5Qcm90b1N1YlRvdGFsUG9zaXRpb24SHQoGaGVpZ2h0GAUgASgL", + "Mg0uUHJvdG9NZWFzdXJlEhcKD2NvbUNoYW5uZWxVVUlEcxgGIAMoCRIMCgR1", + "dWlkGAcgASgJIoUBCgtQcm90b1dzQXJlYRIoCglfY2hpbGRyZW4YASADKAsy", + "FS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90", + "b0RvY3VtZW50RWxlbWVudBIXCg9jb21DaGFubmVsVVVJRHMYAyADKAkSDAoE", + "dXVpZBgEIAEoCSLIAgoJUHJvdG9SdWxlEh4KB3hPZmZzZXQYASABKAsyDS5Q", + "cm90b01lYXN1cmUSHgoHeU9mZnNldBgCIAEoCzINLlByb3RvTWVhc3VyZRIc", + "CgV3aWR0aBgDIAEoCzINLlByb3RvTWVhc3VyZRIgCgl0aGlja25lc3MYBCAB", + "KAsyDS5Qcm90b01lYXN1cmUSEAoIcm90YXRpb24YBSABKAESGgoFY29sb3IY", + "BiABKAsyCy5Qcm90b0NvbG9yEh4KBXN0eWxlGAcgASgOMg8uUHJvdG9SdWxl", + "U3R5bGUSHAoEbW9kZRgIIAEoDjIOLlByb3RvUnVsZU1vZGUSKAoKYm91bmRh", + "cmllcxgJIAEoCzIULlByb3RvUnVsZUJvdW5kYXJpZXMSFwoPY29tQ2hhbm5l", + "bFVVSURzGAogAygJEgwKBHV1aWQYCyABKAkiTwoTUHJvdG9SdWxlQm91bmRh", + "cmllcxIcCgVzdGFydBgBIAEoCzINLlByb3RvTWVhc3VyZRIaCgNlbmQYAiAB", + "KAsyDS5Qcm90b01lYXN1cmUiUgoNUHJvdG9Db2xvckRlZhIaCgVjb2xvchgB", + "IAEoCzILLlByb3RvQ29sb3ISFwoPY29tQ2hhbm5lbFVVSURzGAIgAygJEgwK", + "BHV1aWQYAyABKAkiaQoLUHJvdG9MYXlvdXQSJQoGcGFyZW50GAEgASgLMhUu", + "UHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEbmFtZRgCIAEoCRIXCg9jb21DaGFu", + "bmVsVVVJRHMYAyADKAkSDAoEdXVpZBgEIAEoCSLqAgodUHJvdG9BZHZhbmNl", + "ZElsbHVzdHJhdGlvbkFyZWESKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9E", "b2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVu", - "dEVsZW1lbnQSIgoLbWluRm9udFNpemUYAyABKAsyDS5Qcm90b01lYXN1cmUS", - "IgoLbWF4Rm9udFNpemUYBCABKAsyDS5Qcm90b01lYXN1cmUSFwoPY29tQ2hh", - "bm5lbFVVSURzGAUgAygJIqABChJQcm90b0RvY3R5cGVTY3JpcHQSJQoGcGFy", - "ZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDwoHY29udGVudBgC", - "IAEoCRIrCgpvdXRwdXRNb2RlGAMgASgOMhcuUHJvdG9Eb2N0eXBlT3V0cHV0", - "TW9kZRIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkSDAoEdXVpZBgFIAEoCSJu", - "Cg1Qcm90b0RtU2NyaXB0EiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1l", - "bnRFbGVtZW50Eg8KB2NvbnRlbnQYAiABKAkSFwoPY29tQ2hhbm5lbFVVSURz", - "GAMgAygJEgwKBHV1aWQYBCABKAkidAoUUHJvdG9EeW5hbWljVGVtcGxhdGUS", - "JQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEdXVp", - "ZBgCIAEoCRIOCgZzY3JpcHQYAyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAQg", - "AygJItUBCg5Qcm90b1NlbGVjdGlvbhIoCglfY2hpbGRyZW4YASADKAsyFS5Q", - "cm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0Rv", - "Y3VtZW50RWxlbWVudBIMCgR1dWlkGAMgASgJEhcKD2NvbUNoYW5uZWxVVUlE", - "cxgEIAMoCRIUCgxpbnRlcm5hbE5hbWUYBSABKAkSDAoEbmFtZRgGIAEoCRIN", - "CgVtdWx0aRgHIAEoCBILCgNtaW4YCCABKAQSCwoDbWF4GAkgASgEIsMBChNQ", - "cm90b1NlbGVjdGlvbkVudHJ5EigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3Rv", - "RG9jdW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1l", - "bnRFbGVtZW50EgwKBHV1aWQYAyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAQg", - "AygJEhQKDGludGVybmFsTmFtZRgFIAEoCRIMCgRuYW1lGAYgASgJEhAKCHNl", - "bGVjdGVkGAcgASgIIroBCg5Qcm90b0NvbmRpdGlvbhIoCglfY2hpbGRyZW4Y", + "dEVsZW1lbnQSDAoEdXVpZBgDIAEoCRIQCghhYnNvbHV0ZRgEIAEoCBIcCgV3", + "aWR0aBgFIAEoCzINLlByb3RvTWVhc3VyZRIdCgZoZWlnaHQYBiABKAsyDS5Q", + "cm90b01lYXN1cmUSGAoBeBgHIAEoCzINLlByb3RvTWVhc3VyZRIYCgF5GAgg", + "ASgLMg0uUHJvdG9NZWFzdXJlEjwKCHRleHRGbG93GAkgASgOMiouUHJvdG9B", + "ZHZhbmNlZElsbHVzdHJhdGlvbkFyZWFUZXh0Rmxvd1R5cGUSEAoIcm90YXRp", + "b24YCiABKAISFwoPY29tQ2hhbm5lbFVVSURzGAsgAygJItkBChdQcm90b0Fk", + "anVzdEhvcml6b250YWxseRIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0Rv", + "Y3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50", + "RWxlbWVudBIiCgttaW5Gb250U2l6ZRgDIAEoCzINLlByb3RvTWVhc3VyZRIi", + "CgttYXhGb250U2l6ZRgEIAEoCzINLlByb3RvTWVhc3VyZRIXCg9jb21DaGFu", + "bmVsVVVJRHMYBSADKAkSDAoEdXVpZBgGIAEoCSKgAQoSUHJvdG9Eb2N0eXBl", + "U2NyaXB0EiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50", + "Eg8KB2NvbnRlbnQYAiABKAkSKwoKb3V0cHV0TW9kZRgDIAEoDjIXLlByb3Rv", + "RG9jdHlwZU91dHB1dE1vZGUSFwoPY29tQ2hhbm5lbFVVSURzGAQgAygJEgwK", + "BHV1aWQYBSABKAkibgoNUHJvdG9EbVNjcmlwdBIlCgZwYXJlbnQYASABKAsy", + "FS5Qcm90b0RvY3VtZW50RWxlbWVudBIPCgdjb250ZW50GAIgASgJEhcKD2Nv", + "bUNoYW5uZWxVVUlEcxgDIAMoCRIMCgR1dWlkGAQgASgJInQKFFByb3RvRHlu", + "YW1pY1RlbXBsYXRlEiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRF", + "bGVtZW50EgwKBHV1aWQYAiABKAkSDgoGc2NyaXB0GAMgASgJEhcKD2NvbUNo", + "YW5uZWxVVUlEcxgEIAMoCSLVAQoOUHJvdG9TZWxlY3Rpb24SKAoJX2NoaWxk", + "cmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIg", + "ASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEdXVpZBgDIAEoCRIXCg9j", + "b21DaGFubmVsVVVJRHMYBCADKAkSFAoMaW50ZXJuYWxOYW1lGAUgASgJEgwK", + "BG5hbWUYBiABKAkSDQoFbXVsdGkYByABKAgSCwoDbWluGAggASgEEgsKA21h", + "eBgJIAEoBCLDAQoTUHJvdG9TZWxlY3Rpb25FbnRyeRIoCglfY2hpbGRyZW4Y", "ASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsy", "FS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgR1dWlkGAMgASgJEhcKD2NvbUNo", - "YW5uZWxVVUlEcxgEIAMoCRIMCgRjb2RlGAUgASgJEg4KBnJlc3VsdBgGIAEo", - "CBISCgpyZWdlbmVyYXRlGAcgASgIIpoBChJQcm90b1BhZ2VDb25kaXRpb24S", + "YW5uZWxVVUlEcxgEIAMoCRIUCgxpbnRlcm5hbE5hbWUYBSABKAkSDAoEbmFt", + "ZRgGIAEoCRIQCghzZWxlY3RlZBgHIAEoCCK6AQoOUHJvdG9Db25kaXRpb24S", "KAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJQoG", "cGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEdXVpZBgD", - "IAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkSDAoEY29kZRgFIAEoCSKx", - "AQoLUHJvdG9Mb2NhbGUSKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1", - "bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVs", - "ZW1lbnQSDAoEdXVpZBgDIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkS", - "FQoNbGFuZ3VhZ2VVVUlEcxgFIAMoCRITCgtyZWdpb25VVUlEcxgGIAMoCSKa", - "AQoIUHJvdG9UYWcSJQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVs", - "ZW1lbnQSDAoEbmFtZRgCIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYAyADKAkS", - "DAoEdXVpZBgEIAEoCRIOCgZwYXJhbXMYBSADKAkSEAoIbmFtZUNvZGUYBiAB", - "KAkSEAoIY29kZU1vZGUYByABKAgikwEKGFByb3RvUGFyYWdyYXBoU2V0RGVm", - "YXVsdBIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIM", - "CgRuYW1lGAIgASgJEhsKE3BhcmFncmFwaEZvcm1hdFVVSUQYAyABKAkSDAoE", - "dXVpZBgEIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBSADKAkiowMKF1Byb3Rv", - "QmFzZVRleHRJbnB1dEZpZWxkEiIKBGJhc2UYASABKAsyFC5Qcm90b0Jhc2VJ", - "bnB1dEZpZWxkEiQKCHBkZl9zaXplGAIgASgLMhIuUHJvdG9Cb3hlZE1lYXN1", - "cmUSKgoOcGRmSW5wdXRIZWlnaHQYAyABKAsyEi5Qcm90b0JveGVkTWVhc3Vy", - "ZRIVCg1wZGZJc1JlYWRPbmx5GAQgASgIEhUKDXBkZklzUmVxdWlyZWQYBSAB", - "KAgSGAoQcGRmSXNOb3RFeHBvcnRlZBgGIAEoCBIWCg5wZGZJc011bHRpbGlu", - "ZRgHIAEoCBIaChJwZGZJc1Bhc3N3b3JkRmllbGQYCCABKAgSHwoXcGRmSXNG", - "aWxlU2VsZWN0aW9uRmllbGQYCSABKAgSHAoUcGRmRGlzYWJsZVNwZWxsQ2hl", - "Y2sYCiABKAgSGwoTcGRmRGlzYWJsZVNjcm9sbGluZxgLIAEoCBIcChRwZGZV", - "c2VDb21iRm9ybWF0dGluZxgMIAEoCBIcChRwZGZJc1JpY2hUZXh0RW5hYmxl", - "ZBgNIAEoCCJkChNQcm90b0lucHV0RmllbGRUZXh0EiUKBnBhcmVudBgBIAEo", - "CzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiYKBGJhc2UYAiABKAsyGC5Qcm90", - "b0Jhc2VUZXh0SW5wdXRGaWVsZCJkChNQcm90b0lucHV0RmllbGREYXRlEiUK", - "BnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiYKBGJhc2UY", - "AiABKAsyGC5Qcm90b0Jhc2VUZXh0SW5wdXRGaWVsZCJkChdQcm90b0lucHV0", - "RmllbGRDaGVja2JveBIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50", - "RWxlbWVudBIiCgRiYXNlGAIgASgLMhQuUHJvdG9CYXNlSW5wdXRGaWVsZCJl", - "ChRQcm90b0lucHV0RmllbGRMYWJlbBIlCgZwYXJlbnQYASABKAsyFS5Qcm90", - "b0RvY3VtZW50RWxlbWVudBImCgRiYXNlGAIgASgLMhguUHJvdG9CYXNlVGV4", - "dElucHV0RmllbGQitQEKF1Byb3RvSW5wdXRGaWVsZERyb3Bkb3duEiUKBnBh", - "cmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiYKBGJhc2UYAiAB", - "KAsyGC5Qcm90b0Jhc2VUZXh0SW5wdXRGaWVsZBIdCgdvcHRpb25zGAMgAygL", - "MgwuUHJvdG9PcHRpb24SFwoPYmluZE9wdGlvbnNDb2RlGAQgASgIEhMKC29w", - "dGlvbnNDb2RlGAUgASgJKjgKDFByb3RvU1BCTW9kZRIICgROT05FEAASDwoL", - "U1VQRVJTQ1JJUFQQARINCglTVUJTQ1JJUFQQAir5AQoOUHJvdG9SdWxlU3R5", - "bGUSFAoQRFVNTVlfUlVMRV9TVFlMRRAAEgkKBVNPTElEEAESEgoOU1BBUlNF", - "X1NIQURJTkcQAhISCg5NRURJVU1fU0hBRElORxADEhEKDURFTlNFX1NIQURJ", - "TkcQBBIQCgxMSUdIVF9ET1RURUQQBRIRCg1NRURJVU1fRE9UVEVEEAYSEAoM", - "SEVBVllfRE9UVEVEEAcSEAoMTElHSFRfREFTSEVEEAgSEQoNTUVESVVNX0RB", - "U0hFRBAJEhAKDEhFQVZZX0RBU0hFRBAKEhAKDERBU0hfUEFUVEVSThALEgsK", - "BkRPVUJMRRD+ASpHChBQcm90b01lYXN1cmVUeXBlEgYKAlBUEAASBgoCQ00Q", - "ARIGCgJNTRACEgYKAklOEAMSCwoHUEVSQ0VOVBAEEgYKAlBYEAUqewopUHJv", - "dG9BZHZhbmNlZElsbHVzdHJhdGlvbkFyZWFUZXh0Rmxvd1R5cGUSFQoRRE9f", - "Tk9UX1VTRV9BVF9BTEwQABIKCgZBUk9VTkQQARILCgdOT19GTE9XEAISDgoK", - "Rk9SRUdST1VORBADEg4KCkJBQ0tHUk9VTkQQBCo5Cg5Qcm90b0NvbG9yVHlw", - "ZRIUChBEVU1NWV9DT0xPUl9UWVBFEAASBwoDUkdCEAMSCAoEQ01ZSxAEKpIB", - "ChhQcm90b0hvcml6b250YWxBbGlnbm1lbnQSDgoKQUxJR05fTEVGVBAAEhAK", - "DEFMSUdOX0NFTlRFUhABEg8KC0FMSUdOX1JJR0hUEAISEQoNQUxJR05fSlVT", - "VElGWRADEhYKEkFMSUdOX0ZVTExfSlVTVElGWRAEEhgKFEFMSUdOX0NFTlRF", - "Ul9PTl9QQUdFEAUqOQoWUHJvdG9WZXJ0aWNhbEFsaWdubWVudBIHCgNUT1AQ", - "ABIKCgZNSURETEUQARIKCgZCT1RUT00QAiqDAQoQUHJvdG9CYXJjb2RlVHlw", - "ZRIKCgZQREY0MTcQABIOCgpEQVRBTUFUUklYEAESCQoFQkMxMjgQAhIGCgJR", - "UhADEgcKA0lURhAEEggKBEVBTjgQBRIJCgVFQU4xMxAGEgoKBkNPREUzORAH", - "EgsKB1NXSVNTUVIQCBIJCgVBWlRFQxAJKk4KElByb3RvQmFyY29kZVVBTW9k", - "ZRIaChZCQVJDT0RFX1VBX01PREVfU0lNUExFEAASHAoYQkFSQ09ERV9VQV9N", - "T0RFX0FEVkFOQ0VEEAEqUgoRUHJvdG9Qb3NpdGlvbk1vZGUSCgoGQ0VOVEVS", - "EAASCAoETEVGVBABEgkKBUZPTElPEAISCQoFUklHSFQQAxIRCg1SRVZFUlNF", - "X0ZPTElPEAQqjgEKElByb3RvVW5kZXJsaW5lTW9kZRIYChREVU1NWV9VTkRF", - "UkxJTkVfTU9ERRAAEhMKD1dPUkRTX05PX0JMQU5LUxABEhQKEFdPUkRTX0FO", - "RF9CTEFOS1MQAhIYChRDSEFSQUNURVJTX05PX0JMQU5LUxADEhkKFUNIQVJB", - "Q1RFUlNfQU5EX0JMQU5LUxAEKrkBChhQcm90b0ltYWdlUmVmZXJlbmNlUG9p", - "bnQSHwobUkVGX1BPSU5UX0RPX05PVF9VU0VfQVRfQUxMEAASGQoVUkVGX1BP", - "SU5UX0JPVFRPTV9MRUZUEAESFgoSUkVGX1BPSU5UX1RPUF9MRUZUEAISFAoQ", - "UkVGX1BPSU5UX0NFTlRFUhADEhoKFlJFRl9QT0lOVF9CT1RUT01fUklHSFQQ", - "BBIXChNSRUZfUE9JTlRfVE9QX1JJR0hUEAUqiQEKEVByb3RvU2VtYW50aWNU", - "eXBlEhYKElNFTUFOVElDX1RZUEVfTk9ORRAAEhYKElNFTUFOVElDX1RZUEVf", - "UEFSVBABEhUKEVNFTUFOVElDX1RZUEVfQVJUEAISFgoSU0VNQU5USUNfVFlQ", - "RV9TRUNUEAMSFQoRU0VNQU5USUNfVFlQRV9ESVYQBCqmAQoTUERGUHJpbnRp", - "bmdCZWhhdmlvchIrCidQREZfUFJJTlRJTkdfQkVIQVZJT1JfRE9fTk9UX1VT", - "RV9BVF9BTEwQABIfChtQREZfUFJJTlRJTkdfQkVIQVZJT1JfSU5QVVQQARIe", - "ChpQREZfUFJJTlRJTkdfQkVIQVZJT1JfVEVYVBACEiEKHVBERl9QUklOVElO", - "R19CRUhBVklPUl9JTkhFUklUEAMqhgEKC0luaGVyaXRhbmNlEhcKE0lOSEVS", - "SVRBTkNFX0lOSEVSSVQQABIUChBJTkhFUklUQU5DRV9DT0RFEAESGQoVSU5I", - "RVJJVEFOQ0VfQklORF9DT0RFEAISFgoSSU5IRVJJVEFOQ0VfU1RBVElDEAMS", - "FQoRSU5IRVJJVEFOQ0VfUkVTRVQQBCpvCg9Qcm90b051bWJlclR5cGUSCgoG", - "QVJBQklDEAASEQoNUk9NX1VQUEVSQ0FTRRABEhEKDVJPTV9MT1dFUkNBU0UQ", - "AhIUChBMRVRURVJfVVBQRVJDQVNFEAMSFAoQTEVUVEVSX0xPV0VSQ0FTRRAE", - "KkMKGVByb3RvTGlzdExldmVsU2V0dGluZ1R5cGUSDgoKVU5OVU1CRVJFRBAA", - "EgsKB05VTUVSSUMQARIJCgVJTUFHRRACKk4KGlByb3RvVGFibGVDb250ZW50", - "R3JvdXBUeXBlEgoKBkhFQURFUhAAEggKBEJPRFkQARIKCgZGT09URVIQAhIO", - "CgpTVUJfSEVBREVSEAMqXwoSUHJvdG9UYWJsZUNlbGxUeXBlEhMKD1RBQkxF", - "X0NFTExfQk9EWRAAEhkKFVRBQkxFX0NFTExfUk9XX0hFQURFUhABEhkKFVRB", - "QkxFX0NFTExfUk9XX0ZPT1RFUhACKjIKD0NvbHVtbkJhbGFuY2luZxIQCgxO", - "T19CQUxBTkNJTkcQABINCglCQUxBTkNJTkcQASp6Cg9Qcm90b0hlYWRlck1v", - "ZGUSHgoaSEVBREVSX01PREVfQVBQRU5EX0lOSVRJQUwQABIWChJIRUFERVJf", - "TU9ERV9BUFBFTkQQARIWChJIRUFERVJfTU9ERV9FWFRFTkQQAhIXChNIRUFE", - "RVJfTU9ERV9SRVBMQUNFEAMqegoPUHJvdG9Gb290ZXJNb2RlEh4KGkZPT1RF", - "Ul9NT0RFX0FQUEVORF9JTklUSUFMEAASFgoSRk9PVEVSX01PREVfQVBQRU5E", - "EAESFgoSRk9PVEVSX01PREVfRVhURU5EEAISFwoTRk9PVEVSX01PREVfUkVQ", - "TEFDRRADKocSCghOb2RlVHlwZRIsCihET0NVTUVOVF9FTEVNRU5UX0JSQU5D", - "SF9ET0NVTUVOVF9FTEVNRU5UEAASJAogRE9DVU1FTlRfRUxFTUVOVF9CUklD", - "S19SRUZFUkVOQ0UQARIaChZET0NVTUVOVF9FTEVNRU5UX0JSSUNLEAISJQoh", - "RE9DVU1FTlRfRUxFTUVOVF9ET0NVTUVOVF9FTEVNRU5UEAMSHgoaRE9DVU1F", - "TlRfRUxFTUVOVF9MSU5FQlJFQUsQBBIhCh1ET0NVTUVOVF9FTEVNRU5UX0xJ", - "U1RfU0VUVElORxAGEiUKIURPQ1VNRU5UX0VMRU1FTlRfUEFSQUdSQVBIX0ZP", - "Uk1BVBAHEh4KGkRPQ1VNRU5UX0VMRU1FTlRfUEFSQUdSQVBIEAgSHAoYRE9D", - "VU1FTlRfRUxFTUVOVF9TRUNUSU9OEAkSGQoVRE9DVU1FTlRfRUxFTUVOVF9T", - "UEFOEAoSGgoWRE9DVU1FTlRfRUxFTUVOVF9UQUJMRRALEh8KG0RPQ1VNRU5U", - "X0VMRU1FTlRfVEFCTEVfQ0VMTBAMEh4KGkRPQ1VNRU5UX0VMRU1FTlRfVEFC", - "TEVfUk9XEA0SHQoZRE9DVU1FTlRfRUxFTUVOVF9URU1QTEFURRAPEhkKFURP", - "Q1VNRU5UX0VMRU1FTlRfVEVYVBAQEh4KGkRPQ1VNRU5UX0VMRU1FTlRfQ09M", - "T1JfREVGEBMSGgoWRE9DVU1FTlRfRUxFTUVOVF9JTUFHRRAeEiEKHURPQ1VN", - "RU5UX0VMRU1FTlRfTkFNRURfU1RSSU5HECISKAokRE9DVU1FTlRfRUxFTUVO", - "VF9UQUJMRV9DT05URU5UX0dST1VQECMSIQodRE9DVU1FTlRfRUxFTUVOVF9U", - "QUJMRV9DT05GSUcQJBImCiJET0NVTUVOVF9FTEVNRU5UX1RBQkxFX0NFTExf", - "Q09ORklHECUSJQohRE9DVU1FTlRfRUxFTUVOVF9UQUJMRV9ST1dfQ09ORklH", - "ECYSLworRE9DVU1FTlRfRUxFTUVOVF9UQUJMRV9DT05URU5UX0dST1VQX0NP", - "TkZJRxAnEhkKFURPQ1VNRU5UX0VMRU1FTlRfTElOSxAoEh4KGkRPQ1VNRU5U", - "X0VMRU1FTlRfRElSRUNUT1JZECkSHwobRE9DVU1FTlRfRUxFTUVOVF9URVhU", - "X0JSSUNLECoSHQoZRE9DVU1FTlRfRUxFTUVOVF9WQVJJQUJMRRAsEiUKIURP", - "Q1VNRU5UX0VMRU1FTlRfU1BBQ0VfVkVSVElDQUxMWRAtEh4KGkRPQ1VNRU5U", - "X0VMRU1FTlRfRk9STUFUVEVEEC4SIAocRE9DVU1FTlRfRUxFTUVOVF9BUFBM", - "WV9DX0RFRhAvEiAKHERPQ1VNRU5UX0VMRU1FTlRfQVBQTFlfUF9ERUYQMBIk", - "CiBET0NVTUVOVF9FTEVNRU5UX0FQUExZX1BUX0NPTkZJRxAxEiQKIERPQ1VN", - "RU5UX0VMRU1FTlRfQVBQTFlfVUxfQ09ORklHEDISGgoWRE9DVU1FTlRfRUxF", - "TUVOVF9DX0RFRhAzEhoKFkRPQ1VNRU5UX0VMRU1FTlRfUF9ERUYQNBIeChpE", - "T0NVTUVOVF9FTEVNRU5UX1BUX0NPTkZJRxA1Eh4KGkRPQ1VNRU5UX0VMRU1F", - "TlRfVUxfQ09ORklHEDYSHQoZRE9DVU1FTlRfRUxFTUVOVF9ORVdfUEFHRRA3", - "EhsKF0RPQ1VNRU5UX0VMRU1FTlRfSEVBREVSEDgSGwoXRE9DVU1FTlRfRUxF", - "TUVOVF9GT09URVIQORIgChxET0NVTUVOVF9FTEVNRU5UX0lOREVOVEFUSU9O", - "EDwSHAoYRE9DVU1FTlRfRUxFTUVOVF9CQVJDT0RFED0SHAoYRE9DVU1FTlRf", - "RUxFTUVOVF9XU19BUkVBED4SHwobRE9DVU1FTlRfRUxFTUVOVF9DQVJSWV9P", - "VkVSED8SHgoaRE9DVU1FTlRfRUxFTUVOVF9TVUJfVE9UQUwQQBIZChVET0NV", - "TUVOVF9FTEVNRU5UX0xPT1AQQRIfChtET0NVTUVOVF9FTEVNRU5UX0xPT1Bf", - "RU5UUlkQQhIZChVET0NVTUVOVF9FTEVNRU5UX1JVTEUQQxInCiNET0NVTUVO", - "VF9FTEVNRU5UX0xJU1RfTEVWRUxfU0VUVElORxBEEhsKF0RPQ1VNRU5UX0VM", - "RU1FTlRfTEFZT1VUEEUSLworRE9DVU1FTlRfRUxFTUVOVF9BRFZBTkNFRF9J", - "TExVU1RSQVRJT05fQVJFQRBGEigKJERPQ1VNRU5UX0VMRU1FTlRfQURKVVNU", - "X0hPUklaT05UQUxMWRBHEiMKH0RPQ1VNRU5UX0VMRU1FTlRfRE9DVFlQRV9T", - "Q1JJUFQQSBIeChpET0NVTUVOVF9FTEVNRU5UX0RNX1NDUklQVBBJEiUKIURP", - "Q1VNRU5UX0VMRU1FTlRfRFlOQU1JQ19URU1QTEFURRBKEh4KGkRPQ1VNRU5U", - "X0VMRU1FTlRfU0VMRUNUSU9OEEsSJAogRE9DVU1FTlRfRUxFTUVOVF9TRUxF", - "Q1RJT05fRU5UUlkQTBIeChpET0NVTUVOVF9FTEVNRU5UX0NPTkRJVElPThBN", - "EiMKH0RPQ1VNRU5UX0VMRU1FTlRfUEFHRV9DT05ESVRJT04QThIbChdET0NV", - "TUVOVF9FTEVNRU5UX0xPQ0FMRRBPEhgKFERPQ1VNRU5UX0VMRU1FTlRfVEFH", - "EFASKgomRE9DVU1FTlRfRUxFTUVOVF9QQVJBR1JBUEhfU0VUX0RFRkFVTFQQ", - "URIlCiFET0NVTUVOVF9FTEVNRU5UX0lOUFVUX0ZJRUxEX1RFWFQQUhIlCiFE", - "T0NVTUVOVF9FTEVNRU5UX0lOUFVUX0ZJRUxEX0RBVEUQUxIpCiVET0NVTUVO", - "VF9FTEVNRU5UX0lOUFVUX0ZJRUxEX0NIRUNLQk9YEFQSJgoiRE9DVU1FTlRf", - "RUxFTUVOVF9JTlBVVF9GSUVMRF9MQUJFTBBVEikKJURPQ1VNRU5UX0VMRU1F", - "TlRfSU5QVVRfRklFTERfRFJPUERPV04QViqkAQoTUHJvdG9JbWFnZVNjYWxl", - "VHlwZRImCiJJTUFHRV9TQ0FMRV9UWVBFX0RPX05PVF9VU0VfQVRfQUxMEAAS", - "HQoZSU1BR0VfU0NBTEVfVFlQRV9SRUxBVElWRRABEh0KGUlNQUdFX1NDQUxF", - "X1RZUEVfQUJTT0xVVEUQAhInCiNJTUFHRV9TQ0FMRV9UWVBFX1JFTEFUSVZF", - "X1RPX0NPTFVNThADKooBChBQcm90b0ltYWdlVUFNb2RlEiMKH0lNQUdFX1VB", - "X01PREVfRE9fTk9UX1VTRV9BVF9BTEwQABIbChdJTUFHRV9VQV9NT0RFX0lO", - "SEVSSVRFRBABEhgKFElNQUdFX1VBX01PREVfU0lNUExFEAISGgoWSU1BR0Vf", - "VUFfTU9ERV9BRFZBTkNFRBADKssBChVQcm90b0ltYWdlQ29udGVudFR5cGUS", - "JwojSU1BR0VfQ09OVEVOVF9VVUlEX1JFRkVSRU5DRV9JTkxJTkUQABImCiJJ", - "TUFHRV9DT05URU5UX1VVSURfUkVGRVJFTkNFX0xPQ0FMEAESJwojSU1BR0Vf", - "Q09OVEVOVF9VVUlEX1JFRkVSRU5DRV9HTE9CQUwQAhIaChZJTUFHRV9DT05U", - "RU5UX0RNU0NSSVBUEAMSHAoYSU1BR0VfQ09OVEVOVF9JTUFHRV9EQVRBEAQq", - "xAEKGFByb3RvVmFyaWFibGVTcGVjaWFsVHlwZRIPCgtOT1RfU1BFQ0lBTBAA", - "EhAKDFRBQkxFX05VTUJFUhABEhIKDkRPQ19QQUdFX0NPVU5UEAISEAoMRE9D", - "X0NVUl9QQUdFEAMSDAoIQ1VSX1BBR0UQBBIOCgpQQUdFX0NPVU5UEAUSDQoJ", - "UFJFVl9QQUdFEAYSEAoMU0VDVElPTl9QQUdFEAcSDgoKVVBEQVRFRF9BVBAI", - "EhAKDEdFTkVSQVRFRF9BVBAJKkgKDVByb3RvUGFnZU1vZGUSDQoJTkVYVF9Q", - "QUdFEAASEwoPTkVYVF9SRUNUT19QQUdFEAESEwoPTkVYVF9WRVJTT19QQUdF", - "EAIqawoUUHJvdG9QYWdlT3JpZW50YXRpb24SCQoFVU5TRVQQABIMCghQT1JU", - "UkFJVBABEg0KCUxBTkRTQ0FQRRACEhQKEElOVkVSU0VfUE9SVFJBSVQQAxIV", - "ChFJTlZFUlNFX0xBTkRTQ0FQRRAEKk4KFVByb3RvU3ViVG90YWxQb3NpdGlv", - "bhIZChVQT1NJVElPTl9BQk9WRV9GT09URVIQABIaChZQT1NJVElPTl9CRUxP", - "V19DT05URU5UEAEqKQoNUHJvdG9SdWxlTW9kZRIKCgZOT1JNQUwQABIMCghC", - "T1VOREFSWRABKlAKFlByb3RvRG9jdHlwZU91dHB1dE1vZGUSHwobRE9DVFlQ", - "RV9PVVRQVVRfTU9ERV9OT1RfU0VUEAASCwoHRE9DVFlQRRABEggKBEpTT04Q", - "AkILqgIIRG9jZnJhbWViBnByb3RvMw==")); + "IAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkSDAoEY29kZRgFIAEoCRIO", + "CgZyZXN1bHQYBiABKAgSEgoKcmVnZW5lcmF0ZRgHIAEoCCKaAQoSUHJvdG9Q", + "YWdlQ29uZGl0aW9uEigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1l", + "bnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVt", + "ZW50EgwKBHV1aWQYAyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAQgAygJEgwK", + "BGNvZGUYBSABKAkisQEKC1Byb3RvTG9jYWxlEigKCV9jaGlsZHJlbhgBIAMo", + "CzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlBy", + "b3RvRG9jdW1lbnRFbGVtZW50EgwKBHV1aWQYAyABKAkSFwoPY29tQ2hhbm5l", + "bFVVSURzGAQgAygJEhUKDWxhbmd1YWdlVVVJRHMYBSADKAkSEwoLcmVnaW9u", + "VVVJRHMYBiADKAkimgEKCFByb3RvVGFnEiUKBnBhcmVudBgBIAEoCzIVLlBy", + "b3RvRG9jdW1lbnRFbGVtZW50EgwKBG5hbWUYAiABKAkSFwoPY29tQ2hhbm5l", + "bFVVSURzGAMgAygJEgwKBHV1aWQYBCABKAkSDgoGcGFyYW1zGAUgAygJEhAK", + "CG5hbWVDb2RlGAYgASgJEhAKCGNvZGVNb2RlGAcgASgIIpMBChhQcm90b1Bh", + "cmFncmFwaFNldERlZmF1bHQSJQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1", + "bWVudEVsZW1lbnQSDAoEbmFtZRgCIAEoCRIbChNwYXJhZ3JhcGhGb3JtYXRV", + "VUlEGAMgASgJEgwKBHV1aWQYBCABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAUg", + "AygJIqMDChdQcm90b0Jhc2VUZXh0SW5wdXRGaWVsZBIiCgRiYXNlGAEgASgL", + "MhQuUHJvdG9CYXNlSW5wdXRGaWVsZBIkCghwZGZfc2l6ZRgCIAEoCzISLlBy", + "b3RvQm94ZWRNZWFzdXJlEioKDnBkZklucHV0SGVpZ2h0GAMgASgLMhIuUHJv", + "dG9Cb3hlZE1lYXN1cmUSFQoNcGRmSXNSZWFkT25seRgEIAEoCBIVCg1wZGZJ", + "c1JlcXVpcmVkGAUgASgIEhgKEHBkZklzTm90RXhwb3J0ZWQYBiABKAgSFgoO", + "cGRmSXNNdWx0aWxpbmUYByABKAgSGgoScGRmSXNQYXNzd29yZEZpZWxkGAgg", + "ASgIEh8KF3BkZklzRmlsZVNlbGVjdGlvbkZpZWxkGAkgASgIEhwKFHBkZkRp", + "c2FibGVTcGVsbENoZWNrGAogASgIEhsKE3BkZkRpc2FibGVTY3JvbGxpbmcY", + "CyABKAgSHAoUcGRmVXNlQ29tYkZvcm1hdHRpbmcYDCABKAgSHAoUcGRmSXNS", + "aWNoVGV4dEVuYWJsZWQYDSABKAgiZAoTUHJvdG9JbnB1dEZpZWxkVGV4dBIl", + "CgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBImCgRiYXNl", + "GAIgASgLMhguUHJvdG9CYXNlVGV4dElucHV0RmllbGQiZAoTUHJvdG9JbnB1", + "dEZpZWxkRGF0ZRIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxl", + "bWVudBImCgRiYXNlGAIgASgLMhguUHJvdG9CYXNlVGV4dElucHV0RmllbGQi", + "ZAoXUHJvdG9JbnB1dEZpZWxkQ2hlY2tib3gSJQoGcGFyZW50GAEgASgLMhUu", + "UHJvdG9Eb2N1bWVudEVsZW1lbnQSIgoEYmFzZRgCIAEoCzIULlByb3RvQmFz", + "ZUlucHV0RmllbGQiZQoUUHJvdG9JbnB1dEZpZWxkTGFiZWwSJQoGcGFyZW50", + "GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSJgoEYmFzZRgCIAEoCzIY", + "LlByb3RvQmFzZVRleHRJbnB1dEZpZWxkIrUBChdQcm90b0lucHV0RmllbGRE", + "cm9wZG93bhIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVu", + "dBImCgRiYXNlGAIgASgLMhguUHJvdG9CYXNlVGV4dElucHV0RmllbGQSHQoH", + "b3B0aW9ucxgDIAMoCzIMLlByb3RvT3B0aW9uEhcKD2JpbmRPcHRpb25zQ29k", + "ZRgEIAEoCBITCgtvcHRpb25zQ29kZRgFIAEoCSo4CgxQcm90b1NQQk1vZGUS", + "CAoETk9ORRAAEg8KC1NVUEVSU0NSSVBUEAESDQoJU1VCU0NSSVBUEAIq+QEK", + "DlByb3RvUnVsZVN0eWxlEhQKEERVTU1ZX1JVTEVfU1RZTEUQABIJCgVTT0xJ", + "RBABEhIKDlNQQVJTRV9TSEFESU5HEAISEgoOTUVESVVNX1NIQURJTkcQAxIR", + "Cg1ERU5TRV9TSEFESU5HEAQSEAoMTElHSFRfRE9UVEVEEAUSEQoNTUVESVVN", + "X0RPVFRFRBAGEhAKDEhFQVZZX0RPVFRFRBAHEhAKDExJR0hUX0RBU0hFRBAI", + "EhEKDU1FRElVTV9EQVNIRUQQCRIQCgxIRUFWWV9EQVNIRUQQChIQCgxEQVNI", + "X1BBVFRFUk4QCxILCgZET1VCTEUQ/gEqRwoQUHJvdG9NZWFzdXJlVHlwZRIG", + "CgJQVBAAEgYKAkNNEAESBgoCTU0QAhIGCgJJThADEgsKB1BFUkNFTlQQBBIG", + "CgJQWBAFKnsKKVByb3RvQWR2YW5jZWRJbGx1c3RyYXRpb25BcmVhVGV4dEZs", + "b3dUeXBlEhUKEURPX05PVF9VU0VfQVRfQUxMEAASCgoGQVJPVU5EEAESCwoH", + "Tk9fRkxPVxACEg4KCkZPUkVHUk9VTkQQAxIOCgpCQUNLR1JPVU5EEAQqOQoO", + "UHJvdG9Db2xvclR5cGUSFAoQRFVNTVlfQ09MT1JfVFlQRRAAEgcKA1JHQhAD", + "EggKBENNWUsQBCqSAQoYUHJvdG9Ib3Jpem9udGFsQWxpZ25tZW50Eg4KCkFM", + "SUdOX0xFRlQQABIQCgxBTElHTl9DRU5URVIQARIPCgtBTElHTl9SSUdIVBAC", + "EhEKDUFMSUdOX0pVU1RJRlkQAxIWChJBTElHTl9GVUxMX0pVU1RJRlkQBBIY", + "ChRBTElHTl9DRU5URVJfT05fUEFHRRAFKjkKFlByb3RvVmVydGljYWxBbGln", + "bm1lbnQSBwoDVE9QEAASCgoGTUlERExFEAESCgoGQk9UVE9NEAIqgwEKEFBy", + "b3RvQmFyY29kZVR5cGUSCgoGUERGNDE3EAASDgoKREFUQU1BVFJJWBABEgkK", + "BUJDMTI4EAISBgoCUVIQAxIHCgNJVEYQBBIICgRFQU44EAUSCQoFRUFOMTMQ", + "BhIKCgZDT0RFMzkQBxILCgdTV0lTU1FSEAgSCQoFQVpURUMQCSpOChJQcm90", + "b0JhcmNvZGVVQU1vZGUSGgoWQkFSQ09ERV9VQV9NT0RFX1NJTVBMRRAAEhwK", + "GEJBUkNPREVfVUFfTU9ERV9BRFZBTkNFRBABKlIKEVByb3RvUG9zaXRpb25N", + "b2RlEgoKBkNFTlRFUhAAEggKBExFRlQQARIJCgVGT0xJTxACEgkKBVJJR0hU", + "EAMSEQoNUkVWRVJTRV9GT0xJTxAEKo4BChJQcm90b1VuZGVybGluZU1vZGUS", + "GAoURFVNTVlfVU5ERVJMSU5FX01PREUQABITCg9XT1JEU19OT19CTEFOS1MQ", + "ARIUChBXT1JEU19BTkRfQkxBTktTEAISGAoUQ0hBUkFDVEVSU19OT19CTEFO", + "S1MQAxIZChVDSEFSQUNURVJTX0FORF9CTEFOS1MQBCq5AQoYUHJvdG9JbWFn", + "ZVJlZmVyZW5jZVBvaW50Eh8KG1JFRl9QT0lOVF9ET19OT1RfVVNFX0FUX0FM", + "TBAAEhkKFVJFRl9QT0lOVF9CT1RUT01fTEVGVBABEhYKElJFRl9QT0lOVF9U", + "T1BfTEVGVBACEhQKEFJFRl9QT0lOVF9DRU5URVIQAxIaChZSRUZfUE9JTlRf", + "Qk9UVE9NX1JJR0hUEAQSFwoTUkVGX1BPSU5UX1RPUF9SSUdIVBAFKokBChFQ", + "cm90b1NlbWFudGljVHlwZRIWChJTRU1BTlRJQ19UWVBFX05PTkUQABIWChJT", + "RU1BTlRJQ19UWVBFX1BBUlQQARIVChFTRU1BTlRJQ19UWVBFX0FSVBACEhYK", + "ElNFTUFOVElDX1RZUEVfU0VDVBADEhUKEVNFTUFOVElDX1RZUEVfRElWEAQq", + "pgEKE1BERlByaW50aW5nQmVoYXZpb3ISKwonUERGX1BSSU5USU5HX0JFSEFW", + "SU9SX0RPX05PVF9VU0VfQVRfQUxMEAASHwobUERGX1BSSU5USU5HX0JFSEFW", + "SU9SX0lOUFVUEAESHgoaUERGX1BSSU5USU5HX0JFSEFWSU9SX1RFWFQQAhIh", + "Ch1QREZfUFJJTlRJTkdfQkVIQVZJT1JfSU5IRVJJVBADKoYBCgtJbmhlcml0", + "YW5jZRIXChNJTkhFUklUQU5DRV9JTkhFUklUEAASFAoQSU5IRVJJVEFOQ0Vf", + "Q09ERRABEhkKFUlOSEVSSVRBTkNFX0JJTkRfQ09ERRACEhYKEklOSEVSSVRB", + "TkNFX1NUQVRJQxADEhUKEUlOSEVSSVRBTkNFX1JFU0VUEAQqbwoPUHJvdG9O", + "dW1iZXJUeXBlEgoKBkFSQUJJQxAAEhEKDVJPTV9VUFBFUkNBU0UQARIRCg1S", + "T01fTE9XRVJDQVNFEAISFAoQTEVUVEVSX1VQUEVSQ0FTRRADEhQKEExFVFRF", + "Ul9MT1dFUkNBU0UQBCpDChlQcm90b0xpc3RMZXZlbFNldHRpbmdUeXBlEg4K", + "ClVOTlVNQkVSRUQQABILCgdOVU1FUklDEAESCQoFSU1BR0UQAipOChpQcm90", + "b1RhYmxlQ29udGVudEdyb3VwVHlwZRIKCgZIRUFERVIQABIICgRCT0RZEAES", + "CgoGRk9PVEVSEAISDgoKU1VCX0hFQURFUhADKl8KElByb3RvVGFibGVDZWxs", + "VHlwZRITCg9UQUJMRV9DRUxMX0JPRFkQABIZChVUQUJMRV9DRUxMX1JPV19I", + "RUFERVIQARIZChVUQUJMRV9DRUxMX1JPV19GT09URVIQAioyCg9Db2x1bW5C", + "YWxhbmNpbmcSEAoMTk9fQkFMQU5DSU5HEAASDQoJQkFMQU5DSU5HEAEqegoP", + "UHJvdG9IZWFkZXJNb2RlEh4KGkhFQURFUl9NT0RFX0FQUEVORF9JTklUSUFM", + "EAASFgoSSEVBREVSX01PREVfQVBQRU5EEAESFgoSSEVBREVSX01PREVfRVhU", + "RU5EEAISFwoTSEVBREVSX01PREVfUkVQTEFDRRADKnoKD1Byb3RvRm9vdGVy", + "TW9kZRIeChpGT09URVJfTU9ERV9BUFBFTkRfSU5JVElBTBAAEhYKEkZPT1RF", + "Ul9NT0RFX0FQUEVORBABEhYKEkZPT1RFUl9NT0RFX0VYVEVORBACEhcKE0ZP", + "T1RFUl9NT0RFX1JFUExBQ0UQAyqHEgoITm9kZVR5cGUSLAooRE9DVU1FTlRf", + "RUxFTUVOVF9CUkFOQ0hfRE9DVU1FTlRfRUxFTUVOVBAAEiQKIERPQ1VNRU5U", + "X0VMRU1FTlRfQlJJQ0tfUkVGRVJFTkNFEAESGgoWRE9DVU1FTlRfRUxFTUVO", + "VF9CUklDSxACEiUKIURPQ1VNRU5UX0VMRU1FTlRfRE9DVU1FTlRfRUxFTUVO", + "VBADEh4KGkRPQ1VNRU5UX0VMRU1FTlRfTElORUJSRUFLEAQSIQodRE9DVU1F", + "TlRfRUxFTUVOVF9MSVNUX1NFVFRJTkcQBhIlCiFET0NVTUVOVF9FTEVNRU5U", + "X1BBUkFHUkFQSF9GT1JNQVQQBxIeChpET0NVTUVOVF9FTEVNRU5UX1BBUkFH", + "UkFQSBAIEhwKGERPQ1VNRU5UX0VMRU1FTlRfU0VDVElPThAJEhkKFURPQ1VN", + "RU5UX0VMRU1FTlRfU1BBThAKEhoKFkRPQ1VNRU5UX0VMRU1FTlRfVEFCTEUQ", + "CxIfChtET0NVTUVOVF9FTEVNRU5UX1RBQkxFX0NFTEwQDBIeChpET0NVTUVO", + "VF9FTEVNRU5UX1RBQkxFX1JPVxANEh0KGURPQ1VNRU5UX0VMRU1FTlRfVEVN", + "UExBVEUQDxIZChVET0NVTUVOVF9FTEVNRU5UX1RFWFQQEBIeChpET0NVTUVO", + "VF9FTEVNRU5UX0NPTE9SX0RFRhATEhoKFkRPQ1VNRU5UX0VMRU1FTlRfSU1B", + "R0UQHhIhCh1ET0NVTUVOVF9FTEVNRU5UX05BTUVEX1NUUklORxAiEigKJERP", + "Q1VNRU5UX0VMRU1FTlRfVEFCTEVfQ09OVEVOVF9HUk9VUBAjEiEKHURPQ1VN", + "RU5UX0VMRU1FTlRfVEFCTEVfQ09ORklHECQSJgoiRE9DVU1FTlRfRUxFTUVO", + "VF9UQUJMRV9DRUxMX0NPTkZJRxAlEiUKIURPQ1VNRU5UX0VMRU1FTlRfVEFC", + "TEVfUk9XX0NPTkZJRxAmEi8KK0RPQ1VNRU5UX0VMRU1FTlRfVEFCTEVfQ09O", + "VEVOVF9HUk9VUF9DT05GSUcQJxIZChVET0NVTUVOVF9FTEVNRU5UX0xJTksQ", + "KBIeChpET0NVTUVOVF9FTEVNRU5UX0RJUkVDVE9SWRApEh8KG0RPQ1VNRU5U", + "X0VMRU1FTlRfVEVYVF9CUklDSxAqEh0KGURPQ1VNRU5UX0VMRU1FTlRfVkFS", + "SUFCTEUQLBIlCiFET0NVTUVOVF9FTEVNRU5UX1NQQUNFX1ZFUlRJQ0FMTFkQ", + "LRIeChpET0NVTUVOVF9FTEVNRU5UX0ZPUk1BVFRFRBAuEiAKHERPQ1VNRU5U", + "X0VMRU1FTlRfQVBQTFlfQ19ERUYQLxIgChxET0NVTUVOVF9FTEVNRU5UX0FQ", + "UExZX1BfREVGEDASJAogRE9DVU1FTlRfRUxFTUVOVF9BUFBMWV9QVF9DT05G", + "SUcQMRIkCiBET0NVTUVOVF9FTEVNRU5UX0FQUExZX1VMX0NPTkZJRxAyEhoK", + "FkRPQ1VNRU5UX0VMRU1FTlRfQ19ERUYQMxIaChZET0NVTUVOVF9FTEVNRU5U", + "X1BfREVGEDQSHgoaRE9DVU1FTlRfRUxFTUVOVF9QVF9DT05GSUcQNRIeChpE", + "T0NVTUVOVF9FTEVNRU5UX1VMX0NPTkZJRxA2Eh0KGURPQ1VNRU5UX0VMRU1F", + "TlRfTkVXX1BBR0UQNxIbChdET0NVTUVOVF9FTEVNRU5UX0hFQURFUhA4EhsK", + "F0RPQ1VNRU5UX0VMRU1FTlRfRk9PVEVSEDkSIAocRE9DVU1FTlRfRUxFTUVO", + "VF9JTkRFTlRBVElPThA8EhwKGERPQ1VNRU5UX0VMRU1FTlRfQkFSQ09ERRA9", + "EhwKGERPQ1VNRU5UX0VMRU1FTlRfV1NfQVJFQRA+Eh8KG0RPQ1VNRU5UX0VM", + "RU1FTlRfQ0FSUllfT1ZFUhA/Eh4KGkRPQ1VNRU5UX0VMRU1FTlRfU1VCX1RP", + "VEFMEEASGQoVRE9DVU1FTlRfRUxFTUVOVF9MT09QEEESHwobRE9DVU1FTlRf", + "RUxFTUVOVF9MT09QX0VOVFJZEEISGQoVRE9DVU1FTlRfRUxFTUVOVF9SVUxF", + "EEMSJwojRE9DVU1FTlRfRUxFTUVOVF9MSVNUX0xFVkVMX1NFVFRJTkcQRBIb", + "ChdET0NVTUVOVF9FTEVNRU5UX0xBWU9VVBBFEi8KK0RPQ1VNRU5UX0VMRU1F", + "TlRfQURWQU5DRURfSUxMVVNUUkFUSU9OX0FSRUEQRhIoCiRET0NVTUVOVF9F", + "TEVNRU5UX0FESlVTVF9IT1JJWk9OVEFMTFkQRxIjCh9ET0NVTUVOVF9FTEVN", + "RU5UX0RPQ1RZUEVfU0NSSVBUEEgSHgoaRE9DVU1FTlRfRUxFTUVOVF9ETV9T", + "Q1JJUFQQSRIlCiFET0NVTUVOVF9FTEVNRU5UX0RZTkFNSUNfVEVNUExBVEUQ", + "ShIeChpET0NVTUVOVF9FTEVNRU5UX1NFTEVDVElPThBLEiQKIERPQ1VNRU5U", + "X0VMRU1FTlRfU0VMRUNUSU9OX0VOVFJZEEwSHgoaRE9DVU1FTlRfRUxFTUVO", + "VF9DT05ESVRJT04QTRIjCh9ET0NVTUVOVF9FTEVNRU5UX1BBR0VfQ09ORElU", + "SU9OEE4SGwoXRE9DVU1FTlRfRUxFTUVOVF9MT0NBTEUQTxIYChRET0NVTUVO", + "VF9FTEVNRU5UX1RBRxBQEioKJkRPQ1VNRU5UX0VMRU1FTlRfUEFSQUdSQVBI", + "X1NFVF9ERUZBVUxUEFESJQohRE9DVU1FTlRfRUxFTUVOVF9JTlBVVF9GSUVM", + "RF9URVhUEFISJQohRE9DVU1FTlRfRUxFTUVOVF9JTlBVVF9GSUVMRF9EQVRF", + "EFMSKQolRE9DVU1FTlRfRUxFTUVOVF9JTlBVVF9GSUVMRF9DSEVDS0JPWBBU", + "EiYKIkRPQ1VNRU5UX0VMRU1FTlRfSU5QVVRfRklFTERfTEFCRUwQVRIpCiVE", + "T0NVTUVOVF9FTEVNRU5UX0lOUFVUX0ZJRUxEX0RST1BET1dOEFYqpAEKE1By", + "b3RvSW1hZ2VTY2FsZVR5cGUSJgoiSU1BR0VfU0NBTEVfVFlQRV9ET19OT1Rf", + "VVNFX0FUX0FMTBAAEh0KGUlNQUdFX1NDQUxFX1RZUEVfUkVMQVRJVkUQARId", + "ChlJTUFHRV9TQ0FMRV9UWVBFX0FCU09MVVRFEAISJwojSU1BR0VfU0NBTEVf", + "VFlQRV9SRUxBVElWRV9UT19DT0xVTU4QAyqKAQoQUHJvdG9JbWFnZVVBTW9k", + "ZRIjCh9JTUFHRV9VQV9NT0RFX0RPX05PVF9VU0VfQVRfQUxMEAASGwoXSU1B", + "R0VfVUFfTU9ERV9JTkhFUklURUQQARIYChRJTUFHRV9VQV9NT0RFX1NJTVBM", + "RRACEhoKFklNQUdFX1VBX01PREVfQURWQU5DRUQQAyrLAQoVUHJvdG9JbWFn", + "ZUNvbnRlbnRUeXBlEicKI0lNQUdFX0NPTlRFTlRfVVVJRF9SRUZFUkVOQ0Vf", + "SU5MSU5FEAASJgoiSU1BR0VfQ09OVEVOVF9VVUlEX1JFRkVSRU5DRV9MT0NB", + "TBABEicKI0lNQUdFX0NPTlRFTlRfVVVJRF9SRUZFUkVOQ0VfR0xPQkFMEAIS", + "GgoWSU1BR0VfQ09OVEVOVF9ETVNDUklQVBADEhwKGElNQUdFX0NPTlRFTlRf", + "SU1BR0VfREFUQRAEKsQBChhQcm90b1ZhcmlhYmxlU3BlY2lhbFR5cGUSDwoL", + "Tk9UX1NQRUNJQUwQABIQCgxUQUJMRV9OVU1CRVIQARISCg5ET0NfUEFHRV9D", + "T1VOVBACEhAKDERPQ19DVVJfUEFHRRADEgwKCENVUl9QQUdFEAQSDgoKUEFH", + "RV9DT1VOVBAFEg0KCVBSRVZfUEFHRRAGEhAKDFNFQ1RJT05fUEFHRRAHEg4K", + "ClVQREFURURfQVQQCBIQCgxHRU5FUkFURURfQVQQCSpICg1Qcm90b1BhZ2VN", + "b2RlEg0KCU5FWFRfUEFHRRAAEhMKD05FWFRfUkVDVE9fUEFHRRABEhMKD05F", + "WFRfVkVSU09fUEFHRRACKmsKFFByb3RvUGFnZU9yaWVudGF0aW9uEgkKBVVO", + "U0VUEAASDAoIUE9SVFJBSVQQARINCglMQU5EU0NBUEUQAhIUChBJTlZFUlNF", + "X1BPUlRSQUlUEAMSFQoRSU5WRVJTRV9MQU5EU0NBUEUQBCpOChVQcm90b1N1", + "YlRvdGFsUG9zaXRpb24SGQoVUE9TSVRJT05fQUJPVkVfRk9PVEVSEAASGgoW", + "UE9TSVRJT05fQkVMT1dfQ09OVEVOVBABKikKDVByb3RvUnVsZU1vZGUSCgoG", + "Tk9STUFMEAASDAoIQk9VTkRBUlkQASpQChZQcm90b0RvY3R5cGVPdXRwdXRN", + "b2RlEh8KG0RPQ1RZUEVfT1VUUFVUX01PREVfTk9UX1NFVBAAEgsKB0RPQ1RZ", + "UEUQARIICgRKU09OEAJCC6oCCERvY2ZyYW1lYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Docframe.ProtoSPBMode), typeof(global::Docframe.ProtoRuleStyle), typeof(global::Docframe.ProtoMeasureType), typeof(global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType), typeof(global::Docframe.ProtoColorType), typeof(global::Docframe.ProtoHorizontalAlignment), typeof(global::Docframe.ProtoVerticalAlignment), typeof(global::Docframe.ProtoBarcodeType), typeof(global::Docframe.ProtoBarcodeUAMode), typeof(global::Docframe.ProtoPositionMode), typeof(global::Docframe.ProtoUnderlineMode), typeof(global::Docframe.ProtoImageReferencePoint), typeof(global::Docframe.ProtoSemanticType), typeof(global::Docframe.PDFPrintingBehavior), typeof(global::Docframe.Inheritance), typeof(global::Docframe.ProtoNumberType), typeof(global::Docframe.ProtoListLevelSettingType), typeof(global::Docframe.ProtoTableContentGroupType), typeof(global::Docframe.ProtoTableCellType), typeof(global::Docframe.ColumnBalancing), typeof(global::Docframe.ProtoHeaderMode), typeof(global::Docframe.ProtoFooterMode), typeof(global::Docframe.NodeType), typeof(global::Docframe.ProtoImageScaleType), typeof(global::Docframe.ProtoImageUAMode), typeof(global::Docframe.ProtoImageContentType), typeof(global::Docframe.ProtoVariableSpecialType), typeof(global::Docframe.ProtoPageMode), typeof(global::Docframe.ProtoPageOrientation), typeof(global::Docframe.ProtoSubTotalPosition), typeof(global::Docframe.ProtoRuleMode), typeof(global::Docframe.ProtoDoctypeOutputMode), }, null, new pbr::GeneratedClrTypeInfo[] { @@ -813,33 +819,33 @@ static DocframeReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBaseInputField), global::Docframe.ProtoBaseInputField.Parser, new[]{ "Name", "Meta", "Value", "FormatUUID", "DataTypeUUID", "OnChangeCode", "Placeholder", "BindDefaultValue", "DefaultValueCode", "Readonly", "PdfPrintingBehavior", "PdfFormName", "PdfAltText", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoDocumentElement), global::Docframe.ProtoDocumentElement.Parser, new[]{ "Parent", "ComChannelUUIDs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBranchDocumentElement), global::Docframe.ProtoBranchDocumentElement.Parser, new[]{ "Children", "Parent", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoLink), global::Docframe.ProtoLink.Parser, new[]{ "Children", "Url", "ComChannelUUIDs", "ParagraphFormatUUID", "ParagraphFormatInternalName", "UrlCode", "BindUrlCode" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoLink), global::Docframe.ProtoLink.Parser, new[]{ "Children", "Url", "ComChannelUUIDs", "ParagraphFormatUUID", "ParagraphFormatInternalName", "UrlCode", "BindUrlCode", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoListLevelSetting), global::Docframe.ProtoListLevelSetting.Parser, new[]{ "ListSettingName", "FontSize", "Type", "Level", "Prefix", "Suffix", "FixFontFamily", "FixBold", "FixItalic", "IndentionWidth", "Color", "ImageName", "FontFamily", "Bold", "Italic", "NumberType", "Character" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoImageListLevelSetting), global::Docframe.ProtoImageListLevelSetting.Parser, new[]{ "ListSettingName", "FontSize", "Type", "Level", "Prefix", "Suffix", "FixFontFamily", "FixBold", "FixItalic", "IndentionWidth", "Color", "ImageName" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTextListLevelSetting), global::Docframe.ProtoTextListLevelSetting.Parser, new[]{ "ListSettingName", "FontSize", "Type", "Level", "Prefix", "Suffix", "FixFontFamily", "FixBold", "FixItalic", "IndentionWidth", "Color", "FontFamily", "Bold", "Italic" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoNumberListLevelSetting), global::Docframe.ProtoNumberListLevelSetting.Parser, new[]{ "ListSettingName", "FontSize", "Type", "Level", "Prefix", "Suffix", "FixFontFamily", "FixBold", "FixItalic", "IndentionWidth", "Color", "FontFamily", "Bold", "Italic", "NumberType" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoUnnumberedListLevelSetting), global::Docframe.ProtoUnnumberedListLevelSetting.Parser, new[]{ "ListSettingName", "FontSize", "Type", "Level", "Prefix", "Suffix", "FixFontFamily", "FixBold", "FixItalic", "IndentionWidth", "Color", "FontFamily", "Bold", "Italic", "Character" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoListSetting), global::Docframe.ProtoListSetting.Parser, new[]{ "Parent", "Name", "ListLevelSettings", "DefaultListLevelSetting", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoListSetting), global::Docframe.ProtoListSetting.Parser, new[]{ "Parent", "Name", "ListLevelSettings", "DefaultListLevelSetting", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedListSetting), global::Docframe.ProtoBoxedListSetting.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoNamedString), global::Docframe.ProtoNamedString.Parser, new[]{ "Children", "Parent", "Name", "ComChannelUUIDs", "Uuid", "Description", "NameCode", "CodeMode" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoParagraph), global::Docframe.ProtoParagraph.Parser, new[]{ "Children", "Parent", "Format", "Overwrite", "ComChannelUUIDs", "ParagraphFormatUUID", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoParagraphFormat), global::Docframe.ProtoParagraphFormat.Parser, new[]{ "BaseFormat", "Name", "Default", "Font", "Bold", "Italic", "FontColor", "Underline", "FontSize", "CharacterWidth", "CharacterSpacing", "LineFeed", "Alignment", "IndentionWidth", "IndentionLevel", "SpaceAbove", "SpaceBelow", "WidowSetting", "OrphanSetting", "WidowPriority", "Strikethrough", "SuperscriptSubscript", "BackgroundColor", "ListSetting", "Hyphenation", "PreNamedString", "PostNamedString", "SemanticType", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoParagraphFormat), global::Docframe.ProtoParagraphFormat.Parser, new[]{ "BaseFormat", "Name", "Default", "Font", "Bold", "Italic", "FontColor", "Underline", "FontSize", "CharacterWidth", "CharacterSpacing", "LineFeed", "Alignment", "IndentionWidth", "IndentionLevel", "SpaceAbove", "SpaceBelow", "WidowSetting", "OrphanSetting", "WidowPriority", "Strikethrough", "SuperscriptSubscript", "BackgroundColor", "ListSetting", "Hyphenation", "PreNamedString", "PostNamedString", "SemanticType", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSection), global::Docframe.ProtoSection.Parser, new[]{ "Children", "Parent", "Uuid", "CDefUuid", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSpaceVertically), global::Docframe.ProtoSpaceVertically.Parser, new[]{ "Parent", "Space", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSpaceVertically), global::Docframe.ProtoSpaceVertically.Parser, new[]{ "Parent", "Space", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSpan), global::Docframe.ProtoSpan.Parser, new[]{ "Children", "Parent", "Bold", "Italic", "Color", "Subscript", "Superscript", "Underline", "Strikethrough", "ComChannelUUIDs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTable), global::Docframe.ProtoTable.Parser, new[]{ "Children", "Parent", "Settings", "ConfigName", "CarryOver", "SubTotal", "ComChannelUUIDs", "ElementProperties", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableConfig), global::Docframe.ProtoTableConfig.Parser, new[]{ "Parent", "Settings", "ConfigName", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableConfig), global::Docframe.ProtoTableConfig.Parser, new[]{ "Parent", "Settings", "ConfigName", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableSettings), global::Docframe.ProtoTableSettings.Parser, new[]{ "XOffset", "LeftMeasure", "Width", "RepeatHeader", "Ws", "NoDocumentStructure", "RepeatSubHeader" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedTableContentGroupType), global::Docframe.ProtoBoxedTableContentGroupType.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableContentGroup), global::Docframe.ProtoTableContentGroup.Parser, new[]{ "Children", "Parent", "Settings", "ComChannelUUIDs", "ElementProperties", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableContentGroupConfig), global::Docframe.ProtoTableContentGroupConfig.Parser, new[]{ "Parent", "Settings", "ConfigName", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableContentGroupConfig), global::Docframe.ProtoTableContentGroupConfig.Parser, new[]{ "Parent", "Settings", "ConfigName", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableContentGroupSettings), global::Docframe.ProtoTableContentGroupSettings.Parser, new[]{ "ContentGroupType", "BackgroundColors", "Ws" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableRow), global::Docframe.ProtoTableRow.Parser, new[]{ "Children", "Parent", "Settings", "RowConfigNumber", "ComChannelUUIDs", "ElementProperties", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableRowConfig), global::Docframe.ProtoTableRowConfig.Parser, new[]{ "Parent", "Settings", "ConfigName", "RowHeader", "RowFooter", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableRowConfig), global::Docframe.ProtoTableRowConfig.Parser, new[]{ "Parent", "Settings", "ConfigName", "RowHeader", "RowFooter", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableRowSettings), global::Docframe.ProtoTableRowSettings.Parser, new[]{ "MinHeight", "Ws" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedTableCellType), global::Docframe.ProtoBoxedTableCellType.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableCell), global::Docframe.ProtoTableCell.Parser, new[]{ "Children", "Parent", "Settings", "CellConfigNumber", "MergedLeft", "MergedUp", "ComChannelUUIDs", "ElementProperties", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableCellConfig), global::Docframe.ProtoTableCellConfig.Parser, new[]{ "Parent", "Settings", "ConfigName", "CellType", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableCellConfig), global::Docframe.ProtoTableCellConfig.Parser, new[]{ "Parent", "Settings", "ConfigName", "CellType", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableCellSettings), global::Docframe.ProtoTableCellSettings.Parser, new[]{ "Width", "Align", "Valign", "BackgroundColor", "Padding", "Border", "Margin", "Rotation", "DefaultParagraphFormat" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableWS), global::Docframe.ProtoTableWS.Parser, new[]{ "MinLinesBefore", "MinLinesAfter", "Priority" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTableElementProperties), global::Docframe.ProtoTableElementProperties.Parser, new[]{ "WidthInheritance", "Width", "WidthCode", "AlignInheritance", "Align", "AlignCode", "ValignInheritance", "Valign", "ValignCode", "BackgroundColorInheritance", "BackgroundColor", "BackgroundColorCode", "PaddingTopInheritance", "PaddingTop", "PaddingTopCode", "PaddingRightInheritance", "PaddingRight", "PaddingRightCode", "PaddingBottomInheritance", "PaddingBottom", "PaddingBottomCode", "PaddingLeftInheritance", "PaddingLeft", "PaddingLeftCode", "BorderTopColorInheritance", "BorderTopColor", "BorderTopColorCode", "BorderTopWeightInheritance", "BorderTopWeight", "BorderTopWeightCode", "BorderRightColorInheritance", "BorderRightColor", "BorderRightColorCode", "BorderRightWeightInheritance", "BorderRightWeight", "BorderRightWeightCode", "BorderBottomColorInheritance", "BorderBottomColor", "BorderBottomColorCode", "BorderBottomWeightInheritance", "BorderBottomWeight", "BorderBottomWeightCode", "BorderLeftColorInheritance", "BorderLeftColor", "BorderLeftColorCode", "BorderLeftWeightInheritance", "BorderLeftWeight", "BorderLeftWeightCode", "MarginTopInheritance", "MarginTop", "MarginTopCode", "MarginRightInheritance", "MarginRight", "MarginRightCode", "MarginBottomInheritance", "MarginBottom", "MarginBottomCode", "MarginLeftInheritance", "MarginLeft", "MarginLeftCode", "RotationInheritance", "Rotation", "RotationCode", "DefaultParagraphFormatUUIDInheritance", "DefaultParagraphFormatUUID", "DefaultParagraphFormatUUIDCode", "TableContentGroupTypeInheritance", "TableContentGroupType", "TableContentGroupTypeCode", "CellTypeInheritance", "CellType", "CellTypeCode", "MinRowHeightInheritance", "MinRowHeight", "MinRowHeightCode", "WsInheritance", "Ws", "WsCode", "XOffsetInheritance", "XOffset", "XOffsetCode", "LeftMeasureInheritance", "LeftMeasure", "LeftMeasureCode", "RepeatHeaderInheritance", "RepeatHeader", "RepeatHeaderCode", "NoDocumentStructureInheritance", "NoDocumentStructure", "NoDocumentStructureCode", "RepeatSubHeaderInheritance", "RepeatSubHeader", "RepeatSubHeaderCode" }, null, null, null, null), @@ -855,28 +861,28 @@ static DocframeReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoDirectory), global::Docframe.ProtoDirectory.Parser, new[]{ "Children", "Parent", "Uuid", "ComChannelUUIDs", "SemanticType", "Editable", "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTextBrick), global::Docframe.ProtoTextBrick.Parser, new[]{ "Children", "Parent", "Uuid", "Id", "ComChannelUUIDs", "Editable", "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoVariable), global::Docframe.ProtoVariable.Parser, new[]{ "Parent", "Path", "Content", "FormatUuid", "SpecialType", "Uuid", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoFormatted), global::Docframe.ProtoFormatted.Parser, new[]{ "Parent", "DteditorSyntax", "DoctypeContent", "DoctypeCode", "HtmlContent", "HtmlCode", "TextContent", "TextCode", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoApplyProtoCDef), global::Docframe.ProtoApplyProtoCDef.Parser, new[]{ "CDefUuid", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoApplyProtoPDef), global::Docframe.ProtoApplyProtoPDef.Parser, new[]{ "PDefUuid", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoApplyPtConfig), global::Docframe.ProtoApplyPtConfig.Parser, new[]{ "PtConfigUuid", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoApplyUlConfig), global::Docframe.ProtoApplyUlConfig.Parser, new[]{ "UlConfigUuid", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoFormatted), global::Docframe.ProtoFormatted.Parser, new[]{ "Parent", "DteditorSyntax", "DoctypeContent", "DoctypeCode", "HtmlContent", "HtmlCode", "TextContent", "TextCode", "ComChannelUUIDs", "Uuid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoApplyProtoCDef), global::Docframe.ProtoApplyProtoCDef.Parser, new[]{ "CDefUuid", "ComChannelUUIDs", "Uuid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoApplyProtoPDef), global::Docframe.ProtoApplyProtoPDef.Parser, new[]{ "PDefUuid", "ComChannelUUIDs", "Uuid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoApplyPtConfig), global::Docframe.ProtoApplyPtConfig.Parser, new[]{ "PtConfigUuid", "ComChannelUUIDs", "Uuid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoApplyUlConfig), global::Docframe.ProtoApplyUlConfig.Parser, new[]{ "UlConfigUuid", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoCDef), global::Docframe.ProtoCDef.Parser, new[]{ "ColumSettings", "ApplyToHeaderFooter", "ApplyImmediate", "Uuid", "ComChannelUUIDs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoPDef), global::Docframe.ProtoPDef.Parser, new[]{ "PageWidth", "PageDepth", "Uuid", "ComChannelUUIDs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoPtConfig), global::Docframe.ProtoPtConfig.Parser, new[]{ "Height", "LineFeed", "CharacterWidth", "SpaceWidth", "Uuid", "ComChannelUUIDs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoUlConfig), global::Docframe.ProtoUlConfig.Parser, new[]{ "Mode", "Uuid", "ComChannelUUIDs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoNewPage), global::Docframe.ProtoNewPage.Parser, new[]{ "Uuid", "PaperTrayUuid", "PaperTrayNumber", "PaperCount", "PageMode", "PageOrientation", "PDefUuid", "CDefUuid", "ComChannelUUIDs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoIndentation), global::Docframe.ProtoIndentation.Parser, new[]{ "Children", "Parent", "Left", "Right", "Uuid", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoCarryOver), global::Docframe.ProtoCarryOver.Parser, new[]{ "Children", "Parent", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoCarryOver), global::Docframe.ProtoCarryOver.Parser, new[]{ "Children", "Parent", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoLoopEntry), global::Docframe.ProtoLoopEntry.Parser, new[]{ "Children", "Parent", "Path", "Index", "Uuid", "ComChannelUUIDs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoLoop), global::Docframe.ProtoLoop.Parser, new[]{ "Children", "Parent", "Path", "Uuid", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSubTotal), global::Docframe.ProtoSubTotal.Parser, new[]{ "Children", "Parent", "ApplyImmediate", "Position", "Height", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoWsArea), global::Docframe.ProtoWsArea.Parser, new[]{ "Children", "Parent", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoRule), global::Docframe.ProtoRule.Parser, new[]{ "XOffset", "YOffset", "Width", "Thickness", "Rotation", "Color", "Style", "Mode", "Boundaries", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSubTotal), global::Docframe.ProtoSubTotal.Parser, new[]{ "Children", "Parent", "ApplyImmediate", "Position", "Height", "ComChannelUUIDs", "Uuid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoWsArea), global::Docframe.ProtoWsArea.Parser, new[]{ "Children", "Parent", "ComChannelUUIDs", "Uuid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoRule), global::Docframe.ProtoRule.Parser, new[]{ "XOffset", "YOffset", "Width", "Thickness", "Rotation", "Color", "Style", "Mode", "Boundaries", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoRuleBoundaries), global::Docframe.ProtoRuleBoundaries.Parser, new[]{ "Start", "End" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoColorDef), global::Docframe.ProtoColorDef.Parser, new[]{ "Color", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoLayout), global::Docframe.ProtoLayout.Parser, new[]{ "Parent", "Name", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoColorDef), global::Docframe.ProtoColorDef.Parser, new[]{ "Color", "ComChannelUUIDs", "Uuid" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoLayout), global::Docframe.ProtoLayout.Parser, new[]{ "Parent", "Name", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoAdvancedIllustrationArea), global::Docframe.ProtoAdvancedIllustrationArea.Parser, new[]{ "Children", "Parent", "Uuid", "Absolute", "Width", "Height", "X", "Y", "TextFlow", "Rotation", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoAdjustHorizontally), global::Docframe.ProtoAdjustHorizontally.Parser, new[]{ "Children", "Parent", "MinFontSize", "MaxFontSize", "ComChannelUUIDs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoAdjustHorizontally), global::Docframe.ProtoAdjustHorizontally.Parser, new[]{ "Children", "Parent", "MinFontSize", "MaxFontSize", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoDoctypeScript), global::Docframe.ProtoDoctypeScript.Parser, new[]{ "Parent", "Content", "OutputMode", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoDmScript), global::Docframe.ProtoDmScript.Parser, new[]{ "Parent", "Content", "ComChannelUUIDs", "Uuid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoDynamicTemplate), global::Docframe.ProtoDynamicTemplate.Parser, new[]{ "Parent", "Uuid", "Script", "ComChannelUUIDs" }, null, null, null, null), @@ -13178,6 +13184,7 @@ public ProtoLink(ProtoLink other) : this() { paragraphFormatInternalName_ = other.paragraphFormatInternalName_; urlCode_ = other.urlCode_; bindUrlCode_ = other.bindUrlCode_; + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -13269,6 +13276,18 @@ public bool BindUrlCode { } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 8; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -13291,6 +13310,7 @@ public bool Equals(ProtoLink other) { if (ParagraphFormatInternalName != other.ParagraphFormatInternalName) return false; if (UrlCode != other.UrlCode) return false; if (BindUrlCode != other.BindUrlCode) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -13305,6 +13325,7 @@ public override int GetHashCode() { if (ParagraphFormatInternalName.Length != 0) hash ^= ParagraphFormatInternalName.GetHashCode(); if (UrlCode.Length != 0) hash ^= UrlCode.GetHashCode(); if (BindUrlCode != false) hash ^= BindUrlCode.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -13345,6 +13366,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(56); output.WriteBool(BindUrlCode); } + if (Uuid.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -13377,6 +13402,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(56); output.WriteBool(BindUrlCode); } + if (Uuid.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -13404,6 +13433,9 @@ public int CalculateSize() { if (BindUrlCode != false) { size += 1 + 1; } + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -13433,6 +13465,9 @@ public void MergeFrom(ProtoLink other) { if (other.BindUrlCode != false) { BindUrlCode = other.BindUrlCode; } + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -13480,6 +13515,10 @@ public void MergeFrom(pb::CodedInputStream input) { BindUrlCode = input.ReadBool(); break; } + case 66: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -13527,6 +13566,10 @@ public void MergeFrom(pb::CodedInputStream input) { BindUrlCode = input.ReadBool(); break; } + case 66: { + Uuid = input.ReadString(); + break; + } } } } @@ -17323,6 +17366,7 @@ public ProtoListSetting(ProtoListSetting other) : this() { listLevelSettings_ = other.listLevelSettings_.Clone(); defaultListLevelSetting_ = other.defaultListLevelSetting_ != null ? other.defaultListLevelSetting_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -17390,6 +17434,18 @@ public string Name { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 6; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -17410,6 +17466,7 @@ public bool Equals(ProtoListSetting other) { if(!listLevelSettings_.Equals(other.listLevelSettings_)) return false; if (!object.Equals(DefaultListLevelSetting, other.DefaultListLevelSetting)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -17422,6 +17479,7 @@ public override int GetHashCode() { hash ^= listLevelSettings_.GetHashCode(); if (defaultListLevelSetting_ != null) hash ^= DefaultListLevelSetting.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -17454,6 +17512,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(DefaultListLevelSetting); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -17478,6 +17540,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(DefaultListLevelSetting); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -17499,6 +17565,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DefaultListLevelSetting); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -17528,6 +17597,9 @@ public void MergeFrom(ProtoListSetting other) { DefaultListLevelSetting.MergeFrom(other.DefaultListLevelSetting); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -17573,6 +17645,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 50: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -17618,6 +17694,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 50: { + Uuid = input.ReadString(); + break; + } } } } @@ -18802,6 +18882,7 @@ public ProtoParagraphFormat(ProtoParagraphFormat other) : this() { postNamedString_ = other.postNamedString_ != null ? other.postNamedString_.Clone() : null; semanticType_ = other.semanticType_ != null ? other.semanticType_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -19158,6 +19239,18 @@ public ProtoParagraphFormat Clone() { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 30; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -19202,6 +19295,7 @@ public bool Equals(ProtoParagraphFormat other) { if (!object.Equals(PostNamedString, other.PostNamedString)) return false; if (!object.Equals(SemanticType, other.SemanticType)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -19238,6 +19332,7 @@ public override int GetHashCode() { if (postNamedString_ != null) hash ^= PostNamedString.GetHashCode(); if (semanticType_ != null) hash ^= SemanticType.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -19369,6 +19464,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(SemanticType); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -19492,6 +19591,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(SemanticType); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -19587,6 +19690,9 @@ public int CalculateSize() { size += 2 + pb::CodedOutputStream.ComputeMessageSize(SemanticType); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -19768,6 +19874,9 @@ public void MergeFrom(ProtoParagraphFormat other) { SemanticType.MergeFrom(other.SemanticType); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -19987,6 +20096,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 242: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -20206,6 +20319,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 242: { + Uuid = input.ReadString(); + break; + } } } } @@ -20584,6 +20701,7 @@ public ProtoSpaceVertically(ProtoSpaceVertically other) : this() { parent_ = other.parent_ != null ? other.parent_.Clone() : null; space_ = other.space_ != null ? other.space_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -20628,6 +20746,18 @@ public ProtoSpaceVertically Clone() { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 4; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -20646,6 +20776,7 @@ public bool Equals(ProtoSpaceVertically other) { if (!object.Equals(Parent, other.Parent)) return false; if (!object.Equals(Space, other.Space)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -20656,6 +20787,7 @@ public override int GetHashCode() { if (parent_ != null) hash ^= Parent.GetHashCode(); if (space_ != null) hash ^= Space.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -20683,6 +20815,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Space); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -20702,6 +20838,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Space); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -20719,6 +20859,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Space); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -20744,6 +20887,9 @@ public void MergeFrom(ProtoSpaceVertically other) { Space.MergeFrom(other.Space); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -20781,6 +20927,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 34: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -20818,6 +20968,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 34: { + Uuid = input.ReadString(); + break; + } } } } @@ -21962,6 +22116,7 @@ public ProtoTableConfig(ProtoTableConfig other) : this() { settings_ = other.settings_ != null ? other.settings_.Clone() : null; configName_ = other.configName_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -22018,6 +22173,18 @@ public string ConfigName { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 5; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -22037,6 +22204,7 @@ public bool Equals(ProtoTableConfig other) { if (!object.Equals(Settings, other.Settings)) return false; if (ConfigName != other.ConfigName) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -22048,6 +22216,7 @@ public override int GetHashCode() { if (settings_ != null) hash ^= Settings.GetHashCode(); if (ConfigName.Length != 0) hash ^= ConfigName.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -22079,6 +22248,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(ConfigName); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -22102,6 +22275,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(ConfigName); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -22122,6 +22299,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigName); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -22150,6 +22330,9 @@ public void MergeFrom(ProtoTableConfig other) { ConfigName = other.ConfigName; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -22191,6 +22374,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 42: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -22232,6 +22419,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 42: { + Uuid = input.ReadString(); + break; + } } } } @@ -23384,6 +23575,7 @@ public ProtoTableContentGroupConfig(ProtoTableContentGroupConfig other) : this() settings_ = other.settings_ != null ? other.settings_.Clone() : null; configName_ = other.configName_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -23440,6 +23632,18 @@ public string ConfigName { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 5; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -23459,6 +23663,7 @@ public bool Equals(ProtoTableContentGroupConfig other) { if (!object.Equals(Settings, other.Settings)) return false; if (ConfigName != other.ConfigName) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -23470,6 +23675,7 @@ public override int GetHashCode() { if (settings_ != null) hash ^= Settings.GetHashCode(); if (ConfigName.Length != 0) hash ^= ConfigName.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -23501,6 +23707,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(ConfigName); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -23524,6 +23734,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(ConfigName); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -23544,6 +23758,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigName); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -23572,6 +23789,9 @@ public void MergeFrom(ProtoTableContentGroupConfig other) { ConfigName = other.ConfigName; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -23613,6 +23833,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 42: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -23654,6 +23878,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 42: { + Uuid = input.ReadString(); + break; + } } } } @@ -24415,6 +24643,7 @@ public ProtoTableRowConfig(ProtoTableRowConfig other) : this() { rowHeader_ = other.rowHeader_; rowFooter_ = other.rowFooter_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -24495,6 +24724,18 @@ public string RowFooter { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 7; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -24516,6 +24757,7 @@ public bool Equals(ProtoTableRowConfig other) { if (RowHeader != other.RowHeader) return false; if (RowFooter != other.RowFooter) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -24529,6 +24771,7 @@ public override int GetHashCode() { if (RowHeader.Length != 0) hash ^= RowHeader.GetHashCode(); if (RowFooter.Length != 0) hash ^= RowFooter.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -24568,6 +24811,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(RowFooter); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -24599,6 +24846,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(RowFooter); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -24625,6 +24876,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(RowFooter); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -24659,6 +24913,9 @@ public void MergeFrom(ProtoTableRowConfig other) { RowFooter = other.RowFooter; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -24708,6 +24965,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 58: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -24757,6 +25018,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 58: { + Uuid = input.ReadString(); + break; + } } } } @@ -25800,6 +26065,7 @@ public ProtoTableCellConfig(ProtoTableCellConfig other) : this() { configName_ = other.configName_; cellType_ = other.cellType_ != null ? other.cellType_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -25868,6 +26134,18 @@ public string ConfigName { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 6; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -25888,6 +26166,7 @@ public bool Equals(ProtoTableCellConfig other) { if (ConfigName != other.ConfigName) return false; if (!object.Equals(CellType, other.CellType)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -25900,6 +26179,7 @@ public override int GetHashCode() { if (ConfigName.Length != 0) hash ^= ConfigName.GetHashCode(); if (cellType_ != null) hash ^= CellType.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -25935,6 +26215,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(CellType); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -25962,6 +26246,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(CellType); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -25985,6 +26273,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CellType); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -26019,6 +26310,9 @@ public void MergeFrom(ProtoTableCellConfig other) { CellType.MergeFrom(other.CellType); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -26067,6 +26361,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 50: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -26115,6 +26413,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 50: { + Uuid = input.ReadString(); + break; + } } } } @@ -39816,6 +40118,7 @@ public ProtoFormatted(ProtoFormatted other) : this() { textContent_ = other.textContent_; textCode_ = other.textCode_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -39932,6 +40235,18 @@ public string TextCode { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 10; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -39956,6 +40271,7 @@ public bool Equals(ProtoFormatted other) { if (TextContent != other.TextContent) return false; if (TextCode != other.TextCode) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -39972,6 +40288,7 @@ public override int GetHashCode() { if (TextContent.Length != 0) hash ^= TextContent.GetHashCode(); if (TextCode.Length != 0) hash ^= TextCode.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -40023,6 +40340,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(TextCode); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -40066,6 +40387,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(TextCode); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -40101,6 +40426,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(TextCode); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -40141,6 +40469,9 @@ public void MergeFrom(ProtoFormatted other) { TextCode = other.TextCode; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -40199,6 +40530,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 82: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -40257,6 +40592,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 82: { + Uuid = input.ReadString(); + break; + } } } } @@ -40301,6 +40640,7 @@ public ProtoApplyProtoCDef() { public ProtoApplyProtoCDef(ProtoApplyProtoCDef other) : this() { cDefUuid_ = other.cDefUuid_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -40333,6 +40673,18 @@ public string CDefUuid { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 3; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -40350,6 +40702,7 @@ public bool Equals(ProtoApplyProtoCDef other) { } if (CDefUuid != other.CDefUuid) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -40359,6 +40712,7 @@ public override int GetHashCode() { int hash = 1; if (CDefUuid.Length != 0) hash ^= CDefUuid.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -40382,6 +40736,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(CDefUuid); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -40397,6 +40755,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(CDefUuid); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -40411,6 +40773,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(CDefUuid); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -40427,6 +40792,9 @@ public void MergeFrom(ProtoApplyProtoCDef other) { CDefUuid = other.CDefUuid; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -40454,6 +40822,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -40481,6 +40853,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } } @@ -40525,6 +40901,7 @@ public ProtoApplyProtoPDef() { public ProtoApplyProtoPDef(ProtoApplyProtoPDef other) : this() { pDefUuid_ = other.pDefUuid_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -40557,6 +40934,18 @@ public string PDefUuid { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 3; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -40574,6 +40963,7 @@ public bool Equals(ProtoApplyProtoPDef other) { } if (PDefUuid != other.PDefUuid) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -40583,6 +40973,7 @@ public override int GetHashCode() { int hash = 1; if (PDefUuid.Length != 0) hash ^= PDefUuid.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -40606,6 +40997,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(PDefUuid); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -40621,6 +41016,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(PDefUuid); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -40635,6 +41034,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(PDefUuid); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -40651,6 +41053,9 @@ public void MergeFrom(ProtoApplyProtoPDef other) { PDefUuid = other.PDefUuid; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -40678,6 +41083,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -40705,6 +41114,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } } @@ -40749,6 +41162,7 @@ public ProtoApplyPtConfig() { public ProtoApplyPtConfig(ProtoApplyPtConfig other) : this() { ptConfigUuid_ = other.ptConfigUuid_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -40781,6 +41195,18 @@ public string PtConfigUuid { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 3; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -40798,6 +41224,7 @@ public bool Equals(ProtoApplyPtConfig other) { } if (PtConfigUuid != other.PtConfigUuid) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -40807,6 +41234,7 @@ public override int GetHashCode() { int hash = 1; if (PtConfigUuid.Length != 0) hash ^= PtConfigUuid.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -40830,6 +41258,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(PtConfigUuid); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -40845,6 +41277,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(PtConfigUuid); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -40859,6 +41295,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(PtConfigUuid); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -40875,6 +41314,9 @@ public void MergeFrom(ProtoApplyPtConfig other) { PtConfigUuid = other.PtConfigUuid; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -40902,6 +41344,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -40929,6 +41375,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } } @@ -40973,6 +41423,7 @@ public ProtoApplyUlConfig() { public ProtoApplyUlConfig(ProtoApplyUlConfig other) : this() { ulConfigUuid_ = other.ulConfigUuid_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -41005,6 +41456,18 @@ public string UlConfigUuid { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 3; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -41022,6 +41485,7 @@ public bool Equals(ProtoApplyUlConfig other) { } if (UlConfigUuid != other.UlConfigUuid) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -41031,6 +41495,7 @@ public override int GetHashCode() { int hash = 1; if (UlConfigUuid.Length != 0) hash ^= UlConfigUuid.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -41054,6 +41519,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(UlConfigUuid); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -41069,6 +41538,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(UlConfigUuid); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -41083,6 +41556,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(UlConfigUuid); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -41099,6 +41575,9 @@ public void MergeFrom(ProtoApplyUlConfig other) { UlConfigUuid = other.UlConfigUuid; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -41126,6 +41605,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -41153,6 +41636,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } } @@ -43416,6 +43903,7 @@ public ProtoCarryOver(ProtoCarryOver other) : this() { Children_ = other.Children_.Clone(); parent_ = other.parent_ != null ? other.parent_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -43459,6 +43947,18 @@ public ProtoCarryOver Clone() { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 4; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -43477,6 +43977,7 @@ public bool Equals(ProtoCarryOver other) { if(!Children_.Equals(other.Children_)) return false; if (!object.Equals(Parent, other.Parent)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -43487,6 +43988,7 @@ public override int GetHashCode() { hash ^= Children_.GetHashCode(); if (parent_ != null) hash ^= Parent.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -43511,6 +44013,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Parent); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -43527,6 +44033,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Parent); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -43542,6 +44052,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -43562,6 +44075,9 @@ public void MergeFrom(ProtoCarryOver other) { Parent.MergeFrom(other.Parent); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -43596,6 +44112,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 34: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -43630,6 +44150,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 34: { + Uuid = input.ReadString(); + break; + } } } } @@ -44381,6 +44905,7 @@ public ProtoSubTotal(ProtoSubTotal other) : this() { position_ = other.position_; height_ = other.height_ != null ? other.height_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -44460,6 +44985,18 @@ public bool ApplyImmediate { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 7; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -44481,6 +45018,7 @@ public bool Equals(ProtoSubTotal other) { if (Position != other.Position) return false; if (!object.Equals(Height, other.Height)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -44494,6 +45032,7 @@ public override int GetHashCode() { if (Position != global::Docframe.ProtoSubTotalPosition.PositionAboveFooter) hash ^= Position.GetHashCode(); if (height_ != null) hash ^= Height.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -44530,6 +45069,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Height); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -44558,6 +45101,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Height); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -44582,6 +45129,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -44614,6 +45164,9 @@ public void MergeFrom(ProtoSubTotal other) { Height.MergeFrom(other.Height); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -44663,6 +45216,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 58: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -44712,6 +45269,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 58: { + Uuid = input.ReadString(); + break; + } } } } @@ -44757,6 +45318,7 @@ public ProtoWsArea(ProtoWsArea other) : this() { Children_ = other.Children_.Clone(); parent_ = other.parent_ != null ? other.parent_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -44800,6 +45362,18 @@ public ProtoWsArea Clone() { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 4; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -44818,6 +45392,7 @@ public bool Equals(ProtoWsArea other) { if(!Children_.Equals(other.Children_)) return false; if (!object.Equals(Parent, other.Parent)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -44828,6 +45403,7 @@ public override int GetHashCode() { hash ^= Children_.GetHashCode(); if (parent_ != null) hash ^= Parent.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -44852,6 +45428,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Parent); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -44868,6 +45448,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Parent); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -44883,6 +45467,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -44903,6 +45490,9 @@ public void MergeFrom(ProtoWsArea other) { Parent.MergeFrom(other.Parent); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -44937,6 +45527,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 34: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -44971,6 +45565,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 34: { + Uuid = input.ReadString(); + break; + } } } } @@ -45023,6 +45621,7 @@ public ProtoRule(ProtoRule other) : this() { mode_ = other.mode_; boundaries_ = other.boundaries_ != null ? other.boundaries_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -45151,6 +45750,18 @@ public double Rotation { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 11; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -45176,6 +45787,7 @@ public bool Equals(ProtoRule other) { if (Mode != other.Mode) return false; if (!object.Equals(Boundaries, other.Boundaries)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -45193,6 +45805,7 @@ public override int GetHashCode() { if (Mode != global::Docframe.ProtoRuleMode.Normal) hash ^= Mode.GetHashCode(); if (boundaries_ != null) hash ^= Boundaries.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -45248,6 +45861,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Boundaries); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -45295,6 +45912,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Boundaries); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -45333,6 +45954,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Boundaries); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -45391,6 +46015,9 @@ public void MergeFrom(ProtoRule other) { Boundaries.MergeFrom(other.Boundaries); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -45468,6 +46095,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 90: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -45545,6 +46176,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 90: { + Uuid = input.ReadString(); + break; + } } } } @@ -45842,6 +46477,7 @@ public ProtoColorDef() { public ProtoColorDef(ProtoColorDef other) : this() { color_ = other.color_ != null ? other.color_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -45874,6 +46510,18 @@ public ProtoColorDef Clone() { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 3; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -45891,6 +46539,7 @@ public bool Equals(ProtoColorDef other) { } if (!object.Equals(Color, other.Color)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -45900,6 +46549,7 @@ public override int GetHashCode() { int hash = 1; if (color_ != null) hash ^= Color.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -45923,6 +46573,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Color); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -45938,6 +46592,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Color); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -45952,6 +46610,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -45971,6 +46632,9 @@ public void MergeFrom(ProtoColorDef other) { Color.MergeFrom(other.Color); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -46001,6 +46665,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -46031,6 +46699,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 26: { + Uuid = input.ReadString(); + break; + } } } } @@ -46076,6 +46748,7 @@ public ProtoLayout(ProtoLayout other) : this() { parent_ = other.parent_ != null ? other.parent_.Clone() : null; name_ = other.name_; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -46120,6 +46793,18 @@ public string Name { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 4; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -46138,6 +46823,7 @@ public bool Equals(ProtoLayout other) { if (!object.Equals(Parent, other.Parent)) return false; if (Name != other.Name) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -46148,6 +46834,7 @@ public override int GetHashCode() { if (parent_ != null) hash ^= Parent.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -46175,6 +46862,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(Name); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -46194,6 +46885,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(Name); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -46211,6 +46906,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -46233,6 +46931,9 @@ public void MergeFrom(ProtoLayout other) { Name = other.Name; } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -46267,6 +46968,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 34: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -46301,6 +47006,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 34: { + Uuid = input.ReadString(); + break; + } } } } @@ -46939,6 +47648,7 @@ public ProtoAdjustHorizontally(ProtoAdjustHorizontally other) : this() { minFontSize_ = other.minFontSize_ != null ? other.minFontSize_.Clone() : null; maxFontSize_ = other.maxFontSize_ != null ? other.maxFontSize_.Clone() : null; comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); + uuid_ = other.uuid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -47006,6 +47716,18 @@ public ProtoAdjustHorizontally Clone() { get { return comChannelUUIDs_; } } + /// Field number for the "uuid" field. + public const int UuidFieldNumber = 6; + private string uuid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uuid { + get { return uuid_; } + set { + uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -47026,6 +47748,7 @@ public bool Equals(ProtoAdjustHorizontally other) { if (!object.Equals(MinFontSize, other.MinFontSize)) return false; if (!object.Equals(MaxFontSize, other.MaxFontSize)) return false; if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; + if (Uuid != other.Uuid) return false; return Equals(_unknownFields, other._unknownFields); } @@ -47038,6 +47761,7 @@ public override int GetHashCode() { if (minFontSize_ != null) hash ^= MinFontSize.GetHashCode(); if (maxFontSize_ != null) hash ^= MaxFontSize.GetHashCode(); hash ^= comChannelUUIDs_.GetHashCode(); + if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -47070,6 +47794,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(MaxFontSize); } comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -47094,6 +47822,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(MaxFontSize); } comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Uuid); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -47115,6 +47847,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(MaxFontSize); } size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); + if (Uuid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -47147,6 +47882,9 @@ public void MergeFrom(ProtoAdjustHorizontally other) { MaxFontSize.MergeFrom(other.MaxFontSize); } comChannelUUIDs_.Add(other.comChannelUUIDs_); + if (other.Uuid.Length != 0) { + Uuid = other.Uuid; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -47195,6 +47933,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); break; } + case 50: { + Uuid = input.ReadString(); + break; + } } } #endif @@ -47243,6 +47985,10 @@ public void MergeFrom(pb::CodedInputStream input) { comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); break; } + case 50: { + Uuid = input.ReadString(); + break; + } } } } diff --git a/build/Docframe.d.ts b/build/Docframe.d.ts index 167800e..538c305 100644 --- a/build/Docframe.d.ts +++ b/build/Docframe.d.ts @@ -8,9 +8,6 @@ export interface IProtoBoxedBool { /** ProtoBoxedBool isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedBool. */ @@ -22,9 +19,6 @@ export class ProtoBoxedBool implements IProtoBoxedBool { */ constructor(properties?: IProtoBoxedBool); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedBool value. */ public value: boolean; @@ -102,11 +96,11 @@ export class ProtoBoxedBool implements IProtoBoxedBool { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedBool - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedBool + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedDouble. */ @@ -117,9 +111,6 @@ export interface IProtoBoxedDouble { /** ProtoBoxedDouble isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedDouble. */ @@ -131,9 +122,6 @@ export class ProtoBoxedDouble implements IProtoBoxedDouble { */ constructor(properties?: IProtoBoxedDouble); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedDouble value. */ public value: number; @@ -211,11 +199,11 @@ export class ProtoBoxedDouble implements IProtoBoxedDouble { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedDouble - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedDouble + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedInt32. */ @@ -226,9 +214,6 @@ export interface IProtoBoxedInt32 { /** ProtoBoxedInt32 isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedInt32. */ @@ -240,9 +225,6 @@ export class ProtoBoxedInt32 implements IProtoBoxedInt32 { */ constructor(properties?: IProtoBoxedInt32); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedInt32 value. */ public value: number; @@ -320,11 +302,11 @@ export class ProtoBoxedInt32 implements IProtoBoxedInt32 { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedInt32 - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedInt32 + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedUint32. */ @@ -335,9 +317,6 @@ export interface IProtoBoxedUint32 { /** ProtoBoxedUint32 isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedUint32. */ @@ -349,9 +328,6 @@ export class ProtoBoxedUint32 implements IProtoBoxedUint32 { */ constructor(properties?: IProtoBoxedUint32); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedUint32 value. */ public value: number; @@ -429,11 +405,11 @@ export class ProtoBoxedUint32 implements IProtoBoxedUint32 { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedUint32 - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedUint32 + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedString. */ @@ -444,9 +420,6 @@ export interface IProtoBoxedString { /** ProtoBoxedString isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedString. */ @@ -458,9 +431,6 @@ export class ProtoBoxedString implements IProtoBoxedString { */ constructor(properties?: IProtoBoxedString); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedString value. */ public value: string; @@ -538,11 +508,11 @@ export class ProtoBoxedString implements IProtoBoxedString { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedString - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedString + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoSPBMode enum. */ @@ -560,9 +530,6 @@ export interface IProtoBoxedSPBMode { /** ProtoBoxedSPBMode isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedSPBMode. */ @@ -574,9 +541,6 @@ export class ProtoBoxedSPBMode implements IProtoBoxedSPBMode { */ constructor(properties?: IProtoBoxedSPBMode); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedSPBMode value. */ public value: ProtoSPBMode; @@ -654,11 +618,11 @@ export class ProtoBoxedSPBMode implements IProtoBoxedSPBMode { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedSPBMode - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedSPBMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoRuleStyle enum. */ @@ -695,9 +659,6 @@ export interface IProtoStrikethroughSpec { /** ProtoStrikethroughSpec style */ style?: (ProtoRuleStyle|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoStrikethroughSpec. */ @@ -709,9 +670,6 @@ export class ProtoStrikethroughSpec implements IProtoStrikethroughSpec { */ constructor(properties?: IProtoStrikethroughSpec); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoStrikethroughSpec weight. */ public weight?: (IProtoMeasure|null); @@ -798,11 +756,11 @@ export class ProtoStrikethroughSpec implements IProtoStrikethroughSpec { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoStrikethroughSpec - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoStrikethroughSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedStrikethroughSpec. */ @@ -813,9 +771,6 @@ export interface IProtoBoxedStrikethroughSpec { /** ProtoBoxedStrikethroughSpec isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedStrikethroughSpec. */ @@ -827,9 +782,6 @@ export class ProtoBoxedStrikethroughSpec implements IProtoBoxedStrikethroughSpec */ constructor(properties?: IProtoBoxedStrikethroughSpec); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedStrikethroughSpec value. */ public value?: (IProtoStrikethroughSpec|null); @@ -907,11 +859,11 @@ export class ProtoBoxedStrikethroughSpec implements IProtoBoxedStrikethroughSpec public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedStrikethroughSpec - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedStrikethroughSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoMeasureType enum. */ @@ -932,9 +884,6 @@ export interface IProtoMeasure { /** ProtoMeasure mtype */ mtype?: (ProtoMeasureType|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoMeasure. */ @@ -946,9 +895,6 @@ export class ProtoMeasure implements IProtoMeasure { */ constructor(properties?: IProtoMeasure); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoMeasure value. */ public value: number; @@ -1026,11 +972,11 @@ export class ProtoMeasure implements IProtoMeasure { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoMeasure - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoMeasure + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedMeasure. */ @@ -1041,9 +987,6 @@ export interface IProtoBoxedMeasure { /** ProtoBoxedMeasure isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedMeasure. */ @@ -1055,9 +998,6 @@ export class ProtoBoxedMeasure implements IProtoBoxedMeasure { */ constructor(properties?: IProtoBoxedMeasure); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedMeasure value. */ public value?: (IProtoMeasure|null); @@ -1135,11 +1075,11 @@ export class ProtoBoxedMeasure implements IProtoBoxedMeasure { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedMeasure - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedMeasure + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSideMeasures. */ @@ -1156,9 +1096,6 @@ export interface IProtoSideMeasures { /** ProtoSideMeasures left */ left?: (IProtoMeasure|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSideMeasures. */ @@ -1170,9 +1107,6 @@ export class ProtoSideMeasures implements IProtoSideMeasures { */ constructor(properties?: IProtoSideMeasures); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSideMeasures top. */ public top?: (IProtoMeasure|null); @@ -1256,11 +1190,11 @@ export class ProtoSideMeasures implements IProtoSideMeasures { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSideMeasures - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSideMeasures + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoAdvancedIllustrationAreaTextFlowType enum. */ @@ -1280,9 +1214,6 @@ export interface IProtoBoxedAdvancedIllustrationAreaTextFlowType { /** ProtoBoxedAdvancedIllustrationAreaTextFlowType isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedAdvancedIllustrationAreaTextFlowType. */ @@ -1294,9 +1225,6 @@ export class ProtoBoxedAdvancedIllustrationAreaTextFlowType implements IProtoBox */ constructor(properties?: IProtoBoxedAdvancedIllustrationAreaTextFlowType); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedAdvancedIllustrationAreaTextFlowType value. */ public value: ProtoAdvancedIllustrationAreaTextFlowType; @@ -1374,11 +1302,11 @@ export class ProtoBoxedAdvancedIllustrationAreaTextFlowType implements IProtoBox public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedAdvancedIllustrationAreaTextFlowType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoAdvancedIllustrationAreaImageSettings. */ @@ -1389,9 +1317,6 @@ export interface IProtoAdvancedIllustrationAreaImageSettings { /** ProtoAdvancedIllustrationAreaImageSettings margin */ margin?: (IProtoSideMeasures|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoAdvancedIllustrationAreaImageSettings. */ @@ -1403,9 +1328,6 @@ export class ProtoAdvancedIllustrationAreaImageSettings implements IProtoAdvance */ constructor(properties?: IProtoAdvancedIllustrationAreaImageSettings); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoAdvancedIllustrationAreaImageSettings textFlow. */ public textFlow?: (IProtoBoxedAdvancedIllustrationAreaTextFlowType|null); @@ -1483,11 +1405,11 @@ export class ProtoAdvancedIllustrationAreaImageSettings implements IProtoAdvance public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoAdvancedIllustrationAreaImageSettings - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoAdvancedIllustrationAreaImageSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoFont. */ @@ -1498,9 +1420,6 @@ export interface IProtoFont { /** ProtoFont name */ name?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoFont. */ @@ -1512,9 +1431,6 @@ export class ProtoFont implements IProtoFont { */ constructor(properties?: IProtoFont); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoFont id. */ public id: number; @@ -1592,11 +1508,11 @@ export class ProtoFont implements IProtoFont { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoFont - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoFont + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedFont. */ @@ -1607,9 +1523,6 @@ export interface IProtoBoxedFont { /** ProtoBoxedFont isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedFont. */ @@ -1621,9 +1534,6 @@ export class ProtoBoxedFont implements IProtoBoxedFont { */ constructor(properties?: IProtoBoxedFont); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedFont value. */ public value?: (IProtoFont|null); @@ -1701,11 +1611,11 @@ export class ProtoBoxedFont implements IProtoBoxedFont { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedFont - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedFont + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoColorType enum. */ @@ -1744,9 +1654,6 @@ export interface IProtoColor { /** ProtoColor k */ k?: (number|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoColor. */ @@ -1758,9 +1665,6 @@ export class ProtoColor implements IProtoColor { */ constructor(properties?: IProtoColor); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoColor name. */ public name?: (IProtoBoxedString|null); @@ -1859,11 +1763,11 @@ export class ProtoColor implements IProtoColor { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoColor - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoColor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedColor. */ @@ -1874,9 +1778,6 @@ export interface IProtoBoxedColor { /** ProtoBoxedColor isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedColor. */ @@ -1888,9 +1789,6 @@ export class ProtoBoxedColor implements IProtoBoxedColor { */ constructor(properties?: IProtoBoxedColor); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedColor value. */ public value?: (IProtoColor|null); @@ -1968,11 +1866,11 @@ export class ProtoBoxedColor implements IProtoBoxedColor { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedColor - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedColor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoRGBColor. */ @@ -1992,9 +1890,6 @@ export interface IProtoRGBColor { /** ProtoRGBColor b */ b?: (number|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoRGBColor. */ @@ -2006,9 +1901,6 @@ export class ProtoRGBColor implements IProtoRGBColor { */ constructor(properties?: IProtoRGBColor); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoRGBColor name. */ public name?: (IProtoBoxedString|null); @@ -2095,11 +1987,11 @@ export class ProtoRGBColor implements IProtoRGBColor { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoRGBColor - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoRGBColor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoCMYKColor. */ @@ -2122,9 +2014,6 @@ export interface IProtoCMYKColor { /** ProtoCMYKColor k */ k?: (number|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoCMYKColor. */ @@ -2136,9 +2025,6 @@ export class ProtoCMYKColor implements IProtoCMYKColor { */ constructor(properties?: IProtoCMYKColor); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoCMYKColor name. */ public name?: (IProtoBoxedString|null); @@ -2228,11 +2114,11 @@ export class ProtoCMYKColor implements IProtoCMYKColor { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoCMYKColor - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoCMYKColor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoHorizontalAlignment enum. */ @@ -2260,9 +2146,6 @@ export interface IProtoBoxedHorizontalAlignment { /** ProtoBoxedHorizontalAlignment isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedHorizontalAlignment. */ @@ -2274,9 +2157,6 @@ export class ProtoBoxedHorizontalAlignment implements IProtoBoxedHorizontalAlign */ constructor(properties?: IProtoBoxedHorizontalAlignment); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedHorizontalAlignment value. */ public value: ProtoHorizontalAlignment; @@ -2354,11 +2234,11 @@ export class ProtoBoxedHorizontalAlignment implements IProtoBoxedHorizontalAlign public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedHorizontalAlignment - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedHorizontalAlignment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedVerticalAlignment. */ @@ -2369,9 +2249,6 @@ export interface IProtoBoxedVerticalAlignment { /** ProtoBoxedVerticalAlignment isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedVerticalAlignment. */ @@ -2383,9 +2260,6 @@ export class ProtoBoxedVerticalAlignment implements IProtoBoxedVerticalAlignment */ constructor(properties?: IProtoBoxedVerticalAlignment); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedVerticalAlignment value. */ public value: ProtoVerticalAlignment; @@ -2463,11 +2337,11 @@ export class ProtoBoxedVerticalAlignment implements IProtoBoxedVerticalAlignment public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedVerticalAlignment - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedVerticalAlignment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoBarcodeType enum. */ @@ -2516,9 +2390,6 @@ export interface IProtoSwissQRCreditor { /** ProtoSwissQRCreditor currency */ currency?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSwissQRCreditor. */ @@ -2530,9 +2401,6 @@ export class ProtoSwissQRCreditor implements IProtoSwissQRCreditor { */ constructor(properties?: IProtoSwissQRCreditor); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSwissQRCreditor addressType. */ public addressType: string; @@ -2634,11 +2502,11 @@ export class ProtoSwissQRCreditor implements IProtoSwissQRCreditor { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSwissQRCreditor - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSwissQRCreditor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSwissQRDebitor. */ @@ -2676,9 +2544,6 @@ export interface IProtoSwissQRDebitor { /** ProtoSwissQRDebitor billInformation */ billInformation?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSwissQRDebitor. */ @@ -2690,9 +2555,6 @@ export class ProtoSwissQRDebitor implements IProtoSwissQRDebitor { */ constructor(properties?: IProtoSwissQRDebitor); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSwissQRDebitor addressType. */ public addressType: string; @@ -2797,11 +2659,11 @@ export class ProtoSwissQRDebitor implements IProtoSwissQRDebitor { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSwissQRDebitor - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSwissQRDebitor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSwissQRData. */ @@ -2812,9 +2674,6 @@ export interface IProtoSwissQRData { /** ProtoSwissQRData debitor */ debitor?: (IProtoSwissQRDebitor|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSwissQRData. */ @@ -2826,9 +2685,6 @@ export class ProtoSwissQRData implements IProtoSwissQRData { */ constructor(properties?: IProtoSwissQRData); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSwissQRData creditor. */ public creditor?: (IProtoSwissQRCreditor|null); @@ -2906,11 +2762,11 @@ export class ProtoSwissQRData implements IProtoSwissQRData { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSwissQRData - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSwissQRData + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoBarcodeUAMode enum. */ @@ -2933,9 +2789,6 @@ export interface IProtoLinebreak { /** ProtoLinebreak count */ count?: (IProtoBoxedUint32|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoLinebreak. */ @@ -2947,9 +2800,6 @@ export class ProtoLinebreak implements IProtoLinebreak { */ constructor(properties?: IProtoLinebreak); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoLinebreak parent. */ public parent?: (IProtoDocumentElement|null); @@ -3033,11 +2883,11 @@ export class ProtoLinebreak implements IProtoLinebreak { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoLinebreak - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoLinebreak + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBorder. */ @@ -3048,9 +2898,6 @@ export interface IProtoBorder { /** ProtoBorder color */ color?: (IProtoColor|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBorder. */ @@ -3062,9 +2909,6 @@ export class ProtoBorder implements IProtoBorder { */ constructor(properties?: IProtoBorder); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBorder weight. */ public weight?: (IProtoMeasure|null); @@ -3142,11 +2986,11 @@ export class ProtoBorder implements IProtoBorder { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBorder - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBorder + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSideBorders. */ @@ -3163,9 +3007,6 @@ export interface IProtoSideBorders { /** ProtoSideBorders left */ left?: (IProtoBorder|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSideBorders. */ @@ -3177,9 +3018,6 @@ export class ProtoSideBorders implements IProtoSideBorders { */ constructor(properties?: IProtoSideBorders); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSideBorders top. */ public top?: (IProtoBorder|null); @@ -3263,11 +3101,11 @@ export class ProtoSideBorders implements IProtoSideBorders { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSideBorders - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSideBorders + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoPositionMode enum. */ @@ -3287,9 +3125,6 @@ export interface IProtoBoxedPositionMode { /** ProtoBoxedPositionMode isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedPositionMode. */ @@ -3301,9 +3136,6 @@ export class ProtoBoxedPositionMode implements IProtoBoxedPositionMode { */ constructor(properties?: IProtoBoxedPositionMode); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedPositionMode value. */ public value: ProtoPositionMode; @@ -3381,11 +3213,11 @@ export class ProtoBoxedPositionMode implements IProtoBoxedPositionMode { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedPositionMode - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedPositionMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoColumnSettings. */ @@ -3405,9 +3237,6 @@ export interface IProtoColumnSettings { /** ProtoColumnSettings outsideMargin */ outsideMargin?: (IProtoBoxedMeasure|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoColumnSettings. */ @@ -3419,9 +3248,6 @@ export class ProtoColumnSettings implements IProtoColumnSettings { */ constructor(properties?: IProtoColumnSettings); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoColumnSettings width. */ public width?: (IProtoBoxedMeasure|null); @@ -3508,11 +3334,11 @@ export class ProtoColumnSettings implements IProtoColumnSettings { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoColumnSettings - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoColumnSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoGraphicState. */ @@ -3538,9 +3364,6 @@ export interface IProtoGraphicState { /** ProtoGraphicState strikethrough */ strikethrough?: (IProtoBoxedBool|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoGraphicState. */ @@ -3552,9 +3375,6 @@ export class ProtoGraphicState implements IProtoGraphicState { */ constructor(properties?: IProtoGraphicState); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoGraphicState bold. */ public bold?: (IProtoBoxedBool|null); @@ -3647,18 +3467,15 @@ export class ProtoGraphicState implements IProtoGraphicState { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoGraphicState - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoGraphicState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoHtmlParser. */ export interface IProtoHtmlParser { - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoHtmlParser. */ @@ -3670,9 +3487,6 @@ export class ProtoHtmlParser implements IProtoHtmlParser { */ constructor(properties?: IProtoHtmlParser); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** * Creates a new ProtoHtmlParser instance using the specified properties. * @param [properties] Properties to set @@ -3744,11 +3558,11 @@ export class ProtoHtmlParser implements IProtoHtmlParser { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoHtmlParser - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoHtmlParser + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoUnderlineMode enum. */ @@ -3777,9 +3591,6 @@ export interface IProtoUnderlineSpec { /** ProtoUnderlineSpec style */ style?: (ProtoRuleStyle|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoUnderlineSpec. */ @@ -3791,9 +3602,6 @@ export class ProtoUnderlineSpec implements IProtoUnderlineSpec { */ constructor(properties?: IProtoUnderlineSpec); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoUnderlineSpec weight. */ public weight?: (IProtoMeasure|null); @@ -3880,11 +3688,11 @@ export class ProtoUnderlineSpec implements IProtoUnderlineSpec { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoUnderlineSpec - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoUnderlineSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedUnderlineSpec. */ @@ -3895,9 +3703,6 @@ export interface IProtoBoxedUnderlineSpec { /** ProtoBoxedUnderlineSpec isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedUnderlineSpec. */ @@ -3909,9 +3714,6 @@ export class ProtoBoxedUnderlineSpec implements IProtoBoxedUnderlineSpec { */ constructor(properties?: IProtoBoxedUnderlineSpec); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedUnderlineSpec value. */ public value?: (IProtoUnderlineSpec|null); @@ -3989,11 +3791,11 @@ export class ProtoBoxedUnderlineSpec implements IProtoBoxedUnderlineSpec { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedUnderlineSpec - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedUnderlineSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoCropSettings. */ @@ -4010,9 +3812,6 @@ export interface IProtoCropSettings { /** ProtoCropSettings height */ height?: (IProtoBoxedMeasure|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoCropSettings. */ @@ -4024,9 +3823,6 @@ export class ProtoCropSettings implements IProtoCropSettings { */ constructor(properties?: IProtoCropSettings); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoCropSettings x. */ public x?: (IProtoBoxedMeasure|null); @@ -4110,11 +3906,11 @@ export class ProtoCropSettings implements IProtoCropSettings { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoCropSettings - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoCropSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoFlipSettings. */ @@ -4125,9 +3921,6 @@ export interface IProtoFlipSettings { /** ProtoFlipSettings y */ y?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoFlipSettings. */ @@ -4139,9 +3932,6 @@ export class ProtoFlipSettings implements IProtoFlipSettings { */ constructor(properties?: IProtoFlipSettings); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoFlipSettings x. */ public x: boolean; @@ -4219,11 +4009,11 @@ export class ProtoFlipSettings implements IProtoFlipSettings { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoFlipSettings - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoFlipSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoImageReferencePoint enum. */ @@ -4253,9 +4043,6 @@ export interface IProtoOption { /** ProtoOption value */ value?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoOption. */ @@ -4267,9 +4054,6 @@ export class ProtoOption implements IProtoOption { */ constructor(properties?: IProtoOption); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoOption key. */ public key: string; @@ -4347,11 +4131,11 @@ export class ProtoOption implements IProtoOption { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoOption - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoOption + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** PDFPrintingBehavior enum. */ @@ -4409,9 +4193,6 @@ export interface IProtoBaseInputField { /** ProtoBaseInputField uuid */ uuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBaseInputField. */ @@ -4423,9 +4204,6 @@ export class ProtoBaseInputField implements IProtoBaseInputField { */ constructor(properties?: IProtoBaseInputField); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBaseInputField name. */ public name: string; @@ -4542,11 +4320,11 @@ export class ProtoBaseInputField implements IProtoBaseInputField { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBaseInputField - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBaseInputField + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Inheritance enum. */ @@ -4566,9 +4344,6 @@ export interface IProtoDocumentElement { /** ProtoDocumentElement comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoDocumentElement. */ @@ -4580,9 +4355,6 @@ export class ProtoDocumentElement implements IProtoDocumentElement { */ constructor(properties?: IProtoDocumentElement); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoDocumentElement parent. */ public parent?: (IProtoDocumentElement|null); @@ -4660,11 +4432,11 @@ export class ProtoDocumentElement implements IProtoDocumentElement { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoDocumentElement - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoDocumentElement + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBranchDocumentElement. */ @@ -4678,9 +4450,6 @@ export interface IProtoBranchDocumentElement { /** ProtoBranchDocumentElement comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBranchDocumentElement. */ @@ -4692,9 +4461,6 @@ export class ProtoBranchDocumentElement implements IProtoBranchDocumentElement { */ constructor(properties?: IProtoBranchDocumentElement); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBranchDocumentElement _children. */ public _children: IProtoDocumentElement[]; @@ -4775,11 +4541,11 @@ export class ProtoBranchDocumentElement implements IProtoBranchDocumentElement { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBranchDocumentElement - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBranchDocumentElement + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoLink. */ @@ -4806,8 +4572,8 @@ export interface IProtoLink { /** ProtoLink bindUrlCode */ bindUrlCode?: (boolean|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoLink uuid */ + uuid?: (string|null); } /** Represents a ProtoLink. */ @@ -4819,9 +4585,6 @@ export class ProtoLink implements IProtoLink { */ constructor(properties?: IProtoLink); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoLink _children. */ public _children: IProtoDocumentElement[]; @@ -4843,6 +4606,9 @@ export class ProtoLink implements IProtoLink { /** ProtoLink bindUrlCode. */ public bindUrlCode: boolean; + /** ProtoLink uuid. */ + public uuid: string; + /** * Creates a new ProtoLink instance using the specified properties. * @param [properties] Properties to set @@ -4914,11 +4680,11 @@ export class ProtoLink implements IProtoLink { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoLink - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoLink + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoNumberType enum. */ @@ -4990,9 +4756,6 @@ export interface IProtoListLevelSetting { /** ProtoListLevelSetting character */ character?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoListLevelSetting. */ @@ -5004,9 +4767,6 @@ export class ProtoListLevelSetting implements IProtoListLevelSetting { */ constructor(properties?: IProtoListLevelSetting); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoListLevelSetting listSettingName. */ public listSettingName: string; @@ -5129,11 +4889,11 @@ export class ProtoListLevelSetting implements IProtoListLevelSetting { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoListLevelSetting - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoListLevelSetting + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoImageListLevelSetting. */ @@ -5174,9 +4934,6 @@ export interface IProtoImageListLevelSetting { /** ProtoImageListLevelSetting imageName */ imageName?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoImageListLevelSetting. */ @@ -5188,9 +4945,6 @@ export class ProtoImageListLevelSetting implements IProtoImageListLevelSetting { */ constructor(properties?: IProtoImageListLevelSetting); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoImageListLevelSetting listSettingName. */ public listSettingName: string; @@ -5298,11 +5052,11 @@ export class ProtoImageListLevelSetting implements IProtoImageListLevelSetting { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoImageListLevelSetting - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoImageListLevelSetting + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTextListLevelSetting. */ @@ -5349,9 +5103,6 @@ export interface IProtoTextListLevelSetting { /** ProtoTextListLevelSetting italic */ italic?: (IProtoBoxedBool|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTextListLevelSetting. */ @@ -5363,9 +5114,6 @@ export class ProtoTextListLevelSetting implements IProtoTextListLevelSetting { */ constructor(properties?: IProtoTextListLevelSetting); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTextListLevelSetting listSettingName. */ public listSettingName: string; @@ -5479,11 +5227,11 @@ export class ProtoTextListLevelSetting implements IProtoTextListLevelSetting { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTextListLevelSetting - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTextListLevelSetting + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoNumberListLevelSetting. */ @@ -5533,9 +5281,6 @@ export interface IProtoNumberListLevelSetting { /** ProtoNumberListLevelSetting numberType */ numberType?: (ProtoNumberType|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoNumberListLevelSetting. */ @@ -5547,9 +5292,6 @@ export class ProtoNumberListLevelSetting implements IProtoNumberListLevelSetting */ constructor(properties?: IProtoNumberListLevelSetting); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoNumberListLevelSetting listSettingName. */ public listSettingName: string; @@ -5666,11 +5408,11 @@ export class ProtoNumberListLevelSetting implements IProtoNumberListLevelSetting public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoNumberListLevelSetting - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoNumberListLevelSetting + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoUnnumberedListLevelSetting. */ @@ -5720,9 +5462,6 @@ export interface IProtoUnnumberedListLevelSetting { /** ProtoUnnumberedListLevelSetting character */ character?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoUnnumberedListLevelSetting. */ @@ -5734,9 +5473,6 @@ export class ProtoUnnumberedListLevelSetting implements IProtoUnnumberedListLeve */ constructor(properties?: IProtoUnnumberedListLevelSetting); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoUnnumberedListLevelSetting listSettingName. */ public listSettingName: string; @@ -5853,11 +5589,11 @@ export class ProtoUnnumberedListLevelSetting implements IProtoUnnumberedListLeve public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoUnnumberedListLevelSetting - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoUnnumberedListLevelSetting + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoListSetting. */ @@ -5878,8 +5614,8 @@ export interface IProtoListSetting { /** ProtoListSetting comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoListSetting uuid */ + uuid?: (string|null); } /** Represents a ProtoListSetting. */ @@ -5891,9 +5627,6 @@ export class ProtoListSetting implements IProtoListSetting { */ constructor(properties?: IProtoListSetting); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoListSetting parent. */ public parent?: (IProtoDocumentElement|null); @@ -5909,6 +5642,9 @@ export class ProtoListSetting implements IProtoListSetting { /** ProtoListSetting comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoListSetting uuid. */ + public uuid: string; + /** * Creates a new ProtoListSetting instance using the specified properties. * @param [properties] Properties to set @@ -5980,11 +5716,11 @@ export class ProtoListSetting implements IProtoListSetting { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoListSetting - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoListSetting + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBoxedListSetting. */ @@ -5995,9 +5731,6 @@ export interface IProtoBoxedListSetting { /** ProtoBoxedListSetting isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedListSetting. */ @@ -6009,9 +5742,6 @@ export class ProtoBoxedListSetting implements IProtoBoxedListSetting { */ constructor(properties?: IProtoBoxedListSetting); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedListSetting value. */ public value?: (IProtoListSetting|null); @@ -6089,11 +5819,11 @@ export class ProtoBoxedListSetting implements IProtoBoxedListSetting { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedListSetting - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedListSetting + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoNamedString. */ @@ -6122,9 +5852,6 @@ export interface IProtoNamedString { /** ProtoNamedString codeMode */ codeMode?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoNamedString. */ @@ -6136,9 +5863,6 @@ export class ProtoNamedString implements IProtoNamedString { */ constructor(properties?: IProtoNamedString); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoNamedString _children. */ public _children: IProtoDocumentElement[]; @@ -6234,11 +5958,11 @@ export class ProtoNamedString implements IProtoNamedString { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoNamedString - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoNamedString + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoParagraph. */ @@ -6264,9 +5988,6 @@ export interface IProtoParagraph { /** ProtoParagraph uuid */ uuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoParagraph. */ @@ -6278,9 +5999,6 @@ export class ProtoParagraph implements IProtoParagraph { */ constructor(properties?: IProtoParagraph); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoParagraph _children. */ public _children: IProtoDocumentElement[]; @@ -6373,11 +6091,11 @@ export class ProtoParagraph implements IProtoParagraph { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoParagraph - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoParagraph + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoParagraphFormat. */ @@ -6470,8 +6188,8 @@ export interface IProtoParagraphFormat { /** ProtoParagraphFormat comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoParagraphFormat uuid */ + uuid?: (string|null); } /** Represents a ProtoParagraphFormat. */ @@ -6483,9 +6201,6 @@ export class ProtoParagraphFormat implements IProtoParagraphFormat { */ constructor(properties?: IProtoParagraphFormat); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoParagraphFormat baseFormat. */ public baseFormat?: (IProtoParagraphFormat|null); @@ -6573,6 +6288,9 @@ export class ProtoParagraphFormat implements IProtoParagraphFormat { /** ProtoParagraphFormat comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoParagraphFormat uuid. */ + public uuid: string; + /** * Creates a new ProtoParagraphFormat instance using the specified properties. * @param [properties] Properties to set @@ -6644,11 +6362,11 @@ export class ProtoParagraphFormat implements IProtoParagraphFormat { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoParagraphFormat - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoParagraphFormat + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSection. */ @@ -6668,9 +6386,6 @@ export interface IProtoSection { /** ProtoSection comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSection. */ @@ -6682,9 +6397,6 @@ export class ProtoSection implements IProtoSection { */ constructor(properties?: IProtoSection); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSection _children. */ public _children: IProtoDocumentElement[]; @@ -6771,11 +6483,11 @@ export class ProtoSection implements IProtoSection { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSection - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSection + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSpaceVertically. */ @@ -6790,8 +6502,8 @@ export interface IProtoSpaceVertically { /** ProtoSpaceVertically comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoSpaceVertically uuid */ + uuid?: (string|null); } /** Represents a ProtoSpaceVertically. */ @@ -6803,9 +6515,6 @@ export class ProtoSpaceVertically implements IProtoSpaceVertically { */ constructor(properties?: IProtoSpaceVertically); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSpaceVertically parent. */ public parent?: (IProtoDocumentElement|null); @@ -6815,6 +6524,9 @@ export class ProtoSpaceVertically implements IProtoSpaceVertically { /** ProtoSpaceVertically comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoSpaceVertically uuid. */ + public uuid: string; + /** * Creates a new ProtoSpaceVertically instance using the specified properties. * @param [properties] Properties to set @@ -6886,11 +6598,11 @@ export class ProtoSpaceVertically implements IProtoSpaceVertically { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSpaceVertically - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSpaceVertically + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSpan. */ @@ -6925,9 +6637,6 @@ export interface IProtoSpan { /** ProtoSpan comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSpan. */ @@ -6939,9 +6648,6 @@ export class ProtoSpan implements IProtoSpan { */ constructor(properties?: IProtoSpan); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSpan _children. */ public _children: IProtoDocumentElement[]; @@ -7043,11 +6749,11 @@ export class ProtoSpan implements IProtoSpan { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSpan - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSpan + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTable. */ @@ -7079,9 +6785,6 @@ export interface IProtoTable { /** ProtoTable uuid */ uuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTable. */ @@ -7093,9 +6796,6 @@ export class ProtoTable implements IProtoTable { */ constructor(properties?: IProtoTable); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTable _children. */ public _children: IProtoDocumentElement[]; @@ -7194,11 +6894,11 @@ export class ProtoTable implements IProtoTable { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTable - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTable + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableConfig. */ @@ -7216,8 +6916,8 @@ export interface IProtoTableConfig { /** ProtoTableConfig comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoTableConfig uuid */ + uuid?: (string|null); } /** Represents a ProtoTableConfig. */ @@ -7229,9 +6929,6 @@ export class ProtoTableConfig implements IProtoTableConfig { */ constructor(properties?: IProtoTableConfig); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableConfig parent. */ public parent?: (IProtoDocumentElement|null); @@ -7244,6 +6941,9 @@ export class ProtoTableConfig implements IProtoTableConfig { /** ProtoTableConfig comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoTableConfig uuid. */ + public uuid: string; + /** * Creates a new ProtoTableConfig instance using the specified properties. * @param [properties] Properties to set @@ -7315,11 +7015,11 @@ export class ProtoTableConfig implements IProtoTableConfig { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableConfig - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableSettings. */ @@ -7345,9 +7045,6 @@ export interface IProtoTableSettings { /** ProtoTableSettings repeatSubHeader */ repeatSubHeader?: (IProtoBoxedUint32|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableSettings. */ @@ -7359,9 +7056,6 @@ export class ProtoTableSettings implements IProtoTableSettings { */ constructor(properties?: IProtoTableSettings); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableSettings xOffset. */ public xOffset?: (IProtoMeasure|null); @@ -7454,11 +7148,11 @@ export class ProtoTableSettings implements IProtoTableSettings { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableSettings - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoTableContentGroupType enum. */ @@ -7477,9 +7171,6 @@ export interface IProtoBoxedTableContentGroupType { /** ProtoBoxedTableContentGroupType isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedTableContentGroupType. */ @@ -7491,9 +7182,6 @@ export class ProtoBoxedTableContentGroupType implements IProtoBoxedTableContentG */ constructor(properties?: IProtoBoxedTableContentGroupType); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedTableContentGroupType value. */ public value: ProtoTableContentGroupType; @@ -7571,11 +7259,11 @@ export class ProtoBoxedTableContentGroupType implements IProtoBoxedTableContentG public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedTableContentGroupType - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedTableContentGroupType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableContentGroup. */ @@ -7598,9 +7286,6 @@ export interface IProtoTableContentGroup { /** ProtoTableContentGroup uuid */ uuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableContentGroup. */ @@ -7612,9 +7297,6 @@ export class ProtoTableContentGroup implements IProtoTableContentGroup { */ constructor(properties?: IProtoTableContentGroup); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableContentGroup _children. */ public _children: IProtoDocumentElement[]; @@ -7704,11 +7386,11 @@ export class ProtoTableContentGroup implements IProtoTableContentGroup { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableContentGroup - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableContentGroup + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableContentGroupConfig. */ @@ -7726,8 +7408,8 @@ export interface IProtoTableContentGroupConfig { /** ProtoTableContentGroupConfig comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoTableContentGroupConfig uuid */ + uuid?: (string|null); } /** Represents a ProtoTableContentGroupConfig. */ @@ -7739,9 +7421,6 @@ export class ProtoTableContentGroupConfig implements IProtoTableContentGroupConf */ constructor(properties?: IProtoTableContentGroupConfig); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableContentGroupConfig parent. */ public parent?: (IProtoDocumentElement|null); @@ -7754,6 +7433,9 @@ export class ProtoTableContentGroupConfig implements IProtoTableContentGroupConf /** ProtoTableContentGroupConfig comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoTableContentGroupConfig uuid. */ + public uuid: string; + /** * Creates a new ProtoTableContentGroupConfig instance using the specified properties. * @param [properties] Properties to set @@ -7825,11 +7507,11 @@ export class ProtoTableContentGroupConfig implements IProtoTableContentGroupConf public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableContentGroupConfig - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableContentGroupConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableContentGroupSettings. */ @@ -7843,9 +7525,6 @@ export interface IProtoTableContentGroupSettings { /** ProtoTableContentGroupSettings ws */ ws?: (IProtoTableWS|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableContentGroupSettings. */ @@ -7857,9 +7536,6 @@ export class ProtoTableContentGroupSettings implements IProtoTableContentGroupSe */ constructor(properties?: IProtoTableContentGroupSettings); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableContentGroupSettings contentGroupType. */ public contentGroupType?: (IProtoBoxedTableContentGroupType|null); @@ -7940,11 +7616,11 @@ export class ProtoTableContentGroupSettings implements IProtoTableContentGroupSe public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableContentGroupSettings - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableContentGroupSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableRow. */ @@ -7970,9 +7646,6 @@ export interface IProtoTableRow { /** ProtoTableRow uuid */ uuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableRow. */ @@ -7984,9 +7657,6 @@ export class ProtoTableRow implements IProtoTableRow { */ constructor(properties?: IProtoTableRow); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableRow _children. */ public _children: IProtoDocumentElement[]; @@ -8079,11 +7749,11 @@ export class ProtoTableRow implements IProtoTableRow { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableRow - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableRow + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableRowConfig. */ @@ -8107,8 +7777,8 @@ export interface IProtoTableRowConfig { /** ProtoTableRowConfig comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoTableRowConfig uuid */ + uuid?: (string|null); } /** Represents a ProtoTableRowConfig. */ @@ -8120,9 +7790,6 @@ export class ProtoTableRowConfig implements IProtoTableRowConfig { */ constructor(properties?: IProtoTableRowConfig); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableRowConfig parent. */ public parent?: (IProtoDocumentElement|null); @@ -8141,6 +7808,9 @@ export class ProtoTableRowConfig implements IProtoTableRowConfig { /** ProtoTableRowConfig comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoTableRowConfig uuid. */ + public uuid: string; + /** * Creates a new ProtoTableRowConfig instance using the specified properties. * @param [properties] Properties to set @@ -8212,11 +7882,11 @@ export class ProtoTableRowConfig implements IProtoTableRowConfig { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableRowConfig - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableRowConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableRowSettings. */ @@ -8227,9 +7897,6 @@ export interface IProtoTableRowSettings { /** ProtoTableRowSettings ws */ ws?: (IProtoTableWS|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableRowSettings. */ @@ -8241,9 +7908,6 @@ export class ProtoTableRowSettings implements IProtoTableRowSettings { */ constructor(properties?: IProtoTableRowSettings); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableRowSettings minHeight. */ public minHeight?: (IProtoMeasure|null); @@ -8321,11 +7985,11 @@ export class ProtoTableRowSettings implements IProtoTableRowSettings { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableRowSettings - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableRowSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoTableCellType enum. */ @@ -8343,9 +8007,6 @@ export interface IProtoBoxedTableCellType { /** ProtoBoxedTableCellType isNull */ isNull?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBoxedTableCellType. */ @@ -8357,9 +8018,6 @@ export class ProtoBoxedTableCellType implements IProtoBoxedTableCellType { */ constructor(properties?: IProtoBoxedTableCellType); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBoxedTableCellType value. */ public value: ProtoTableCellType; @@ -8437,11 +8095,11 @@ export class ProtoBoxedTableCellType implements IProtoBoxedTableCellType { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBoxedTableCellType - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBoxedTableCellType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableCell. */ @@ -8473,9 +8131,6 @@ export interface IProtoTableCell { /** ProtoTableCell uuid */ uuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableCell. */ @@ -8487,9 +8142,6 @@ export class ProtoTableCell implements IProtoTableCell { */ constructor(properties?: IProtoTableCell); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableCell _children. */ public _children: IProtoDocumentElement[]; @@ -8588,11 +8240,11 @@ export class ProtoTableCell implements IProtoTableCell { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableCell - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableCell + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableCellConfig. */ @@ -8613,8 +8265,8 @@ export interface IProtoTableCellConfig { /** ProtoTableCellConfig comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoTableCellConfig uuid */ + uuid?: (string|null); } /** Represents a ProtoTableCellConfig. */ @@ -8626,9 +8278,6 @@ export class ProtoTableCellConfig implements IProtoTableCellConfig { */ constructor(properties?: IProtoTableCellConfig); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableCellConfig parent. */ public parent?: (IProtoDocumentElement|null); @@ -8644,6 +8293,9 @@ export class ProtoTableCellConfig implements IProtoTableCellConfig { /** ProtoTableCellConfig comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoTableCellConfig uuid. */ + public uuid: string; + /** * Creates a new ProtoTableCellConfig instance using the specified properties. * @param [properties] Properties to set @@ -8715,11 +8367,11 @@ export class ProtoTableCellConfig implements IProtoTableCellConfig { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableCellConfig - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableCellConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableCellSettings. */ @@ -8751,9 +8403,6 @@ export interface IProtoTableCellSettings { /** ProtoTableCellSettings defaultParagraphFormat */ defaultParagraphFormat?: (IProtoBoxedString|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableCellSettings. */ @@ -8765,9 +8414,6 @@ export class ProtoTableCellSettings implements IProtoTableCellSettings { */ constructor(properties?: IProtoTableCellSettings); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableCellSettings width. */ public width?: (IProtoMeasure|null); @@ -8866,11 +8512,11 @@ export class ProtoTableCellSettings implements IProtoTableCellSettings { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableCellSettings - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableCellSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableWS. */ @@ -8884,9 +8530,6 @@ export interface IProtoTableWS { /** ProtoTableWS priority */ priority?: (number|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableWS. */ @@ -8898,9 +8541,6 @@ export class ProtoTableWS implements IProtoTableWS { */ constructor(properties?: IProtoTableWS); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableWS minLinesBefore. */ public minLinesBefore: number; @@ -8981,11 +8621,11 @@ export class ProtoTableWS implements IProtoTableWS { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableWS - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableWS + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTableElementProperties. */ @@ -9269,9 +8909,6 @@ export interface IProtoTableElementProperties { /** ProtoTableElementProperties repeatSubHeaderCode */ repeatSubHeaderCode?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTableElementProperties. */ @@ -9283,9 +8920,6 @@ export class ProtoTableElementProperties implements IProtoTableElementProperties */ constructor(properties?: IProtoTableElementProperties); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTableElementProperties widthInheritance. */ public widthInheritance: Inheritance; @@ -9636,11 +9270,11 @@ export class ProtoTableElementProperties implements IProtoTableElementProperties public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTableElementProperties - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTableElementProperties + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoText. */ @@ -9654,9 +9288,6 @@ export interface IProtoText { /** ProtoText comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoText. */ @@ -9668,9 +9299,6 @@ export class ProtoText implements IProtoText { */ constructor(properties?: IProtoText); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoText parent. */ public parent?: (IProtoDocumentElement|null); @@ -9751,11 +9379,11 @@ export class ProtoText implements IProtoText { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoText - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoText + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBarcode. */ @@ -9811,9 +9439,6 @@ export interface IProtoBarcode { /** ProtoBarcode uaDescription */ uaDescription?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBarcode. */ @@ -9825,9 +9450,6 @@ export class ProtoBarcode implements IProtoBarcode { */ constructor(properties?: IProtoBarcode); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBarcode type. */ public type: ProtoBarcodeType; @@ -9950,11 +9572,11 @@ export class ProtoBarcode implements IProtoBarcode { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBarcode - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBarcode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBrickReference. */ @@ -9968,9 +9590,6 @@ export interface IProtoBrickReference { /** ProtoBrickReference comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBrickReference. */ @@ -9982,9 +9601,6 @@ export class ProtoBrickReference implements IProtoBrickReference { */ constructor(properties?: IProtoBrickReference); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBrickReference internName. */ public internName: string; @@ -10065,11 +9681,11 @@ export class ProtoBrickReference implements IProtoBrickReference { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBrickReference - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBrickReference + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBrick. */ @@ -10098,9 +9714,6 @@ export interface IProtoBrick { /** ProtoBrick name */ name?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBrick. */ @@ -10112,9 +9725,6 @@ export class ProtoBrick implements IProtoBrick { */ constructor(properties?: IProtoBrick); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBrick _children. */ public _children: IProtoDocumentElement[]; @@ -10210,11 +9820,11 @@ export class ProtoBrick implements IProtoBrick { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBrick - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBrick + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTemplate. */ @@ -10240,9 +9850,6 @@ export interface IProtoTemplate { /** ProtoTemplate templateUuid */ templateUuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTemplate. */ @@ -10254,9 +9861,6 @@ export class ProtoTemplate implements IProtoTemplate { */ constructor(properties?: IProtoTemplate); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTemplate _children. */ public _children: IProtoDocumentElement[]; @@ -10349,11 +9953,11 @@ export class ProtoTemplate implements IProtoTemplate { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTemplate - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTemplate + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ColumnBalancing enum. */ @@ -10387,9 +9991,6 @@ export interface IProtoHeader { /** ProtoHeader mode */ mode?: (ProtoHeaderMode|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoHeader. */ @@ -10401,9 +10002,6 @@ export class ProtoHeader implements IProtoHeader { */ constructor(properties?: IProtoHeader); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoHeader _children. */ public _children: IProtoDocumentElement[]; @@ -10490,11 +10088,11 @@ export class ProtoHeader implements IProtoHeader { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoHeader - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoHeader + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoFooterMode enum. */ @@ -10522,9 +10120,6 @@ export interface IProtoFooter { /** ProtoFooter mode */ mode?: (ProtoFooterMode|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoFooter. */ @@ -10536,9 +10131,6 @@ export class ProtoFooter implements IProtoFooter { */ constructor(properties?: IProtoFooter); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoFooter _children. */ public _children: IProtoDocumentElement[]; @@ -10625,11 +10217,11 @@ export class ProtoFooter implements IProtoFooter { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoFooter - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoFooter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Node. */ @@ -10829,9 +10421,6 @@ export interface INode { /** Node inputFieldDropdown */ inputFieldDropdown?: (IProtoInputFieldDropdown|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a Node. */ @@ -10843,9 +10432,6 @@ export class Node implements INode { */ constructor(properties?: INode); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** Node children. */ public children: INode[]; @@ -11115,11 +10701,11 @@ export class Node implements INode { public toJSON(): { [k: string]: any }; /** - * Gets the type url for Node - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for Node + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** NodeType enum. */ @@ -11298,9 +10884,6 @@ export interface IProtoImage { /** ProtoImage leftBorderIsLeftMeasure */ leftBorderIsLeftMeasure?: (IProtoBoxedBool|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoImage. */ @@ -11312,9 +10895,6 @@ export class ProtoImage implements IProtoImage { */ constructor(properties?: IProtoImage); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoImage parent. */ public parent?: (IProtoDocumentElement|null); @@ -11464,11 +11044,11 @@ export class ProtoImage implements IProtoImage { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoImage - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoImage + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoDirectory. */ @@ -11494,9 +11074,6 @@ export interface IProtoDirectory { /** ProtoDirectory name */ name?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoDirectory. */ @@ -11508,9 +11085,6 @@ export class ProtoDirectory implements IProtoDirectory { */ constructor(properties?: IProtoDirectory); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoDirectory _children. */ public _children: IProtoDocumentElement[]; @@ -11603,11 +11177,11 @@ export class ProtoDirectory implements IProtoDirectory { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoDirectory - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoDirectory + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTextBrick. */ @@ -11633,9 +11207,6 @@ export interface IProtoTextBrick { /** ProtoTextBrick name */ name?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTextBrick. */ @@ -11647,9 +11218,6 @@ export class ProtoTextBrick implements IProtoTextBrick { */ constructor(properties?: IProtoTextBrick); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTextBrick _children. */ public _children: IProtoDocumentElement[]; @@ -11742,11 +11310,11 @@ export class ProtoTextBrick implements IProtoTextBrick { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTextBrick - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTextBrick + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoVariable. */ @@ -11772,9 +11340,6 @@ export interface IProtoVariable { /** ProtoVariable comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoVariable. */ @@ -11786,9 +11351,6 @@ export class ProtoVariable implements IProtoVariable { */ constructor(properties?: IProtoVariable); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoVariable parent. */ public parent?: (IProtoDocumentElement|null); @@ -11881,11 +11443,11 @@ export class ProtoVariable implements IProtoVariable { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoVariable - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoVariable + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoVariableSpecialType enum. */ @@ -11932,8 +11494,8 @@ export interface IProtoFormatted { /** ProtoFormatted comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoFormatted uuid */ + uuid?: (string|null); } /** Represents a ProtoFormatted. */ @@ -11945,9 +11507,6 @@ export class ProtoFormatted implements IProtoFormatted { */ constructor(properties?: IProtoFormatted); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoFormatted parent. */ public parent?: (IProtoDocumentElement|null); @@ -11975,6 +11534,9 @@ export class ProtoFormatted implements IProtoFormatted { /** ProtoFormatted comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoFormatted uuid. */ + public uuid: string; + /** * Creates a new ProtoFormatted instance using the specified properties. * @param [properties] Properties to set @@ -12046,11 +11608,11 @@ export class ProtoFormatted implements IProtoFormatted { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoFormatted - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoFormatted + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoApplyProtoCDef. */ @@ -12062,8 +11624,8 @@ export interface IProtoApplyProtoCDef { /** ProtoApplyProtoCDef comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoApplyProtoCDef uuid */ + uuid?: (string|null); } /** Represents a ProtoApplyProtoCDef. */ @@ -12075,15 +11637,15 @@ export class ProtoApplyProtoCDef implements IProtoApplyProtoCDef { */ constructor(properties?: IProtoApplyProtoCDef); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoApplyProtoCDef cDefUuid. */ public cDefUuid: string; /** ProtoApplyProtoCDef comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoApplyProtoCDef uuid. */ + public uuid: string; + /** * Creates a new ProtoApplyProtoCDef instance using the specified properties. * @param [properties] Properties to set @@ -12155,11 +11717,11 @@ export class ProtoApplyProtoCDef implements IProtoApplyProtoCDef { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoApplyProtoCDef - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoApplyProtoCDef + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoApplyProtoPDef. */ @@ -12171,8 +11733,8 @@ export interface IProtoApplyProtoPDef { /** ProtoApplyProtoPDef comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoApplyProtoPDef uuid */ + uuid?: (string|null); } /** Represents a ProtoApplyProtoPDef. */ @@ -12184,15 +11746,15 @@ export class ProtoApplyProtoPDef implements IProtoApplyProtoPDef { */ constructor(properties?: IProtoApplyProtoPDef); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoApplyProtoPDef pDefUuid. */ public pDefUuid: string; /** ProtoApplyProtoPDef comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoApplyProtoPDef uuid. */ + public uuid: string; + /** * Creates a new ProtoApplyProtoPDef instance using the specified properties. * @param [properties] Properties to set @@ -12264,11 +11826,11 @@ export class ProtoApplyProtoPDef implements IProtoApplyProtoPDef { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoApplyProtoPDef - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoApplyProtoPDef + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoApplyPtConfig. */ @@ -12280,8 +11842,8 @@ export interface IProtoApplyPtConfig { /** ProtoApplyPtConfig comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoApplyPtConfig uuid */ + uuid?: (string|null); } /** Represents a ProtoApplyPtConfig. */ @@ -12293,15 +11855,15 @@ export class ProtoApplyPtConfig implements IProtoApplyPtConfig { */ constructor(properties?: IProtoApplyPtConfig); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoApplyPtConfig ptConfigUuid. */ public ptConfigUuid: string; /** ProtoApplyPtConfig comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoApplyPtConfig uuid. */ + public uuid: string; + /** * Creates a new ProtoApplyPtConfig instance using the specified properties. * @param [properties] Properties to set @@ -12373,11 +11935,11 @@ export class ProtoApplyPtConfig implements IProtoApplyPtConfig { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoApplyPtConfig - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoApplyPtConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoApplyUlConfig. */ @@ -12389,8 +11951,8 @@ export interface IProtoApplyUlConfig { /** ProtoApplyUlConfig comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoApplyUlConfig uuid */ + uuid?: (string|null); } /** Represents a ProtoApplyUlConfig. */ @@ -12402,15 +11964,15 @@ export class ProtoApplyUlConfig implements IProtoApplyUlConfig { */ constructor(properties?: IProtoApplyUlConfig); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoApplyUlConfig ulConfigUuid. */ public ulConfigUuid: string; /** ProtoApplyUlConfig comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoApplyUlConfig uuid. */ + public uuid: string; + /** * Creates a new ProtoApplyUlConfig instance using the specified properties. * @param [properties] Properties to set @@ -12482,11 +12044,11 @@ export class ProtoApplyUlConfig implements IProtoApplyUlConfig { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoApplyUlConfig - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoApplyUlConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoCDef. */ @@ -12506,9 +12068,6 @@ export interface IProtoCDef { /** ProtoCDef comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoCDef. */ @@ -12520,9 +12079,6 @@ export class ProtoCDef implements IProtoCDef { */ constructor(properties?: IProtoCDef); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoCDef columSettings. */ public columSettings?: (IProtoColumnSettings|null); @@ -12609,11 +12165,11 @@ export class ProtoCDef implements IProtoCDef { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoCDef - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoCDef + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoPDef. */ @@ -12630,9 +12186,6 @@ export interface IProtoPDef { /** ProtoPDef comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoPDef. */ @@ -12644,9 +12197,6 @@ export class ProtoPDef implements IProtoPDef { */ constructor(properties?: IProtoPDef); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoPDef pageWidth. */ public pageWidth?: (IProtoBoxedMeasure|null); @@ -12730,11 +12280,11 @@ export class ProtoPDef implements IProtoPDef { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoPDef - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoPDef + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoPtConfig. */ @@ -12757,9 +12307,6 @@ export interface IProtoPtConfig { /** ProtoPtConfig comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoPtConfig. */ @@ -12771,9 +12318,6 @@ export class ProtoPtConfig implements IProtoPtConfig { */ constructor(properties?: IProtoPtConfig); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoPtConfig height. */ public height?: (IProtoBoxedMeasure|null); @@ -12863,11 +12407,11 @@ export class ProtoPtConfig implements IProtoPtConfig { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoPtConfig - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoPtConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoUlConfig. */ @@ -12881,9 +12425,6 @@ export interface IProtoUlConfig { /** ProtoUlConfig comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoUlConfig. */ @@ -12895,9 +12436,6 @@ export class ProtoUlConfig implements IProtoUlConfig { */ constructor(properties?: IProtoUlConfig); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoUlConfig mode. */ public mode: ProtoUnderlineMode; @@ -12978,11 +12516,11 @@ export class ProtoUlConfig implements IProtoUlConfig { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoUlConfig - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoUlConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoPageMode enum. */ @@ -13030,9 +12568,6 @@ export interface IProtoNewPage { /** ProtoNewPage comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoNewPage. */ @@ -13044,9 +12579,6 @@ export class ProtoNewPage implements IProtoNewPage { */ constructor(properties?: IProtoNewPage); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoNewPage uuid. */ public uuid: string; @@ -13145,11 +12677,11 @@ export class ProtoNewPage implements IProtoNewPage { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoNewPage - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoNewPage + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoIndentation. */ @@ -13172,9 +12704,6 @@ export interface IProtoIndentation { /** ProtoIndentation comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoIndentation. */ @@ -13186,9 +12715,6 @@ export class ProtoIndentation implements IProtoIndentation { */ constructor(properties?: IProtoIndentation); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoIndentation _children. */ public _children: IProtoDocumentElement[]; @@ -13278,11 +12804,11 @@ export class ProtoIndentation implements IProtoIndentation { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoIndentation - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoIndentation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoCarryOver. */ @@ -13297,8 +12823,8 @@ export interface IProtoCarryOver { /** ProtoCarryOver comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoCarryOver uuid */ + uuid?: (string|null); } /** Represents a ProtoCarryOver. */ @@ -13310,9 +12836,6 @@ export class ProtoCarryOver implements IProtoCarryOver { */ constructor(properties?: IProtoCarryOver); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoCarryOver _children. */ public _children: IProtoDocumentElement[]; @@ -13322,6 +12845,9 @@ export class ProtoCarryOver implements IProtoCarryOver { /** ProtoCarryOver comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoCarryOver uuid. */ + public uuid: string; + /** * Creates a new ProtoCarryOver instance using the specified properties. * @param [properties] Properties to set @@ -13393,11 +12919,11 @@ export class ProtoCarryOver implements IProtoCarryOver { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoCarryOver - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoCarryOver + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoLoopEntry. */ @@ -13420,9 +12946,6 @@ export interface IProtoLoopEntry { /** ProtoLoopEntry comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoLoopEntry. */ @@ -13434,9 +12957,6 @@ export class ProtoLoopEntry implements IProtoLoopEntry { */ constructor(properties?: IProtoLoopEntry); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoLoopEntry _children. */ public _children: IProtoDocumentElement[]; @@ -13526,11 +13046,11 @@ export class ProtoLoopEntry implements IProtoLoopEntry { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoLoopEntry - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoLoopEntry + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoLoop. */ @@ -13550,9 +13070,6 @@ export interface IProtoLoop { /** ProtoLoop comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoLoop. */ @@ -13564,9 +13081,6 @@ export class ProtoLoop implements IProtoLoop { */ constructor(properties?: IProtoLoop); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoLoop _children. */ public _children: IProtoDocumentElement[]; @@ -13653,11 +13167,11 @@ export class ProtoLoop implements IProtoLoop { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoLoop - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoLoop + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoSubTotalPosition enum. */ @@ -13687,8 +13201,8 @@ export interface IProtoSubTotal { /** ProtoSubTotal comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoSubTotal uuid */ + uuid?: (string|null); } /** Represents a ProtoSubTotal. */ @@ -13700,9 +13214,6 @@ export class ProtoSubTotal implements IProtoSubTotal { */ constructor(properties?: IProtoSubTotal); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSubTotal _children. */ public _children: IProtoDocumentElement[]; @@ -13721,6 +13232,9 @@ export class ProtoSubTotal implements IProtoSubTotal { /** ProtoSubTotal comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoSubTotal uuid. */ + public uuid: string; + /** * Creates a new ProtoSubTotal instance using the specified properties. * @param [properties] Properties to set @@ -13792,11 +13306,11 @@ export class ProtoSubTotal implements IProtoSubTotal { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSubTotal - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSubTotal + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoWsArea. */ @@ -13811,8 +13325,8 @@ export interface IProtoWsArea { /** ProtoWsArea comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoWsArea uuid */ + uuid?: (string|null); } /** Represents a ProtoWsArea. */ @@ -13824,9 +13338,6 @@ export class ProtoWsArea implements IProtoWsArea { */ constructor(properties?: IProtoWsArea); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoWsArea _children. */ public _children: IProtoDocumentElement[]; @@ -13836,6 +13347,9 @@ export class ProtoWsArea implements IProtoWsArea { /** ProtoWsArea comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoWsArea uuid. */ + public uuid: string; + /** * Creates a new ProtoWsArea instance using the specified properties. * @param [properties] Properties to set @@ -13907,11 +13421,11 @@ export class ProtoWsArea implements IProtoWsArea { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoWsArea - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoWsArea + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoRule. */ @@ -13947,8 +13461,8 @@ export interface IProtoRule { /** ProtoRule comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoRule uuid */ + uuid?: (string|null); } /** Represents a ProtoRule. */ @@ -13960,9 +13474,6 @@ export class ProtoRule implements IProtoRule { */ constructor(properties?: IProtoRule); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoRule xOffset. */ public xOffset?: (IProtoMeasure|null); @@ -13993,6 +13504,9 @@ export class ProtoRule implements IProtoRule { /** ProtoRule comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoRule uuid. */ + public uuid: string; + /** * Creates a new ProtoRule instance using the specified properties. * @param [properties] Properties to set @@ -14064,11 +13578,11 @@ export class ProtoRule implements IProtoRule { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoRule - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoRuleMode enum. */ @@ -14085,9 +13599,6 @@ export interface IProtoRuleBoundaries { /** ProtoRuleBoundaries end */ end?: (IProtoMeasure|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoRuleBoundaries. */ @@ -14099,9 +13610,6 @@ export class ProtoRuleBoundaries implements IProtoRuleBoundaries { */ constructor(properties?: IProtoRuleBoundaries); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoRuleBoundaries start. */ public start?: (IProtoMeasure|null); @@ -14179,11 +13687,11 @@ export class ProtoRuleBoundaries implements IProtoRuleBoundaries { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoRuleBoundaries - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoRuleBoundaries + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoColorDef. */ @@ -14195,8 +13703,8 @@ export interface IProtoColorDef { /** ProtoColorDef comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoColorDef uuid */ + uuid?: (string|null); } /** Represents a ProtoColorDef. */ @@ -14208,15 +13716,15 @@ export class ProtoColorDef implements IProtoColorDef { */ constructor(properties?: IProtoColorDef); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoColorDef color. */ public color?: (IProtoColor|null); /** ProtoColorDef comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoColorDef uuid. */ + public uuid: string; + /** * Creates a new ProtoColorDef instance using the specified properties. * @param [properties] Properties to set @@ -14288,11 +13796,11 @@ export class ProtoColorDef implements IProtoColorDef { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoColorDef - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoColorDef + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoLayout. */ @@ -14307,8 +13815,8 @@ export interface IProtoLayout { /** ProtoLayout comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoLayout uuid */ + uuid?: (string|null); } /** Represents a ProtoLayout. */ @@ -14320,9 +13828,6 @@ export class ProtoLayout implements IProtoLayout { */ constructor(properties?: IProtoLayout); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoLayout parent. */ public parent?: (IProtoDocumentElement|null); @@ -14332,6 +13837,9 @@ export class ProtoLayout implements IProtoLayout { /** ProtoLayout comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoLayout uuid. */ + public uuid: string; + /** * Creates a new ProtoLayout instance using the specified properties. * @param [properties] Properties to set @@ -14403,11 +13911,11 @@ export class ProtoLayout implements IProtoLayout { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoLayout - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoLayout + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoAdvancedIllustrationArea. */ @@ -14445,9 +13953,6 @@ export interface IProtoAdvancedIllustrationArea { /** ProtoAdvancedIllustrationArea comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoAdvancedIllustrationArea. */ @@ -14459,9 +13964,6 @@ export class ProtoAdvancedIllustrationArea implements IProtoAdvancedIllustration */ constructor(properties?: IProtoAdvancedIllustrationArea); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoAdvancedIllustrationArea _children. */ public _children: IProtoDocumentElement[]; @@ -14566,11 +14068,11 @@ export class ProtoAdvancedIllustrationArea implements IProtoAdvancedIllustration public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoAdvancedIllustrationArea - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoAdvancedIllustrationArea + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoAdjustHorizontally. */ @@ -14591,8 +14093,8 @@ export interface IProtoAdjustHorizontally { /** ProtoAdjustHorizontally comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** ProtoAdjustHorizontally uuid */ + uuid?: (string|null); } /** Represents a ProtoAdjustHorizontally. */ @@ -14604,9 +14106,6 @@ export class ProtoAdjustHorizontally implements IProtoAdjustHorizontally { */ constructor(properties?: IProtoAdjustHorizontally); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoAdjustHorizontally _children. */ public _children: IProtoDocumentElement[]; @@ -14622,6 +14121,9 @@ export class ProtoAdjustHorizontally implements IProtoAdjustHorizontally { /** ProtoAdjustHorizontally comChannelUUIDs. */ public comChannelUUIDs: string[]; + /** ProtoAdjustHorizontally uuid. */ + public uuid: string; + /** * Creates a new ProtoAdjustHorizontally instance using the specified properties. * @param [properties] Properties to set @@ -14693,11 +14195,11 @@ export class ProtoAdjustHorizontally implements IProtoAdjustHorizontally { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoAdjustHorizontally - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoAdjustHorizontally + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** ProtoDoctypeOutputMode enum. */ @@ -14724,9 +14226,6 @@ export interface IProtoDoctypeScript { /** ProtoDoctypeScript uuid */ uuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoDoctypeScript. */ @@ -14738,9 +14237,6 @@ export class ProtoDoctypeScript implements IProtoDoctypeScript { */ constructor(properties?: IProtoDoctypeScript); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoDoctypeScript parent. */ public parent?: (IProtoDocumentElement|null); @@ -14827,11 +14323,11 @@ export class ProtoDoctypeScript implements IProtoDoctypeScript { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoDoctypeScript - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoDoctypeScript + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoDmScript. */ @@ -14848,9 +14344,6 @@ export interface IProtoDmScript { /** ProtoDmScript uuid */ uuid?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoDmScript. */ @@ -14862,9 +14355,6 @@ export class ProtoDmScript implements IProtoDmScript { */ constructor(properties?: IProtoDmScript); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoDmScript parent. */ public parent?: (IProtoDocumentElement|null); @@ -14948,11 +14438,11 @@ export class ProtoDmScript implements IProtoDmScript { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoDmScript - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoDmScript + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoDynamicTemplate. */ @@ -14969,9 +14459,6 @@ export interface IProtoDynamicTemplate { /** ProtoDynamicTemplate comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoDynamicTemplate. */ @@ -14983,9 +14470,6 @@ export class ProtoDynamicTemplate implements IProtoDynamicTemplate { */ constructor(properties?: IProtoDynamicTemplate); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoDynamicTemplate parent. */ public parent?: (IProtoDocumentElement|null); @@ -15069,11 +14553,11 @@ export class ProtoDynamicTemplate implements IProtoDynamicTemplate { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoDynamicTemplate - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoDynamicTemplate + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSelection. */ @@ -15105,9 +14589,6 @@ export interface IProtoSelection { /** ProtoSelection max */ max?: (number|Long|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSelection. */ @@ -15119,9 +14600,6 @@ export class ProtoSelection implements IProtoSelection { */ constructor(properties?: IProtoSelection); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSelection _children. */ public _children: IProtoDocumentElement[]; @@ -15220,11 +14698,11 @@ export class ProtoSelection implements IProtoSelection { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSelection - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSelection + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoSelectionEntry. */ @@ -15250,9 +14728,6 @@ export interface IProtoSelectionEntry { /** ProtoSelectionEntry selected */ selected?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoSelectionEntry. */ @@ -15264,9 +14739,6 @@ export class ProtoSelectionEntry implements IProtoSelectionEntry { */ constructor(properties?: IProtoSelectionEntry); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoSelectionEntry _children. */ public _children: IProtoDocumentElement[]; @@ -15359,11 +14831,11 @@ export class ProtoSelectionEntry implements IProtoSelectionEntry { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoSelectionEntry - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoSelectionEntry + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoCondition. */ @@ -15389,9 +14861,6 @@ export interface IProtoCondition { /** ProtoCondition regenerate */ regenerate?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoCondition. */ @@ -15403,9 +14872,6 @@ export class ProtoCondition implements IProtoCondition { */ constructor(properties?: IProtoCondition); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoCondition _children. */ public _children: IProtoDocumentElement[]; @@ -15498,11 +14964,11 @@ export class ProtoCondition implements IProtoCondition { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoCondition - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoCondition + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoPageCondition. */ @@ -15522,9 +14988,6 @@ export interface IProtoPageCondition { /** ProtoPageCondition code */ code?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoPageCondition. */ @@ -15536,9 +14999,6 @@ export class ProtoPageCondition implements IProtoPageCondition { */ constructor(properties?: IProtoPageCondition); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoPageCondition _children. */ public _children: IProtoDocumentElement[]; @@ -15625,11 +15085,11 @@ export class ProtoPageCondition implements IProtoPageCondition { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoPageCondition - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoPageCondition + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoLocale. */ @@ -15652,9 +15112,6 @@ export interface IProtoLocale { /** ProtoLocale regionUUIDs */ regionUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoLocale. */ @@ -15666,9 +15123,6 @@ export class ProtoLocale implements IProtoLocale { */ constructor(properties?: IProtoLocale); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoLocale _children. */ public _children: IProtoDocumentElement[]; @@ -15758,11 +15212,11 @@ export class ProtoLocale implements IProtoLocale { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoLocale - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoLocale + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoTag. */ @@ -15788,9 +15242,6 @@ export interface IProtoTag { /** ProtoTag codeMode */ codeMode?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoTag. */ @@ -15802,9 +15253,6 @@ export class ProtoTag implements IProtoTag { */ constructor(properties?: IProtoTag); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoTag parent. */ public parent?: (IProtoDocumentElement|null); @@ -15897,11 +15345,11 @@ export class ProtoTag implements IProtoTag { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoTag - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoTag + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoParagraphSetDefault. */ @@ -15921,9 +15369,6 @@ export interface IProtoParagraphSetDefault { /** ProtoParagraphSetDefault comChannelUUIDs */ comChannelUUIDs?: (string[]|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoParagraphSetDefault. */ @@ -15935,9 +15380,6 @@ export class ProtoParagraphSetDefault implements IProtoParagraphSetDefault { */ constructor(properties?: IProtoParagraphSetDefault); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoParagraphSetDefault parent. */ public parent?: (IProtoDocumentElement|null); @@ -16024,11 +15466,11 @@ export class ProtoParagraphSetDefault implements IProtoParagraphSetDefault { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoParagraphSetDefault - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoParagraphSetDefault + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoBaseTextInputField. */ @@ -16072,9 +15514,6 @@ export interface IProtoBaseTextInputField { /** ProtoBaseTextInputField pdfIsRichTextEnabled */ pdfIsRichTextEnabled?: (boolean|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoBaseTextInputField. */ @@ -16086,9 +15525,6 @@ export class ProtoBaseTextInputField implements IProtoBaseTextInputField { */ constructor(properties?: IProtoBaseTextInputField); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoBaseTextInputField base. */ public base?: (IProtoBaseInputField|null); @@ -16199,11 +15635,11 @@ export class ProtoBaseTextInputField implements IProtoBaseTextInputField { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoBaseTextInputField - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoBaseTextInputField + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoInputFieldText. */ @@ -16214,9 +15650,6 @@ export interface IProtoInputFieldText { /** ProtoInputFieldText base */ base?: (IProtoBaseTextInputField|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoInputFieldText. */ @@ -16228,9 +15661,6 @@ export class ProtoInputFieldText implements IProtoInputFieldText { */ constructor(properties?: IProtoInputFieldText); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoInputFieldText parent. */ public parent?: (IProtoDocumentElement|null); @@ -16308,11 +15738,11 @@ export class ProtoInputFieldText implements IProtoInputFieldText { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoInputFieldText - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoInputFieldText + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoInputFieldDate. */ @@ -16323,9 +15753,6 @@ export interface IProtoInputFieldDate { /** ProtoInputFieldDate base */ base?: (IProtoBaseTextInputField|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoInputFieldDate. */ @@ -16337,9 +15764,6 @@ export class ProtoInputFieldDate implements IProtoInputFieldDate { */ constructor(properties?: IProtoInputFieldDate); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoInputFieldDate parent. */ public parent?: (IProtoDocumentElement|null); @@ -16417,11 +15841,11 @@ export class ProtoInputFieldDate implements IProtoInputFieldDate { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoInputFieldDate - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoInputFieldDate + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoInputFieldCheckbox. */ @@ -16432,9 +15856,6 @@ export interface IProtoInputFieldCheckbox { /** ProtoInputFieldCheckbox base */ base?: (IProtoBaseInputField|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoInputFieldCheckbox. */ @@ -16446,9 +15867,6 @@ export class ProtoInputFieldCheckbox implements IProtoInputFieldCheckbox { */ constructor(properties?: IProtoInputFieldCheckbox); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoInputFieldCheckbox parent. */ public parent?: (IProtoDocumentElement|null); @@ -16526,11 +15944,11 @@ export class ProtoInputFieldCheckbox implements IProtoInputFieldCheckbox { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoInputFieldCheckbox - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoInputFieldCheckbox + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoInputFieldLabel. */ @@ -16541,9 +15959,6 @@ export interface IProtoInputFieldLabel { /** ProtoInputFieldLabel base */ base?: (IProtoBaseTextInputField|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoInputFieldLabel. */ @@ -16555,9 +15970,6 @@ export class ProtoInputFieldLabel implements IProtoInputFieldLabel { */ constructor(properties?: IProtoInputFieldLabel); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoInputFieldLabel parent. */ public parent?: (IProtoDocumentElement|null); @@ -16635,11 +16047,11 @@ export class ProtoInputFieldLabel implements IProtoInputFieldLabel { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoInputFieldLabel - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoInputFieldLabel + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtoInputFieldDropdown. */ @@ -16659,9 +16071,6 @@ export interface IProtoInputFieldDropdown { /** ProtoInputFieldDropdown optionsCode */ optionsCode?: (string|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; } /** Represents a ProtoInputFieldDropdown. */ @@ -16673,9 +16082,6 @@ export class ProtoInputFieldDropdown implements IProtoInputFieldDropdown { */ constructor(properties?: IProtoInputFieldDropdown); - /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; - /** ProtoInputFieldDropdown parent. */ public parent?: (IProtoDocumentElement|null); @@ -16762,9 +16168,9 @@ export class ProtoInputFieldDropdown implements IProtoInputFieldDropdown { public toJSON(): { [k: string]: any }; /** - * Gets the type url for ProtoInputFieldDropdown - * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns The type url + * Gets the default type url for ProtoInputFieldDropdown + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url */ - public static getTypeUrl(prefix?: string): string; + public static getTypeUrl(typeUrlPrefix?: string): string; } diff --git a/build/Docframe.js b/build/Docframe.js index ee4894d..e307ddf 100644 --- a/build/Docframe.js +++ b/build/Docframe.js @@ -1,4 +1,4 @@ -/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars, default-case, jsdoc/require-param*/ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ "use strict"; var $protobuf = require("protobufjs/minimal"); @@ -17,7 +17,6 @@ $root.ProtoBoxedBool = (function() { * @interface IProtoBoxedBool * @property {boolean|null} [value] ProtoBoxedBool value * @property {boolean|null} [isNull] ProtoBoxedBool isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -27,12 +26,11 @@ $root.ProtoBoxedBool = (function() { * @implements IProtoBoxedBool * @constructor * @param {IProtoBoxedBool=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedBool(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -80,9 +78,6 @@ $root.ProtoBoxedBool = (function() { writer.uint32(/* id 1, wireType 0 =*/8).bool(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -110,48 +105,26 @@ $root.ProtoBoxedBool = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedBool.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedBool.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedBool(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedBool(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.bool(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -179,13 +152,9 @@ $root.ProtoBoxedBool = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedBool.verify = function verify(message, _depth) { + ProtoBoxedBool.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) if (typeof message.value !== "boolean") return "value: boolean expected"; @@ -203,20 +172,14 @@ $root.ProtoBoxedBool = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedBool} ProtoBoxedBool */ - ProtoBoxedBool.fromObject = function fromObject(object, _depth) { + ProtoBoxedBool.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedBool) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedBool(); if (object.value != null) - if (object.value) - message.value = Boolean(object.value); + message.value = Boolean(object.value); if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -256,17 +219,18 @@ $root.ProtoBoxedBool = (function() { }; /** - * Gets the type url for ProtoBoxedBool + * Gets the default type url for ProtoBoxedBool * @function getTypeUrl * @memberof ProtoBoxedBool * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedBool.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedBool"; + ProtoBoxedBool.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedBool"; }; return ProtoBoxedBool; @@ -280,7 +244,6 @@ $root.ProtoBoxedDouble = (function() { * @interface IProtoBoxedDouble * @property {number|null} [value] ProtoBoxedDouble value * @property {boolean|null} [isNull] ProtoBoxedDouble isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -290,12 +253,11 @@ $root.ProtoBoxedDouble = (function() { * @implements IProtoBoxedDouble * @constructor * @param {IProtoBoxedDouble=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedDouble(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -343,9 +305,6 @@ $root.ProtoBoxedDouble = (function() { writer.uint32(/* id 1, wireType 1 =*/9).double(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -373,48 +332,26 @@ $root.ProtoBoxedDouble = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedDouble.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedDouble.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedDouble(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedDouble(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 1) - break; - if ((value = reader.double()) !== 0) - message.value = value; - else - delete message.value; - continue; + message.value = reader.double(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -442,13 +379,9 @@ $root.ProtoBoxedDouble = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedDouble.verify = function verify(message, _depth) { + ProtoBoxedDouble.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) if (typeof message.value !== "number") return "value: number expected"; @@ -466,20 +399,14 @@ $root.ProtoBoxedDouble = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedDouble} ProtoBoxedDouble */ - ProtoBoxedDouble.fromObject = function fromObject(object, _depth) { + ProtoBoxedDouble.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedDouble) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedDouble(); if (object.value != null) - if (Number(object.value) !== 0) - message.value = Number(object.value); + message.value = Number(object.value); if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -519,17 +446,18 @@ $root.ProtoBoxedDouble = (function() { }; /** - * Gets the type url for ProtoBoxedDouble + * Gets the default type url for ProtoBoxedDouble * @function getTypeUrl * @memberof ProtoBoxedDouble * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedDouble.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedDouble"; + ProtoBoxedDouble.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedDouble"; }; return ProtoBoxedDouble; @@ -543,7 +471,6 @@ $root.ProtoBoxedInt32 = (function() { * @interface IProtoBoxedInt32 * @property {number|null} [value] ProtoBoxedInt32 value * @property {boolean|null} [isNull] ProtoBoxedInt32 isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -553,12 +480,11 @@ $root.ProtoBoxedInt32 = (function() { * @implements IProtoBoxedInt32 * @constructor * @param {IProtoBoxedInt32=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedInt32(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -606,9 +532,6 @@ $root.ProtoBoxedInt32 = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -636,48 +559,26 @@ $root.ProtoBoxedInt32 = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedInt32.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedInt32.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedInt32(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedInt32(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.int32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -705,13 +606,9 @@ $root.ProtoBoxedInt32 = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedInt32.verify = function verify(message, _depth) { + ProtoBoxedInt32.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) if (!$util.isInteger(message.value)) return "value: integer expected"; @@ -729,20 +626,14 @@ $root.ProtoBoxedInt32 = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedInt32} ProtoBoxedInt32 */ - ProtoBoxedInt32.fromObject = function fromObject(object, _depth) { + ProtoBoxedInt32.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedInt32) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedInt32(); if (object.value != null) - if (Number(object.value) !== 0) - message.value = object.value | 0; + message.value = object.value | 0; if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -782,17 +673,18 @@ $root.ProtoBoxedInt32 = (function() { }; /** - * Gets the type url for ProtoBoxedInt32 + * Gets the default type url for ProtoBoxedInt32 * @function getTypeUrl * @memberof ProtoBoxedInt32 * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedInt32.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedInt32"; + ProtoBoxedInt32.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedInt32"; }; return ProtoBoxedInt32; @@ -806,7 +698,6 @@ $root.ProtoBoxedUint32 = (function() { * @interface IProtoBoxedUint32 * @property {number|null} [value] ProtoBoxedUint32 value * @property {boolean|null} [isNull] ProtoBoxedUint32 isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -816,12 +707,11 @@ $root.ProtoBoxedUint32 = (function() { * @implements IProtoBoxedUint32 * @constructor * @param {IProtoBoxedUint32=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedUint32(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -869,9 +759,6 @@ $root.ProtoBoxedUint32 = (function() { writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -899,48 +786,26 @@ $root.ProtoBoxedUint32 = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedUint32.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedUint32.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedUint32(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedUint32(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.uint32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.uint32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -968,13 +833,9 @@ $root.ProtoBoxedUint32 = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedUint32.verify = function verify(message, _depth) { + ProtoBoxedUint32.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) if (!$util.isInteger(message.value)) return "value: integer expected"; @@ -992,20 +853,14 @@ $root.ProtoBoxedUint32 = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedUint32} ProtoBoxedUint32 */ - ProtoBoxedUint32.fromObject = function fromObject(object, _depth) { + ProtoBoxedUint32.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedUint32) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedUint32(); if (object.value != null) - if (Number(object.value) !== 0) - message.value = object.value >>> 0; + message.value = object.value >>> 0; if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -1045,17 +900,18 @@ $root.ProtoBoxedUint32 = (function() { }; /** - * Gets the type url for ProtoBoxedUint32 + * Gets the default type url for ProtoBoxedUint32 * @function getTypeUrl * @memberof ProtoBoxedUint32 * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedUint32.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedUint32"; + ProtoBoxedUint32.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedUint32"; }; return ProtoBoxedUint32; @@ -1069,7 +925,6 @@ $root.ProtoBoxedString = (function() { * @interface IProtoBoxedString * @property {string|null} [value] ProtoBoxedString value * @property {boolean|null} [isNull] ProtoBoxedString isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -1079,12 +934,11 @@ $root.ProtoBoxedString = (function() { * @implements IProtoBoxedString * @constructor * @param {IProtoBoxedString=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedString(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -1132,9 +986,6 @@ $root.ProtoBoxedString = (function() { writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -1162,48 +1013,26 @@ $root.ProtoBoxedString = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedString.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedString.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedString(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedString(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.value = value; - else - delete message.value; - continue; + message.value = reader.string(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -1231,13 +1060,9 @@ $root.ProtoBoxedString = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedString.verify = function verify(message, _depth) { + ProtoBoxedString.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) if (!$util.isString(message.value)) return "value: string expected"; @@ -1255,20 +1080,14 @@ $root.ProtoBoxedString = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedString} ProtoBoxedString */ - ProtoBoxedString.fromObject = function fromObject(object, _depth) { + ProtoBoxedString.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedString) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedString(); if (object.value != null) - if (typeof object.value !== "string" || object.value.length) - message.value = String(object.value); + message.value = String(object.value); if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -1308,17 +1127,18 @@ $root.ProtoBoxedString = (function() { }; /** - * Gets the type url for ProtoBoxedString + * Gets the default type url for ProtoBoxedString * @function getTypeUrl * @memberof ProtoBoxedString * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedString.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedString"; + ProtoBoxedString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedString"; }; return ProtoBoxedString; @@ -1348,7 +1168,6 @@ $root.ProtoBoxedSPBMode = (function() { * @interface IProtoBoxedSPBMode * @property {ProtoSPBMode|null} [value] ProtoBoxedSPBMode value * @property {boolean|null} [isNull] ProtoBoxedSPBMode isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -1358,12 +1177,11 @@ $root.ProtoBoxedSPBMode = (function() { * @implements IProtoBoxedSPBMode * @constructor * @param {IProtoBoxedSPBMode=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedSPBMode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -1411,9 +1229,6 @@ $root.ProtoBoxedSPBMode = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -1441,48 +1256,26 @@ $root.ProtoBoxedSPBMode = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedSPBMode.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedSPBMode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedSPBMode(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedSPBMode(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.int32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -1510,13 +1303,9 @@ $root.ProtoBoxedSPBMode = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedSPBMode.verify = function verify(message, _depth) { + ProtoBoxedSPBMode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) switch (message.value) { default: @@ -1540,38 +1329,32 @@ $root.ProtoBoxedSPBMode = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedSPBMode} ProtoBoxedSPBMode */ - ProtoBoxedSPBMode.fromObject = function fromObject(object, _depth) { + ProtoBoxedSPBMode.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedSPBMode) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedSPBMode(); - if (object.value !== 0 && (typeof object.value !== "string" || $root.ProtoSPBMode[object.value] !== 0)) - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; - break; - } - break; - case "NONE": - case 0: - message.value = 0; - break; - case "SUPERSCRIPT": - case 1: - message.value = 1; - break; - case "SUBSCRIPT": - case 2: - message.value = 2; - break; - } + switch (object.value) { + default: + if (typeof object.value === "number") { + message.value = object.value; + break; + } + break; + case "NONE": + case 0: + message.value = 0; + break; + case "SUPERSCRIPT": + case 1: + message.value = 1; + break; + case "SUBSCRIPT": + case 2: + message.value = 2; + break; + } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -1611,17 +1394,18 @@ $root.ProtoBoxedSPBMode = (function() { }; /** - * Gets the type url for ProtoBoxedSPBMode + * Gets the default type url for ProtoBoxedSPBMode * @function getTypeUrl * @memberof ProtoBoxedSPBMode * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedSPBMode.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedSPBMode"; + ProtoBoxedSPBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedSPBMode"; }; return ProtoBoxedSPBMode; @@ -1674,7 +1458,6 @@ $root.ProtoStrikethroughSpec = (function() { * @property {IProtoColor|null} [color] ProtoStrikethroughSpec color * @property {number|null} [offsetEm] ProtoStrikethroughSpec offsetEm * @property {ProtoRuleStyle|null} [style] ProtoStrikethroughSpec style - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -1684,12 +1467,11 @@ $root.ProtoStrikethroughSpec = (function() { * @implements IProtoStrikethroughSpec * @constructor * @param {IProtoStrikethroughSpec=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoStrikethroughSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -1767,9 +1549,6 @@ $root.ProtoStrikethroughSpec = (function() { writer.uint32(/* id 4, wireType 0 =*/32).int32(message.offsetEm); if (message.style != null && Object.hasOwnProperty.call(message, "style")) writer.uint32(/* id 5, wireType 0 =*/40).int32(message.style); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -1797,69 +1576,38 @@ $root.ProtoStrikethroughSpec = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoStrikethroughSpec.decode = function decode(reader, length, _end, _depth, _target) { + ProtoStrikethroughSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoStrikethroughSpec(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoStrikethroughSpec(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.weight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.weight); - continue; + message.weight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.mode = value; - else - delete message.mode; - continue; + message.mode = reader.int32(); + break; } case 3: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.offsetEm = value; - else - delete message.offsetEm; - continue; + message.offsetEm = reader.int32(); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.style = value; - else - delete message.style; - continue; + message.style = reader.int32(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -1887,15 +1635,11 @@ $root.ProtoStrikethroughSpec = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoStrikethroughSpec.verify = function verify(message, _depth) { + ProtoStrikethroughSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.weight != null && message.hasOwnProperty("weight")) { - var error = $root.ProtoMeasure.verify(message.weight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.weight); if (error) return "weight." + error; } @@ -1911,7 +1655,7 @@ $root.ProtoStrikethroughSpec = (function() { break; } if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } @@ -1948,117 +1692,110 @@ $root.ProtoStrikethroughSpec = (function() { * @param {Object.} object Plain object * @returns {ProtoStrikethroughSpec} ProtoStrikethroughSpec */ - ProtoStrikethroughSpec.fromObject = function fromObject(object, _depth) { + ProtoStrikethroughSpec.fromObject = function fromObject(object) { if (object instanceof $root.ProtoStrikethroughSpec) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoStrikethroughSpec(); if (object.weight != null) { if (typeof object.weight !== "object") throw TypeError(".ProtoStrikethroughSpec.weight: object expected"); - message.weight = $root.ProtoMeasure.fromObject(object.weight, _depth + 1); + message.weight = $root.ProtoMeasure.fromObject(object.weight); + } + switch (object.mode) { + default: + if (typeof object.mode === "number") { + message.mode = object.mode; + break; + } + break; + case "DUMMY_UNDERLINE_MODE": + case 0: + message.mode = 0; + break; + case "WORDS_NO_BLANKS": + case 1: + message.mode = 1; + break; + case "WORDS_AND_BLANKS": + case 2: + message.mode = 2; + break; + case "CHARACTERS_NO_BLANKS": + case 3: + message.mode = 3; + break; + case "CHARACTERS_AND_BLANKS": + case 4: + message.mode = 4; + break; } - if (object.mode !== 0 && (typeof object.mode !== "string" || $root.ProtoUnderlineMode[object.mode] !== 0)) - switch (object.mode) { - default: - if (typeof object.mode === "number") { - message.mode = object.mode; - break; - } - break; - case "DUMMY_UNDERLINE_MODE": - case 0: - message.mode = 0; - break; - case "WORDS_NO_BLANKS": - case 1: - message.mode = 1; - break; - case "WORDS_AND_BLANKS": - case 2: - message.mode = 2; - break; - case "CHARACTERS_NO_BLANKS": - case 3: - message.mode = 3; - break; - case "CHARACTERS_AND_BLANKS": - case 4: - message.mode = 4; - break; - } if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoStrikethroughSpec.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.offsetEm != null) - if (Number(object.offsetEm) !== 0) - message.offsetEm = object.offsetEm | 0; - if (object.style !== 0 && (typeof object.style !== "string" || $root.ProtoRuleStyle[object.style] !== 0)) - switch (object.style) { - default: - if (typeof object.style === "number") { - message.style = object.style; - break; - } - break; - case "DUMMY_RULE_STYLE": - case 0: - message.style = 0; - break; - case "SOLID": - case 1: - message.style = 1; - break; - case "SPARSE_SHADING": - case 2: - message.style = 2; - break; - case "MEDIUM_SHADING": - case 3: - message.style = 3; - break; - case "DENSE_SHADING": - case 4: - message.style = 4; - break; - case "LIGHT_DOTTED": - case 5: - message.style = 5; - break; - case "MEDIUM_DOTTED": - case 6: - message.style = 6; - break; - case "HEAVY_DOTTED": - case 7: - message.style = 7; - break; - case "LIGHT_DASHED": - case 8: - message.style = 8; - break; - case "MEDIUM_DASHED": - case 9: - message.style = 9; - break; - case "HEAVY_DASHED": - case 10: - message.style = 10; - break; - case "DASH_PATTERN": - case 11: - message.style = 11; - break; - case "DOUBLE": - case 254: - message.style = 254; - break; - } + message.offsetEm = object.offsetEm | 0; + switch (object.style) { + default: + if (typeof object.style === "number") { + message.style = object.style; + break; + } + break; + case "DUMMY_RULE_STYLE": + case 0: + message.style = 0; + break; + case "SOLID": + case 1: + message.style = 1; + break; + case "SPARSE_SHADING": + case 2: + message.style = 2; + break; + case "MEDIUM_SHADING": + case 3: + message.style = 3; + break; + case "DENSE_SHADING": + case 4: + message.style = 4; + break; + case "LIGHT_DOTTED": + case 5: + message.style = 5; + break; + case "MEDIUM_DOTTED": + case 6: + message.style = 6; + break; + case "HEAVY_DOTTED": + case 7: + message.style = 7; + break; + case "LIGHT_DASHED": + case 8: + message.style = 8; + break; + case "MEDIUM_DASHED": + case 9: + message.style = 9; + break; + case "HEAVY_DASHED": + case 10: + message.style = 10; + break; + case "DASH_PATTERN": + case 11: + message.style = 11; + break; + case "DOUBLE": + case 254: + message.style = 254; + break; + } return message; }; @@ -2107,17 +1844,18 @@ $root.ProtoStrikethroughSpec = (function() { }; /** - * Gets the type url for ProtoStrikethroughSpec + * Gets the default type url for ProtoStrikethroughSpec * @function getTypeUrl * @memberof ProtoStrikethroughSpec * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoStrikethroughSpec.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoStrikethroughSpec"; + ProtoStrikethroughSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoStrikethroughSpec"; }; return ProtoStrikethroughSpec; @@ -2131,7 +1869,6 @@ $root.ProtoBoxedStrikethroughSpec = (function() { * @interface IProtoBoxedStrikethroughSpec * @property {IProtoStrikethroughSpec|null} [value] ProtoBoxedStrikethroughSpec value * @property {boolean|null} [isNull] ProtoBoxedStrikethroughSpec isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -2141,12 +1878,11 @@ $root.ProtoBoxedStrikethroughSpec = (function() { * @implements IProtoBoxedStrikethroughSpec * @constructor * @param {IProtoBoxedStrikethroughSpec=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedStrikethroughSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -2194,9 +1930,6 @@ $root.ProtoBoxedStrikethroughSpec = (function() { $root.ProtoStrikethroughSpec.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -2224,45 +1957,26 @@ $root.ProtoBoxedStrikethroughSpec = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedStrikethroughSpec.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedStrikethroughSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedStrikethroughSpec(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedStrikethroughSpec(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.value = $root.ProtoStrikethroughSpec.decode(reader, reader.uint32(), undefined, _depth + 1, message.value); - continue; + message.value = $root.ProtoStrikethroughSpec.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -2290,15 +2004,11 @@ $root.ProtoBoxedStrikethroughSpec = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedStrikethroughSpec.verify = function verify(message, _depth) { + ProtoBoxedStrikethroughSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoStrikethroughSpec.verify(message.value, _depth + 1); + var error = $root.ProtoStrikethroughSpec.verify(message.value); if (error) return "value." + error; } @@ -2316,22 +2026,17 @@ $root.ProtoBoxedStrikethroughSpec = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedStrikethroughSpec} ProtoBoxedStrikethroughSpec */ - ProtoBoxedStrikethroughSpec.fromObject = function fromObject(object, _depth) { + ProtoBoxedStrikethroughSpec.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedStrikethroughSpec) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedStrikethroughSpec(); if (object.value != null) { if (typeof object.value !== "object") throw TypeError(".ProtoBoxedStrikethroughSpec.value: object expected"); - message.value = $root.ProtoStrikethroughSpec.fromObject(object.value, _depth + 1); + message.value = $root.ProtoStrikethroughSpec.fromObject(object.value); } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -2371,17 +2076,18 @@ $root.ProtoBoxedStrikethroughSpec = (function() { }; /** - * Gets the type url for ProtoBoxedStrikethroughSpec + * Gets the default type url for ProtoBoxedStrikethroughSpec * @function getTypeUrl * @memberof ProtoBoxedStrikethroughSpec * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedStrikethroughSpec.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedStrikethroughSpec"; + ProtoBoxedStrikethroughSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedStrikethroughSpec"; }; return ProtoBoxedStrikethroughSpec; @@ -2417,7 +2123,6 @@ $root.ProtoMeasure = (function() { * @interface IProtoMeasure * @property {number|null} [value] ProtoMeasure value * @property {ProtoMeasureType|null} [mtype] ProtoMeasure mtype - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -2427,12 +2132,11 @@ $root.ProtoMeasure = (function() { * @implements IProtoMeasure * @constructor * @param {IProtoMeasure=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoMeasure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -2480,9 +2184,6 @@ $root.ProtoMeasure = (function() { writer.uint32(/* id 1, wireType 1 =*/9).double(message.value); if (message.mtype != null && Object.hasOwnProperty.call(message, "mtype")) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.mtype); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -2510,48 +2211,26 @@ $root.ProtoMeasure = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoMeasure.decode = function decode(reader, length, _end, _depth, _target) { + ProtoMeasure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoMeasure(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoMeasure(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 1) - break; - if ((value = reader.double()) !== 0) - message.value = value; - else - delete message.value; - continue; + message.value = reader.double(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.mtype = value; - else - delete message.mtype; - continue; + message.mtype = reader.int32(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -2579,13 +2258,9 @@ $root.ProtoMeasure = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoMeasure.verify = function verify(message, _depth) { + ProtoMeasure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) if (typeof message.value !== "number") return "value: number expected"; @@ -2612,50 +2287,44 @@ $root.ProtoMeasure = (function() { * @param {Object.} object Plain object * @returns {ProtoMeasure} ProtoMeasure */ - ProtoMeasure.fromObject = function fromObject(object, _depth) { + ProtoMeasure.fromObject = function fromObject(object) { if (object instanceof $root.ProtoMeasure) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoMeasure(); if (object.value != null) - if (Number(object.value) !== 0) - message.value = Number(object.value); - if (object.mtype !== 0 && (typeof object.mtype !== "string" || $root.ProtoMeasureType[object.mtype] !== 0)) - switch (object.mtype) { - default: - if (typeof object.mtype === "number") { - message.mtype = object.mtype; - break; - } - break; - case "PT": - case 0: - message.mtype = 0; - break; - case "CM": - case 1: - message.mtype = 1; - break; - case "MM": - case 2: - message.mtype = 2; - break; - case "IN": - case 3: - message.mtype = 3; - break; - case "PERCENT": - case 4: - message.mtype = 4; - break; - case "PX": - case 5: - message.mtype = 5; - break; - } + message.value = Number(object.value); + switch (object.mtype) { + default: + if (typeof object.mtype === "number") { + message.mtype = object.mtype; + break; + } + break; + case "PT": + case 0: + message.mtype = 0; + break; + case "CM": + case 1: + message.mtype = 1; + break; + case "MM": + case 2: + message.mtype = 2; + break; + case "IN": + case 3: + message.mtype = 3; + break; + case "PERCENT": + case 4: + message.mtype = 4; + break; + case "PX": + case 5: + message.mtype = 5; + break; + } return message; }; @@ -2695,17 +2364,18 @@ $root.ProtoMeasure = (function() { }; /** - * Gets the type url for ProtoMeasure + * Gets the default type url for ProtoMeasure * @function getTypeUrl * @memberof ProtoMeasure * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoMeasure.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoMeasure"; + ProtoMeasure.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoMeasure"; }; return ProtoMeasure; @@ -2719,7 +2389,6 @@ $root.ProtoBoxedMeasure = (function() { * @interface IProtoBoxedMeasure * @property {IProtoMeasure|null} [value] ProtoBoxedMeasure value * @property {boolean|null} [isNull] ProtoBoxedMeasure isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -2729,12 +2398,11 @@ $root.ProtoBoxedMeasure = (function() { * @implements IProtoBoxedMeasure * @constructor * @param {IProtoBoxedMeasure=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedMeasure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -2782,9 +2450,6 @@ $root.ProtoBoxedMeasure = (function() { $root.ProtoMeasure.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -2812,45 +2477,26 @@ $root.ProtoBoxedMeasure = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedMeasure.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedMeasure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedMeasure(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedMeasure(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.value = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.value); - continue; + message.value = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -2878,15 +2524,11 @@ $root.ProtoBoxedMeasure = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedMeasure.verify = function verify(message, _depth) { + ProtoBoxedMeasure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoMeasure.verify(message.value, _depth + 1); + var error = $root.ProtoMeasure.verify(message.value); if (error) return "value." + error; } @@ -2904,22 +2546,17 @@ $root.ProtoBoxedMeasure = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedMeasure} ProtoBoxedMeasure */ - ProtoBoxedMeasure.fromObject = function fromObject(object, _depth) { + ProtoBoxedMeasure.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedMeasure) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedMeasure(); if (object.value != null) { if (typeof object.value !== "object") throw TypeError(".ProtoBoxedMeasure.value: object expected"); - message.value = $root.ProtoMeasure.fromObject(object.value, _depth + 1); + message.value = $root.ProtoMeasure.fromObject(object.value); } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -2959,17 +2596,18 @@ $root.ProtoBoxedMeasure = (function() { }; /** - * Gets the type url for ProtoBoxedMeasure + * Gets the default type url for ProtoBoxedMeasure * @function getTypeUrl * @memberof ProtoBoxedMeasure * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedMeasure.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedMeasure"; + ProtoBoxedMeasure.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedMeasure"; }; return ProtoBoxedMeasure; @@ -2985,7 +2623,6 @@ $root.ProtoSideMeasures = (function() { * @property {IProtoMeasure|null} [right] ProtoSideMeasures right * @property {IProtoMeasure|null} [bottom] ProtoSideMeasures bottom * @property {IProtoMeasure|null} [left] ProtoSideMeasures left - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -2995,12 +2632,11 @@ $root.ProtoSideMeasures = (function() { * @implements IProtoSideMeasures * @constructor * @param {IProtoSideMeasures=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSideMeasures(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -3068,9 +2704,6 @@ $root.ProtoSideMeasures = (function() { $root.ProtoMeasure.encode(message.bottom, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.left != null && Object.hasOwnProperty.call(message, "left")) $root.ProtoMeasure.encode(message.left, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -3098,54 +2731,34 @@ $root.ProtoSideMeasures = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSideMeasures.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSideMeasures.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSideMeasures(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSideMeasures(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.top = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.top); - continue; + message.top = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.right = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.right); - continue; + message.right = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.bottom = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.bottom); - continue; + message.bottom = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.left = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.left); - continue; + message.left = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -3173,30 +2786,26 @@ $root.ProtoSideMeasures = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSideMeasures.verify = function verify(message, _depth) { + ProtoSideMeasures.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.top != null && message.hasOwnProperty("top")) { - var error = $root.ProtoMeasure.verify(message.top, _depth + 1); + var error = $root.ProtoMeasure.verify(message.top); if (error) return "top." + error; } if (message.right != null && message.hasOwnProperty("right")) { - var error = $root.ProtoMeasure.verify(message.right, _depth + 1); + var error = $root.ProtoMeasure.verify(message.right); if (error) return "right." + error; } if (message.bottom != null && message.hasOwnProperty("bottom")) { - var error = $root.ProtoMeasure.verify(message.bottom, _depth + 1); + var error = $root.ProtoMeasure.verify(message.bottom); if (error) return "bottom." + error; } if (message.left != null && message.hasOwnProperty("left")) { - var error = $root.ProtoMeasure.verify(message.left, _depth + 1); + var error = $root.ProtoMeasure.verify(message.left); if (error) return "left." + error; } @@ -3211,33 +2820,29 @@ $root.ProtoSideMeasures = (function() { * @param {Object.} object Plain object * @returns {ProtoSideMeasures} ProtoSideMeasures */ - ProtoSideMeasures.fromObject = function fromObject(object, _depth) { + ProtoSideMeasures.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSideMeasures) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSideMeasures(); if (object.top != null) { if (typeof object.top !== "object") throw TypeError(".ProtoSideMeasures.top: object expected"); - message.top = $root.ProtoMeasure.fromObject(object.top, _depth + 1); + message.top = $root.ProtoMeasure.fromObject(object.top); } if (object.right != null) { if (typeof object.right !== "object") throw TypeError(".ProtoSideMeasures.right: object expected"); - message.right = $root.ProtoMeasure.fromObject(object.right, _depth + 1); + message.right = $root.ProtoMeasure.fromObject(object.right); } if (object.bottom != null) { if (typeof object.bottom !== "object") throw TypeError(".ProtoSideMeasures.bottom: object expected"); - message.bottom = $root.ProtoMeasure.fromObject(object.bottom, _depth + 1); + message.bottom = $root.ProtoMeasure.fromObject(object.bottom); } if (object.left != null) { if (typeof object.left !== "object") throw TypeError(".ProtoSideMeasures.left: object expected"); - message.left = $root.ProtoMeasure.fromObject(object.left, _depth + 1); + message.left = $root.ProtoMeasure.fromObject(object.left); } return message; }; @@ -3284,17 +2889,18 @@ $root.ProtoSideMeasures = (function() { }; /** - * Gets the type url for ProtoSideMeasures + * Gets the default type url for ProtoSideMeasures * @function getTypeUrl * @memberof ProtoSideMeasures * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSideMeasures.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSideMeasures"; + ProtoSideMeasures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSideMeasures"; }; return ProtoSideMeasures; @@ -3328,7 +2934,6 @@ $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType = (function() { * @interface IProtoBoxedAdvancedIllustrationAreaTextFlowType * @property {ProtoAdvancedIllustrationAreaTextFlowType|null} [value] ProtoBoxedAdvancedIllustrationAreaTextFlowType value * @property {boolean|null} [isNull] ProtoBoxedAdvancedIllustrationAreaTextFlowType isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -3338,12 +2943,11 @@ $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType = (function() { * @implements IProtoBoxedAdvancedIllustrationAreaTextFlowType * @constructor * @param {IProtoBoxedAdvancedIllustrationAreaTextFlowType=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedAdvancedIllustrationAreaTextFlowType(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -3391,9 +2995,6 @@ $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -3421,48 +3022,26 @@ $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedAdvancedIllustrationAreaTextFlowType.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.int32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -3490,13 +3069,9 @@ $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.verify = function verify(message, _depth) { + ProtoBoxedAdvancedIllustrationAreaTextFlowType.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) switch (message.value) { default: @@ -3522,46 +3097,40 @@ $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedAdvancedIllustrationAreaTextFlowType} ProtoBoxedAdvancedIllustrationAreaTextFlowType */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.fromObject = function fromObject(object, _depth) { + ProtoBoxedAdvancedIllustrationAreaTextFlowType.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType(); - if (object.value !== 0 && (typeof object.value !== "string" || $root.ProtoAdvancedIllustrationAreaTextFlowType[object.value] !== 0)) - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; - break; - } - break; - case "DO_NOT_USE_AT_ALL": - case 0: - message.value = 0; - break; - case "AROUND": - case 1: - message.value = 1; - break; - case "NO_FLOW": - case 2: - message.value = 2; - break; - case "FOREGROUND": - case 3: - message.value = 3; - break; - case "BACKGROUND": - case 4: - message.value = 4; - break; - } + switch (object.value) { + default: + if (typeof object.value === "number") { + message.value = object.value; + break; + } + break; + case "DO_NOT_USE_AT_ALL": + case 0: + message.value = 0; + break; + case "AROUND": + case 1: + message.value = 1; + break; + case "NO_FLOW": + case 2: + message.value = 2; + break; + case "FOREGROUND": + case 3: + message.value = 3; + break; + case "BACKGROUND": + case 4: + message.value = 4; + break; + } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -3601,17 +3170,18 @@ $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType = (function() { }; /** - * Gets the type url for ProtoBoxedAdvancedIllustrationAreaTextFlowType + * Gets the default type url for ProtoBoxedAdvancedIllustrationAreaTextFlowType * @function getTypeUrl * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedAdvancedIllustrationAreaTextFlowType"; + ProtoBoxedAdvancedIllustrationAreaTextFlowType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedAdvancedIllustrationAreaTextFlowType"; }; return ProtoBoxedAdvancedIllustrationAreaTextFlowType; @@ -3625,7 +3195,6 @@ $root.ProtoAdvancedIllustrationAreaImageSettings = (function() { * @interface IProtoAdvancedIllustrationAreaImageSettings * @property {IProtoBoxedAdvancedIllustrationAreaTextFlowType|null} [textFlow] ProtoAdvancedIllustrationAreaImageSettings textFlow * @property {IProtoSideMeasures|null} [margin] ProtoAdvancedIllustrationAreaImageSettings margin - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -3635,12 +3204,11 @@ $root.ProtoAdvancedIllustrationAreaImageSettings = (function() { * @implements IProtoAdvancedIllustrationAreaImageSettings * @constructor * @param {IProtoAdvancedIllustrationAreaImageSettings=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoAdvancedIllustrationAreaImageSettings(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -3688,9 +3256,6 @@ $root.ProtoAdvancedIllustrationAreaImageSettings = (function() { $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.encode(message.textFlow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.margin != null && Object.hasOwnProperty.call(message, "margin")) $root.ProtoSideMeasures.encode(message.margin, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -3718,42 +3283,26 @@ $root.ProtoAdvancedIllustrationAreaImageSettings = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoAdvancedIllustrationAreaImageSettings.decode = function decode(reader, length, _end, _depth, _target) { + ProtoAdvancedIllustrationAreaImageSettings.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoAdvancedIllustrationAreaImageSettings(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoAdvancedIllustrationAreaImageSettings(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.textFlow = $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.decode(reader, reader.uint32(), undefined, _depth + 1, message.textFlow); - continue; + message.textFlow = $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.margin = $root.ProtoSideMeasures.decode(reader, reader.uint32(), undefined, _depth + 1, message.margin); - continue; + message.margin = $root.ProtoSideMeasures.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -3781,20 +3330,16 @@ $root.ProtoAdvancedIllustrationAreaImageSettings = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoAdvancedIllustrationAreaImageSettings.verify = function verify(message, _depth) { + ProtoAdvancedIllustrationAreaImageSettings.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.textFlow != null && message.hasOwnProperty("textFlow")) { - var error = $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.verify(message.textFlow, _depth + 1); + var error = $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.verify(message.textFlow); if (error) return "textFlow." + error; } if (message.margin != null && message.hasOwnProperty("margin")) { - var error = $root.ProtoSideMeasures.verify(message.margin, _depth + 1); + var error = $root.ProtoSideMeasures.verify(message.margin); if (error) return "margin." + error; } @@ -3809,23 +3354,19 @@ $root.ProtoAdvancedIllustrationAreaImageSettings = (function() { * @param {Object.} object Plain object * @returns {ProtoAdvancedIllustrationAreaImageSettings} ProtoAdvancedIllustrationAreaImageSettings */ - ProtoAdvancedIllustrationAreaImageSettings.fromObject = function fromObject(object, _depth) { + ProtoAdvancedIllustrationAreaImageSettings.fromObject = function fromObject(object) { if (object instanceof $root.ProtoAdvancedIllustrationAreaImageSettings) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoAdvancedIllustrationAreaImageSettings(); if (object.textFlow != null) { if (typeof object.textFlow !== "object") throw TypeError(".ProtoAdvancedIllustrationAreaImageSettings.textFlow: object expected"); - message.textFlow = $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.fromObject(object.textFlow, _depth + 1); + message.textFlow = $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.fromObject(object.textFlow); } if (object.margin != null) { if (typeof object.margin !== "object") throw TypeError(".ProtoAdvancedIllustrationAreaImageSettings.margin: object expected"); - message.margin = $root.ProtoSideMeasures.fromObject(object.margin, _depth + 1); + message.margin = $root.ProtoSideMeasures.fromObject(object.margin); } return message; }; @@ -3866,17 +3407,18 @@ $root.ProtoAdvancedIllustrationAreaImageSettings = (function() { }; /** - * Gets the type url for ProtoAdvancedIllustrationAreaImageSettings + * Gets the default type url for ProtoAdvancedIllustrationAreaImageSettings * @function getTypeUrl * @memberof ProtoAdvancedIllustrationAreaImageSettings * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoAdvancedIllustrationAreaImageSettings.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoAdvancedIllustrationAreaImageSettings"; + ProtoAdvancedIllustrationAreaImageSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoAdvancedIllustrationAreaImageSettings"; }; return ProtoAdvancedIllustrationAreaImageSettings; @@ -3890,7 +3432,6 @@ $root.ProtoFont = (function() { * @interface IProtoFont * @property {number|null} [id] ProtoFont id * @property {string|null} [name] ProtoFont name - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -3900,12 +3441,11 @@ $root.ProtoFont = (function() { * @implements IProtoFont * @constructor * @param {IProtoFont=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoFont(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -3953,9 +3493,6 @@ $root.ProtoFont = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.id); if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -3983,48 +3520,26 @@ $root.ProtoFont = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoFont.decode = function decode(reader, length, _end, _depth, _target) { + ProtoFont.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoFont(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoFont(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.id = value; - else - delete message.id; - continue; + message.id = reader.int32(); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -4052,13 +3567,9 @@ $root.ProtoFont = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoFont.verify = function verify(message, _depth) { + ProtoFont.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.id != null && message.hasOwnProperty("id")) if (!$util.isInteger(message.id)) return "id: integer expected"; @@ -4076,20 +3587,14 @@ $root.ProtoFont = (function() { * @param {Object.} object Plain object * @returns {ProtoFont} ProtoFont */ - ProtoFont.fromObject = function fromObject(object, _depth) { + ProtoFont.fromObject = function fromObject(object) { if (object instanceof $root.ProtoFont) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoFont(); if (object.id != null) - if (Number(object.id) !== 0) - message.id = object.id | 0; + message.id = object.id | 0; if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); return message; }; @@ -4129,17 +3634,18 @@ $root.ProtoFont = (function() { }; /** - * Gets the type url for ProtoFont + * Gets the default type url for ProtoFont * @function getTypeUrl * @memberof ProtoFont * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoFont.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoFont"; + ProtoFont.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoFont"; }; return ProtoFont; @@ -4153,7 +3659,6 @@ $root.ProtoBoxedFont = (function() { * @interface IProtoBoxedFont * @property {IProtoFont|null} [value] ProtoBoxedFont value * @property {boolean|null} [isNull] ProtoBoxedFont isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -4163,12 +3668,11 @@ $root.ProtoBoxedFont = (function() { * @implements IProtoBoxedFont * @constructor * @param {IProtoBoxedFont=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedFont(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -4216,9 +3720,6 @@ $root.ProtoBoxedFont = (function() { $root.ProtoFont.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -4246,45 +3747,26 @@ $root.ProtoBoxedFont = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedFont.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedFont.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedFont(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedFont(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.value = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.value); - continue; + message.value = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -4312,15 +3794,11 @@ $root.ProtoBoxedFont = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedFont.verify = function verify(message, _depth) { + ProtoBoxedFont.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoFont.verify(message.value, _depth + 1); + var error = $root.ProtoFont.verify(message.value); if (error) return "value." + error; } @@ -4338,22 +3816,17 @@ $root.ProtoBoxedFont = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedFont} ProtoBoxedFont */ - ProtoBoxedFont.fromObject = function fromObject(object, _depth) { + ProtoBoxedFont.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedFont) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedFont(); if (object.value != null) { if (typeof object.value !== "object") throw TypeError(".ProtoBoxedFont.value: object expected"); - message.value = $root.ProtoFont.fromObject(object.value, _depth + 1); + message.value = $root.ProtoFont.fromObject(object.value); } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -4393,17 +3866,18 @@ $root.ProtoBoxedFont = (function() { }; /** - * Gets the type url for ProtoBoxedFont + * Gets the default type url for ProtoBoxedFont * @function getTypeUrl * @memberof ProtoBoxedFont * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedFont.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedFont"; + ProtoBoxedFont.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedFont"; }; return ProtoBoxedFont; @@ -4440,7 +3914,6 @@ $root.ProtoColor = (function() { * @property {number|null} [m] ProtoColor m * @property {number|null} [y] ProtoColor y * @property {number|null} [k] ProtoColor k - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -4450,12 +3923,11 @@ $root.ProtoColor = (function() { * @implements IProtoColor * @constructor * @param {IProtoColor=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoColor(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -4573,9 +4045,6 @@ $root.ProtoColor = (function() { writer.uint32(/* id 8, wireType 5 =*/69).float(message.y); if (message.k != null && Object.hasOwnProperty.call(message, "k")) writer.uint32(/* id 9, wireType 5 =*/77).float(message.k); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -4603,108 +4072,54 @@ $root.ProtoColor = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoColor.decode = function decode(reader, length, _end, _depth, _target) { + ProtoColor.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoColor(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoColor(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.name = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.name); - continue; + message.name = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.r = value; - else - delete message.r; - continue; + message.r = reader.int32(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.g = value; - else - delete message.g; - continue; + message.g = reader.int32(); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.b = value; - else - delete message.b; - continue; + message.b = reader.int32(); + break; } case 6: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.c = value; - else - delete message.c; - continue; + message.c = reader.float(); + break; } case 7: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.m = value; - else - delete message.m; - continue; + message.m = reader.float(); + break; } case 8: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.y = value; - else - delete message.y; - continue; + message.y = reader.float(); + break; } case 9: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.k = value; - else - delete message.k; - continue; + message.k = reader.float(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -4732,15 +4147,11 @@ $root.ProtoColor = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoColor.verify = function verify(message, _depth) { + ProtoColor.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.name != null && message.hasOwnProperty("name")) { - var error = $root.ProtoBoxedString.verify(message.name, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.name); if (error) return "name." + error; } @@ -4785,61 +4196,49 @@ $root.ProtoColor = (function() { * @param {Object.} object Plain object * @returns {ProtoColor} ProtoColor */ - ProtoColor.fromObject = function fromObject(object, _depth) { + ProtoColor.fromObject = function fromObject(object) { if (object instanceof $root.ProtoColor) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoColor(); if (object.name != null) { if (typeof object.name !== "object") throw TypeError(".ProtoColor.name: object expected"); - message.name = $root.ProtoBoxedString.fromObject(object.name, _depth + 1); + message.name = $root.ProtoBoxedString.fromObject(object.name); + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "DUMMY_COLOR_TYPE": + case 0: + message.type = 0; + break; + case "RGB": + case 3: + message.type = 3; + break; + case "CMYK": + case 4: + message.type = 4; + break; } - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoColorType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "DUMMY_COLOR_TYPE": - case 0: - message.type = 0; - break; - case "RGB": - case 3: - message.type = 3; - break; - case "CMYK": - case 4: - message.type = 4; - break; - } if (object.r != null) - if (Number(object.r) !== 0) - message.r = object.r | 0; + message.r = object.r | 0; if (object.g != null) - if (Number(object.g) !== 0) - message.g = object.g | 0; + message.g = object.g | 0; if (object.b != null) - if (Number(object.b) !== 0) - message.b = object.b | 0; + message.b = object.b | 0; if (object.c != null) - if (Number(object.c) !== 0) - message.c = Number(object.c); + message.c = Number(object.c); if (object.m != null) - if (Number(object.m) !== 0) - message.m = Number(object.m); + message.m = Number(object.m); if (object.y != null) - if (Number(object.y) !== 0) - message.y = Number(object.y); + message.y = Number(object.y); if (object.k != null) - if (Number(object.k) !== 0) - message.k = Number(object.k); + message.k = Number(object.k); return message; }; @@ -4900,17 +4299,18 @@ $root.ProtoColor = (function() { }; /** - * Gets the type url for ProtoColor + * Gets the default type url for ProtoColor * @function getTypeUrl * @memberof ProtoColor * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoColor.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoColor"; + ProtoColor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoColor"; }; return ProtoColor; @@ -4924,7 +4324,6 @@ $root.ProtoBoxedColor = (function() { * @interface IProtoBoxedColor * @property {IProtoColor|null} [value] ProtoBoxedColor value * @property {boolean|null} [isNull] ProtoBoxedColor isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -4934,12 +4333,11 @@ $root.ProtoBoxedColor = (function() { * @implements IProtoBoxedColor * @constructor * @param {IProtoBoxedColor=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedColor(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -4987,9 +4385,6 @@ $root.ProtoBoxedColor = (function() { $root.ProtoColor.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -5017,45 +4412,26 @@ $root.ProtoBoxedColor = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedColor.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedColor.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedColor(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedColor(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.value = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.value); - continue; + message.value = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -5083,15 +4459,11 @@ $root.ProtoBoxedColor = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedColor.verify = function verify(message, _depth) { + ProtoBoxedColor.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoColor.verify(message.value, _depth + 1); + var error = $root.ProtoColor.verify(message.value); if (error) return "value." + error; } @@ -5109,22 +4481,17 @@ $root.ProtoBoxedColor = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedColor} ProtoBoxedColor */ - ProtoBoxedColor.fromObject = function fromObject(object, _depth) { + ProtoBoxedColor.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedColor) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedColor(); if (object.value != null) { if (typeof object.value !== "object") throw TypeError(".ProtoBoxedColor.value: object expected"); - message.value = $root.ProtoColor.fromObject(object.value, _depth + 1); + message.value = $root.ProtoColor.fromObject(object.value); } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -5164,17 +4531,18 @@ $root.ProtoBoxedColor = (function() { }; /** - * Gets the type url for ProtoBoxedColor + * Gets the default type url for ProtoBoxedColor * @function getTypeUrl * @memberof ProtoBoxedColor * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedColor.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedColor"; + ProtoBoxedColor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedColor"; }; return ProtoBoxedColor; @@ -5191,7 +4559,6 @@ $root.ProtoRGBColor = (function() { * @property {number|null} [r] ProtoRGBColor r * @property {number|null} [g] ProtoRGBColor g * @property {number|null} [b] ProtoRGBColor b - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -5201,12 +4568,11 @@ $root.ProtoRGBColor = (function() { * @implements IProtoRGBColor * @constructor * @param {IProtoRGBColor=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoRGBColor(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -5284,9 +4650,6 @@ $root.ProtoRGBColor = (function() { writer.uint32(/* id 4, wireType 0 =*/32).int32(message.g); if (message.b != null && Object.hasOwnProperty.call(message, "b")) writer.uint32(/* id 5, wireType 0 =*/40).int32(message.b); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -5314,72 +4677,38 @@ $root.ProtoRGBColor = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoRGBColor.decode = function decode(reader, length, _end, _depth, _target) { + ProtoRGBColor.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoRGBColor(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoRGBColor(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.name = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.name); - continue; + message.name = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.r = value; - else - delete message.r; - continue; + message.r = reader.int32(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.g = value; - else - delete message.g; - continue; + message.g = reader.int32(); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.b = value; - else - delete message.b; - continue; + message.b = reader.int32(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -5407,15 +4736,11 @@ $root.ProtoRGBColor = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoRGBColor.verify = function verify(message, _depth) { + ProtoRGBColor.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.name != null && message.hasOwnProperty("name")) { - var error = $root.ProtoBoxedString.verify(message.name, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.name); if (error) return "name." + error; } @@ -5448,49 +4773,41 @@ $root.ProtoRGBColor = (function() { * @param {Object.} object Plain object * @returns {ProtoRGBColor} ProtoRGBColor */ - ProtoRGBColor.fromObject = function fromObject(object, _depth) { + ProtoRGBColor.fromObject = function fromObject(object) { if (object instanceof $root.ProtoRGBColor) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoRGBColor(); if (object.name != null) { if (typeof object.name !== "object") throw TypeError(".ProtoRGBColor.name: object expected"); - message.name = $root.ProtoBoxedString.fromObject(object.name, _depth + 1); + message.name = $root.ProtoBoxedString.fromObject(object.name); + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "DUMMY_COLOR_TYPE": + case 0: + message.type = 0; + break; + case "RGB": + case 3: + message.type = 3; + break; + case "CMYK": + case 4: + message.type = 4; + break; } - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoColorType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "DUMMY_COLOR_TYPE": - case 0: - message.type = 0; - break; - case "RGB": - case 3: - message.type = 3; - break; - case "CMYK": - case 4: - message.type = 4; - break; - } if (object.r != null) - if (Number(object.r) !== 0) - message.r = object.r | 0; + message.r = object.r | 0; if (object.g != null) - if (Number(object.g) !== 0) - message.g = object.g | 0; + message.g = object.g | 0; if (object.b != null) - if (Number(object.b) !== 0) - message.b = object.b | 0; + message.b = object.b | 0; return message; }; @@ -5539,17 +4856,18 @@ $root.ProtoRGBColor = (function() { }; /** - * Gets the type url for ProtoRGBColor + * Gets the default type url for ProtoRGBColor * @function getTypeUrl * @memberof ProtoRGBColor * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoRGBColor.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoRGBColor"; + ProtoRGBColor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoRGBColor"; }; return ProtoRGBColor; @@ -5567,7 +4885,6 @@ $root.ProtoCMYKColor = (function() { * @property {number|null} [m] ProtoCMYKColor m * @property {number|null} [y] ProtoCMYKColor y * @property {number|null} [k] ProtoCMYKColor k - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -5577,12 +4894,11 @@ $root.ProtoCMYKColor = (function() { * @implements IProtoCMYKColor * @constructor * @param {IProtoCMYKColor=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoCMYKColor(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -5670,9 +4986,6 @@ $root.ProtoCMYKColor = (function() { writer.uint32(/* id 5, wireType 5 =*/45).float(message.y); if (message.k != null && Object.hasOwnProperty.call(message, "k")) writer.uint32(/* id 6, wireType 5 =*/53).float(message.k); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -5700,81 +5013,42 @@ $root.ProtoCMYKColor = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoCMYKColor.decode = function decode(reader, length, _end, _depth, _target) { + ProtoCMYKColor.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoCMYKColor(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCMYKColor(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.name = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.name); - continue; + message.name = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 3: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.c = value; - else - delete message.c; - continue; + message.c = reader.float(); + break; } case 4: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.m = value; - else - delete message.m; - continue; + message.m = reader.float(); + break; } case 5: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.y = value; - else - delete message.y; - continue; + message.y = reader.float(); + break; } case 6: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.k = value; - else - delete message.k; - continue; + message.k = reader.float(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -5802,15 +5076,11 @@ $root.ProtoCMYKColor = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoCMYKColor.verify = function verify(message, _depth) { + ProtoCMYKColor.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.name != null && message.hasOwnProperty("name")) { - var error = $root.ProtoBoxedString.verify(message.name, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.name); if (error) return "name." + error; } @@ -5846,52 +5116,43 @@ $root.ProtoCMYKColor = (function() { * @param {Object.} object Plain object * @returns {ProtoCMYKColor} ProtoCMYKColor */ - ProtoCMYKColor.fromObject = function fromObject(object, _depth) { + ProtoCMYKColor.fromObject = function fromObject(object) { if (object instanceof $root.ProtoCMYKColor) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoCMYKColor(); if (object.name != null) { if (typeof object.name !== "object") throw TypeError(".ProtoCMYKColor.name: object expected"); - message.name = $root.ProtoBoxedString.fromObject(object.name, _depth + 1); + message.name = $root.ProtoBoxedString.fromObject(object.name); + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "DUMMY_COLOR_TYPE": + case 0: + message.type = 0; + break; + case "RGB": + case 3: + message.type = 3; + break; + case "CMYK": + case 4: + message.type = 4; + break; } - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoColorType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "DUMMY_COLOR_TYPE": - case 0: - message.type = 0; - break; - case "RGB": - case 3: - message.type = 3; - break; - case "CMYK": - case 4: - message.type = 4; - break; - } if (object.c != null) - if (Number(object.c) !== 0) - message.c = Number(object.c); + message.c = Number(object.c); if (object.m != null) - if (Number(object.m) !== 0) - message.m = Number(object.m); + message.m = Number(object.m); if (object.y != null) - if (Number(object.y) !== 0) - message.y = Number(object.y); + message.y = Number(object.y); if (object.k != null) - if (Number(object.k) !== 0) - message.k = Number(object.k); + message.k = Number(object.k); return message; }; @@ -5943,17 +5204,18 @@ $root.ProtoCMYKColor = (function() { }; /** - * Gets the type url for ProtoCMYKColor + * Gets the default type url for ProtoCMYKColor * @function getTypeUrl * @memberof ProtoCMYKColor * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoCMYKColor.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoCMYKColor"; + ProtoCMYKColor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoCMYKColor"; }; return ProtoCMYKColor; @@ -6005,7 +5267,6 @@ $root.ProtoBoxedHorizontalAlignment = (function() { * @interface IProtoBoxedHorizontalAlignment * @property {ProtoHorizontalAlignment|null} [value] ProtoBoxedHorizontalAlignment value * @property {boolean|null} [isNull] ProtoBoxedHorizontalAlignment isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -6015,12 +5276,11 @@ $root.ProtoBoxedHorizontalAlignment = (function() { * @implements IProtoBoxedHorizontalAlignment * @constructor * @param {IProtoBoxedHorizontalAlignment=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedHorizontalAlignment(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -6068,9 +5328,6 @@ $root.ProtoBoxedHorizontalAlignment = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -6098,48 +5355,26 @@ $root.ProtoBoxedHorizontalAlignment = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedHorizontalAlignment.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedHorizontalAlignment.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedHorizontalAlignment(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedHorizontalAlignment(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.int32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -6167,13 +5402,9 @@ $root.ProtoBoxedHorizontalAlignment = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedHorizontalAlignment.verify = function verify(message, _depth) { + ProtoBoxedHorizontalAlignment.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) switch (message.value) { default: @@ -6200,50 +5431,44 @@ $root.ProtoBoxedHorizontalAlignment = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedHorizontalAlignment} ProtoBoxedHorizontalAlignment */ - ProtoBoxedHorizontalAlignment.fromObject = function fromObject(object, _depth) { + ProtoBoxedHorizontalAlignment.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedHorizontalAlignment) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedHorizontalAlignment(); - if (object.value !== 0 && (typeof object.value !== "string" || $root.ProtoHorizontalAlignment[object.value] !== 0)) - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; - break; - } - break; - case "ALIGN_LEFT": - case 0: - message.value = 0; - break; - case "ALIGN_CENTER": - case 1: - message.value = 1; - break; - case "ALIGN_RIGHT": - case 2: - message.value = 2; - break; - case "ALIGN_JUSTIFY": - case 3: - message.value = 3; - break; - case "ALIGN_FULL_JUSTIFY": - case 4: - message.value = 4; - break; - case "ALIGN_CENTER_ON_PAGE": - case 5: - message.value = 5; - break; - } + switch (object.value) { + default: + if (typeof object.value === "number") { + message.value = object.value; + break; + } + break; + case "ALIGN_LEFT": + case 0: + message.value = 0; + break; + case "ALIGN_CENTER": + case 1: + message.value = 1; + break; + case "ALIGN_RIGHT": + case 2: + message.value = 2; + break; + case "ALIGN_JUSTIFY": + case 3: + message.value = 3; + break; + case "ALIGN_FULL_JUSTIFY": + case 4: + message.value = 4; + break; + case "ALIGN_CENTER_ON_PAGE": + case 5: + message.value = 5; + break; + } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -6283,17 +5508,18 @@ $root.ProtoBoxedHorizontalAlignment = (function() { }; /** - * Gets the type url for ProtoBoxedHorizontalAlignment + * Gets the default type url for ProtoBoxedHorizontalAlignment * @function getTypeUrl * @memberof ProtoBoxedHorizontalAlignment * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedHorizontalAlignment.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedHorizontalAlignment"; + ProtoBoxedHorizontalAlignment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedHorizontalAlignment"; }; return ProtoBoxedHorizontalAlignment; @@ -6307,7 +5533,6 @@ $root.ProtoBoxedVerticalAlignment = (function() { * @interface IProtoBoxedVerticalAlignment * @property {ProtoVerticalAlignment|null} [value] ProtoBoxedVerticalAlignment value * @property {boolean|null} [isNull] ProtoBoxedVerticalAlignment isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -6317,12 +5542,11 @@ $root.ProtoBoxedVerticalAlignment = (function() { * @implements IProtoBoxedVerticalAlignment * @constructor * @param {IProtoBoxedVerticalAlignment=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedVerticalAlignment(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -6370,9 +5594,6 @@ $root.ProtoBoxedVerticalAlignment = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -6400,48 +5621,26 @@ $root.ProtoBoxedVerticalAlignment = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedVerticalAlignment.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedVerticalAlignment.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedVerticalAlignment(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedVerticalAlignment(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.int32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -6469,13 +5668,9 @@ $root.ProtoBoxedVerticalAlignment = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedVerticalAlignment.verify = function verify(message, _depth) { + ProtoBoxedVerticalAlignment.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) switch (message.value) { default: @@ -6499,38 +5694,32 @@ $root.ProtoBoxedVerticalAlignment = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedVerticalAlignment} ProtoBoxedVerticalAlignment */ - ProtoBoxedVerticalAlignment.fromObject = function fromObject(object, _depth) { + ProtoBoxedVerticalAlignment.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedVerticalAlignment) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedVerticalAlignment(); - if (object.value !== 0 && (typeof object.value !== "string" || $root.ProtoVerticalAlignment[object.value] !== 0)) - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; - break; - } - break; - case "TOP": - case 0: - message.value = 0; - break; - case "MIDDLE": - case 1: - message.value = 1; - break; - case "BOTTOM": - case 2: - message.value = 2; - break; - } + switch (object.value) { + default: + if (typeof object.value === "number") { + message.value = object.value; + break; + } + break; + case "TOP": + case 0: + message.value = 0; + break; + case "MIDDLE": + case 1: + message.value = 1; + break; + case "BOTTOM": + case 2: + message.value = 2; + break; + } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -6570,17 +5759,18 @@ $root.ProtoBoxedVerticalAlignment = (function() { }; /** - * Gets the type url for ProtoBoxedVerticalAlignment + * Gets the default type url for ProtoBoxedVerticalAlignment * @function getTypeUrl * @memberof ProtoBoxedVerticalAlignment * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedVerticalAlignment.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedVerticalAlignment"; + ProtoBoxedVerticalAlignment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedVerticalAlignment"; }; return ProtoBoxedVerticalAlignment; @@ -6632,7 +5822,6 @@ $root.ProtoSwissQRCreditor = (function() { * @property {string|null} [iban] ProtoSwissQRCreditor iban * @property {string|null} [amount] ProtoSwissQRCreditor amount * @property {string|null} [currency] ProtoSwissQRCreditor currency - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -6642,12 +5831,11 @@ $root.ProtoSwissQRCreditor = (function() { * @implements IProtoSwissQRCreditor * @constructor * @param {IProtoSwissQRCreditor=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSwissQRCreditor(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -6775,9 +5963,6 @@ $root.ProtoSwissQRCreditor = (function() { writer.uint32(/* id 9, wireType 2 =*/74).string(message.amount); if (message.currency != null && Object.hasOwnProperty.call(message, "currency")) writer.uint32(/* id 10, wireType 2 =*/82).string(message.currency); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -6805,120 +5990,58 @@ $root.ProtoSwissQRCreditor = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSwissQRCreditor.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSwissQRCreditor.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSwissQRCreditor(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSwissQRCreditor(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.addressType = value; - else - delete message.addressType; - continue; + message.addressType = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.postalCode = value; - else - delete message.postalCode; - continue; + message.postalCode = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.town = value; - else - delete message.town; - continue; + message.town = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.country = value; - else - delete message.country; - continue; + message.country = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.streetOrAddressLine1 = value; - else - delete message.streetOrAddressLine1; - continue; + message.streetOrAddressLine1 = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.buildingNumberOrAddressLine2 = value; - else - delete message.buildingNumberOrAddressLine2; - continue; + message.buildingNumberOrAddressLine2 = reader.string(); + break; } case 8: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.iban = value; - else - delete message.iban; - continue; + message.iban = reader.string(); + break; } case 9: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.amount = value; - else - delete message.amount; - continue; + message.amount = reader.string(); + break; } case 10: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.currency = value; - else - delete message.currency; - continue; + message.currency = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -6946,13 +6069,9 @@ $root.ProtoSwissQRCreditor = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSwissQRCreditor.verify = function verify(message, _depth) { + ProtoSwissQRCreditor.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.addressType != null && message.hasOwnProperty("addressType")) if (!$util.isString(message.addressType)) return "addressType: string expected"; @@ -6994,44 +6113,30 @@ $root.ProtoSwissQRCreditor = (function() { * @param {Object.} object Plain object * @returns {ProtoSwissQRCreditor} ProtoSwissQRCreditor */ - ProtoSwissQRCreditor.fromObject = function fromObject(object, _depth) { + ProtoSwissQRCreditor.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSwissQRCreditor) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSwissQRCreditor(); if (object.addressType != null) - if (typeof object.addressType !== "string" || object.addressType.length) - message.addressType = String(object.addressType); + message.addressType = String(object.addressType); if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.postalCode != null) - if (typeof object.postalCode !== "string" || object.postalCode.length) - message.postalCode = String(object.postalCode); + message.postalCode = String(object.postalCode); if (object.town != null) - if (typeof object.town !== "string" || object.town.length) - message.town = String(object.town); + message.town = String(object.town); if (object.country != null) - if (typeof object.country !== "string" || object.country.length) - message.country = String(object.country); + message.country = String(object.country); if (object.streetOrAddressLine1 != null) - if (typeof object.streetOrAddressLine1 !== "string" || object.streetOrAddressLine1.length) - message.streetOrAddressLine1 = String(object.streetOrAddressLine1); + message.streetOrAddressLine1 = String(object.streetOrAddressLine1); if (object.buildingNumberOrAddressLine2 != null) - if (typeof object.buildingNumberOrAddressLine2 !== "string" || object.buildingNumberOrAddressLine2.length) - message.buildingNumberOrAddressLine2 = String(object.buildingNumberOrAddressLine2); + message.buildingNumberOrAddressLine2 = String(object.buildingNumberOrAddressLine2); if (object.iban != null) - if (typeof object.iban !== "string" || object.iban.length) - message.iban = String(object.iban); + message.iban = String(object.iban); if (object.amount != null) - if (typeof object.amount !== "string" || object.amount.length) - message.amount = String(object.amount); + message.amount = String(object.amount); if (object.currency != null) - if (typeof object.currency !== "string" || object.currency.length) - message.currency = String(object.currency); + message.currency = String(object.currency); return message; }; @@ -7095,17 +6200,18 @@ $root.ProtoSwissQRCreditor = (function() { }; /** - * Gets the type url for ProtoSwissQRCreditor + * Gets the default type url for ProtoSwissQRCreditor * @function getTypeUrl * @memberof ProtoSwissQRCreditor * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSwissQRCreditor.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSwissQRCreditor"; + ProtoSwissQRCreditor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSwissQRCreditor"; }; return ProtoSwissQRCreditor; @@ -7128,7 +6234,6 @@ $root.ProtoSwissQRDebitor = (function() { * @property {string|null} [paymentReference] ProtoSwissQRDebitor paymentReference * @property {string|null} [unstructuredReference] ProtoSwissQRDebitor unstructuredReference * @property {string|null} [billInformation] ProtoSwissQRDebitor billInformation - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -7138,12 +6243,11 @@ $root.ProtoSwissQRDebitor = (function() { * @implements IProtoSwissQRDebitor * @constructor * @param {IProtoSwissQRDebitor=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSwissQRDebitor(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -7281,9 +6385,6 @@ $root.ProtoSwissQRDebitor = (function() { writer.uint32(/* id 10, wireType 2 =*/82).string(message.unstructuredReference); if (message.billInformation != null && Object.hasOwnProperty.call(message, "billInformation")) writer.uint32(/* id 11, wireType 2 =*/90).string(message.billInformation); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -7311,129 +6412,62 @@ $root.ProtoSwissQRDebitor = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSwissQRDebitor.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSwissQRDebitor.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSwissQRDebitor(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSwissQRDebitor(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.addressType = value; - else - delete message.addressType; - continue; + message.addressType = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.postalCode = value; - else - delete message.postalCode; - continue; + message.postalCode = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.town = value; - else - delete message.town; - continue; + message.town = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.country = value; - else - delete message.country; - continue; + message.country = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.streetOrAddressLine1 = value; - else - delete message.streetOrAddressLine1; - continue; + message.streetOrAddressLine1 = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.buildingNumberOrAddressLine2 = value; - else - delete message.buildingNumberOrAddressLine2; - continue; + message.buildingNumberOrAddressLine2 = reader.string(); + break; } case 8: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paymentReferenceType = value; - else - delete message.paymentReferenceType; - continue; + message.paymentReferenceType = reader.string(); + break; } case 9: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paymentReference = value; - else - delete message.paymentReference; - continue; + message.paymentReference = reader.string(); + break; } case 10: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.unstructuredReference = value; - else - delete message.unstructuredReference; - continue; + message.unstructuredReference = reader.string(); + break; } case 11: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.billInformation = value; - else - delete message.billInformation; - continue; + message.billInformation = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -7461,13 +6495,9 @@ $root.ProtoSwissQRDebitor = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSwissQRDebitor.verify = function verify(message, _depth) { + ProtoSwissQRDebitor.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.addressType != null && message.hasOwnProperty("addressType")) if (!$util.isString(message.addressType)) return "addressType: string expected"; @@ -7512,47 +6542,32 @@ $root.ProtoSwissQRDebitor = (function() { * @param {Object.} object Plain object * @returns {ProtoSwissQRDebitor} ProtoSwissQRDebitor */ - ProtoSwissQRDebitor.fromObject = function fromObject(object, _depth) { + ProtoSwissQRDebitor.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSwissQRDebitor) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSwissQRDebitor(); if (object.addressType != null) - if (typeof object.addressType !== "string" || object.addressType.length) - message.addressType = String(object.addressType); + message.addressType = String(object.addressType); if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.postalCode != null) - if (typeof object.postalCode !== "string" || object.postalCode.length) - message.postalCode = String(object.postalCode); + message.postalCode = String(object.postalCode); if (object.town != null) - if (typeof object.town !== "string" || object.town.length) - message.town = String(object.town); + message.town = String(object.town); if (object.country != null) - if (typeof object.country !== "string" || object.country.length) - message.country = String(object.country); + message.country = String(object.country); if (object.streetOrAddressLine1 != null) - if (typeof object.streetOrAddressLine1 !== "string" || object.streetOrAddressLine1.length) - message.streetOrAddressLine1 = String(object.streetOrAddressLine1); + message.streetOrAddressLine1 = String(object.streetOrAddressLine1); if (object.buildingNumberOrAddressLine2 != null) - if (typeof object.buildingNumberOrAddressLine2 !== "string" || object.buildingNumberOrAddressLine2.length) - message.buildingNumberOrAddressLine2 = String(object.buildingNumberOrAddressLine2); + message.buildingNumberOrAddressLine2 = String(object.buildingNumberOrAddressLine2); if (object.paymentReferenceType != null) - if (typeof object.paymentReferenceType !== "string" || object.paymentReferenceType.length) - message.paymentReferenceType = String(object.paymentReferenceType); + message.paymentReferenceType = String(object.paymentReferenceType); if (object.paymentReference != null) - if (typeof object.paymentReference !== "string" || object.paymentReference.length) - message.paymentReference = String(object.paymentReference); + message.paymentReference = String(object.paymentReference); if (object.unstructuredReference != null) - if (typeof object.unstructuredReference !== "string" || object.unstructuredReference.length) - message.unstructuredReference = String(object.unstructuredReference); + message.unstructuredReference = String(object.unstructuredReference); if (object.billInformation != null) - if (typeof object.billInformation !== "string" || object.billInformation.length) - message.billInformation = String(object.billInformation); + message.billInformation = String(object.billInformation); return message; }; @@ -7619,17 +6634,18 @@ $root.ProtoSwissQRDebitor = (function() { }; /** - * Gets the type url for ProtoSwissQRDebitor + * Gets the default type url for ProtoSwissQRDebitor * @function getTypeUrl * @memberof ProtoSwissQRDebitor * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSwissQRDebitor.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSwissQRDebitor"; + ProtoSwissQRDebitor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSwissQRDebitor"; }; return ProtoSwissQRDebitor; @@ -7643,7 +6659,6 @@ $root.ProtoSwissQRData = (function() { * @interface IProtoSwissQRData * @property {IProtoSwissQRCreditor|null} [creditor] ProtoSwissQRData creditor * @property {IProtoSwissQRDebitor|null} [debitor] ProtoSwissQRData debitor - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -7653,12 +6668,11 @@ $root.ProtoSwissQRData = (function() { * @implements IProtoSwissQRData * @constructor * @param {IProtoSwissQRData=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSwissQRData(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -7706,9 +6720,6 @@ $root.ProtoSwissQRData = (function() { $root.ProtoSwissQRCreditor.encode(message.creditor, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.debitor != null && Object.hasOwnProperty.call(message, "debitor")) $root.ProtoSwissQRDebitor.encode(message.debitor, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -7736,42 +6747,26 @@ $root.ProtoSwissQRData = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSwissQRData.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSwissQRData.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSwissQRData(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSwissQRData(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.creditor = $root.ProtoSwissQRCreditor.decode(reader, reader.uint32(), undefined, _depth + 1, message.creditor); - continue; + message.creditor = $root.ProtoSwissQRCreditor.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.debitor = $root.ProtoSwissQRDebitor.decode(reader, reader.uint32(), undefined, _depth + 1, message.debitor); - continue; + message.debitor = $root.ProtoSwissQRDebitor.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -7799,20 +6794,16 @@ $root.ProtoSwissQRData = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSwissQRData.verify = function verify(message, _depth) { + ProtoSwissQRData.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.creditor != null && message.hasOwnProperty("creditor")) { - var error = $root.ProtoSwissQRCreditor.verify(message.creditor, _depth + 1); + var error = $root.ProtoSwissQRCreditor.verify(message.creditor); if (error) return "creditor." + error; } if (message.debitor != null && message.hasOwnProperty("debitor")) { - var error = $root.ProtoSwissQRDebitor.verify(message.debitor, _depth + 1); + var error = $root.ProtoSwissQRDebitor.verify(message.debitor); if (error) return "debitor." + error; } @@ -7827,23 +6818,19 @@ $root.ProtoSwissQRData = (function() { * @param {Object.} object Plain object * @returns {ProtoSwissQRData} ProtoSwissQRData */ - ProtoSwissQRData.fromObject = function fromObject(object, _depth) { + ProtoSwissQRData.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSwissQRData) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSwissQRData(); if (object.creditor != null) { if (typeof object.creditor !== "object") throw TypeError(".ProtoSwissQRData.creditor: object expected"); - message.creditor = $root.ProtoSwissQRCreditor.fromObject(object.creditor, _depth + 1); + message.creditor = $root.ProtoSwissQRCreditor.fromObject(object.creditor); } if (object.debitor != null) { if (typeof object.debitor !== "object") throw TypeError(".ProtoSwissQRData.debitor: object expected"); - message.debitor = $root.ProtoSwissQRDebitor.fromObject(object.debitor, _depth + 1); + message.debitor = $root.ProtoSwissQRDebitor.fromObject(object.debitor); } return message; }; @@ -7884,17 +6871,18 @@ $root.ProtoSwissQRData = (function() { }; /** - * Gets the type url for ProtoSwissQRData + * Gets the default type url for ProtoSwissQRData * @function getTypeUrl * @memberof ProtoSwissQRData * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSwissQRData.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSwissQRData"; + ProtoSwissQRData.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSwissQRData"; }; return ProtoSwissQRData; @@ -7924,7 +6912,6 @@ $root.ProtoLinebreak = (function() { * @property {Array.|null} [comChannelUUIDs] ProtoLinebreak comChannelUUIDs * @property {string|null} [uuid] ProtoLinebreak uuid * @property {IProtoBoxedUint32|null} [count] ProtoLinebreak count - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -7934,13 +6921,12 @@ $root.ProtoLinebreak = (function() { * @implements IProtoLinebreak * @constructor * @param {IProtoLinebreak=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoLinebreak(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -8009,9 +6995,6 @@ $root.ProtoLinebreak = (function() { writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); if (message.count != null && Object.hasOwnProperty.call(message, "count")) $root.ProtoBoxedUint32.encode(message.count, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -8039,59 +7022,36 @@ $root.ProtoLinebreak = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoLinebreak.decode = function decode(reader, length, _end, _depth, _target) { + ProtoLinebreak.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoLinebreak(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLinebreak(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - message.count = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.count); - continue; + message.count = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -8119,15 +7079,11 @@ $root.ProtoLinebreak = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoLinebreak.verify = function verify(message, _depth) { + ProtoLinebreak.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -8142,7 +7098,7 @@ $root.ProtoLinebreak = (function() { if (!$util.isString(message.uuid)) return "uuid: string expected"; if (message.count != null && message.hasOwnProperty("count")) { - var error = $root.ProtoBoxedUint32.verify(message.count, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.count); if (error) return "count." + error; } @@ -8157,33 +7113,28 @@ $root.ProtoLinebreak = (function() { * @param {Object.} object Plain object * @returns {ProtoLinebreak} ProtoLinebreak */ - ProtoLinebreak.fromObject = function fromObject(object, _depth) { + ProtoLinebreak.fromObject = function fromObject(object) { if (object instanceof $root.ProtoLinebreak) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoLinebreak(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoLinebreak.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoLinebreak.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.count != null) { if (typeof object.count !== "object") throw TypeError(".ProtoLinebreak.count: object expected"); - message.count = $root.ProtoBoxedUint32.fromObject(object.count, _depth + 1); + message.count = $root.ProtoBoxedUint32.fromObject(object.count); } return message; }; @@ -8211,7 +7162,7 @@ $root.ProtoLinebreak = (function() { if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -8234,17 +7185,18 @@ $root.ProtoLinebreak = (function() { }; /** - * Gets the type url for ProtoLinebreak + * Gets the default type url for ProtoLinebreak * @function getTypeUrl * @memberof ProtoLinebreak * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoLinebreak.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoLinebreak"; + ProtoLinebreak.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoLinebreak"; }; return ProtoLinebreak; @@ -8258,7 +7210,6 @@ $root.ProtoBorder = (function() { * @interface IProtoBorder * @property {IProtoMeasure|null} [weight] ProtoBorder weight * @property {IProtoColor|null} [color] ProtoBorder color - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -8268,12 +7219,11 @@ $root.ProtoBorder = (function() { * @implements IProtoBorder * @constructor * @param {IProtoBorder=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBorder(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -8321,9 +7271,6 @@ $root.ProtoBorder = (function() { $root.ProtoMeasure.encode(message.weight, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.color != null && Object.hasOwnProperty.call(message, "color")) $root.ProtoColor.encode(message.color, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -8351,42 +7298,26 @@ $root.ProtoBorder = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBorder.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBorder.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBorder(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBorder(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.weight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.weight); - continue; + message.weight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -8414,20 +7345,16 @@ $root.ProtoBorder = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBorder.verify = function verify(message, _depth) { + ProtoBorder.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.weight != null && message.hasOwnProperty("weight")) { - var error = $root.ProtoMeasure.verify(message.weight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.weight); if (error) return "weight." + error; } if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } @@ -8442,23 +7369,19 @@ $root.ProtoBorder = (function() { * @param {Object.} object Plain object * @returns {ProtoBorder} ProtoBorder */ - ProtoBorder.fromObject = function fromObject(object, _depth) { + ProtoBorder.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBorder) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBorder(); if (object.weight != null) { if (typeof object.weight !== "object") throw TypeError(".ProtoBorder.weight: object expected"); - message.weight = $root.ProtoMeasure.fromObject(object.weight, _depth + 1); + message.weight = $root.ProtoMeasure.fromObject(object.weight); } if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoBorder.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } return message; }; @@ -8499,17 +7422,18 @@ $root.ProtoBorder = (function() { }; /** - * Gets the type url for ProtoBorder + * Gets the default type url for ProtoBorder * @function getTypeUrl * @memberof ProtoBorder * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBorder.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBorder"; + ProtoBorder.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBorder"; }; return ProtoBorder; @@ -8525,7 +7449,6 @@ $root.ProtoSideBorders = (function() { * @property {IProtoBorder|null} [right] ProtoSideBorders right * @property {IProtoBorder|null} [bottom] ProtoSideBorders bottom * @property {IProtoBorder|null} [left] ProtoSideBorders left - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -8535,12 +7458,11 @@ $root.ProtoSideBorders = (function() { * @implements IProtoSideBorders * @constructor * @param {IProtoSideBorders=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSideBorders(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -8608,9 +7530,6 @@ $root.ProtoSideBorders = (function() { $root.ProtoBorder.encode(message.bottom, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.left != null && Object.hasOwnProperty.call(message, "left")) $root.ProtoBorder.encode(message.left, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -8638,54 +7557,34 @@ $root.ProtoSideBorders = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSideBorders.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSideBorders.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSideBorders(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSideBorders(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.top = $root.ProtoBorder.decode(reader, reader.uint32(), undefined, _depth + 1, message.top); - continue; + message.top = $root.ProtoBorder.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.right = $root.ProtoBorder.decode(reader, reader.uint32(), undefined, _depth + 1, message.right); - continue; + message.right = $root.ProtoBorder.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.bottom = $root.ProtoBorder.decode(reader, reader.uint32(), undefined, _depth + 1, message.bottom); - continue; + message.bottom = $root.ProtoBorder.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.left = $root.ProtoBorder.decode(reader, reader.uint32(), undefined, _depth + 1, message.left); - continue; + message.left = $root.ProtoBorder.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -8713,30 +7612,26 @@ $root.ProtoSideBorders = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSideBorders.verify = function verify(message, _depth) { + ProtoSideBorders.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.top != null && message.hasOwnProperty("top")) { - var error = $root.ProtoBorder.verify(message.top, _depth + 1); + var error = $root.ProtoBorder.verify(message.top); if (error) return "top." + error; } if (message.right != null && message.hasOwnProperty("right")) { - var error = $root.ProtoBorder.verify(message.right, _depth + 1); + var error = $root.ProtoBorder.verify(message.right); if (error) return "right." + error; } if (message.bottom != null && message.hasOwnProperty("bottom")) { - var error = $root.ProtoBorder.verify(message.bottom, _depth + 1); + var error = $root.ProtoBorder.verify(message.bottom); if (error) return "bottom." + error; } if (message.left != null && message.hasOwnProperty("left")) { - var error = $root.ProtoBorder.verify(message.left, _depth + 1); + var error = $root.ProtoBorder.verify(message.left); if (error) return "left." + error; } @@ -8751,33 +7646,29 @@ $root.ProtoSideBorders = (function() { * @param {Object.} object Plain object * @returns {ProtoSideBorders} ProtoSideBorders */ - ProtoSideBorders.fromObject = function fromObject(object, _depth) { + ProtoSideBorders.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSideBorders) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSideBorders(); if (object.top != null) { if (typeof object.top !== "object") throw TypeError(".ProtoSideBorders.top: object expected"); - message.top = $root.ProtoBorder.fromObject(object.top, _depth + 1); + message.top = $root.ProtoBorder.fromObject(object.top); } if (object.right != null) { if (typeof object.right !== "object") throw TypeError(".ProtoSideBorders.right: object expected"); - message.right = $root.ProtoBorder.fromObject(object.right, _depth + 1); + message.right = $root.ProtoBorder.fromObject(object.right); } if (object.bottom != null) { if (typeof object.bottom !== "object") throw TypeError(".ProtoSideBorders.bottom: object expected"); - message.bottom = $root.ProtoBorder.fromObject(object.bottom, _depth + 1); + message.bottom = $root.ProtoBorder.fromObject(object.bottom); } if (object.left != null) { if (typeof object.left !== "object") throw TypeError(".ProtoSideBorders.left: object expected"); - message.left = $root.ProtoBorder.fromObject(object.left, _depth + 1); + message.left = $root.ProtoBorder.fromObject(object.left); } return message; }; @@ -8824,17 +7715,18 @@ $root.ProtoSideBorders = (function() { }; /** - * Gets the type url for ProtoSideBorders + * Gets the default type url for ProtoSideBorders * @function getTypeUrl * @memberof ProtoSideBorders * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSideBorders.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSideBorders"; + ProtoSideBorders.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSideBorders"; }; return ProtoSideBorders; @@ -8868,7 +7760,6 @@ $root.ProtoBoxedPositionMode = (function() { * @interface IProtoBoxedPositionMode * @property {ProtoPositionMode|null} [value] ProtoBoxedPositionMode value * @property {boolean|null} [isNull] ProtoBoxedPositionMode isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -8878,12 +7769,11 @@ $root.ProtoBoxedPositionMode = (function() { * @implements IProtoBoxedPositionMode * @constructor * @param {IProtoBoxedPositionMode=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedPositionMode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -8931,9 +7821,6 @@ $root.ProtoBoxedPositionMode = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -8961,48 +7848,26 @@ $root.ProtoBoxedPositionMode = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedPositionMode.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedPositionMode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedPositionMode(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedPositionMode(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.int32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -9030,13 +7895,9 @@ $root.ProtoBoxedPositionMode = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedPositionMode.verify = function verify(message, _depth) { + ProtoBoxedPositionMode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) switch (message.value) { default: @@ -9062,46 +7923,40 @@ $root.ProtoBoxedPositionMode = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedPositionMode} ProtoBoxedPositionMode */ - ProtoBoxedPositionMode.fromObject = function fromObject(object, _depth) { + ProtoBoxedPositionMode.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedPositionMode) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedPositionMode(); - if (object.value !== 0 && (typeof object.value !== "string" || $root.ProtoPositionMode[object.value] !== 0)) - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; - break; - } - break; - case "CENTER": - case 0: - message.value = 0; - break; - case "LEFT": - case 1: - message.value = 1; - break; - case "FOLIO": - case 2: - message.value = 2; - break; - case "RIGHT": - case 3: - message.value = 3; - break; - case "REVERSE_FOLIO": - case 4: - message.value = 4; - break; - } + switch (object.value) { + default: + if (typeof object.value === "number") { + message.value = object.value; + break; + } + break; + case "CENTER": + case 0: + message.value = 0; + break; + case "LEFT": + case 1: + message.value = 1; + break; + case "FOLIO": + case 2: + message.value = 2; + break; + case "RIGHT": + case 3: + message.value = 3; + break; + case "REVERSE_FOLIO": + case 4: + message.value = 4; + break; + } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -9141,17 +7996,18 @@ $root.ProtoBoxedPositionMode = (function() { }; /** - * Gets the type url for ProtoBoxedPositionMode + * Gets the default type url for ProtoBoxedPositionMode * @function getTypeUrl * @memberof ProtoBoxedPositionMode * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedPositionMode.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedPositionMode"; + ProtoBoxedPositionMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedPositionMode"; }; return ProtoBoxedPositionMode; @@ -9168,7 +8024,6 @@ $root.ProtoColumnSettings = (function() { * @property {IProtoBoxedMeasure|null} [positionOffset] ProtoColumnSettings positionOffset * @property {ProtoPositionMode|null} [positionMode] ProtoColumnSettings positionMode * @property {IProtoBoxedMeasure|null} [outsideMargin] ProtoColumnSettings outsideMargin - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -9178,12 +8033,11 @@ $root.ProtoColumnSettings = (function() { * @implements IProtoColumnSettings * @constructor * @param {IProtoColumnSettings=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoColumnSettings(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -9261,9 +8115,6 @@ $root.ProtoColumnSettings = (function() { writer.uint32(/* id 4, wireType 0 =*/32).int32(message.positionMode); if (message.outsideMargin != null && Object.hasOwnProperty.call(message, "outsideMargin")) $root.ProtoBoxedMeasure.encode(message.outsideMargin, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -9291,63 +8142,38 @@ $root.ProtoColumnSettings = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoColumnSettings.decode = function decode(reader, length, _end, _depth, _target) { + ProtoColumnSettings.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoColumnSettings(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoColumnSettings(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.interColumnSpace = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.interColumnSpace); - continue; + message.interColumnSpace = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.positionOffset = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.positionOffset); - continue; + message.positionOffset = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.positionMode = value; - else - delete message.positionMode; - continue; + message.positionMode = reader.int32(); + break; } case 5: { - if (wireType !== 2) - break; - message.outsideMargin = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.outsideMargin); - continue; + message.outsideMargin = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -9375,25 +8201,21 @@ $root.ProtoColumnSettings = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoColumnSettings.verify = function verify(message, _depth) { + ProtoColumnSettings.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoBoxedMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.width); if (error) return "width." + error; } if (message.interColumnSpace != null && message.hasOwnProperty("interColumnSpace")) { - var error = $root.ProtoBoxedMeasure.verify(message.interColumnSpace, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.interColumnSpace); if (error) return "interColumnSpace." + error; } if (message.positionOffset != null && message.hasOwnProperty("positionOffset")) { - var error = $root.ProtoBoxedMeasure.verify(message.positionOffset, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.positionOffset); if (error) return "positionOffset." + error; } @@ -9409,7 +8231,7 @@ $root.ProtoColumnSettings = (function() { break; } if (message.outsideMargin != null && message.hasOwnProperty("outsideMargin")) { - var error = $root.ProtoBoxedMeasure.verify(message.outsideMargin, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.outsideMargin); if (error) return "outsideMargin." + error; } @@ -9424,62 +8246,57 @@ $root.ProtoColumnSettings = (function() { * @param {Object.} object Plain object * @returns {ProtoColumnSettings} ProtoColumnSettings */ - ProtoColumnSettings.fromObject = function fromObject(object, _depth) { + ProtoColumnSettings.fromObject = function fromObject(object) { if (object instanceof $root.ProtoColumnSettings) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoColumnSettings(); if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoColumnSettings.width: object expected"); - message.width = $root.ProtoBoxedMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoBoxedMeasure.fromObject(object.width); } if (object.interColumnSpace != null) { if (typeof object.interColumnSpace !== "object") throw TypeError(".ProtoColumnSettings.interColumnSpace: object expected"); - message.interColumnSpace = $root.ProtoBoxedMeasure.fromObject(object.interColumnSpace, _depth + 1); + message.interColumnSpace = $root.ProtoBoxedMeasure.fromObject(object.interColumnSpace); } if (object.positionOffset != null) { if (typeof object.positionOffset !== "object") throw TypeError(".ProtoColumnSettings.positionOffset: object expected"); - message.positionOffset = $root.ProtoBoxedMeasure.fromObject(object.positionOffset, _depth + 1); + message.positionOffset = $root.ProtoBoxedMeasure.fromObject(object.positionOffset); + } + switch (object.positionMode) { + default: + if (typeof object.positionMode === "number") { + message.positionMode = object.positionMode; + break; + } + break; + case "CENTER": + case 0: + message.positionMode = 0; + break; + case "LEFT": + case 1: + message.positionMode = 1; + break; + case "FOLIO": + case 2: + message.positionMode = 2; + break; + case "RIGHT": + case 3: + message.positionMode = 3; + break; + case "REVERSE_FOLIO": + case 4: + message.positionMode = 4; + break; } - if (object.positionMode !== 0 && (typeof object.positionMode !== "string" || $root.ProtoPositionMode[object.positionMode] !== 0)) - switch (object.positionMode) { - default: - if (typeof object.positionMode === "number") { - message.positionMode = object.positionMode; - break; - } - break; - case "CENTER": - case 0: - message.positionMode = 0; - break; - case "LEFT": - case 1: - message.positionMode = 1; - break; - case "FOLIO": - case 2: - message.positionMode = 2; - break; - case "RIGHT": - case 3: - message.positionMode = 3; - break; - case "REVERSE_FOLIO": - case 4: - message.positionMode = 4; - break; - } if (object.outsideMargin != null) { if (typeof object.outsideMargin !== "object") throw TypeError(".ProtoColumnSettings.outsideMargin: object expected"); - message.outsideMargin = $root.ProtoBoxedMeasure.fromObject(object.outsideMargin, _depth + 1); + message.outsideMargin = $root.ProtoBoxedMeasure.fromObject(object.outsideMargin); } return message; }; @@ -9529,17 +8346,18 @@ $root.ProtoColumnSettings = (function() { }; /** - * Gets the type url for ProtoColumnSettings + * Gets the default type url for ProtoColumnSettings * @function getTypeUrl * @memberof ProtoColumnSettings * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoColumnSettings.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoColumnSettings"; + ProtoColumnSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoColumnSettings"; }; return ProtoColumnSettings; @@ -9558,7 +8376,6 @@ $root.ProtoGraphicState = (function() { * @property {IProtoBoxedBool|null} [superscript] ProtoGraphicState superscript * @property {IProtoBoxedBool|null} [underline] ProtoGraphicState underline * @property {IProtoBoxedBool|null} [strikethrough] ProtoGraphicState strikethrough - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -9568,13 +8385,12 @@ $root.ProtoGraphicState = (function() { * @implements IProtoGraphicState * @constructor * @param {IProtoGraphicState=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoGraphicState(properties) { this.colorStack = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -9673,9 +8489,6 @@ $root.ProtoGraphicState = (function() { $root.ProtoBoxedBool.encode(message.underline, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); if (message.strikethrough != null && Object.hasOwnProperty.call(message, "strikethrough")) $root.ProtoBoxedBool.encode(message.strikethrough, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -9703,74 +8516,48 @@ $root.ProtoGraphicState = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoGraphicState.decode = function decode(reader, length, _end, _depth, _target) { + ProtoGraphicState.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoGraphicState(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoGraphicState(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.bold); - continue; + message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.italic); - continue; + message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.colorStack && message.colorStack.length)) message.colorStack = []; - message.colorStack.push($root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message.colorStack.push($root.ProtoColor.decode(reader, reader.uint32())); + break; } case 4: { - if (wireType !== 2) - break; - message.subscript = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.subscript); - continue; + message.subscript = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; - message.superscript = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.superscript); - continue; + message.superscript = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - message.underline = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.underline); - continue; + message.underline = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.strikethrough = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.strikethrough); - continue; + message.strikethrough = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -9798,20 +8585,16 @@ $root.ProtoGraphicState = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoGraphicState.verify = function verify(message, _depth) { + ProtoGraphicState.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.bold != null && message.hasOwnProperty("bold")) { - var error = $root.ProtoBoxedBool.verify(message.bold, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.bold); if (error) return "bold." + error; } if (message.italic != null && message.hasOwnProperty("italic")) { - var error = $root.ProtoBoxedBool.verify(message.italic, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.italic); if (error) return "italic." + error; } @@ -9819,28 +8602,28 @@ $root.ProtoGraphicState = (function() { if (!Array.isArray(message.colorStack)) return "colorStack: array expected"; for (var i = 0; i < message.colorStack.length; ++i) { - var error = $root.ProtoColor.verify(message.colorStack[i], _depth + 1); + var error = $root.ProtoColor.verify(message.colorStack[i]); if (error) return "colorStack." + error; } } if (message.subscript != null && message.hasOwnProperty("subscript")) { - var error = $root.ProtoBoxedBool.verify(message.subscript, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.subscript); if (error) return "subscript." + error; } if (message.superscript != null && message.hasOwnProperty("superscript")) { - var error = $root.ProtoBoxedBool.verify(message.superscript, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.superscript); if (error) return "superscript." + error; } if (message.underline != null && message.hasOwnProperty("underline")) { - var error = $root.ProtoBoxedBool.verify(message.underline, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.underline); if (error) return "underline." + error; } if (message.strikethrough != null && message.hasOwnProperty("strikethrough")) { - var error = $root.ProtoBoxedBool.verify(message.strikethrough, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.strikethrough); if (error) return "strikethrough." + error; } @@ -9855,53 +8638,49 @@ $root.ProtoGraphicState = (function() { * @param {Object.} object Plain object * @returns {ProtoGraphicState} ProtoGraphicState */ - ProtoGraphicState.fromObject = function fromObject(object, _depth) { + ProtoGraphicState.fromObject = function fromObject(object) { if (object instanceof $root.ProtoGraphicState) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoGraphicState(); if (object.bold != null) { if (typeof object.bold !== "object") throw TypeError(".ProtoGraphicState.bold: object expected"); - message.bold = $root.ProtoBoxedBool.fromObject(object.bold, _depth + 1); + message.bold = $root.ProtoBoxedBool.fromObject(object.bold); } if (object.italic != null) { if (typeof object.italic !== "object") throw TypeError(".ProtoGraphicState.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic, _depth + 1); + message.italic = $root.ProtoBoxedBool.fromObject(object.italic); } if (object.colorStack) { if (!Array.isArray(object.colorStack)) throw TypeError(".ProtoGraphicState.colorStack: array expected"); - message.colorStack = Array(object.colorStack.length); + message.colorStack = []; for (var i = 0; i < object.colorStack.length; ++i) { if (typeof object.colorStack[i] !== "object") throw TypeError(".ProtoGraphicState.colorStack: object expected"); - message.colorStack[i] = $root.ProtoColor.fromObject(object.colorStack[i], _depth + 1); + message.colorStack[i] = $root.ProtoColor.fromObject(object.colorStack[i]); } } if (object.subscript != null) { if (typeof object.subscript !== "object") throw TypeError(".ProtoGraphicState.subscript: object expected"); - message.subscript = $root.ProtoBoxedBool.fromObject(object.subscript, _depth + 1); + message.subscript = $root.ProtoBoxedBool.fromObject(object.subscript); } if (object.superscript != null) { if (typeof object.superscript !== "object") throw TypeError(".ProtoGraphicState.superscript: object expected"); - message.superscript = $root.ProtoBoxedBool.fromObject(object.superscript, _depth + 1); + message.superscript = $root.ProtoBoxedBool.fromObject(object.superscript); } if (object.underline != null) { if (typeof object.underline !== "object") throw TypeError(".ProtoGraphicState.underline: object expected"); - message.underline = $root.ProtoBoxedBool.fromObject(object.underline, _depth + 1); + message.underline = $root.ProtoBoxedBool.fromObject(object.underline); } if (object.strikethrough != null) { if (typeof object.strikethrough !== "object") throw TypeError(".ProtoGraphicState.strikethrough: object expected"); - message.strikethrough = $root.ProtoBoxedBool.fromObject(object.strikethrough, _depth + 1); + message.strikethrough = $root.ProtoBoxedBool.fromObject(object.strikethrough); } return message; }; @@ -9934,7 +8713,7 @@ $root.ProtoGraphicState = (function() { if (message.italic != null && message.hasOwnProperty("italic")) object.italic = $root.ProtoBoxedBool.toObject(message.italic, options); if (message.colorStack && message.colorStack.length) { - object.colorStack = Array(message.colorStack.length); + object.colorStack = []; for (var j = 0; j < message.colorStack.length; ++j) object.colorStack[j] = $root.ProtoColor.toObject(message.colorStack[j], options); } @@ -9961,17 +8740,18 @@ $root.ProtoGraphicState = (function() { }; /** - * Gets the type url for ProtoGraphicState + * Gets the default type url for ProtoGraphicState * @function getTypeUrl * @memberof ProtoGraphicState * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoGraphicState.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoGraphicState"; + ProtoGraphicState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoGraphicState"; }; return ProtoGraphicState; @@ -9983,7 +8763,6 @@ $root.ProtoHtmlParser = (function() { * Properties of a ProtoHtmlParser. * @name IProtoHtmlParser * @interface IProtoHtmlParser - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -9993,12 +8772,11 @@ $root.ProtoHtmlParser = (function() { * @implements IProtoHtmlParser * @constructor * @param {IProtoHtmlParser=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoHtmlParser(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -10026,9 +8804,6 @@ $root.ProtoHtmlParser = (function() { ProtoHtmlParser.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -10056,27 +8831,18 @@ $root.ProtoHtmlParser = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoHtmlParser.decode = function decode(reader, length, _end, _depth, _target) { + ProtoHtmlParser.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoHtmlParser(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoHtmlParser(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); break; } - reader.skipType(tag & 7, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -10104,13 +8870,9 @@ $root.ProtoHtmlParser = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoHtmlParser.verify = function verify(message, _depth) { + ProtoHtmlParser.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; return null; }; @@ -10122,13 +8884,9 @@ $root.ProtoHtmlParser = (function() { * @param {Object.} object Plain object * @returns {ProtoHtmlParser} ProtoHtmlParser */ - ProtoHtmlParser.fromObject = function fromObject(object, _depth) { + ProtoHtmlParser.fromObject = function fromObject(object) { if (object instanceof $root.ProtoHtmlParser) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); return new $root.ProtoHtmlParser(); }; @@ -10157,17 +8915,18 @@ $root.ProtoHtmlParser = (function() { }; /** - * Gets the type url for ProtoHtmlParser + * Gets the default type url for ProtoHtmlParser * @function getTypeUrl * @memberof ProtoHtmlParser * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoHtmlParser.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoHtmlParser"; + ProtoHtmlParser.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoHtmlParser"; }; return ProtoHtmlParser; @@ -10204,7 +8963,6 @@ $root.ProtoUnderlineSpec = (function() { * @property {IProtoColor|null} [color] ProtoUnderlineSpec color * @property {number|null} [offsetEm] ProtoUnderlineSpec offsetEm * @property {ProtoRuleStyle|null} [style] ProtoUnderlineSpec style - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -10214,12 +8972,11 @@ $root.ProtoUnderlineSpec = (function() { * @implements IProtoUnderlineSpec * @constructor * @param {IProtoUnderlineSpec=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoUnderlineSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -10297,9 +9054,6 @@ $root.ProtoUnderlineSpec = (function() { writer.uint32(/* id 4, wireType 0 =*/32).int32(message.offsetEm); if (message.style != null && Object.hasOwnProperty.call(message, "style")) writer.uint32(/* id 5, wireType 0 =*/40).int32(message.style); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -10327,69 +9081,38 @@ $root.ProtoUnderlineSpec = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoUnderlineSpec.decode = function decode(reader, length, _end, _depth, _target) { + ProtoUnderlineSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoUnderlineSpec(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoUnderlineSpec(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.weight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.weight); - continue; + message.weight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.mode = value; - else - delete message.mode; - continue; + message.mode = reader.int32(); + break; } case 3: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.offsetEm = value; - else - delete message.offsetEm; - continue; + message.offsetEm = reader.int32(); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.style = value; - else - delete message.style; - continue; + message.style = reader.int32(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -10417,15 +9140,11 @@ $root.ProtoUnderlineSpec = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoUnderlineSpec.verify = function verify(message, _depth) { + ProtoUnderlineSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.weight != null && message.hasOwnProperty("weight")) { - var error = $root.ProtoMeasure.verify(message.weight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.weight); if (error) return "weight." + error; } @@ -10441,7 +9160,7 @@ $root.ProtoUnderlineSpec = (function() { break; } if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } @@ -10478,117 +9197,110 @@ $root.ProtoUnderlineSpec = (function() { * @param {Object.} object Plain object * @returns {ProtoUnderlineSpec} ProtoUnderlineSpec */ - ProtoUnderlineSpec.fromObject = function fromObject(object, _depth) { + ProtoUnderlineSpec.fromObject = function fromObject(object) { if (object instanceof $root.ProtoUnderlineSpec) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoUnderlineSpec(); if (object.weight != null) { if (typeof object.weight !== "object") throw TypeError(".ProtoUnderlineSpec.weight: object expected"); - message.weight = $root.ProtoMeasure.fromObject(object.weight, _depth + 1); + message.weight = $root.ProtoMeasure.fromObject(object.weight); + } + switch (object.mode) { + default: + if (typeof object.mode === "number") { + message.mode = object.mode; + break; + } + break; + case "DUMMY_UNDERLINE_MODE": + case 0: + message.mode = 0; + break; + case "WORDS_NO_BLANKS": + case 1: + message.mode = 1; + break; + case "WORDS_AND_BLANKS": + case 2: + message.mode = 2; + break; + case "CHARACTERS_NO_BLANKS": + case 3: + message.mode = 3; + break; + case "CHARACTERS_AND_BLANKS": + case 4: + message.mode = 4; + break; } - if (object.mode !== 0 && (typeof object.mode !== "string" || $root.ProtoUnderlineMode[object.mode] !== 0)) - switch (object.mode) { - default: - if (typeof object.mode === "number") { - message.mode = object.mode; - break; - } - break; - case "DUMMY_UNDERLINE_MODE": - case 0: - message.mode = 0; - break; - case "WORDS_NO_BLANKS": - case 1: - message.mode = 1; - break; - case "WORDS_AND_BLANKS": - case 2: - message.mode = 2; - break; - case "CHARACTERS_NO_BLANKS": - case 3: - message.mode = 3; - break; - case "CHARACTERS_AND_BLANKS": - case 4: - message.mode = 4; - break; - } if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoUnderlineSpec.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.offsetEm != null) - if (Number(object.offsetEm) !== 0) - message.offsetEm = object.offsetEm | 0; - if (object.style !== 0 && (typeof object.style !== "string" || $root.ProtoRuleStyle[object.style] !== 0)) - switch (object.style) { - default: - if (typeof object.style === "number") { - message.style = object.style; - break; - } - break; - case "DUMMY_RULE_STYLE": - case 0: - message.style = 0; - break; - case "SOLID": - case 1: - message.style = 1; - break; - case "SPARSE_SHADING": - case 2: - message.style = 2; - break; - case "MEDIUM_SHADING": - case 3: - message.style = 3; - break; - case "DENSE_SHADING": - case 4: - message.style = 4; - break; - case "LIGHT_DOTTED": - case 5: - message.style = 5; - break; - case "MEDIUM_DOTTED": - case 6: - message.style = 6; - break; - case "HEAVY_DOTTED": - case 7: - message.style = 7; - break; - case "LIGHT_DASHED": - case 8: - message.style = 8; - break; - case "MEDIUM_DASHED": - case 9: - message.style = 9; - break; - case "HEAVY_DASHED": - case 10: - message.style = 10; - break; - case "DASH_PATTERN": - case 11: - message.style = 11; - break; - case "DOUBLE": - case 254: - message.style = 254; - break; - } + message.offsetEm = object.offsetEm | 0; + switch (object.style) { + default: + if (typeof object.style === "number") { + message.style = object.style; + break; + } + break; + case "DUMMY_RULE_STYLE": + case 0: + message.style = 0; + break; + case "SOLID": + case 1: + message.style = 1; + break; + case "SPARSE_SHADING": + case 2: + message.style = 2; + break; + case "MEDIUM_SHADING": + case 3: + message.style = 3; + break; + case "DENSE_SHADING": + case 4: + message.style = 4; + break; + case "LIGHT_DOTTED": + case 5: + message.style = 5; + break; + case "MEDIUM_DOTTED": + case 6: + message.style = 6; + break; + case "HEAVY_DOTTED": + case 7: + message.style = 7; + break; + case "LIGHT_DASHED": + case 8: + message.style = 8; + break; + case "MEDIUM_DASHED": + case 9: + message.style = 9; + break; + case "HEAVY_DASHED": + case 10: + message.style = 10; + break; + case "DASH_PATTERN": + case 11: + message.style = 11; + break; + case "DOUBLE": + case 254: + message.style = 254; + break; + } return message; }; @@ -10637,17 +9349,18 @@ $root.ProtoUnderlineSpec = (function() { }; /** - * Gets the type url for ProtoUnderlineSpec + * Gets the default type url for ProtoUnderlineSpec * @function getTypeUrl * @memberof ProtoUnderlineSpec * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoUnderlineSpec.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoUnderlineSpec"; + ProtoUnderlineSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoUnderlineSpec"; }; return ProtoUnderlineSpec; @@ -10661,7 +9374,6 @@ $root.ProtoBoxedUnderlineSpec = (function() { * @interface IProtoBoxedUnderlineSpec * @property {IProtoUnderlineSpec|null} [value] ProtoBoxedUnderlineSpec value * @property {boolean|null} [isNull] ProtoBoxedUnderlineSpec isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -10671,12 +9383,11 @@ $root.ProtoBoxedUnderlineSpec = (function() { * @implements IProtoBoxedUnderlineSpec * @constructor * @param {IProtoBoxedUnderlineSpec=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedUnderlineSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -10724,9 +9435,6 @@ $root.ProtoBoxedUnderlineSpec = (function() { $root.ProtoUnderlineSpec.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -10754,45 +9462,26 @@ $root.ProtoBoxedUnderlineSpec = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedUnderlineSpec.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedUnderlineSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedUnderlineSpec(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedUnderlineSpec(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.value = $root.ProtoUnderlineSpec.decode(reader, reader.uint32(), undefined, _depth + 1, message.value); - continue; + message.value = $root.ProtoUnderlineSpec.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -10820,15 +9509,11 @@ $root.ProtoBoxedUnderlineSpec = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedUnderlineSpec.verify = function verify(message, _depth) { + ProtoBoxedUnderlineSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoUnderlineSpec.verify(message.value, _depth + 1); + var error = $root.ProtoUnderlineSpec.verify(message.value); if (error) return "value." + error; } @@ -10846,22 +9531,17 @@ $root.ProtoBoxedUnderlineSpec = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedUnderlineSpec} ProtoBoxedUnderlineSpec */ - ProtoBoxedUnderlineSpec.fromObject = function fromObject(object, _depth) { + ProtoBoxedUnderlineSpec.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedUnderlineSpec) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedUnderlineSpec(); if (object.value != null) { if (typeof object.value !== "object") throw TypeError(".ProtoBoxedUnderlineSpec.value: object expected"); - message.value = $root.ProtoUnderlineSpec.fromObject(object.value, _depth + 1); + message.value = $root.ProtoUnderlineSpec.fromObject(object.value); } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -10901,17 +9581,18 @@ $root.ProtoBoxedUnderlineSpec = (function() { }; /** - * Gets the type url for ProtoBoxedUnderlineSpec + * Gets the default type url for ProtoBoxedUnderlineSpec * @function getTypeUrl * @memberof ProtoBoxedUnderlineSpec * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedUnderlineSpec.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedUnderlineSpec"; + ProtoBoxedUnderlineSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedUnderlineSpec"; }; return ProtoBoxedUnderlineSpec; @@ -10927,7 +9608,6 @@ $root.ProtoCropSettings = (function() { * @property {IProtoBoxedMeasure|null} [y] ProtoCropSettings y * @property {IProtoBoxedMeasure|null} [width] ProtoCropSettings width * @property {IProtoBoxedMeasure|null} [height] ProtoCropSettings height - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -10937,12 +9617,11 @@ $root.ProtoCropSettings = (function() { * @implements IProtoCropSettings * @constructor * @param {IProtoCropSettings=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoCropSettings(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -11010,9 +9689,6 @@ $root.ProtoCropSettings = (function() { $root.ProtoBoxedMeasure.encode(message.width, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.height != null && Object.hasOwnProperty.call(message, "height")) $root.ProtoBoxedMeasure.encode(message.height, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -11040,54 +9716,34 @@ $root.ProtoCropSettings = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoCropSettings.decode = function decode(reader, length, _end, _depth, _target) { + ProtoCropSettings.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoCropSettings(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCropSettings(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.x = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.x); - continue; + message.x = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.y = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.y); - continue; + message.y = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.height); - continue; + message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -11115,30 +9771,26 @@ $root.ProtoCropSettings = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoCropSettings.verify = function verify(message, _depth) { + ProtoCropSettings.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.x != null && message.hasOwnProperty("x")) { - var error = $root.ProtoBoxedMeasure.verify(message.x, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.x); if (error) return "x." + error; } if (message.y != null && message.hasOwnProperty("y")) { - var error = $root.ProtoBoxedMeasure.verify(message.y, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.y); if (error) return "y." + error; } if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoBoxedMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.width); if (error) return "width." + error; } if (message.height != null && message.hasOwnProperty("height")) { - var error = $root.ProtoBoxedMeasure.verify(message.height, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.height); if (error) return "height." + error; } @@ -11153,33 +9805,29 @@ $root.ProtoCropSettings = (function() { * @param {Object.} object Plain object * @returns {ProtoCropSettings} ProtoCropSettings */ - ProtoCropSettings.fromObject = function fromObject(object, _depth) { + ProtoCropSettings.fromObject = function fromObject(object) { if (object instanceof $root.ProtoCropSettings) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoCropSettings(); if (object.x != null) { if (typeof object.x !== "object") throw TypeError(".ProtoCropSettings.x: object expected"); - message.x = $root.ProtoBoxedMeasure.fromObject(object.x, _depth + 1); + message.x = $root.ProtoBoxedMeasure.fromObject(object.x); } if (object.y != null) { if (typeof object.y !== "object") throw TypeError(".ProtoCropSettings.y: object expected"); - message.y = $root.ProtoBoxedMeasure.fromObject(object.y, _depth + 1); + message.y = $root.ProtoBoxedMeasure.fromObject(object.y); } if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoCropSettings.width: object expected"); - message.width = $root.ProtoBoxedMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoBoxedMeasure.fromObject(object.width); } if (object.height != null) { if (typeof object.height !== "object") throw TypeError(".ProtoCropSettings.height: object expected"); - message.height = $root.ProtoBoxedMeasure.fromObject(object.height, _depth + 1); + message.height = $root.ProtoBoxedMeasure.fromObject(object.height); } return message; }; @@ -11226,17 +9874,18 @@ $root.ProtoCropSettings = (function() { }; /** - * Gets the type url for ProtoCropSettings + * Gets the default type url for ProtoCropSettings * @function getTypeUrl * @memberof ProtoCropSettings * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoCropSettings.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoCropSettings"; + ProtoCropSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoCropSettings"; }; return ProtoCropSettings; @@ -11250,7 +9899,6 @@ $root.ProtoFlipSettings = (function() { * @interface IProtoFlipSettings * @property {boolean|null} [x] ProtoFlipSettings x * @property {boolean|null} [y] ProtoFlipSettings y - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -11260,12 +9908,11 @@ $root.ProtoFlipSettings = (function() { * @implements IProtoFlipSettings * @constructor * @param {IProtoFlipSettings=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoFlipSettings(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -11313,9 +9960,6 @@ $root.ProtoFlipSettings = (function() { writer.uint32(/* id 1, wireType 0 =*/8).bool(message.x); if (message.y != null && Object.hasOwnProperty.call(message, "y")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.y); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -11343,48 +9987,26 @@ $root.ProtoFlipSettings = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoFlipSettings.decode = function decode(reader, length, _end, _depth, _target) { + ProtoFlipSettings.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoFlipSettings(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoFlipSettings(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.x = value; - else - delete message.x; - continue; + message.x = reader.bool(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.y = value; - else - delete message.y; - continue; + message.y = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -11412,13 +10034,9 @@ $root.ProtoFlipSettings = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoFlipSettings.verify = function verify(message, _depth) { + ProtoFlipSettings.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.x != null && message.hasOwnProperty("x")) if (typeof message.x !== "boolean") return "x: boolean expected"; @@ -11436,20 +10054,14 @@ $root.ProtoFlipSettings = (function() { * @param {Object.} object Plain object * @returns {ProtoFlipSettings} ProtoFlipSettings */ - ProtoFlipSettings.fromObject = function fromObject(object, _depth) { + ProtoFlipSettings.fromObject = function fromObject(object) { if (object instanceof $root.ProtoFlipSettings) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoFlipSettings(); if (object.x != null) - if (object.x) - message.x = Boolean(object.x); + message.x = Boolean(object.x); if (object.y != null) - if (object.y) - message.y = Boolean(object.y); + message.y = Boolean(object.y); return message; }; @@ -11489,17 +10101,18 @@ $root.ProtoFlipSettings = (function() { }; /** - * Gets the type url for ProtoFlipSettings + * Gets the default type url for ProtoFlipSettings * @function getTypeUrl * @memberof ProtoFlipSettings * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoFlipSettings.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoFlipSettings"; + ProtoFlipSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoFlipSettings"; }; return ProtoFlipSettings; @@ -11555,7 +10168,6 @@ $root.ProtoOption = (function() { * @interface IProtoOption * @property {string|null} [key] ProtoOption key * @property {string|null} [value] ProtoOption value - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -11565,12 +10177,11 @@ $root.ProtoOption = (function() { * @implements IProtoOption * @constructor * @param {IProtoOption=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoOption(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -11618,9 +10229,6 @@ $root.ProtoOption = (function() { writer.uint32(/* id 1, wireType 2 =*/10).string(message.key); if (message.value != null && Object.hasOwnProperty.call(message, "value")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -11648,48 +10256,26 @@ $root.ProtoOption = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoOption.decode = function decode(reader, length, _end, _depth, _target) { + ProtoOption.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoOption(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoOption(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.key = value; - else - delete message.key; - continue; + message.key = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.value = value; - else - delete message.value; - continue; + message.value = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -11717,13 +10303,9 @@ $root.ProtoOption = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoOption.verify = function verify(message, _depth) { + ProtoOption.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.key != null && message.hasOwnProperty("key")) if (!$util.isString(message.key)) return "key: string expected"; @@ -11741,20 +10323,14 @@ $root.ProtoOption = (function() { * @param {Object.} object Plain object * @returns {ProtoOption} ProtoOption */ - ProtoOption.fromObject = function fromObject(object, _depth) { + ProtoOption.fromObject = function fromObject(object) { if (object instanceof $root.ProtoOption) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoOption(); if (object.key != null) - if (typeof object.key !== "string" || object.key.length) - message.key = String(object.key); + message.key = String(object.key); if (object.value != null) - if (typeof object.value !== "string" || object.value.length) - message.value = String(object.value); + message.value = String(object.value); return message; }; @@ -11794,17 +10370,18 @@ $root.ProtoOption = (function() { }; /** - * Gets the type url for ProtoOption + * Gets the default type url for ProtoOption * @function getTypeUrl * @memberof ProtoOption * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoOption.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoOption"; + ProtoOption.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoOption"; }; return ProtoOption; @@ -11849,7 +10426,6 @@ $root.ProtoBaseInputField = (function() { * @property {string|null} [pdfAltText] ProtoBaseInputField pdfAltText * @property {Array.|null} [comChannelUUIDs] ProtoBaseInputField comChannelUUIDs * @property {string|null} [uuid] ProtoBaseInputField uuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -11859,13 +10435,12 @@ $root.ProtoBaseInputField = (function() { * @implements IProtoBaseInputField * @constructor * @param {IProtoBaseInputField=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBaseInputField(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -12044,9 +10619,6 @@ $root.ProtoBaseInputField = (function() { writer.uint32(/* id 14, wireType 2 =*/114).string(message.comChannelUUIDs[i]); if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) writer.uint32(/* id 15, wireType 2 =*/122).string(message.uuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -12074,161 +10646,80 @@ $root.ProtoBaseInputField = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBaseInputField.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBaseInputField.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBaseInputField(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBaseInputField(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.meta = value; - else - delete message.meta; - continue; + message.meta = reader.bool(); + break; } case 3: { - if (wireType !== 2) - break; - message.value = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.value); - continue; + message.value = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.formatUUID = value; - else - delete message.formatUUID; - continue; + message.formatUUID = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.dataTypeUUID = value; - else - delete message.dataTypeUUID; - continue; + message.dataTypeUUID = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.onChangeCode = value; - else - delete message.onChangeCode; - continue; + message.onChangeCode = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.placeholder = value; - else - delete message.placeholder; - continue; + message.placeholder = reader.string(); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.bindDefaultValue = value; - else - delete message.bindDefaultValue; - continue; + message.bindDefaultValue = reader.bool(); + break; } case 9: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.defaultValueCode = value; - else - delete message.defaultValueCode; - continue; + message.defaultValueCode = reader.string(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.readonly = value; - else - delete message.readonly; - continue; + message.readonly = reader.bool(); + break; } case 11: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.pdfPrintingBehavior = value; - else - delete message.pdfPrintingBehavior; - continue; + message.pdfPrintingBehavior = reader.int32(); + break; } case 12: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.pdfFormName = value; - else - delete message.pdfFormName; - continue; + message.pdfFormName = reader.string(); + break; } case 13: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.pdfAltText = value; - else - delete message.pdfAltText; - continue; + message.pdfAltText = reader.string(); + break; } case 14: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 15: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -12256,13 +10747,9 @@ $root.ProtoBaseInputField = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBaseInputField.verify = function verify(message, _depth) { + ProtoBaseInputField.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.name != null && message.hasOwnProperty("name")) if (!$util.isString(message.name)) return "name: string expected"; @@ -12270,7 +10757,7 @@ $root.ProtoBaseInputField = (function() { if (typeof message.meta !== "boolean") return "meta: boolean expected"; if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoBoxedString.verify(message.value, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.value); if (error) return "value." + error; } @@ -12332,87 +10819,70 @@ $root.ProtoBaseInputField = (function() { * @param {Object.} object Plain object * @returns {ProtoBaseInputField} ProtoBaseInputField */ - ProtoBaseInputField.fromObject = function fromObject(object, _depth) { + ProtoBaseInputField.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBaseInputField) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBaseInputField(); if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.meta != null) - if (object.meta) - message.meta = Boolean(object.meta); + message.meta = Boolean(object.meta); if (object.value != null) { if (typeof object.value !== "object") throw TypeError(".ProtoBaseInputField.value: object expected"); - message.value = $root.ProtoBoxedString.fromObject(object.value, _depth + 1); + message.value = $root.ProtoBoxedString.fromObject(object.value); } if (object.formatUUID != null) - if (typeof object.formatUUID !== "string" || object.formatUUID.length) - message.formatUUID = String(object.formatUUID); + message.formatUUID = String(object.formatUUID); if (object.dataTypeUUID != null) - if (typeof object.dataTypeUUID !== "string" || object.dataTypeUUID.length) - message.dataTypeUUID = String(object.dataTypeUUID); + message.dataTypeUUID = String(object.dataTypeUUID); if (object.onChangeCode != null) - if (typeof object.onChangeCode !== "string" || object.onChangeCode.length) - message.onChangeCode = String(object.onChangeCode); + message.onChangeCode = String(object.onChangeCode); if (object.placeholder != null) - if (typeof object.placeholder !== "string" || object.placeholder.length) - message.placeholder = String(object.placeholder); + message.placeholder = String(object.placeholder); if (object.bindDefaultValue != null) - if (object.bindDefaultValue) - message.bindDefaultValue = Boolean(object.bindDefaultValue); + message.bindDefaultValue = Boolean(object.bindDefaultValue); if (object.defaultValueCode != null) - if (typeof object.defaultValueCode !== "string" || object.defaultValueCode.length) - message.defaultValueCode = String(object.defaultValueCode); + message.defaultValueCode = String(object.defaultValueCode); if (object.readonly != null) - if (object.readonly) - message.readonly = Boolean(object.readonly); - if (object.pdfPrintingBehavior !== 0 && (typeof object.pdfPrintingBehavior !== "string" || $root.PDFPrintingBehavior[object.pdfPrintingBehavior] !== 0)) - switch (object.pdfPrintingBehavior) { - default: - if (typeof object.pdfPrintingBehavior === "number") { - message.pdfPrintingBehavior = object.pdfPrintingBehavior; - break; - } - break; - case "PDF_PRINTING_BEHAVIOR_DO_NOT_USE_AT_ALL": - case 0: - message.pdfPrintingBehavior = 0; - break; - case "PDF_PRINTING_BEHAVIOR_INPUT": - case 1: - message.pdfPrintingBehavior = 1; - break; - case "PDF_PRINTING_BEHAVIOR_TEXT": - case 2: - message.pdfPrintingBehavior = 2; - break; - case "PDF_PRINTING_BEHAVIOR_INHERIT": - case 3: - message.pdfPrintingBehavior = 3; - break; - } + message.readonly = Boolean(object.readonly); + switch (object.pdfPrintingBehavior) { + default: + if (typeof object.pdfPrintingBehavior === "number") { + message.pdfPrintingBehavior = object.pdfPrintingBehavior; + break; + } + break; + case "PDF_PRINTING_BEHAVIOR_DO_NOT_USE_AT_ALL": + case 0: + message.pdfPrintingBehavior = 0; + break; + case "PDF_PRINTING_BEHAVIOR_INPUT": + case 1: + message.pdfPrintingBehavior = 1; + break; + case "PDF_PRINTING_BEHAVIOR_TEXT": + case 2: + message.pdfPrintingBehavior = 2; + break; + case "PDF_PRINTING_BEHAVIOR_INHERIT": + case 3: + message.pdfPrintingBehavior = 3; + break; + } if (object.pdfFormName != null) - if (typeof object.pdfFormName !== "string" || object.pdfFormName.length) - message.pdfFormName = String(object.pdfFormName); + message.pdfFormName = String(object.pdfFormName); if (object.pdfAltText != null) - if (typeof object.pdfAltText !== "string" || object.pdfAltText.length) - message.pdfAltText = String(object.pdfAltText); + message.pdfAltText = String(object.pdfAltText); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoBaseInputField.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); return message; }; @@ -12474,7 +10944,7 @@ $root.ProtoBaseInputField = (function() { if (message.pdfAltText != null && message.hasOwnProperty("pdfAltText")) object.pdfAltText = message.pdfAltText; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -12495,17 +10965,18 @@ $root.ProtoBaseInputField = (function() { }; /** - * Gets the type url for ProtoBaseInputField + * Gets the default type url for ProtoBaseInputField * @function getTypeUrl * @memberof ProtoBaseInputField * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBaseInputField.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBaseInputField"; + ProtoBaseInputField.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBaseInputField"; }; return ProtoBaseInputField; @@ -12539,7 +11010,6 @@ $root.ProtoDocumentElement = (function() { * @interface IProtoDocumentElement * @property {IProtoDocumentElement|null} [parent] ProtoDocumentElement parent * @property {Array.|null} [comChannelUUIDs] ProtoDocumentElement comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -12549,13 +11019,12 @@ $root.ProtoDocumentElement = (function() { * @implements IProtoDocumentElement * @constructor * @param {IProtoDocumentElement=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoDocumentElement(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -12604,9 +11073,6 @@ $root.ProtoDocumentElement = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -12634,44 +11100,28 @@ $root.ProtoDocumentElement = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoDocumentElement.decode = function decode(reader, length, _end, _depth, _target) { + ProtoDocumentElement.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoDocumentElement(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDocumentElement(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -12699,15 +11149,11 @@ $root.ProtoDocumentElement = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoDocumentElement.verify = function verify(message, _depth) { + ProtoDocumentElement.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -12729,23 +11175,19 @@ $root.ProtoDocumentElement = (function() { * @param {Object.} object Plain object * @returns {ProtoDocumentElement} ProtoDocumentElement */ - ProtoDocumentElement.fromObject = function fromObject(object, _depth) { + ProtoDocumentElement.fromObject = function fromObject(object) { if (object instanceof $root.ProtoDocumentElement) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoDocumentElement(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoDocumentElement.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoDocumentElement.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -12772,7 +11214,7 @@ $root.ProtoDocumentElement = (function() { if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -12791,17 +11233,18 @@ $root.ProtoDocumentElement = (function() { }; /** - * Gets the type url for ProtoDocumentElement + * Gets the default type url for ProtoDocumentElement * @function getTypeUrl * @memberof ProtoDocumentElement * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoDocumentElement.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoDocumentElement"; + ProtoDocumentElement.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoDocumentElement"; }; return ProtoDocumentElement; @@ -12816,7 +11259,6 @@ $root.ProtoBranchDocumentElement = (function() { * @property {Array.|null} [_children] ProtoBranchDocumentElement _children * @property {IProtoDocumentElement|null} [parent] ProtoBranchDocumentElement parent * @property {Array.|null} [comChannelUUIDs] ProtoBranchDocumentElement comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -12826,14 +11268,13 @@ $root.ProtoBranchDocumentElement = (function() { * @implements IProtoBranchDocumentElement * @constructor * @param {IProtoBranchDocumentElement=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBranchDocumentElement(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -12893,9 +11334,6 @@ $root.ProtoBranchDocumentElement = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -12923,52 +11361,34 @@ $root.ProtoBranchDocumentElement = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBranchDocumentElement.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBranchDocumentElement.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBranchDocumentElement(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBranchDocumentElement(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -12996,24 +11416,20 @@ $root.ProtoBranchDocumentElement = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBranchDocumentElement.verify = function verify(message, _depth) { + ProtoBranchDocumentElement.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -13035,33 +11451,29 @@ $root.ProtoBranchDocumentElement = (function() { * @param {Object.} object Plain object * @returns {ProtoBranchDocumentElement} ProtoBranchDocumentElement */ - ProtoBranchDocumentElement.fromObject = function fromObject(object, _depth) { + ProtoBranchDocumentElement.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBranchDocumentElement) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBranchDocumentElement(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoBranchDocumentElement._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoBranchDocumentElement._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoBranchDocumentElement.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoBranchDocumentElement.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -13088,14 +11500,14 @@ $root.ProtoBranchDocumentElement = (function() { if (options.defaults) object.parent = null; if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -13114,17 +11526,18 @@ $root.ProtoBranchDocumentElement = (function() { }; /** - * Gets the type url for ProtoBranchDocumentElement + * Gets the default type url for ProtoBranchDocumentElement * @function getTypeUrl * @memberof ProtoBranchDocumentElement * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBranchDocumentElement.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBranchDocumentElement"; + ProtoBranchDocumentElement.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBranchDocumentElement"; }; return ProtoBranchDocumentElement; @@ -13143,7 +11556,7 @@ $root.ProtoLink = (function() { * @property {string|null} [paragraphFormatInternalName] ProtoLink paragraphFormatInternalName * @property {string|null} [urlCode] ProtoLink urlCode * @property {boolean|null} [bindUrlCode] ProtoLink bindUrlCode - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoLink uuid */ /** @@ -13153,14 +11566,13 @@ $root.ProtoLink = (function() { * @implements IProtoLink * @constructor * @param {IProtoLink=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoLink(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -13220,6 +11632,14 @@ $root.ProtoLink = (function() { */ ProtoLink.prototype.bindUrlCode = false; + /** + * ProtoLink uuid. + * @member {string} uuid + * @memberof ProtoLink + * @instance + */ + ProtoLink.prototype.uuid = ""; + /** * Creates a new ProtoLink instance using the specified properties. * @function create @@ -13260,9 +11680,8 @@ $root.ProtoLink = (function() { writer.uint32(/* id 6, wireType 2 =*/50).string(message.urlCode); if (message.bindUrlCode != null && Object.hasOwnProperty.call(message, "bindUrlCode")) writer.uint32(/* id 7, wireType 0 =*/56).bool(message.bindUrlCode); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.uuid); return writer; }; @@ -13290,91 +11709,54 @@ $root.ProtoLink = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoLink.decode = function decode(reader, length, _end, _depth, _target) { + ProtoLink.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoLink(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLink(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.url = value; - else - delete message.url; - continue; + message.url = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paragraphFormatUUID = value; - else - delete message.paragraphFormatUUID; - continue; + message.paragraphFormatUUID = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paragraphFormatInternalName = value; - else - delete message.paragraphFormatInternalName; - continue; + message.paragraphFormatInternalName = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.urlCode = value; - else - delete message.urlCode; - continue; + message.urlCode = reader.string(); + break; } case 7: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.bindUrlCode = value; - else - delete message.bindUrlCode; - continue; + message.bindUrlCode = reader.bool(); + break; + } + case 8: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -13402,18 +11784,14 @@ $root.ProtoLink = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoLink.verify = function verify(message, _depth) { + ProtoLink.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } @@ -13440,6 +11818,9 @@ $root.ProtoLink = (function() { if (message.bindUrlCode != null && message.hasOwnProperty("bindUrlCode")) if (typeof message.bindUrlCode !== "boolean") return "bindUrlCode: boolean expected"; + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -13451,46 +11832,39 @@ $root.ProtoLink = (function() { * @param {Object.} object Plain object * @returns {ProtoLink} ProtoLink */ - ProtoLink.fromObject = function fromObject(object, _depth) { + ProtoLink.fromObject = function fromObject(object) { if (object instanceof $root.ProtoLink) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoLink(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoLink._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoLink._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.url != null) - if (typeof object.url !== "string" || object.url.length) - message.url = String(object.url); + message.url = String(object.url); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoLink.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.paragraphFormatUUID != null) - if (typeof object.paragraphFormatUUID !== "string" || object.paragraphFormatUUID.length) - message.paragraphFormatUUID = String(object.paragraphFormatUUID); + message.paragraphFormatUUID = String(object.paragraphFormatUUID); if (object.paragraphFormatInternalName != null) - if (typeof object.paragraphFormatInternalName !== "string" || object.paragraphFormatInternalName.length) - message.paragraphFormatInternalName = String(object.paragraphFormatInternalName); + message.paragraphFormatInternalName = String(object.paragraphFormatInternalName); if (object.urlCode != null) - if (typeof object.urlCode !== "string" || object.urlCode.length) - message.urlCode = String(object.urlCode); + message.urlCode = String(object.urlCode); if (object.bindUrlCode != null) - if (object.bindUrlCode) - message.bindUrlCode = Boolean(object.bindUrlCode); + message.bindUrlCode = Boolean(object.bindUrlCode); + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -13517,16 +11891,17 @@ $root.ProtoLink = (function() { object.paragraphFormatInternalName = ""; object.urlCode = ""; object.bindUrlCode = false; + object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } if (message.url != null && message.hasOwnProperty("url")) object.url = message.url; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -13538,6 +11913,8 @@ $root.ProtoLink = (function() { object.urlCode = message.urlCode; if (message.bindUrlCode != null && message.hasOwnProperty("bindUrlCode")) object.bindUrlCode = message.bindUrlCode; + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -13553,17 +11930,18 @@ $root.ProtoLink = (function() { }; /** - * Gets the type url for ProtoLink + * Gets the default type url for ProtoLink * @function getTypeUrl * @memberof ProtoLink * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoLink.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoLink"; + ProtoLink.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoLink"; }; return ProtoLink; @@ -13628,7 +12006,6 @@ $root.ProtoListLevelSetting = (function() { * @property {IProtoBoxedBool|null} [italic] ProtoListLevelSetting italic * @property {ProtoNumberType|null} [numberType] ProtoListLevelSetting numberType * @property {string|null} [character] ProtoListLevelSetting character - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -13638,12 +12015,11 @@ $root.ProtoListLevelSetting = (function() { * @implements IProtoListLevelSetting * @constructor * @param {IProtoListLevelSetting=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoListLevelSetting(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -13841,9 +12217,6 @@ $root.ProtoListLevelSetting = (function() { writer.uint32(/* id 16, wireType 0 =*/128).int32(message.numberType); if (message.character != null && Object.hasOwnProperty.call(message, "character")) writer.uint32(/* id 17, wireType 2 =*/138).string(message.character); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -13871,165 +12244,86 @@ $root.ProtoListLevelSetting = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoListLevelSetting.decode = function decode(reader, length, _end, _depth, _target) { + ProtoListLevelSetting.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoListLevelSetting(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoListLevelSetting(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.listSettingName = value; - else - delete message.listSettingName; - continue; + message.listSettingName = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontSize); - continue; + message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.level = value; - else - delete message.level; - continue; + message.level = reader.int32(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.prefix = value; - else - delete message.prefix; - continue; + message.prefix = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.suffix = value; - else - delete message.suffix; - continue; + message.suffix = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fixFontFamily); - continue; + message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixBold = value; - else - delete message.fixBold; - continue; + message.fixBold = reader.bool(); + break; } case 9: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixItalic = value; - else - delete message.fixItalic; - continue; + message.fixItalic = reader.bool(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.indentionWidth = value; - else - delete message.indentionWidth; - continue; + message.indentionWidth = reader.int32(); + break; } case 11: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 12: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.imageName = value; - else - delete message.imageName; - continue; + message.imageName = reader.string(); + break; } case 13: { - if (wireType !== 2) - break; - message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontFamily); - continue; + message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 14: { - if (wireType !== 2) - break; - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.bold); - continue; + message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 15: { - if (wireType !== 2) - break; - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.italic); - continue; + message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 16: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.numberType = value; - else - delete message.numberType; - continue; + message.numberType = reader.int32(); + break; } case 17: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.character = value; - else - delete message.character; - continue; + message.character = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -14057,18 +12351,14 @@ $root.ProtoListLevelSetting = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoListLevelSetting.verify = function verify(message, _depth) { + ProtoListLevelSetting.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) if (!$util.isString(message.listSettingName)) return "listSettingName: string expected"; if (message.fontSize != null && message.hasOwnProperty("fontSize")) { - var error = $root.ProtoBoxedUint32.verify(message.fontSize, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.fontSize); if (error) return "fontSize." + error; } @@ -14091,7 +12381,7 @@ $root.ProtoListLevelSetting = (function() { if (!$util.isString(message.suffix)) return "suffix: string expected"; if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fixFontFamily); if (error) return "fixFontFamily." + error; } @@ -14105,7 +12395,7 @@ $root.ProtoListLevelSetting = (function() { if (!$util.isInteger(message.indentionWidth)) return "indentionWidth: integer expected"; if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } @@ -14113,17 +12403,17 @@ $root.ProtoListLevelSetting = (function() { if (!$util.isString(message.imageName)) return "imageName: string expected"; if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) { - var error = $root.ProtoFont.verify(message.fontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fontFamily); if (error) return "fontFamily." + error; } if (message.bold != null && message.hasOwnProperty("bold")) { - var error = $root.ProtoBoxedBool.verify(message.bold, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.bold); if (error) return "bold." + error; } if (message.italic != null && message.hasOwnProperty("italic")) { - var error = $root.ProtoBoxedBool.verify(message.italic, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.italic); if (error) return "italic." + error; } @@ -14152,121 +12442,106 @@ $root.ProtoListLevelSetting = (function() { * @param {Object.} object Plain object * @returns {ProtoListLevelSetting} ProtoListLevelSetting */ - ProtoListLevelSetting.fromObject = function fromObject(object, _depth) { + ProtoListLevelSetting.fromObject = function fromObject(object) { if (object instanceof $root.ProtoListLevelSetting) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoListLevelSetting(); if (object.listSettingName != null) - if (typeof object.listSettingName !== "string" || object.listSettingName.length) - message.listSettingName = String(object.listSettingName); + message.listSettingName = String(object.listSettingName); if (object.fontSize != null) { if (typeof object.fontSize !== "object") throw TypeError(".ProtoListLevelSetting.fontSize: object expected"); - message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize, _depth + 1); + message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize); + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "UNNUMBERED": + case 0: + message.type = 0; + break; + case "NUMERIC": + case 1: + message.type = 1; + break; + case "IMAGE": + case 2: + message.type = 2; + break; } - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoListLevelSettingType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "UNNUMBERED": - case 0: - message.type = 0; - break; - case "NUMERIC": - case 1: - message.type = 1; - break; - case "IMAGE": - case 2: - message.type = 2; - break; - } if (object.level != null) - if (Number(object.level) !== 0) - message.level = object.level | 0; + message.level = object.level | 0; if (object.prefix != null) - if (typeof object.prefix !== "string" || object.prefix.length) - message.prefix = String(object.prefix); + message.prefix = String(object.prefix); if (object.suffix != null) - if (typeof object.suffix !== "string" || object.suffix.length) - message.suffix = String(object.suffix); + message.suffix = String(object.suffix); if (object.fixFontFamily != null) { if (typeof object.fixFontFamily !== "object") throw TypeError(".ProtoListLevelSetting.fixFontFamily: object expected"); - message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily, _depth + 1); + message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily); } if (object.fixBold != null) - if (object.fixBold) - message.fixBold = Boolean(object.fixBold); + message.fixBold = Boolean(object.fixBold); if (object.fixItalic != null) - if (object.fixItalic) - message.fixItalic = Boolean(object.fixItalic); + message.fixItalic = Boolean(object.fixItalic); if (object.indentionWidth != null) - if (Number(object.indentionWidth) !== 0) - message.indentionWidth = object.indentionWidth | 0; + message.indentionWidth = object.indentionWidth | 0; if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoListLevelSetting.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.imageName != null) - if (typeof object.imageName !== "string" || object.imageName.length) - message.imageName = String(object.imageName); + message.imageName = String(object.imageName); if (object.fontFamily != null) { if (typeof object.fontFamily !== "object") throw TypeError(".ProtoListLevelSetting.fontFamily: object expected"); - message.fontFamily = $root.ProtoFont.fromObject(object.fontFamily, _depth + 1); + message.fontFamily = $root.ProtoFont.fromObject(object.fontFamily); } if (object.bold != null) { if (typeof object.bold !== "object") throw TypeError(".ProtoListLevelSetting.bold: object expected"); - message.bold = $root.ProtoBoxedBool.fromObject(object.bold, _depth + 1); + message.bold = $root.ProtoBoxedBool.fromObject(object.bold); } if (object.italic != null) { if (typeof object.italic !== "object") throw TypeError(".ProtoListLevelSetting.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic, _depth + 1); + message.italic = $root.ProtoBoxedBool.fromObject(object.italic); + } + switch (object.numberType) { + default: + if (typeof object.numberType === "number") { + message.numberType = object.numberType; + break; + } + break; + case "ARABIC": + case 0: + message.numberType = 0; + break; + case "ROM_UPPERCASE": + case 1: + message.numberType = 1; + break; + case "ROM_LOWERCASE": + case 2: + message.numberType = 2; + break; + case "LETTER_UPPERCASE": + case 3: + message.numberType = 3; + break; + case "LETTER_LOWERCASE": + case 4: + message.numberType = 4; + break; } - if (object.numberType !== 0 && (typeof object.numberType !== "string" || $root.ProtoNumberType[object.numberType] !== 0)) - switch (object.numberType) { - default: - if (typeof object.numberType === "number") { - message.numberType = object.numberType; - break; - } - break; - case "ARABIC": - case 0: - message.numberType = 0; - break; - case "ROM_UPPERCASE": - case 1: - message.numberType = 1; - break; - case "ROM_LOWERCASE": - case 2: - message.numberType = 2; - break; - case "LETTER_UPPERCASE": - case 3: - message.numberType = 3; - break; - case "LETTER_LOWERCASE": - case 4: - message.numberType = 4; - break; - } if (object.character != null) - if (typeof object.character !== "string" || object.character.length) - message.character = String(object.character); + message.character = String(object.character); return message; }; @@ -14351,17 +12626,18 @@ $root.ProtoListLevelSetting = (function() { }; /** - * Gets the type url for ProtoListLevelSetting + * Gets the default type url for ProtoListLevelSetting * @function getTypeUrl * @memberof ProtoListLevelSetting * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoListLevelSetting.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoListLevelSetting"; + ProtoListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoListLevelSetting"; }; return ProtoListLevelSetting; @@ -14385,7 +12661,6 @@ $root.ProtoImageListLevelSetting = (function() { * @property {number|null} [indentionWidth] ProtoImageListLevelSetting indentionWidth * @property {IProtoColor|null} [color] ProtoImageListLevelSetting color * @property {string|null} [imageName] ProtoImageListLevelSetting imageName - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -14395,12 +12670,11 @@ $root.ProtoImageListLevelSetting = (function() { * @implements IProtoImageListLevelSetting * @constructor * @param {IProtoImageListLevelSetting=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoImageListLevelSetting(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -14548,9 +12822,6 @@ $root.ProtoImageListLevelSetting = (function() { $root.ProtoColor.encode(message.color, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); if (message.imageName != null && Object.hasOwnProperty.call(message, "imageName")) writer.uint32(/* id 12, wireType 2 =*/98).string(message.imageName); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -14578,129 +12849,66 @@ $root.ProtoImageListLevelSetting = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoImageListLevelSetting.decode = function decode(reader, length, _end, _depth, _target) { + ProtoImageListLevelSetting.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoImageListLevelSetting(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoImageListLevelSetting(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.listSettingName = value; - else - delete message.listSettingName; - continue; + message.listSettingName = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontSize); - continue; + message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.level = value; - else - delete message.level; - continue; + message.level = reader.int32(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.prefix = value; - else - delete message.prefix; - continue; + message.prefix = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.suffix = value; - else - delete message.suffix; - continue; + message.suffix = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fixFontFamily); - continue; + message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixBold = value; - else - delete message.fixBold; - continue; + message.fixBold = reader.bool(); + break; } case 9: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixItalic = value; - else - delete message.fixItalic; - continue; + message.fixItalic = reader.bool(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.indentionWidth = value; - else - delete message.indentionWidth; - continue; + message.indentionWidth = reader.int32(); + break; } case 11: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 12: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.imageName = value; - else - delete message.imageName; - continue; + message.imageName = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -14728,18 +12936,14 @@ $root.ProtoImageListLevelSetting = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoImageListLevelSetting.verify = function verify(message, _depth) { + ProtoImageListLevelSetting.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) if (!$util.isString(message.listSettingName)) return "listSettingName: string expected"; if (message.fontSize != null && message.hasOwnProperty("fontSize")) { - var error = $root.ProtoBoxedUint32.verify(message.fontSize, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.fontSize); if (error) return "fontSize." + error; } @@ -14762,7 +12966,7 @@ $root.ProtoImageListLevelSetting = (function() { if (!$util.isString(message.suffix)) return "suffix: string expected"; if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fixFontFamily); if (error) return "fixFontFamily." + error; } @@ -14776,7 +12980,7 @@ $root.ProtoImageListLevelSetting = (function() { if (!$util.isInteger(message.indentionWidth)) return "indentionWidth: integer expected"; if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } @@ -14794,74 +12998,61 @@ $root.ProtoImageListLevelSetting = (function() { * @param {Object.} object Plain object * @returns {ProtoImageListLevelSetting} ProtoImageListLevelSetting */ - ProtoImageListLevelSetting.fromObject = function fromObject(object, _depth) { + ProtoImageListLevelSetting.fromObject = function fromObject(object) { if (object instanceof $root.ProtoImageListLevelSetting) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoImageListLevelSetting(); if (object.listSettingName != null) - if (typeof object.listSettingName !== "string" || object.listSettingName.length) - message.listSettingName = String(object.listSettingName); + message.listSettingName = String(object.listSettingName); if (object.fontSize != null) { if (typeof object.fontSize !== "object") throw TypeError(".ProtoImageListLevelSetting.fontSize: object expected"); - message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize, _depth + 1); + message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize); + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "UNNUMBERED": + case 0: + message.type = 0; + break; + case "NUMERIC": + case 1: + message.type = 1; + break; + case "IMAGE": + case 2: + message.type = 2; + break; } - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoListLevelSettingType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "UNNUMBERED": - case 0: - message.type = 0; - break; - case "NUMERIC": - case 1: - message.type = 1; - break; - case "IMAGE": - case 2: - message.type = 2; - break; - } if (object.level != null) - if (Number(object.level) !== 0) - message.level = object.level | 0; + message.level = object.level | 0; if (object.prefix != null) - if (typeof object.prefix !== "string" || object.prefix.length) - message.prefix = String(object.prefix); + message.prefix = String(object.prefix); if (object.suffix != null) - if (typeof object.suffix !== "string" || object.suffix.length) - message.suffix = String(object.suffix); + message.suffix = String(object.suffix); if (object.fixFontFamily != null) { if (typeof object.fixFontFamily !== "object") throw TypeError(".ProtoImageListLevelSetting.fixFontFamily: object expected"); - message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily, _depth + 1); + message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily); } if (object.fixBold != null) - if (object.fixBold) - message.fixBold = Boolean(object.fixBold); + message.fixBold = Boolean(object.fixBold); if (object.fixItalic != null) - if (object.fixItalic) - message.fixItalic = Boolean(object.fixItalic); + message.fixItalic = Boolean(object.fixItalic); if (object.indentionWidth != null) - if (Number(object.indentionWidth) !== 0) - message.indentionWidth = object.indentionWidth | 0; + message.indentionWidth = object.indentionWidth | 0; if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoImageListLevelSetting.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.imageName != null) - if (typeof object.imageName !== "string" || object.imageName.length) - message.imageName = String(object.imageName); + message.imageName = String(object.imageName); return message; }; @@ -14931,17 +13122,18 @@ $root.ProtoImageListLevelSetting = (function() { }; /** - * Gets the type url for ProtoImageListLevelSetting + * Gets the default type url for ProtoImageListLevelSetting * @function getTypeUrl * @memberof ProtoImageListLevelSetting * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoImageListLevelSetting.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoImageListLevelSetting"; + ProtoImageListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoImageListLevelSetting"; }; return ProtoImageListLevelSetting; @@ -14967,7 +13159,6 @@ $root.ProtoTextListLevelSetting = (function() { * @property {IProtoFont|null} [fontFamily] ProtoTextListLevelSetting fontFamily * @property {IProtoBoxedBool|null} [bold] ProtoTextListLevelSetting bold * @property {IProtoBoxedBool|null} [italic] ProtoTextListLevelSetting italic - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -14977,12 +13168,11 @@ $root.ProtoTextListLevelSetting = (function() { * @implements IProtoTextListLevelSetting * @constructor * @param {IProtoTextListLevelSetting=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTextListLevelSetting(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -15150,9 +13340,6 @@ $root.ProtoTextListLevelSetting = (function() { $root.ProtoBoxedBool.encode(message.bold, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); if (message.italic != null && Object.hasOwnProperty.call(message, "italic")) $root.ProtoBoxedBool.encode(message.italic, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -15180,138 +13367,74 @@ $root.ProtoTextListLevelSetting = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTextListLevelSetting.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTextListLevelSetting.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTextListLevelSetting(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTextListLevelSetting(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.listSettingName = value; - else - delete message.listSettingName; - continue; + message.listSettingName = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontSize); - continue; + message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.level = value; - else - delete message.level; - continue; + message.level = reader.int32(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.prefix = value; - else - delete message.prefix; - continue; + message.prefix = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.suffix = value; - else - delete message.suffix; - continue; + message.suffix = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fixFontFamily); - continue; + message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixBold = value; - else - delete message.fixBold; - continue; + message.fixBold = reader.bool(); + break; } case 9: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixItalic = value; - else - delete message.fixItalic; - continue; + message.fixItalic = reader.bool(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.indentionWidth = value; - else - delete message.indentionWidth; - continue; + message.indentionWidth = reader.int32(); + break; } case 11: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 12: { - if (wireType !== 2) - break; - message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontFamily); - continue; + message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 13: { - if (wireType !== 2) - break; - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.bold); - continue; + message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 14: { - if (wireType !== 2) - break; - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.italic); - continue; + message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -15339,18 +13462,14 @@ $root.ProtoTextListLevelSetting = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTextListLevelSetting.verify = function verify(message, _depth) { + ProtoTextListLevelSetting.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) if (!$util.isString(message.listSettingName)) return "listSettingName: string expected"; if (message.fontSize != null && message.hasOwnProperty("fontSize")) { - var error = $root.ProtoBoxedUint32.verify(message.fontSize, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.fontSize); if (error) return "fontSize." + error; } @@ -15373,7 +13492,7 @@ $root.ProtoTextListLevelSetting = (function() { if (!$util.isString(message.suffix)) return "suffix: string expected"; if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fixFontFamily); if (error) return "fixFontFamily." + error; } @@ -15387,22 +13506,22 @@ $root.ProtoTextListLevelSetting = (function() { if (!$util.isInteger(message.indentionWidth)) return "indentionWidth: integer expected"; if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) { - var error = $root.ProtoFont.verify(message.fontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fontFamily); if (error) return "fontFamily." + error; } if (message.bold != null && message.hasOwnProperty("bold")) { - var error = $root.ProtoBoxedBool.verify(message.bold, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.bold); if (error) return "bold." + error; } if (message.italic != null && message.hasOwnProperty("italic")) { - var error = $root.ProtoBoxedBool.verify(message.italic, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.italic); if (error) return "italic." + error; } @@ -15417,85 +13536,73 @@ $root.ProtoTextListLevelSetting = (function() { * @param {Object.} object Plain object * @returns {ProtoTextListLevelSetting} ProtoTextListLevelSetting */ - ProtoTextListLevelSetting.fromObject = function fromObject(object, _depth) { + ProtoTextListLevelSetting.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTextListLevelSetting) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTextListLevelSetting(); if (object.listSettingName != null) - if (typeof object.listSettingName !== "string" || object.listSettingName.length) - message.listSettingName = String(object.listSettingName); + message.listSettingName = String(object.listSettingName); if (object.fontSize != null) { if (typeof object.fontSize !== "object") throw TypeError(".ProtoTextListLevelSetting.fontSize: object expected"); - message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize, _depth + 1); + message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize); + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "UNNUMBERED": + case 0: + message.type = 0; + break; + case "NUMERIC": + case 1: + message.type = 1; + break; + case "IMAGE": + case 2: + message.type = 2; + break; } - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoListLevelSettingType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "UNNUMBERED": - case 0: - message.type = 0; - break; - case "NUMERIC": - case 1: - message.type = 1; - break; - case "IMAGE": - case 2: - message.type = 2; - break; - } if (object.level != null) - if (Number(object.level) !== 0) - message.level = object.level | 0; + message.level = object.level | 0; if (object.prefix != null) - if (typeof object.prefix !== "string" || object.prefix.length) - message.prefix = String(object.prefix); + message.prefix = String(object.prefix); if (object.suffix != null) - if (typeof object.suffix !== "string" || object.suffix.length) - message.suffix = String(object.suffix); + message.suffix = String(object.suffix); if (object.fixFontFamily != null) { if (typeof object.fixFontFamily !== "object") throw TypeError(".ProtoTextListLevelSetting.fixFontFamily: object expected"); - message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily, _depth + 1); + message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily); } if (object.fixBold != null) - if (object.fixBold) - message.fixBold = Boolean(object.fixBold); + message.fixBold = Boolean(object.fixBold); if (object.fixItalic != null) - if (object.fixItalic) - message.fixItalic = Boolean(object.fixItalic); + message.fixItalic = Boolean(object.fixItalic); if (object.indentionWidth != null) - if (Number(object.indentionWidth) !== 0) - message.indentionWidth = object.indentionWidth | 0; + message.indentionWidth = object.indentionWidth | 0; if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoTextListLevelSetting.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.fontFamily != null) { if (typeof object.fontFamily !== "object") throw TypeError(".ProtoTextListLevelSetting.fontFamily: object expected"); - message.fontFamily = $root.ProtoFont.fromObject(object.fontFamily, _depth + 1); + message.fontFamily = $root.ProtoFont.fromObject(object.fontFamily); } if (object.bold != null) { if (typeof object.bold !== "object") throw TypeError(".ProtoTextListLevelSetting.bold: object expected"); - message.bold = $root.ProtoBoxedBool.fromObject(object.bold, _depth + 1); + message.bold = $root.ProtoBoxedBool.fromObject(object.bold); } if (object.italic != null) { if (typeof object.italic !== "object") throw TypeError(".ProtoTextListLevelSetting.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic, _depth + 1); + message.italic = $root.ProtoBoxedBool.fromObject(object.italic); } return message; }; @@ -15572,17 +13679,18 @@ $root.ProtoTextListLevelSetting = (function() { }; /** - * Gets the type url for ProtoTextListLevelSetting + * Gets the default type url for ProtoTextListLevelSetting * @function getTypeUrl * @memberof ProtoTextListLevelSetting * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTextListLevelSetting.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTextListLevelSetting"; + ProtoTextListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTextListLevelSetting"; }; return ProtoTextListLevelSetting; @@ -15609,7 +13717,6 @@ $root.ProtoNumberListLevelSetting = (function() { * @property {IProtoBoxedBool|null} [bold] ProtoNumberListLevelSetting bold * @property {IProtoBoxedBool|null} [italic] ProtoNumberListLevelSetting italic * @property {ProtoNumberType|null} [numberType] ProtoNumberListLevelSetting numberType - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -15619,12 +13726,11 @@ $root.ProtoNumberListLevelSetting = (function() { * @implements IProtoNumberListLevelSetting * @constructor * @param {IProtoNumberListLevelSetting=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoNumberListLevelSetting(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -15802,9 +13908,6 @@ $root.ProtoNumberListLevelSetting = (function() { $root.ProtoBoxedBool.encode(message.italic, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); if (message.numberType != null && Object.hasOwnProperty.call(message, "numberType")) writer.uint32(/* id 15, wireType 0 =*/120).int32(message.numberType); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -15832,147 +13935,78 @@ $root.ProtoNumberListLevelSetting = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoNumberListLevelSetting.decode = function decode(reader, length, _end, _depth, _target) { + ProtoNumberListLevelSetting.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoNumberListLevelSetting(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoNumberListLevelSetting(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.listSettingName = value; - else - delete message.listSettingName; - continue; + message.listSettingName = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontSize); - continue; + message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.level = value; - else - delete message.level; - continue; + message.level = reader.int32(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.prefix = value; - else - delete message.prefix; - continue; + message.prefix = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.suffix = value; - else - delete message.suffix; - continue; + message.suffix = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fixFontFamily); - continue; + message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixBold = value; - else - delete message.fixBold; - continue; + message.fixBold = reader.bool(); + break; } case 9: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixItalic = value; - else - delete message.fixItalic; - continue; + message.fixItalic = reader.bool(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.indentionWidth = value; - else - delete message.indentionWidth; - continue; + message.indentionWidth = reader.int32(); + break; } case 11: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 12: { - if (wireType !== 2) - break; - message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontFamily); - continue; + message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 13: { - if (wireType !== 2) - break; - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.bold); - continue; + message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 14: { - if (wireType !== 2) - break; - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.italic); - continue; + message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 15: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.numberType = value; - else - delete message.numberType; - continue; + message.numberType = reader.int32(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -16000,18 +14034,14 @@ $root.ProtoNumberListLevelSetting = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoNumberListLevelSetting.verify = function verify(message, _depth) { + ProtoNumberListLevelSetting.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) if (!$util.isString(message.listSettingName)) return "listSettingName: string expected"; if (message.fontSize != null && message.hasOwnProperty("fontSize")) { - var error = $root.ProtoBoxedUint32.verify(message.fontSize, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.fontSize); if (error) return "fontSize." + error; } @@ -16034,7 +14064,7 @@ $root.ProtoNumberListLevelSetting = (function() { if (!$util.isString(message.suffix)) return "suffix: string expected"; if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fixFontFamily); if (error) return "fixFontFamily." + error; } @@ -16048,22 +14078,22 @@ $root.ProtoNumberListLevelSetting = (function() { if (!$util.isInteger(message.indentionWidth)) return "indentionWidth: integer expected"; if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) { - var error = $root.ProtoFont.verify(message.fontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fontFamily); if (error) return "fontFamily." + error; } if (message.bold != null && message.hasOwnProperty("bold")) { - var error = $root.ProtoBoxedBool.verify(message.bold, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.bold); if (error) return "bold." + error; } if (message.italic != null && message.hasOwnProperty("italic")) { - var error = $root.ProtoBoxedBool.verify(message.italic, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.italic); if (error) return "italic." + error; } @@ -16089,115 +14119,102 @@ $root.ProtoNumberListLevelSetting = (function() { * @param {Object.} object Plain object * @returns {ProtoNumberListLevelSetting} ProtoNumberListLevelSetting */ - ProtoNumberListLevelSetting.fromObject = function fromObject(object, _depth) { + ProtoNumberListLevelSetting.fromObject = function fromObject(object) { if (object instanceof $root.ProtoNumberListLevelSetting) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoNumberListLevelSetting(); if (object.listSettingName != null) - if (typeof object.listSettingName !== "string" || object.listSettingName.length) - message.listSettingName = String(object.listSettingName); + message.listSettingName = String(object.listSettingName); if (object.fontSize != null) { if (typeof object.fontSize !== "object") throw TypeError(".ProtoNumberListLevelSetting.fontSize: object expected"); - message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize, _depth + 1); + message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize); + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "UNNUMBERED": + case 0: + message.type = 0; + break; + case "NUMERIC": + case 1: + message.type = 1; + break; + case "IMAGE": + case 2: + message.type = 2; + break; } - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoListLevelSettingType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "UNNUMBERED": - case 0: - message.type = 0; - break; - case "NUMERIC": - case 1: - message.type = 1; - break; - case "IMAGE": - case 2: - message.type = 2; - break; - } if (object.level != null) - if (Number(object.level) !== 0) - message.level = object.level | 0; + message.level = object.level | 0; if (object.prefix != null) - if (typeof object.prefix !== "string" || object.prefix.length) - message.prefix = String(object.prefix); + message.prefix = String(object.prefix); if (object.suffix != null) - if (typeof object.suffix !== "string" || object.suffix.length) - message.suffix = String(object.suffix); + message.suffix = String(object.suffix); if (object.fixFontFamily != null) { if (typeof object.fixFontFamily !== "object") throw TypeError(".ProtoNumberListLevelSetting.fixFontFamily: object expected"); - message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily, _depth + 1); + message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily); } if (object.fixBold != null) - if (object.fixBold) - message.fixBold = Boolean(object.fixBold); + message.fixBold = Boolean(object.fixBold); if (object.fixItalic != null) - if (object.fixItalic) - message.fixItalic = Boolean(object.fixItalic); + message.fixItalic = Boolean(object.fixItalic); if (object.indentionWidth != null) - if (Number(object.indentionWidth) !== 0) - message.indentionWidth = object.indentionWidth | 0; + message.indentionWidth = object.indentionWidth | 0; if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoNumberListLevelSetting.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.fontFamily != null) { if (typeof object.fontFamily !== "object") throw TypeError(".ProtoNumberListLevelSetting.fontFamily: object expected"); - message.fontFamily = $root.ProtoFont.fromObject(object.fontFamily, _depth + 1); + message.fontFamily = $root.ProtoFont.fromObject(object.fontFamily); } if (object.bold != null) { if (typeof object.bold !== "object") throw TypeError(".ProtoNumberListLevelSetting.bold: object expected"); - message.bold = $root.ProtoBoxedBool.fromObject(object.bold, _depth + 1); + message.bold = $root.ProtoBoxedBool.fromObject(object.bold); } if (object.italic != null) { if (typeof object.italic !== "object") throw TypeError(".ProtoNumberListLevelSetting.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic, _depth + 1); + message.italic = $root.ProtoBoxedBool.fromObject(object.italic); + } + switch (object.numberType) { + default: + if (typeof object.numberType === "number") { + message.numberType = object.numberType; + break; + } + break; + case "ARABIC": + case 0: + message.numberType = 0; + break; + case "ROM_UPPERCASE": + case 1: + message.numberType = 1; + break; + case "ROM_LOWERCASE": + case 2: + message.numberType = 2; + break; + case "LETTER_UPPERCASE": + case 3: + message.numberType = 3; + break; + case "LETTER_LOWERCASE": + case 4: + message.numberType = 4; + break; } - if (object.numberType !== 0 && (typeof object.numberType !== "string" || $root.ProtoNumberType[object.numberType] !== 0)) - switch (object.numberType) { - default: - if (typeof object.numberType === "number") { - message.numberType = object.numberType; - break; - } - break; - case "ARABIC": - case 0: - message.numberType = 0; - break; - case "ROM_UPPERCASE": - case 1: - message.numberType = 1; - break; - case "ROM_LOWERCASE": - case 2: - message.numberType = 2; - break; - case "LETTER_UPPERCASE": - case 3: - message.numberType = 3; - break; - case "LETTER_LOWERCASE": - case 4: - message.numberType = 4; - break; - } return message; }; @@ -16276,17 +14293,18 @@ $root.ProtoNumberListLevelSetting = (function() { }; /** - * Gets the type url for ProtoNumberListLevelSetting + * Gets the default type url for ProtoNumberListLevelSetting * @function getTypeUrl * @memberof ProtoNumberListLevelSetting * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoNumberListLevelSetting.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoNumberListLevelSetting"; + ProtoNumberListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoNumberListLevelSetting"; }; return ProtoNumberListLevelSetting; @@ -16313,7 +14331,6 @@ $root.ProtoUnnumberedListLevelSetting = (function() { * @property {IProtoBoxedBool|null} [bold] ProtoUnnumberedListLevelSetting bold * @property {IProtoBoxedBool|null} [italic] ProtoUnnumberedListLevelSetting italic * @property {string|null} [character] ProtoUnnumberedListLevelSetting character - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -16323,12 +14340,11 @@ $root.ProtoUnnumberedListLevelSetting = (function() { * @implements IProtoUnnumberedListLevelSetting * @constructor * @param {IProtoUnnumberedListLevelSetting=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoUnnumberedListLevelSetting(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -16506,9 +14522,6 @@ $root.ProtoUnnumberedListLevelSetting = (function() { $root.ProtoBoxedBool.encode(message.italic, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); if (message.character != null && Object.hasOwnProperty.call(message, "character")) writer.uint32(/* id 15, wireType 2 =*/122).string(message.character); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -16536,147 +14549,78 @@ $root.ProtoUnnumberedListLevelSetting = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoUnnumberedListLevelSetting.decode = function decode(reader, length, _end, _depth, _target) { + ProtoUnnumberedListLevelSetting.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoUnnumberedListLevelSetting(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoUnnumberedListLevelSetting(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.listSettingName = value; - else - delete message.listSettingName; - continue; + message.listSettingName = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontSize); - continue; + message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.level = value; - else - delete message.level; - continue; + message.level = reader.int32(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.prefix = value; - else - delete message.prefix; - continue; + message.prefix = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.suffix = value; - else - delete message.suffix; - continue; + message.suffix = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fixFontFamily); - continue; + message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixBold = value; - else - delete message.fixBold; - continue; + message.fixBold = reader.bool(); + break; } case 9: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.fixItalic = value; - else - delete message.fixItalic; - continue; + message.fixItalic = reader.bool(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.indentionWidth = value; - else - delete message.indentionWidth; - continue; + message.indentionWidth = reader.int32(); + break; } case 11: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 12: { - if (wireType !== 2) - break; - message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontFamily); - continue; + message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32()); + break; } case 13: { - if (wireType !== 2) - break; - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.bold); - continue; + message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 14: { - if (wireType !== 2) - break; - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.italic); - continue; + message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 15: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.character = value; - else - delete message.character; - continue; + message.character = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -16704,18 +14648,14 @@ $root.ProtoUnnumberedListLevelSetting = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoUnnumberedListLevelSetting.verify = function verify(message, _depth) { + ProtoUnnumberedListLevelSetting.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) if (!$util.isString(message.listSettingName)) return "listSettingName: string expected"; if (message.fontSize != null && message.hasOwnProperty("fontSize")) { - var error = $root.ProtoBoxedUint32.verify(message.fontSize, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.fontSize); if (error) return "fontSize." + error; } @@ -16738,7 +14678,7 @@ $root.ProtoUnnumberedListLevelSetting = (function() { if (!$util.isString(message.suffix)) return "suffix: string expected"; if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fixFontFamily); if (error) return "fixFontFamily." + error; } @@ -16752,22 +14692,22 @@ $root.ProtoUnnumberedListLevelSetting = (function() { if (!$util.isInteger(message.indentionWidth)) return "indentionWidth: integer expected"; if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) { - var error = $root.ProtoFont.verify(message.fontFamily, _depth + 1); + var error = $root.ProtoFont.verify(message.fontFamily); if (error) return "fontFamily." + error; } if (message.bold != null && message.hasOwnProperty("bold")) { - var error = $root.ProtoBoxedBool.verify(message.bold, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.bold); if (error) return "bold." + error; } if (message.italic != null && message.hasOwnProperty("italic")) { - var error = $root.ProtoBoxedBool.verify(message.italic, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.italic); if (error) return "italic." + error; } @@ -16785,89 +14725,76 @@ $root.ProtoUnnumberedListLevelSetting = (function() { * @param {Object.} object Plain object * @returns {ProtoUnnumberedListLevelSetting} ProtoUnnumberedListLevelSetting */ - ProtoUnnumberedListLevelSetting.fromObject = function fromObject(object, _depth) { + ProtoUnnumberedListLevelSetting.fromObject = function fromObject(object) { if (object instanceof $root.ProtoUnnumberedListLevelSetting) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoUnnumberedListLevelSetting(); if (object.listSettingName != null) - if (typeof object.listSettingName !== "string" || object.listSettingName.length) - message.listSettingName = String(object.listSettingName); + message.listSettingName = String(object.listSettingName); if (object.fontSize != null) { if (typeof object.fontSize !== "object") throw TypeError(".ProtoUnnumberedListLevelSetting.fontSize: object expected"); - message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize, _depth + 1); + message.fontSize = $root.ProtoBoxedUint32.fromObject(object.fontSize); + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "UNNUMBERED": + case 0: + message.type = 0; + break; + case "NUMERIC": + case 1: + message.type = 1; + break; + case "IMAGE": + case 2: + message.type = 2; + break; } - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoListLevelSettingType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "UNNUMBERED": - case 0: - message.type = 0; - break; - case "NUMERIC": - case 1: - message.type = 1; - break; - case "IMAGE": - case 2: - message.type = 2; - break; - } if (object.level != null) - if (Number(object.level) !== 0) - message.level = object.level | 0; + message.level = object.level | 0; if (object.prefix != null) - if (typeof object.prefix !== "string" || object.prefix.length) - message.prefix = String(object.prefix); + message.prefix = String(object.prefix); if (object.suffix != null) - if (typeof object.suffix !== "string" || object.suffix.length) - message.suffix = String(object.suffix); + message.suffix = String(object.suffix); if (object.fixFontFamily != null) { if (typeof object.fixFontFamily !== "object") throw TypeError(".ProtoUnnumberedListLevelSetting.fixFontFamily: object expected"); - message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily, _depth + 1); + message.fixFontFamily = $root.ProtoFont.fromObject(object.fixFontFamily); } if (object.fixBold != null) - if (object.fixBold) - message.fixBold = Boolean(object.fixBold); + message.fixBold = Boolean(object.fixBold); if (object.fixItalic != null) - if (object.fixItalic) - message.fixItalic = Boolean(object.fixItalic); + message.fixItalic = Boolean(object.fixItalic); if (object.indentionWidth != null) - if (Number(object.indentionWidth) !== 0) - message.indentionWidth = object.indentionWidth | 0; + message.indentionWidth = object.indentionWidth | 0; if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoUnnumberedListLevelSetting.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.fontFamily != null) { if (typeof object.fontFamily !== "object") throw TypeError(".ProtoUnnumberedListLevelSetting.fontFamily: object expected"); - message.fontFamily = $root.ProtoFont.fromObject(object.fontFamily, _depth + 1); + message.fontFamily = $root.ProtoFont.fromObject(object.fontFamily); } if (object.bold != null) { if (typeof object.bold !== "object") throw TypeError(".ProtoUnnumberedListLevelSetting.bold: object expected"); - message.bold = $root.ProtoBoxedBool.fromObject(object.bold, _depth + 1); + message.bold = $root.ProtoBoxedBool.fromObject(object.bold); } if (object.italic != null) { if (typeof object.italic !== "object") throw TypeError(".ProtoUnnumberedListLevelSetting.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic, _depth + 1); + message.italic = $root.ProtoBoxedBool.fromObject(object.italic); } if (object.character != null) - if (typeof object.character !== "string" || object.character.length) - message.character = String(object.character); + message.character = String(object.character); return message; }; @@ -16946,17 +14873,18 @@ $root.ProtoUnnumberedListLevelSetting = (function() { }; /** - * Gets the type url for ProtoUnnumberedListLevelSetting + * Gets the default type url for ProtoUnnumberedListLevelSetting * @function getTypeUrl * @memberof ProtoUnnumberedListLevelSetting * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoUnnumberedListLevelSetting.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoUnnumberedListLevelSetting"; + ProtoUnnumberedListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoUnnumberedListLevelSetting"; }; return ProtoUnnumberedListLevelSetting; @@ -16973,7 +14901,7 @@ $root.ProtoListSetting = (function() { * @property {Array.|null} [listLevelSettings] ProtoListSetting listLevelSettings * @property {IProtoListLevelSetting|null} [defaultListLevelSetting] ProtoListSetting defaultListLevelSetting * @property {Array.|null} [comChannelUUIDs] ProtoListSetting comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoListSetting uuid */ /** @@ -16983,14 +14911,13 @@ $root.ProtoListSetting = (function() { * @implements IProtoListSetting * @constructor * @param {IProtoListSetting=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoListSetting(properties) { this.listLevelSettings = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -17034,6 +14961,14 @@ $root.ProtoListSetting = (function() { */ ProtoListSetting.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoListSetting uuid. + * @member {string} uuid + * @memberof ProtoListSetting + * @instance + */ + ProtoListSetting.prototype.uuid = ""; + /** * Creates a new ProtoListSetting instance using the specified properties. * @function create @@ -17070,9 +15005,8 @@ $root.ProtoListSetting = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.uuid); return writer; }; @@ -17100,67 +15034,46 @@ $root.ProtoListSetting = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoListSetting.decode = function decode(reader, length, _end, _depth, _target) { + ProtoListSetting.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoListSetting(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoListSetting(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.listLevelSettings && message.listLevelSettings.length)) message.listLevelSettings = []; - message.listLevelSettings.push($root.ProtoListLevelSetting.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message.listLevelSettings.push($root.ProtoListLevelSetting.decode(reader, reader.uint32())); + break; } case 4: { - if (wireType !== 2) - break; - message.defaultListLevelSetting = $root.ProtoListLevelSetting.decode(reader, reader.uint32(), undefined, _depth + 1, message.defaultListLevelSetting); - continue; + message.defaultListLevelSetting = $root.ProtoListLevelSetting.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 6: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -17188,15 +15101,11 @@ $root.ProtoListSetting = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoListSetting.verify = function verify(message, _depth) { + ProtoListSetting.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -17207,13 +15116,13 @@ $root.ProtoListSetting = (function() { if (!Array.isArray(message.listLevelSettings)) return "listLevelSettings: array expected"; for (var i = 0; i < message.listLevelSettings.length; ++i) { - var error = $root.ProtoListLevelSetting.verify(message.listLevelSettings[i], _depth + 1); + var error = $root.ProtoListLevelSetting.verify(message.listLevelSettings[i]); if (error) return "listLevelSettings." + error; } } if (message.defaultListLevelSetting != null && message.hasOwnProperty("defaultListLevelSetting")) { - var error = $root.ProtoListLevelSetting.verify(message.defaultListLevelSetting, _depth + 1); + var error = $root.ProtoListLevelSetting.verify(message.defaultListLevelSetting); if (error) return "defaultListLevelSetting." + error; } @@ -17224,6 +15133,9 @@ $root.ProtoListSetting = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -17235,44 +15147,41 @@ $root.ProtoListSetting = (function() { * @param {Object.} object Plain object * @returns {ProtoListSetting} ProtoListSetting */ - ProtoListSetting.fromObject = function fromObject(object, _depth) { + ProtoListSetting.fromObject = function fromObject(object) { if (object instanceof $root.ProtoListSetting) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoListSetting(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoListSetting.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.listLevelSettings) { if (!Array.isArray(object.listLevelSettings)) throw TypeError(".ProtoListSetting.listLevelSettings: array expected"); - message.listLevelSettings = Array(object.listLevelSettings.length); + message.listLevelSettings = []; for (var i = 0; i < object.listLevelSettings.length; ++i) { if (typeof object.listLevelSettings[i] !== "object") throw TypeError(".ProtoListSetting.listLevelSettings: object expected"); - message.listLevelSettings[i] = $root.ProtoListLevelSetting.fromObject(object.listLevelSettings[i], _depth + 1); + message.listLevelSettings[i] = $root.ProtoListLevelSetting.fromObject(object.listLevelSettings[i]); } } if (object.defaultListLevelSetting != null) { if (typeof object.defaultListLevelSetting !== "object") throw TypeError(".ProtoListSetting.defaultListLevelSetting: object expected"); - message.defaultListLevelSetting = $root.ProtoListLevelSetting.fromObject(object.defaultListLevelSetting, _depth + 1); + message.defaultListLevelSetting = $root.ProtoListLevelSetting.fromObject(object.defaultListLevelSetting); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoListSetting.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -17297,23 +15206,26 @@ $root.ProtoListSetting = (function() { object.parent = null; object.name = ""; object.defaultListLevelSetting = null; + object.uuid = ""; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; if (message.listLevelSettings && message.listLevelSettings.length) { - object.listLevelSettings = Array(message.listLevelSettings.length); + object.listLevelSettings = []; for (var j = 0; j < message.listLevelSettings.length; ++j) object.listLevelSettings[j] = $root.ProtoListLevelSetting.toObject(message.listLevelSettings[j], options); } if (message.defaultListLevelSetting != null && message.hasOwnProperty("defaultListLevelSetting")) object.defaultListLevelSetting = $root.ProtoListLevelSetting.toObject(message.defaultListLevelSetting, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -17329,17 +15241,18 @@ $root.ProtoListSetting = (function() { }; /** - * Gets the type url for ProtoListSetting + * Gets the default type url for ProtoListSetting * @function getTypeUrl * @memberof ProtoListSetting * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoListSetting.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoListSetting"; + ProtoListSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoListSetting"; }; return ProtoListSetting; @@ -17353,7 +15266,6 @@ $root.ProtoBoxedListSetting = (function() { * @interface IProtoBoxedListSetting * @property {IProtoListSetting|null} [value] ProtoBoxedListSetting value * @property {boolean|null} [isNull] ProtoBoxedListSetting isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -17363,12 +15275,11 @@ $root.ProtoBoxedListSetting = (function() { * @implements IProtoBoxedListSetting * @constructor * @param {IProtoBoxedListSetting=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedListSetting(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -17416,9 +15327,6 @@ $root.ProtoBoxedListSetting = (function() { $root.ProtoListSetting.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -17446,45 +15354,26 @@ $root.ProtoBoxedListSetting = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedListSetting.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedListSetting.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedListSetting(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedListSetting(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.value = $root.ProtoListSetting.decode(reader, reader.uint32(), undefined, _depth + 1, message.value); - continue; + message.value = $root.ProtoListSetting.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -17512,15 +15401,11 @@ $root.ProtoBoxedListSetting = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedListSetting.verify = function verify(message, _depth) { + ProtoBoxedListSetting.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoListSetting.verify(message.value, _depth + 1); + var error = $root.ProtoListSetting.verify(message.value); if (error) return "value." + error; } @@ -17538,22 +15423,17 @@ $root.ProtoBoxedListSetting = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedListSetting} ProtoBoxedListSetting */ - ProtoBoxedListSetting.fromObject = function fromObject(object, _depth) { + ProtoBoxedListSetting.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedListSetting) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedListSetting(); if (object.value != null) { if (typeof object.value !== "object") throw TypeError(".ProtoBoxedListSetting.value: object expected"); - message.value = $root.ProtoListSetting.fromObject(object.value, _depth + 1); + message.value = $root.ProtoListSetting.fromObject(object.value); } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -17593,17 +15473,18 @@ $root.ProtoBoxedListSetting = (function() { }; /** - * Gets the type url for ProtoBoxedListSetting + * Gets the default type url for ProtoBoxedListSetting * @function getTypeUrl * @memberof ProtoBoxedListSetting * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedListSetting.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedListSetting"; + ProtoBoxedListSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedListSetting"; }; return ProtoBoxedListSetting; @@ -17623,7 +15504,6 @@ $root.ProtoNamedString = (function() { * @property {string|null} [description] ProtoNamedString description * @property {string|null} [nameCode] ProtoNamedString nameCode * @property {boolean|null} [codeMode] ProtoNamedString codeMode - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -17633,14 +15513,13 @@ $root.ProtoNamedString = (function() { * @implements IProtoNamedString * @constructor * @param {IProtoNamedString=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoNamedString(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -17750,9 +15629,6 @@ $root.ProtoNamedString = (function() { writer.uint32(/* id 7, wireType 2 =*/58).string(message.nameCode); if (message.codeMode != null && Object.hasOwnProperty.call(message, "codeMode")) writer.uint32(/* id 8, wireType 0 =*/64).bool(message.codeMode); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -17780,97 +15656,54 @@ $root.ProtoNamedString = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoNamedString.decode = function decode(reader, length, _end, _depth, _target) { + ProtoNamedString.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoNamedString(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoNamedString(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.description = value; - else - delete message.description; - continue; + message.description = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.nameCode = value; - else - delete message.nameCode; - continue; + message.nameCode = reader.string(); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.codeMode = value; - else - delete message.codeMode; - continue; + message.codeMode = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -17898,24 +15731,20 @@ $root.ProtoNamedString = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoNamedString.verify = function verify(message, _depth) { + ProtoNamedString.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -17952,51 +15781,42 @@ $root.ProtoNamedString = (function() { * @param {Object.} object Plain object * @returns {ProtoNamedString} ProtoNamedString */ - ProtoNamedString.fromObject = function fromObject(object, _depth) { + ProtoNamedString.fromObject = function fromObject(object) { if (object instanceof $root.ProtoNamedString) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoNamedString(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoNamedString._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoNamedString._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoNamedString.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoNamedString.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.description != null) - if (typeof object.description !== "string" || object.description.length) - message.description = String(object.description); + message.description = String(object.description); if (object.nameCode != null) - if (typeof object.nameCode !== "string" || object.nameCode.length) - message.nameCode = String(object.nameCode); + message.nameCode = String(object.nameCode); if (object.codeMode != null) - if (object.codeMode) - message.codeMode = Boolean(object.codeMode); + message.codeMode = Boolean(object.codeMode); return message; }; @@ -18026,7 +15846,7 @@ $root.ProtoNamedString = (function() { object.codeMode = false; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -18035,7 +15855,7 @@ $root.ProtoNamedString = (function() { if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -18062,17 +15882,18 @@ $root.ProtoNamedString = (function() { }; /** - * Gets the type url for ProtoNamedString + * Gets the default type url for ProtoNamedString * @function getTypeUrl * @memberof ProtoNamedString * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoNamedString.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoNamedString"; + ProtoNamedString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoNamedString"; }; return ProtoNamedString; @@ -18091,7 +15912,6 @@ $root.ProtoParagraph = (function() { * @property {Array.|null} [comChannelUUIDs] ProtoParagraph comChannelUUIDs * @property {string|null} [paragraphFormatUUID] ProtoParagraph paragraphFormatUUID * @property {string|null} [uuid] ProtoParagraph uuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -18101,14 +15921,13 @@ $root.ProtoParagraph = (function() { * @implements IProtoParagraph * @constructor * @param {IProtoParagraph=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoParagraph(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -18208,9 +16027,6 @@ $root.ProtoParagraph = (function() { writer.uint32(/* id 6, wireType 2 =*/50).string(message.paragraphFormatUUID); if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.uuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -18238,82 +16054,50 @@ $root.ProtoParagraph = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoParagraph.decode = function decode(reader, length, _end, _depth, _target) { + ProtoParagraph.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoParagraph(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoParagraph(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.format = $root.ProtoParagraphFormat.decode(reader, reader.uint32(), undefined, _depth + 1, message.format); - continue; + message.format = $root.ProtoParagraphFormat.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.overwrite = $root.ProtoParagraphFormat.decode(reader, reader.uint32(), undefined, _depth + 1, message.overwrite); - continue; + message.overwrite = $root.ProtoParagraphFormat.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paragraphFormatUUID = value; - else - delete message.paragraphFormatUUID; - continue; + message.paragraphFormatUUID = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -18341,34 +16125,30 @@ $root.ProtoParagraph = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoParagraph.verify = function verify(message, _depth) { + ProtoParagraph.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.format != null && message.hasOwnProperty("format")) { - var error = $root.ProtoParagraphFormat.verify(message.format, _depth + 1); + var error = $root.ProtoParagraphFormat.verify(message.format); if (error) return "format." + error; } if (message.overwrite != null && message.hasOwnProperty("overwrite")) { - var error = $root.ProtoParagraphFormat.verify(message.overwrite, _depth + 1); + var error = $root.ProtoParagraphFormat.verify(message.overwrite); if (error) return "overwrite." + error; } @@ -18396,52 +16176,46 @@ $root.ProtoParagraph = (function() { * @param {Object.} object Plain object * @returns {ProtoParagraph} ProtoParagraph */ - ProtoParagraph.fromObject = function fromObject(object, _depth) { + ProtoParagraph.fromObject = function fromObject(object) { if (object instanceof $root.ProtoParagraph) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoParagraph(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoParagraph._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoParagraph._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoParagraph.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.format != null) { if (typeof object.format !== "object") throw TypeError(".ProtoParagraph.format: object expected"); - message.format = $root.ProtoParagraphFormat.fromObject(object.format, _depth + 1); + message.format = $root.ProtoParagraphFormat.fromObject(object.format); } if (object.overwrite != null) { if (typeof object.overwrite !== "object") throw TypeError(".ProtoParagraph.overwrite: object expected"); - message.overwrite = $root.ProtoParagraphFormat.fromObject(object.overwrite, _depth + 1); + message.overwrite = $root.ProtoParagraphFormat.fromObject(object.overwrite); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoParagraph.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.paragraphFormatUUID != null) - if (typeof object.paragraphFormatUUID !== "string" || object.paragraphFormatUUID.length) - message.paragraphFormatUUID = String(object.paragraphFormatUUID); + message.paragraphFormatUUID = String(object.paragraphFormatUUID); if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); return message; }; @@ -18470,7 +16244,7 @@ $root.ProtoParagraph = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -18481,7 +16255,7 @@ $root.ProtoParagraph = (function() { if (message.overwrite != null && message.hasOwnProperty("overwrite")) object.overwrite = $root.ProtoParagraphFormat.toObject(message.overwrite, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -18504,17 +16278,18 @@ $root.ProtoParagraph = (function() { }; /** - * Gets the type url for ProtoParagraph + * Gets the default type url for ProtoParagraph * @function getTypeUrl * @memberof ProtoParagraph * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoParagraph.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoParagraph"; + ProtoParagraph.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoParagraph"; }; return ProtoParagraph; @@ -18555,7 +16330,7 @@ $root.ProtoParagraphFormat = (function() { * @property {IProtoBoxedString|null} [postNamedString] ProtoParagraphFormat postNamedString * @property {IProtoBoxedString|null} [semanticType] ProtoParagraphFormat semanticType * @property {Array.|null} [comChannelUUIDs] ProtoParagraphFormat comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoParagraphFormat uuid */ /** @@ -18565,13 +16340,12 @@ $root.ProtoParagraphFormat = (function() { * @implements IProtoParagraphFormat * @constructor * @param {IProtoParagraphFormat=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoParagraphFormat(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -18807,6 +16581,14 @@ $root.ProtoParagraphFormat = (function() { */ ProtoParagraphFormat.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoParagraphFormat uuid. + * @member {string} uuid + * @memberof ProtoParagraphFormat + * @instance + */ + ProtoParagraphFormat.prototype.uuid = ""; + /** * Creates a new ProtoParagraphFormat instance using the specified properties. * @function create @@ -18890,9 +16672,8 @@ $root.ProtoParagraphFormat = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 29, wireType 2 =*/234).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 30, wireType 2 =*/242).string(message.uuid); return writer; }; @@ -18920,206 +16701,140 @@ $root.ProtoParagraphFormat = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoParagraphFormat.decode = function decode(reader, length, _end, _depth, _target) { + ProtoParagraphFormat.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoParagraphFormat(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoParagraphFormat(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.baseFormat = $root.ProtoParagraphFormat.decode(reader, reader.uint32(), undefined, _depth + 1, message.baseFormat); - continue; + message.baseFormat = $root.ProtoParagraphFormat.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.name = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.name); - continue; + message.name = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message["default"] = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message["default"]); - continue; + message["default"] = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.font = $root.ProtoBoxedFont.decode(reader, reader.uint32(), undefined, _depth + 1, message.font); - continue; + message.font = $root.ProtoBoxedFont.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.bold); - continue; + message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.italic); - continue; + message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.fontColor = $root.ProtoBoxedColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontColor); - continue; + message.fontColor = $root.ProtoBoxedColor.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 2) - break; - message.underline = $root.ProtoBoxedUnderlineSpec.decode(reader, reader.uint32(), undefined, _depth + 1, message.underline); - continue; + message.underline = $root.ProtoBoxedUnderlineSpec.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - message.fontSize = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.fontSize); - continue; + message.fontSize = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 10: { - if (wireType !== 2) - break; - message.characterWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.characterWidth); - continue; + message.characterWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 11: { - if (wireType !== 2) - break; - message.characterSpacing = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.characterSpacing); - continue; + message.characterSpacing = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 12: { - if (wireType !== 2) - break; - message.lineFeed = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.lineFeed); - continue; + message.lineFeed = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 13: { - if (wireType !== 2) - break; - message.alignment = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32(), undefined, _depth + 1, message.alignment); - continue; + message.alignment = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32()); + break; } case 14: { - if (wireType !== 2) - break; - message.indentionWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.indentionWidth); - continue; + message.indentionWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 15: { - if (wireType !== 2) - break; - message.indentionLevel = $root.ProtoBoxedInt32.decode(reader, reader.uint32(), undefined, _depth + 1, message.indentionLevel); - continue; + message.indentionLevel = $root.ProtoBoxedInt32.decode(reader, reader.uint32()); + break; } case 16: { - if (wireType !== 2) - break; - message.spaceAbove = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.spaceAbove); - continue; + message.spaceAbove = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 17: { - if (wireType !== 2) - break; - message.spaceBelow = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.spaceBelow); - continue; + message.spaceBelow = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 18: { - if (wireType !== 2) - break; - message.widowSetting = $root.ProtoBoxedInt32.decode(reader, reader.uint32(), undefined, _depth + 1, message.widowSetting); - continue; + message.widowSetting = $root.ProtoBoxedInt32.decode(reader, reader.uint32()); + break; } case 19: { - if (wireType !== 2) - break; - message.orphanSetting = $root.ProtoBoxedInt32.decode(reader, reader.uint32(), undefined, _depth + 1, message.orphanSetting); - continue; + message.orphanSetting = $root.ProtoBoxedInt32.decode(reader, reader.uint32()); + break; } case 20: { - if (wireType !== 2) - break; - message.widowPriority = $root.ProtoBoxedInt32.decode(reader, reader.uint32(), undefined, _depth + 1, message.widowPriority); - continue; + message.widowPriority = $root.ProtoBoxedInt32.decode(reader, reader.uint32()); + break; } case 21: { - if (wireType !== 2) - break; - message.strikethrough = $root.ProtoBoxedStrikethroughSpec.decode(reader, reader.uint32(), undefined, _depth + 1, message.strikethrough); - continue; + message.strikethrough = $root.ProtoBoxedStrikethroughSpec.decode(reader, reader.uint32()); + break; } case 22: { - if (wireType !== 2) - break; - message.superscriptSubscript = $root.ProtoBoxedSPBMode.decode(reader, reader.uint32(), undefined, _depth + 1, message.superscriptSubscript); - continue; + message.superscriptSubscript = $root.ProtoBoxedSPBMode.decode(reader, reader.uint32()); + break; } case 23: { - if (wireType !== 2) - break; - message.backgroundColor = $root.ProtoBoxedColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.backgroundColor); - continue; + message.backgroundColor = $root.ProtoBoxedColor.decode(reader, reader.uint32()); + break; } case 24: { - if (wireType !== 2) - break; - message.listSetting = $root.ProtoBoxedListSetting.decode(reader, reader.uint32(), undefined, _depth + 1, message.listSetting); - continue; + message.listSetting = $root.ProtoBoxedListSetting.decode(reader, reader.uint32()); + break; } case 25: { - if (wireType !== 2) - break; - message.hyphenation = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.hyphenation); - continue; + message.hyphenation = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 26: { - if (wireType !== 2) - break; - message.preNamedString = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.preNamedString); - continue; + message.preNamedString = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 27: { - if (wireType !== 2) - break; - message.postNamedString = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.postNamedString); - continue; + message.postNamedString = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 28: { - if (wireType !== 2) - break; - message.semanticType = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.semanticType); - continue; + message.semanticType = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 29: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 30: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -19147,150 +16862,146 @@ $root.ProtoParagraphFormat = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoParagraphFormat.verify = function verify(message, _depth) { + ProtoParagraphFormat.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.baseFormat != null && message.hasOwnProperty("baseFormat")) { - var error = $root.ProtoParagraphFormat.verify(message.baseFormat, _depth + 1); + var error = $root.ProtoParagraphFormat.verify(message.baseFormat); if (error) return "baseFormat." + error; } if (message.name != null && message.hasOwnProperty("name")) { - var error = $root.ProtoBoxedString.verify(message.name, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.name); if (error) return "name." + error; } if (message["default"] != null && message.hasOwnProperty("default")) { - var error = $root.ProtoBoxedBool.verify(message["default"], _depth + 1); + var error = $root.ProtoBoxedBool.verify(message["default"]); if (error) return "default." + error; } if (message.font != null && message.hasOwnProperty("font")) { - var error = $root.ProtoBoxedFont.verify(message.font, _depth + 1); + var error = $root.ProtoBoxedFont.verify(message.font); if (error) return "font." + error; } if (message.bold != null && message.hasOwnProperty("bold")) { - var error = $root.ProtoBoxedBool.verify(message.bold, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.bold); if (error) return "bold." + error; } if (message.italic != null && message.hasOwnProperty("italic")) { - var error = $root.ProtoBoxedBool.verify(message.italic, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.italic); if (error) return "italic." + error; } if (message.fontColor != null && message.hasOwnProperty("fontColor")) { - var error = $root.ProtoBoxedColor.verify(message.fontColor, _depth + 1); + var error = $root.ProtoBoxedColor.verify(message.fontColor); if (error) return "fontColor." + error; } if (message.underline != null && message.hasOwnProperty("underline")) { - var error = $root.ProtoBoxedUnderlineSpec.verify(message.underline, _depth + 1); + var error = $root.ProtoBoxedUnderlineSpec.verify(message.underline); if (error) return "underline." + error; } if (message.fontSize != null && message.hasOwnProperty("fontSize")) { - var error = $root.ProtoBoxedMeasure.verify(message.fontSize, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.fontSize); if (error) return "fontSize." + error; } if (message.characterWidth != null && message.hasOwnProperty("characterWidth")) { - var error = $root.ProtoBoxedMeasure.verify(message.characterWidth, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.characterWidth); if (error) return "characterWidth." + error; } if (message.characterSpacing != null && message.hasOwnProperty("characterSpacing")) { - var error = $root.ProtoBoxedMeasure.verify(message.characterSpacing, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.characterSpacing); if (error) return "characterSpacing." + error; } if (message.lineFeed != null && message.hasOwnProperty("lineFeed")) { - var error = $root.ProtoBoxedMeasure.verify(message.lineFeed, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.lineFeed); if (error) return "lineFeed." + error; } if (message.alignment != null && message.hasOwnProperty("alignment")) { - var error = $root.ProtoBoxedHorizontalAlignment.verify(message.alignment, _depth + 1); + var error = $root.ProtoBoxedHorizontalAlignment.verify(message.alignment); if (error) return "alignment." + error; } if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) { - var error = $root.ProtoBoxedMeasure.verify(message.indentionWidth, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.indentionWidth); if (error) return "indentionWidth." + error; } if (message.indentionLevel != null && message.hasOwnProperty("indentionLevel")) { - var error = $root.ProtoBoxedInt32.verify(message.indentionLevel, _depth + 1); + var error = $root.ProtoBoxedInt32.verify(message.indentionLevel); if (error) return "indentionLevel." + error; } if (message.spaceAbove != null && message.hasOwnProperty("spaceAbove")) { - var error = $root.ProtoBoxedMeasure.verify(message.spaceAbove, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.spaceAbove); if (error) return "spaceAbove." + error; } if (message.spaceBelow != null && message.hasOwnProperty("spaceBelow")) { - var error = $root.ProtoBoxedMeasure.verify(message.spaceBelow, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.spaceBelow); if (error) return "spaceBelow." + error; } if (message.widowSetting != null && message.hasOwnProperty("widowSetting")) { - var error = $root.ProtoBoxedInt32.verify(message.widowSetting, _depth + 1); + var error = $root.ProtoBoxedInt32.verify(message.widowSetting); if (error) return "widowSetting." + error; } if (message.orphanSetting != null && message.hasOwnProperty("orphanSetting")) { - var error = $root.ProtoBoxedInt32.verify(message.orphanSetting, _depth + 1); + var error = $root.ProtoBoxedInt32.verify(message.orphanSetting); if (error) return "orphanSetting." + error; } if (message.widowPriority != null && message.hasOwnProperty("widowPriority")) { - var error = $root.ProtoBoxedInt32.verify(message.widowPriority, _depth + 1); + var error = $root.ProtoBoxedInt32.verify(message.widowPriority); if (error) return "widowPriority." + error; } if (message.strikethrough != null && message.hasOwnProperty("strikethrough")) { - var error = $root.ProtoBoxedStrikethroughSpec.verify(message.strikethrough, _depth + 1); + var error = $root.ProtoBoxedStrikethroughSpec.verify(message.strikethrough); if (error) return "strikethrough." + error; } if (message.superscriptSubscript != null && message.hasOwnProperty("superscriptSubscript")) { - var error = $root.ProtoBoxedSPBMode.verify(message.superscriptSubscript, _depth + 1); + var error = $root.ProtoBoxedSPBMode.verify(message.superscriptSubscript); if (error) return "superscriptSubscript." + error; } if (message.backgroundColor != null && message.hasOwnProperty("backgroundColor")) { - var error = $root.ProtoBoxedColor.verify(message.backgroundColor, _depth + 1); + var error = $root.ProtoBoxedColor.verify(message.backgroundColor); if (error) return "backgroundColor." + error; } if (message.listSetting != null && message.hasOwnProperty("listSetting")) { - var error = $root.ProtoBoxedListSetting.verify(message.listSetting, _depth + 1); + var error = $root.ProtoBoxedListSetting.verify(message.listSetting); if (error) return "listSetting." + error; } if (message.hyphenation != null && message.hasOwnProperty("hyphenation")) { - var error = $root.ProtoBoxedBool.verify(message.hyphenation, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.hyphenation); if (error) return "hyphenation." + error; } if (message.preNamedString != null && message.hasOwnProperty("preNamedString")) { - var error = $root.ProtoBoxedString.verify(message.preNamedString, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.preNamedString); if (error) return "preNamedString." + error; } if (message.postNamedString != null && message.hasOwnProperty("postNamedString")) { - var error = $root.ProtoBoxedString.verify(message.postNamedString, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.postNamedString); if (error) return "postNamedString." + error; } if (message.semanticType != null && message.hasOwnProperty("semanticType")) { - var error = $root.ProtoBoxedString.verify(message.semanticType, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.semanticType); if (error) return "semanticType." + error; } @@ -19301,6 +17012,9 @@ $root.ProtoParagraphFormat = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -19312,161 +17026,159 @@ $root.ProtoParagraphFormat = (function() { * @param {Object.} object Plain object * @returns {ProtoParagraphFormat} ProtoParagraphFormat */ - ProtoParagraphFormat.fromObject = function fromObject(object, _depth) { + ProtoParagraphFormat.fromObject = function fromObject(object) { if (object instanceof $root.ProtoParagraphFormat) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoParagraphFormat(); if (object.baseFormat != null) { if (typeof object.baseFormat !== "object") throw TypeError(".ProtoParagraphFormat.baseFormat: object expected"); - message.baseFormat = $root.ProtoParagraphFormat.fromObject(object.baseFormat, _depth + 1); + message.baseFormat = $root.ProtoParagraphFormat.fromObject(object.baseFormat); } if (object.name != null) { if (typeof object.name !== "object") throw TypeError(".ProtoParagraphFormat.name: object expected"); - message.name = $root.ProtoBoxedString.fromObject(object.name, _depth + 1); + message.name = $root.ProtoBoxedString.fromObject(object.name); } if (object["default"] != null) { if (typeof object["default"] !== "object") throw TypeError(".ProtoParagraphFormat.default: object expected"); - message["default"] = $root.ProtoBoxedBool.fromObject(object["default"], _depth + 1); + message["default"] = $root.ProtoBoxedBool.fromObject(object["default"]); } if (object.font != null) { if (typeof object.font !== "object") throw TypeError(".ProtoParagraphFormat.font: object expected"); - message.font = $root.ProtoBoxedFont.fromObject(object.font, _depth + 1); + message.font = $root.ProtoBoxedFont.fromObject(object.font); } if (object.bold != null) { if (typeof object.bold !== "object") throw TypeError(".ProtoParagraphFormat.bold: object expected"); - message.bold = $root.ProtoBoxedBool.fromObject(object.bold, _depth + 1); + message.bold = $root.ProtoBoxedBool.fromObject(object.bold); } if (object.italic != null) { if (typeof object.italic !== "object") throw TypeError(".ProtoParagraphFormat.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic, _depth + 1); + message.italic = $root.ProtoBoxedBool.fromObject(object.italic); } if (object.fontColor != null) { if (typeof object.fontColor !== "object") throw TypeError(".ProtoParagraphFormat.fontColor: object expected"); - message.fontColor = $root.ProtoBoxedColor.fromObject(object.fontColor, _depth + 1); + message.fontColor = $root.ProtoBoxedColor.fromObject(object.fontColor); } if (object.underline != null) { if (typeof object.underline !== "object") throw TypeError(".ProtoParagraphFormat.underline: object expected"); - message.underline = $root.ProtoBoxedUnderlineSpec.fromObject(object.underline, _depth + 1); + message.underline = $root.ProtoBoxedUnderlineSpec.fromObject(object.underline); } if (object.fontSize != null) { if (typeof object.fontSize !== "object") throw TypeError(".ProtoParagraphFormat.fontSize: object expected"); - message.fontSize = $root.ProtoBoxedMeasure.fromObject(object.fontSize, _depth + 1); + message.fontSize = $root.ProtoBoxedMeasure.fromObject(object.fontSize); } if (object.characterWidth != null) { if (typeof object.characterWidth !== "object") throw TypeError(".ProtoParagraphFormat.characterWidth: object expected"); - message.characterWidth = $root.ProtoBoxedMeasure.fromObject(object.characterWidth, _depth + 1); + message.characterWidth = $root.ProtoBoxedMeasure.fromObject(object.characterWidth); } if (object.characterSpacing != null) { if (typeof object.characterSpacing !== "object") throw TypeError(".ProtoParagraphFormat.characterSpacing: object expected"); - message.characterSpacing = $root.ProtoBoxedMeasure.fromObject(object.characterSpacing, _depth + 1); + message.characterSpacing = $root.ProtoBoxedMeasure.fromObject(object.characterSpacing); } if (object.lineFeed != null) { if (typeof object.lineFeed !== "object") throw TypeError(".ProtoParagraphFormat.lineFeed: object expected"); - message.lineFeed = $root.ProtoBoxedMeasure.fromObject(object.lineFeed, _depth + 1); + message.lineFeed = $root.ProtoBoxedMeasure.fromObject(object.lineFeed); } if (object.alignment != null) { if (typeof object.alignment !== "object") throw TypeError(".ProtoParagraphFormat.alignment: object expected"); - message.alignment = $root.ProtoBoxedHorizontalAlignment.fromObject(object.alignment, _depth + 1); + message.alignment = $root.ProtoBoxedHorizontalAlignment.fromObject(object.alignment); } if (object.indentionWidth != null) { if (typeof object.indentionWidth !== "object") throw TypeError(".ProtoParagraphFormat.indentionWidth: object expected"); - message.indentionWidth = $root.ProtoBoxedMeasure.fromObject(object.indentionWidth, _depth + 1); + message.indentionWidth = $root.ProtoBoxedMeasure.fromObject(object.indentionWidth); } if (object.indentionLevel != null) { if (typeof object.indentionLevel !== "object") throw TypeError(".ProtoParagraphFormat.indentionLevel: object expected"); - message.indentionLevel = $root.ProtoBoxedInt32.fromObject(object.indentionLevel, _depth + 1); + message.indentionLevel = $root.ProtoBoxedInt32.fromObject(object.indentionLevel); } if (object.spaceAbove != null) { if (typeof object.spaceAbove !== "object") throw TypeError(".ProtoParagraphFormat.spaceAbove: object expected"); - message.spaceAbove = $root.ProtoBoxedMeasure.fromObject(object.spaceAbove, _depth + 1); + message.spaceAbove = $root.ProtoBoxedMeasure.fromObject(object.spaceAbove); } if (object.spaceBelow != null) { if (typeof object.spaceBelow !== "object") throw TypeError(".ProtoParagraphFormat.spaceBelow: object expected"); - message.spaceBelow = $root.ProtoBoxedMeasure.fromObject(object.spaceBelow, _depth + 1); + message.spaceBelow = $root.ProtoBoxedMeasure.fromObject(object.spaceBelow); } if (object.widowSetting != null) { if (typeof object.widowSetting !== "object") throw TypeError(".ProtoParagraphFormat.widowSetting: object expected"); - message.widowSetting = $root.ProtoBoxedInt32.fromObject(object.widowSetting, _depth + 1); + message.widowSetting = $root.ProtoBoxedInt32.fromObject(object.widowSetting); } if (object.orphanSetting != null) { if (typeof object.orphanSetting !== "object") throw TypeError(".ProtoParagraphFormat.orphanSetting: object expected"); - message.orphanSetting = $root.ProtoBoxedInt32.fromObject(object.orphanSetting, _depth + 1); + message.orphanSetting = $root.ProtoBoxedInt32.fromObject(object.orphanSetting); } if (object.widowPriority != null) { if (typeof object.widowPriority !== "object") throw TypeError(".ProtoParagraphFormat.widowPriority: object expected"); - message.widowPriority = $root.ProtoBoxedInt32.fromObject(object.widowPriority, _depth + 1); + message.widowPriority = $root.ProtoBoxedInt32.fromObject(object.widowPriority); } if (object.strikethrough != null) { if (typeof object.strikethrough !== "object") throw TypeError(".ProtoParagraphFormat.strikethrough: object expected"); - message.strikethrough = $root.ProtoBoxedStrikethroughSpec.fromObject(object.strikethrough, _depth + 1); + message.strikethrough = $root.ProtoBoxedStrikethroughSpec.fromObject(object.strikethrough); } if (object.superscriptSubscript != null) { if (typeof object.superscriptSubscript !== "object") throw TypeError(".ProtoParagraphFormat.superscriptSubscript: object expected"); - message.superscriptSubscript = $root.ProtoBoxedSPBMode.fromObject(object.superscriptSubscript, _depth + 1); + message.superscriptSubscript = $root.ProtoBoxedSPBMode.fromObject(object.superscriptSubscript); } if (object.backgroundColor != null) { if (typeof object.backgroundColor !== "object") throw TypeError(".ProtoParagraphFormat.backgroundColor: object expected"); - message.backgroundColor = $root.ProtoBoxedColor.fromObject(object.backgroundColor, _depth + 1); + message.backgroundColor = $root.ProtoBoxedColor.fromObject(object.backgroundColor); } if (object.listSetting != null) { if (typeof object.listSetting !== "object") throw TypeError(".ProtoParagraphFormat.listSetting: object expected"); - message.listSetting = $root.ProtoBoxedListSetting.fromObject(object.listSetting, _depth + 1); + message.listSetting = $root.ProtoBoxedListSetting.fromObject(object.listSetting); } if (object.hyphenation != null) { if (typeof object.hyphenation !== "object") throw TypeError(".ProtoParagraphFormat.hyphenation: object expected"); - message.hyphenation = $root.ProtoBoxedBool.fromObject(object.hyphenation, _depth + 1); + message.hyphenation = $root.ProtoBoxedBool.fromObject(object.hyphenation); } if (object.preNamedString != null) { if (typeof object.preNamedString !== "object") throw TypeError(".ProtoParagraphFormat.preNamedString: object expected"); - message.preNamedString = $root.ProtoBoxedString.fromObject(object.preNamedString, _depth + 1); + message.preNamedString = $root.ProtoBoxedString.fromObject(object.preNamedString); } if (object.postNamedString != null) { if (typeof object.postNamedString !== "object") throw TypeError(".ProtoParagraphFormat.postNamedString: object expected"); - message.postNamedString = $root.ProtoBoxedString.fromObject(object.postNamedString, _depth + 1); + message.postNamedString = $root.ProtoBoxedString.fromObject(object.postNamedString); } if (object.semanticType != null) { if (typeof object.semanticType !== "object") throw TypeError(".ProtoParagraphFormat.semanticType: object expected"); - message.semanticType = $root.ProtoBoxedString.fromObject(object.semanticType, _depth + 1); + message.semanticType = $root.ProtoBoxedString.fromObject(object.semanticType); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoParagraphFormat.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -19514,6 +17226,7 @@ $root.ProtoParagraphFormat = (function() { object.preNamedString = null; object.postNamedString = null; object.semanticType = null; + object.uuid = ""; } if (message.baseFormat != null && message.hasOwnProperty("baseFormat")) object.baseFormat = $root.ProtoParagraphFormat.toObject(message.baseFormat, options); @@ -19572,10 +17285,12 @@ $root.ProtoParagraphFormat = (function() { if (message.semanticType != null && message.hasOwnProperty("semanticType")) object.semanticType = $root.ProtoBoxedString.toObject(message.semanticType, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -19591,17 +17306,18 @@ $root.ProtoParagraphFormat = (function() { }; /** - * Gets the type url for ProtoParagraphFormat + * Gets the default type url for ProtoParagraphFormat * @function getTypeUrl * @memberof ProtoParagraphFormat * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoParagraphFormat.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoParagraphFormat"; + ProtoParagraphFormat.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoParagraphFormat"; }; return ProtoParagraphFormat; @@ -19618,7 +17334,6 @@ $root.ProtoSection = (function() { * @property {string|null} [uuid] ProtoSection uuid * @property {string|null} [cDefUuid] ProtoSection cDefUuid * @property {Array.|null} [comChannelUUIDs] ProtoSection comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -19628,14 +17343,13 @@ $root.ProtoSection = (function() { * @implements IProtoSection * @constructor * @param {IProtoSection=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSection(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -19715,9 +17429,6 @@ $root.ProtoSection = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -19745,70 +17456,42 @@ $root.ProtoSection = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSection.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSection.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSection(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSection(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.cDefUuid = value; - else - delete message.cDefUuid; - continue; + message.cDefUuid = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -19836,24 +17519,20 @@ $root.ProtoSection = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSection.verify = function verify(message, _depth) { + ProtoSection.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -19881,39 +17560,33 @@ $root.ProtoSection = (function() { * @param {Object.} object Plain object * @returns {ProtoSection} ProtoSection */ - ProtoSection.fromObject = function fromObject(object, _depth) { + ProtoSection.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSection) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSection(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoSection._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoSection._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoSection.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.cDefUuid != null) - if (typeof object.cDefUuid !== "string" || object.cDefUuid.length) - message.cDefUuid = String(object.cDefUuid); + message.cDefUuid = String(object.cDefUuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoSection.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -19943,7 +17616,7 @@ $root.ProtoSection = (function() { object.cDefUuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -19954,7 +17627,7 @@ $root.ProtoSection = (function() { if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) object.cDefUuid = message.cDefUuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -19973,17 +17646,18 @@ $root.ProtoSection = (function() { }; /** - * Gets the type url for ProtoSection + * Gets the default type url for ProtoSection * @function getTypeUrl * @memberof ProtoSection * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSection.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSection"; + ProtoSection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSection"; }; return ProtoSection; @@ -19998,7 +17672,7 @@ $root.ProtoSpaceVertically = (function() { * @property {IProtoDocumentElement|null} [parent] ProtoSpaceVertically parent * @property {IProtoMeasure|null} [space] ProtoSpaceVertically space * @property {Array.|null} [comChannelUUIDs] ProtoSpaceVertically comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoSpaceVertically uuid */ /** @@ -20008,13 +17682,12 @@ $root.ProtoSpaceVertically = (function() { * @implements IProtoSpaceVertically * @constructor * @param {IProtoSpaceVertically=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSpaceVertically(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -20042,6 +17715,14 @@ $root.ProtoSpaceVertically = (function() { */ ProtoSpaceVertically.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoSpaceVertically uuid. + * @member {string} uuid + * @memberof ProtoSpaceVertically + * @instance + */ + ProtoSpaceVertically.prototype.uuid = ""; + /** * Creates a new ProtoSpaceVertically instance using the specified properties. * @function create @@ -20073,9 +17754,8 @@ $root.ProtoSpaceVertically = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); return writer; }; @@ -20103,50 +17783,36 @@ $root.ProtoSpaceVertically = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSpaceVertically.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSpaceVertically.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSpaceVertically(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSpaceVertically(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.space = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.space); - continue; + message.space = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 4: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -20174,20 +17840,16 @@ $root.ProtoSpaceVertically = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSpaceVertically.verify = function verify(message, _depth) { + ProtoSpaceVertically.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.space != null && message.hasOwnProperty("space")) { - var error = $root.ProtoMeasure.verify(message.space, _depth + 1); + var error = $root.ProtoMeasure.verify(message.space); if (error) return "space." + error; } @@ -20198,6 +17860,9 @@ $root.ProtoSpaceVertically = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -20209,31 +17874,29 @@ $root.ProtoSpaceVertically = (function() { * @param {Object.} object Plain object * @returns {ProtoSpaceVertically} ProtoSpaceVertically */ - ProtoSpaceVertically.fromObject = function fromObject(object, _depth) { + ProtoSpaceVertically.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSpaceVertically) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSpaceVertically(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoSpaceVertically.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.space != null) { if (typeof object.space !== "object") throw TypeError(".ProtoSpaceVertically.space: object expected"); - message.space = $root.ProtoMeasure.fromObject(object.space, _depth + 1); + message.space = $root.ProtoMeasure.fromObject(object.space); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoSpaceVertically.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -20255,16 +17918,19 @@ $root.ProtoSpaceVertically = (function() { if (options.defaults) { object.parent = null; object.space = null; + object.uuid = ""; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.space != null && message.hasOwnProperty("space")) object.space = $root.ProtoMeasure.toObject(message.space, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -20280,17 +17946,18 @@ $root.ProtoSpaceVertically = (function() { }; /** - * Gets the type url for ProtoSpaceVertically + * Gets the default type url for ProtoSpaceVertically * @function getTypeUrl * @memberof ProtoSpaceVertically * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSpaceVertically.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSpaceVertically"; + ProtoSpaceVertically.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSpaceVertically"; }; return ProtoSpaceVertically; @@ -20312,7 +17979,6 @@ $root.ProtoSpan = (function() { * @property {IProtoBoxedBool|null} [underline] ProtoSpan underline * @property {IProtoBoxedBool|null} [strikethrough] ProtoSpan strikethrough * @property {Array.|null} [comChannelUUIDs] ProtoSpan comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -20322,14 +17988,13 @@ $root.ProtoSpan = (function() { * @implements IProtoSpan * @constructor * @param {IProtoSpan=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSpan(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -20459,9 +18124,6 @@ $root.ProtoSpan = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -20489,94 +18151,62 @@ $root.ProtoSpan = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSpan.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSpan.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSpan(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSpan(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.bold); - continue; + message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.italic); - continue; + message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - message.subscript = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.subscript); - continue; + message.subscript = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.superscript = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.superscript); - continue; + message.superscript = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 2) - break; - message.underline = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.underline); - continue; + message.underline = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - message.strikethrough = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.strikethrough); - continue; + message.strikethrough = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 10: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -20604,59 +18234,55 @@ $root.ProtoSpan = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSpan.verify = function verify(message, _depth) { + ProtoSpan.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.bold != null && message.hasOwnProperty("bold")) { - var error = $root.ProtoBoxedBool.verify(message.bold, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.bold); if (error) return "bold." + error; } if (message.italic != null && message.hasOwnProperty("italic")) { - var error = $root.ProtoBoxedBool.verify(message.italic, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.italic); if (error) return "italic." + error; } if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } if (message.subscript != null && message.hasOwnProperty("subscript")) { - var error = $root.ProtoBoxedBool.verify(message.subscript, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.subscript); if (error) return "subscript." + error; } if (message.superscript != null && message.hasOwnProperty("superscript")) { - var error = $root.ProtoBoxedBool.verify(message.superscript, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.superscript); if (error) return "superscript." + error; } if (message.underline != null && message.hasOwnProperty("underline")) { - var error = $root.ProtoBoxedBool.verify(message.underline, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.underline); if (error) return "underline." + error; } if (message.strikethrough != null && message.hasOwnProperty("strikethrough")) { - var error = $root.ProtoBoxedBool.verify(message.strikethrough, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.strikethrough); if (error) return "strikethrough." + error; } @@ -20678,68 +18304,64 @@ $root.ProtoSpan = (function() { * @param {Object.} object Plain object * @returns {ProtoSpan} ProtoSpan */ - ProtoSpan.fromObject = function fromObject(object, _depth) { + ProtoSpan.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSpan) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSpan(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoSpan._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoSpan._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoSpan.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.bold != null) { if (typeof object.bold !== "object") throw TypeError(".ProtoSpan.bold: object expected"); - message.bold = $root.ProtoBoxedBool.fromObject(object.bold, _depth + 1); + message.bold = $root.ProtoBoxedBool.fromObject(object.bold); } if (object.italic != null) { if (typeof object.italic !== "object") throw TypeError(".ProtoSpan.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic, _depth + 1); + message.italic = $root.ProtoBoxedBool.fromObject(object.italic); } if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoSpan.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.subscript != null) { if (typeof object.subscript !== "object") throw TypeError(".ProtoSpan.subscript: object expected"); - message.subscript = $root.ProtoBoxedBool.fromObject(object.subscript, _depth + 1); + message.subscript = $root.ProtoBoxedBool.fromObject(object.subscript); } if (object.superscript != null) { if (typeof object.superscript !== "object") throw TypeError(".ProtoSpan.superscript: object expected"); - message.superscript = $root.ProtoBoxedBool.fromObject(object.superscript, _depth + 1); + message.superscript = $root.ProtoBoxedBool.fromObject(object.superscript); } if (object.underline != null) { if (typeof object.underline !== "object") throw TypeError(".ProtoSpan.underline: object expected"); - message.underline = $root.ProtoBoxedBool.fromObject(object.underline, _depth + 1); + message.underline = $root.ProtoBoxedBool.fromObject(object.underline); } if (object.strikethrough != null) { if (typeof object.strikethrough !== "object") throw TypeError(".ProtoSpan.strikethrough: object expected"); - message.strikethrough = $root.ProtoBoxedBool.fromObject(object.strikethrough, _depth + 1); + message.strikethrough = $root.ProtoBoxedBool.fromObject(object.strikethrough); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoSpan.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -20774,7 +18396,7 @@ $root.ProtoSpan = (function() { object.strikethrough = null; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -20795,7 +18417,7 @@ $root.ProtoSpan = (function() { if (message.strikethrough != null && message.hasOwnProperty("strikethrough")) object.strikethrough = $root.ProtoBoxedBool.toObject(message.strikethrough, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -20814,17 +18436,18 @@ $root.ProtoSpan = (function() { }; /** - * Gets the type url for ProtoSpan + * Gets the default type url for ProtoSpan * @function getTypeUrl * @memberof ProtoSpan * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSpan.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSpan"; + ProtoSpan.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSpan"; }; return ProtoSpan; @@ -20845,7 +18468,6 @@ $root.ProtoTable = (function() { * @property {Array.|null} [comChannelUUIDs] ProtoTable comChannelUUIDs * @property {IProtoTableElementProperties|null} [elementProperties] ProtoTable elementProperties * @property {string|null} [uuid] ProtoTable uuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -20855,14 +18477,13 @@ $root.ProtoTable = (function() { * @implements IProtoTable * @constructor * @param {IProtoTable=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTable(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -20982,9 +18603,6 @@ $root.ProtoTable = (function() { $root.ProtoTableElementProperties.encode(message.elementProperties, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) writer.uint32(/* id 9, wireType 2 =*/74).string(message.uuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -21012,94 +18630,58 @@ $root.ProtoTable = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTable.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTable.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTable(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTable(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.settings = $root.ProtoTableSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.settings); - continue; + message.settings = $root.ProtoTableSettings.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.configName = value; - else - delete message.configName; - continue; + message.configName = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - message.carryOver = $root.Node.decode(reader, reader.uint32(), undefined, _depth + 1, message.carryOver); - continue; + message.carryOver = $root.Node.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - message.subTotal = $root.Node.decode(reader, reader.uint32(), undefined, _depth + 1, message.subTotal); - continue; + message.subTotal = $root.Node.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 8: { - if (wireType !== 2) - break; - message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32(), undefined, _depth + 1, message.elementProperties); - continue; + message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -21127,29 +18709,25 @@ $root.ProtoTable = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTable.verify = function verify(message, _depth) { + ProtoTable.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.settings != null && message.hasOwnProperty("settings")) { - var error = $root.ProtoTableSettings.verify(message.settings, _depth + 1); + var error = $root.ProtoTableSettings.verify(message.settings); if (error) return "settings." + error; } @@ -21157,12 +18735,12 @@ $root.ProtoTable = (function() { if (!$util.isString(message.configName)) return "configName: string expected"; if (message.carryOver != null && message.hasOwnProperty("carryOver")) { - var error = $root.Node.verify(message.carryOver, _depth + 1); + var error = $root.Node.verify(message.carryOver); if (error) return "carryOver." + error; } if (message.subTotal != null && message.hasOwnProperty("subTotal")) { - var error = $root.Node.verify(message.subTotal, _depth + 1); + var error = $root.Node.verify(message.subTotal); if (error) return "subTotal." + error; } @@ -21174,7 +18752,7 @@ $root.ProtoTable = (function() { return "comChannelUUIDs: string[] expected"; } if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) { - var error = $root.ProtoTableElementProperties.verify(message.elementProperties, _depth + 1); + var error = $root.ProtoTableElementProperties.verify(message.elementProperties); if (error) return "elementProperties." + error; } @@ -21192,62 +18770,56 @@ $root.ProtoTable = (function() { * @param {Object.} object Plain object * @returns {ProtoTable} ProtoTable */ - ProtoTable.fromObject = function fromObject(object, _depth) { + ProtoTable.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTable) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTable(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoTable._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoTable._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTable.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.settings != null) { if (typeof object.settings !== "object") throw TypeError(".ProtoTable.settings: object expected"); - message.settings = $root.ProtoTableSettings.fromObject(object.settings, _depth + 1); + message.settings = $root.ProtoTableSettings.fromObject(object.settings); } if (object.configName != null) - if (typeof object.configName !== "string" || object.configName.length) - message.configName = String(object.configName); + message.configName = String(object.configName); if (object.carryOver != null) { if (typeof object.carryOver !== "object") throw TypeError(".ProtoTable.carryOver: object expected"); - message.carryOver = $root.Node.fromObject(object.carryOver, _depth + 1); + message.carryOver = $root.Node.fromObject(object.carryOver); } if (object.subTotal != null) { if (typeof object.subTotal !== "object") throw TypeError(".ProtoTable.subTotal: object expected"); - message.subTotal = $root.Node.fromObject(object.subTotal, _depth + 1); + message.subTotal = $root.Node.fromObject(object.subTotal); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTable.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.elementProperties != null) { if (typeof object.elementProperties !== "object") throw TypeError(".ProtoTable.elementProperties: object expected"); - message.elementProperties = $root.ProtoTableElementProperties.fromObject(object.elementProperties, _depth + 1); + message.elementProperties = $root.ProtoTableElementProperties.fromObject(object.elementProperties); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); return message; }; @@ -21278,7 +18850,7 @@ $root.ProtoTable = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -21293,7 +18865,7 @@ $root.ProtoTable = (function() { if (message.subTotal != null && message.hasOwnProperty("subTotal")) object.subTotal = $root.Node.toObject(message.subTotal, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -21316,17 +18888,18 @@ $root.ProtoTable = (function() { }; /** - * Gets the type url for ProtoTable + * Gets the default type url for ProtoTable * @function getTypeUrl * @memberof ProtoTable * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTable.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTable"; + ProtoTable.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTable"; }; return ProtoTable; @@ -21342,7 +18915,7 @@ $root.ProtoTableConfig = (function() { * @property {IProtoTableSettings|null} [settings] ProtoTableConfig settings * @property {string|null} [configName] ProtoTableConfig configName * @property {Array.|null} [comChannelUUIDs] ProtoTableConfig comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoTableConfig uuid */ /** @@ -21352,13 +18925,12 @@ $root.ProtoTableConfig = (function() { * @implements IProtoTableConfig * @constructor * @param {IProtoTableConfig=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableConfig(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -21394,6 +18966,14 @@ $root.ProtoTableConfig = (function() { */ ProtoTableConfig.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoTableConfig uuid. + * @member {string} uuid + * @memberof ProtoTableConfig + * @instance + */ + ProtoTableConfig.prototype.uuid = ""; + /** * Creates a new ProtoTableConfig instance using the specified properties. * @function create @@ -21427,9 +19007,8 @@ $root.ProtoTableConfig = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 4, wireType 2 =*/34).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.uuid); return writer; }; @@ -21457,59 +19036,40 @@ $root.ProtoTableConfig = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableConfig.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableConfig(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableConfig(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.settings = $root.ProtoTableSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.settings); - continue; + message.settings = $root.ProtoTableSettings.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.configName = value; - else - delete message.configName; - continue; + message.configName = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 5: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -21537,20 +19097,16 @@ $root.ProtoTableConfig = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableConfig.verify = function verify(message, _depth) { + ProtoTableConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.settings != null && message.hasOwnProperty("settings")) { - var error = $root.ProtoTableSettings.verify(message.settings, _depth + 1); + var error = $root.ProtoTableSettings.verify(message.settings); if (error) return "settings." + error; } @@ -21564,6 +19120,9 @@ $root.ProtoTableConfig = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -21575,34 +19134,31 @@ $root.ProtoTableConfig = (function() { * @param {Object.} object Plain object * @returns {ProtoTableConfig} ProtoTableConfig */ - ProtoTableConfig.fromObject = function fromObject(object, _depth) { + ProtoTableConfig.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableConfig) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableConfig(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTableConfig.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.settings != null) { if (typeof object.settings !== "object") throw TypeError(".ProtoTableConfig.settings: object expected"); - message.settings = $root.ProtoTableSettings.fromObject(object.settings, _depth + 1); + message.settings = $root.ProtoTableSettings.fromObject(object.settings); } if (object.configName != null) - if (typeof object.configName !== "string" || object.configName.length) - message.configName = String(object.configName); + message.configName = String(object.configName); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTableConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -21625,6 +19181,7 @@ $root.ProtoTableConfig = (function() { object.parent = null; object.settings = null; object.configName = ""; + object.uuid = ""; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); @@ -21633,10 +19190,12 @@ $root.ProtoTableConfig = (function() { if (message.configName != null && message.hasOwnProperty("configName")) object.configName = message.configName; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -21652,17 +19211,18 @@ $root.ProtoTableConfig = (function() { }; /** - * Gets the type url for ProtoTableConfig + * Gets the default type url for ProtoTableConfig * @function getTypeUrl * @memberof ProtoTableConfig * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableConfig.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableConfig"; + ProtoTableConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableConfig"; }; return ProtoTableConfig; @@ -21681,7 +19241,6 @@ $root.ProtoTableSettings = (function() { * @property {IProtoTableWS|null} [ws] ProtoTableSettings ws * @property {IProtoBoxedBool|null} [noDocumentStructure] ProtoTableSettings noDocumentStructure * @property {IProtoBoxedUint32|null} [repeatSubHeader] ProtoTableSettings repeatSubHeader - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -21691,12 +19250,11 @@ $root.ProtoTableSettings = (function() { * @implements IProtoTableSettings * @constructor * @param {IProtoTableSettings=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableSettings(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -21794,9 +19352,6 @@ $root.ProtoTableSettings = (function() { $root.ProtoBoxedBool.encode(message.noDocumentStructure, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); if (message.repeatSubHeader != null && Object.hasOwnProperty.call(message, "repeatSubHeader")) $root.ProtoBoxedUint32.encode(message.repeatSubHeader, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -21824,72 +19379,46 @@ $root.ProtoTableSettings = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableSettings.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableSettings.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableSettings(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableSettings(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.xOffset = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.xOffset); - continue; + message.xOffset = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.leftMeasure = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.leftMeasure); - continue; + message.leftMeasure = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.width = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.repeatHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.repeatHeader); - continue; + message.repeatHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; - message.ws = $root.ProtoTableWS.decode(reader, reader.uint32(), undefined, _depth + 1, message.ws); - continue; + message.ws = $root.ProtoTableWS.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - message.noDocumentStructure = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.noDocumentStructure); - continue; + message.noDocumentStructure = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.repeatSubHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.repeatSubHeader); - continue; + message.repeatSubHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -21917,45 +19446,41 @@ $root.ProtoTableSettings = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableSettings.verify = function verify(message, _depth) { + ProtoTableSettings.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.xOffset != null && message.hasOwnProperty("xOffset")) { - var error = $root.ProtoMeasure.verify(message.xOffset, _depth + 1); + var error = $root.ProtoMeasure.verify(message.xOffset); if (error) return "xOffset." + error; } if (message.leftMeasure != null && message.hasOwnProperty("leftMeasure")) { - var error = $root.ProtoBoxedBool.verify(message.leftMeasure, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.leftMeasure); if (error) return "leftMeasure." + error; } if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoMeasure.verify(message.width); if (error) return "width." + error; } if (message.repeatHeader != null && message.hasOwnProperty("repeatHeader")) { - var error = $root.ProtoBoxedUint32.verify(message.repeatHeader, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.repeatHeader); if (error) return "repeatHeader." + error; } if (message.ws != null && message.hasOwnProperty("ws")) { - var error = $root.ProtoTableWS.verify(message.ws, _depth + 1); + var error = $root.ProtoTableWS.verify(message.ws); if (error) return "ws." + error; } if (message.noDocumentStructure != null && message.hasOwnProperty("noDocumentStructure")) { - var error = $root.ProtoBoxedBool.verify(message.noDocumentStructure, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.noDocumentStructure); if (error) return "noDocumentStructure." + error; } if (message.repeatSubHeader != null && message.hasOwnProperty("repeatSubHeader")) { - var error = $root.ProtoBoxedUint32.verify(message.repeatSubHeader, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.repeatSubHeader); if (error) return "repeatSubHeader." + error; } @@ -21970,48 +19495,44 @@ $root.ProtoTableSettings = (function() { * @param {Object.} object Plain object * @returns {ProtoTableSettings} ProtoTableSettings */ - ProtoTableSettings.fromObject = function fromObject(object, _depth) { + ProtoTableSettings.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableSettings) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableSettings(); if (object.xOffset != null) { if (typeof object.xOffset !== "object") throw TypeError(".ProtoTableSettings.xOffset: object expected"); - message.xOffset = $root.ProtoMeasure.fromObject(object.xOffset, _depth + 1); + message.xOffset = $root.ProtoMeasure.fromObject(object.xOffset); } if (object.leftMeasure != null) { if (typeof object.leftMeasure !== "object") throw TypeError(".ProtoTableSettings.leftMeasure: object expected"); - message.leftMeasure = $root.ProtoBoxedBool.fromObject(object.leftMeasure, _depth + 1); + message.leftMeasure = $root.ProtoBoxedBool.fromObject(object.leftMeasure); } if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoTableSettings.width: object expected"); - message.width = $root.ProtoMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoMeasure.fromObject(object.width); } if (object.repeatHeader != null) { if (typeof object.repeatHeader !== "object") throw TypeError(".ProtoTableSettings.repeatHeader: object expected"); - message.repeatHeader = $root.ProtoBoxedUint32.fromObject(object.repeatHeader, _depth + 1); + message.repeatHeader = $root.ProtoBoxedUint32.fromObject(object.repeatHeader); } if (object.ws != null) { if (typeof object.ws !== "object") throw TypeError(".ProtoTableSettings.ws: object expected"); - message.ws = $root.ProtoTableWS.fromObject(object.ws, _depth + 1); + message.ws = $root.ProtoTableWS.fromObject(object.ws); } if (object.noDocumentStructure != null) { if (typeof object.noDocumentStructure !== "object") throw TypeError(".ProtoTableSettings.noDocumentStructure: object expected"); - message.noDocumentStructure = $root.ProtoBoxedBool.fromObject(object.noDocumentStructure, _depth + 1); + message.noDocumentStructure = $root.ProtoBoxedBool.fromObject(object.noDocumentStructure); } if (object.repeatSubHeader != null) { if (typeof object.repeatSubHeader !== "object") throw TypeError(".ProtoTableSettings.repeatSubHeader: object expected"); - message.repeatSubHeader = $root.ProtoBoxedUint32.fromObject(object.repeatSubHeader, _depth + 1); + message.repeatSubHeader = $root.ProtoBoxedUint32.fromObject(object.repeatSubHeader); } return message; }; @@ -22067,17 +19588,18 @@ $root.ProtoTableSettings = (function() { }; /** - * Gets the type url for ProtoTableSettings + * Gets the default type url for ProtoTableSettings * @function getTypeUrl * @memberof ProtoTableSettings * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableSettings.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableSettings"; + ProtoTableSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableSettings"; }; return ProtoTableSettings; @@ -22109,7 +19631,6 @@ $root.ProtoBoxedTableContentGroupType = (function() { * @interface IProtoBoxedTableContentGroupType * @property {ProtoTableContentGroupType|null} [value] ProtoBoxedTableContentGroupType value * @property {boolean|null} [isNull] ProtoBoxedTableContentGroupType isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -22119,12 +19640,11 @@ $root.ProtoBoxedTableContentGroupType = (function() { * @implements IProtoBoxedTableContentGroupType * @constructor * @param {IProtoBoxedTableContentGroupType=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedTableContentGroupType(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -22172,9 +19692,6 @@ $root.ProtoBoxedTableContentGroupType = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -22202,48 +19719,26 @@ $root.ProtoBoxedTableContentGroupType = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedTableContentGroupType.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedTableContentGroupType.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedTableContentGroupType(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedTableContentGroupType(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.int32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -22271,13 +19766,9 @@ $root.ProtoBoxedTableContentGroupType = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedTableContentGroupType.verify = function verify(message, _depth) { + ProtoBoxedTableContentGroupType.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) switch (message.value) { default: @@ -22302,42 +19793,36 @@ $root.ProtoBoxedTableContentGroupType = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedTableContentGroupType} ProtoBoxedTableContentGroupType */ - ProtoBoxedTableContentGroupType.fromObject = function fromObject(object, _depth) { + ProtoBoxedTableContentGroupType.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedTableContentGroupType) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedTableContentGroupType(); - if (object.value !== 0 && (typeof object.value !== "string" || $root.ProtoTableContentGroupType[object.value] !== 0)) - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; - break; - } - break; - case "HEADER": - case 0: - message.value = 0; - break; - case "BODY": - case 1: - message.value = 1; - break; - case "FOOTER": - case 2: - message.value = 2; - break; - case "SUB_HEADER": - case 3: - message.value = 3; - break; - } + switch (object.value) { + default: + if (typeof object.value === "number") { + message.value = object.value; + break; + } + break; + case "HEADER": + case 0: + message.value = 0; + break; + case "BODY": + case 1: + message.value = 1; + break; + case "FOOTER": + case 2: + message.value = 2; + break; + case "SUB_HEADER": + case 3: + message.value = 3; + break; + } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -22377,17 +19862,18 @@ $root.ProtoBoxedTableContentGroupType = (function() { }; /** - * Gets the type url for ProtoBoxedTableContentGroupType + * Gets the default type url for ProtoBoxedTableContentGroupType * @function getTypeUrl * @memberof ProtoBoxedTableContentGroupType * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedTableContentGroupType.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedTableContentGroupType"; + ProtoBoxedTableContentGroupType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedTableContentGroupType"; }; return ProtoBoxedTableContentGroupType; @@ -22405,7 +19891,6 @@ $root.ProtoTableContentGroup = (function() { * @property {Array.|null} [comChannelUUIDs] ProtoTableContentGroup comChannelUUIDs * @property {IProtoTableElementProperties|null} [elementProperties] ProtoTableContentGroup elementProperties * @property {string|null} [uuid] ProtoTableContentGroup uuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -22415,14 +19900,13 @@ $root.ProtoTableContentGroup = (function() { * @implements IProtoTableContentGroup * @constructor * @param {IProtoTableContentGroup=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableContentGroup(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -22512,9 +19996,6 @@ $root.ProtoTableContentGroup = (function() { $root.ProtoTableElementProperties.encode(message.elementProperties, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) writer.uint32(/* id 6, wireType 2 =*/50).string(message.uuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -22542,73 +20023,46 @@ $root.ProtoTableContentGroup = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableContentGroup.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableContentGroup.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableContentGroup(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableContentGroup(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.settings = $root.ProtoTableContentGroupSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.settings); - continue; + message.settings = $root.ProtoTableContentGroupSettings.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 2) - break; - message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32(), undefined, _depth + 1, message.elementProperties); - continue; + message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -22636,29 +20090,25 @@ $root.ProtoTableContentGroup = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableContentGroup.verify = function verify(message, _depth) { + ProtoTableContentGroup.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.settings != null && message.hasOwnProperty("settings")) { - var error = $root.ProtoTableContentGroupSettings.verify(message.settings, _depth + 1); + var error = $root.ProtoTableContentGroupSettings.verify(message.settings); if (error) return "settings." + error; } @@ -22670,7 +20120,7 @@ $root.ProtoTableContentGroup = (function() { return "comChannelUUIDs: string[] expected"; } if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) { - var error = $root.ProtoTableElementProperties.verify(message.elementProperties, _depth + 1); + var error = $root.ProtoTableElementProperties.verify(message.elementProperties); if (error) return "elementProperties." + error; } @@ -22688,49 +20138,44 @@ $root.ProtoTableContentGroup = (function() { * @param {Object.} object Plain object * @returns {ProtoTableContentGroup} ProtoTableContentGroup */ - ProtoTableContentGroup.fromObject = function fromObject(object, _depth) { + ProtoTableContentGroup.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableContentGroup) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableContentGroup(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoTableContentGroup._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoTableContentGroup._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTableContentGroup.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.settings != null) { if (typeof object.settings !== "object") throw TypeError(".ProtoTableContentGroup.settings: object expected"); - message.settings = $root.ProtoTableContentGroupSettings.fromObject(object.settings, _depth + 1); + message.settings = $root.ProtoTableContentGroupSettings.fromObject(object.settings); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTableContentGroup.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.elementProperties != null) { if (typeof object.elementProperties !== "object") throw TypeError(".ProtoTableContentGroup.elementProperties: object expected"); - message.elementProperties = $root.ProtoTableElementProperties.fromObject(object.elementProperties, _depth + 1); + message.elementProperties = $root.ProtoTableElementProperties.fromObject(object.elementProperties); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); return message; }; @@ -22758,7 +20203,7 @@ $root.ProtoTableContentGroup = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -22767,7 +20212,7 @@ $root.ProtoTableContentGroup = (function() { if (message.settings != null && message.hasOwnProperty("settings")) object.settings = $root.ProtoTableContentGroupSettings.toObject(message.settings, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -22790,17 +20235,18 @@ $root.ProtoTableContentGroup = (function() { }; /** - * Gets the type url for ProtoTableContentGroup + * Gets the default type url for ProtoTableContentGroup * @function getTypeUrl * @memberof ProtoTableContentGroup * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableContentGroup.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableContentGroup"; + ProtoTableContentGroup.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableContentGroup"; }; return ProtoTableContentGroup; @@ -22816,7 +20262,7 @@ $root.ProtoTableContentGroupConfig = (function() { * @property {IProtoTableContentGroupSettings|null} [settings] ProtoTableContentGroupConfig settings * @property {string|null} [configName] ProtoTableContentGroupConfig configName * @property {Array.|null} [comChannelUUIDs] ProtoTableContentGroupConfig comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoTableContentGroupConfig uuid */ /** @@ -22826,13 +20272,12 @@ $root.ProtoTableContentGroupConfig = (function() { * @implements IProtoTableContentGroupConfig * @constructor * @param {IProtoTableContentGroupConfig=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableContentGroupConfig(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -22868,6 +20313,14 @@ $root.ProtoTableContentGroupConfig = (function() { */ ProtoTableContentGroupConfig.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoTableContentGroupConfig uuid. + * @member {string} uuid + * @memberof ProtoTableContentGroupConfig + * @instance + */ + ProtoTableContentGroupConfig.prototype.uuid = ""; + /** * Creates a new ProtoTableContentGroupConfig instance using the specified properties. * @function create @@ -22901,9 +20354,8 @@ $root.ProtoTableContentGroupConfig = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 4, wireType 2 =*/34).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.uuid); return writer; }; @@ -22931,59 +20383,40 @@ $root.ProtoTableContentGroupConfig = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableContentGroupConfig.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableContentGroupConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableContentGroupConfig(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableContentGroupConfig(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.settings = $root.ProtoTableContentGroupSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.settings); - continue; + message.settings = $root.ProtoTableContentGroupSettings.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.configName = value; - else - delete message.configName; - continue; + message.configName = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + case 5: { + message.uuid = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -23011,20 +20444,16 @@ $root.ProtoTableContentGroupConfig = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableContentGroupConfig.verify = function verify(message, _depth) { + ProtoTableContentGroupConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.settings != null && message.hasOwnProperty("settings")) { - var error = $root.ProtoTableContentGroupSettings.verify(message.settings, _depth + 1); + var error = $root.ProtoTableContentGroupSettings.verify(message.settings); if (error) return "settings." + error; } @@ -23038,6 +20467,9 @@ $root.ProtoTableContentGroupConfig = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -23049,34 +20481,31 @@ $root.ProtoTableContentGroupConfig = (function() { * @param {Object.} object Plain object * @returns {ProtoTableContentGroupConfig} ProtoTableContentGroupConfig */ - ProtoTableContentGroupConfig.fromObject = function fromObject(object, _depth) { + ProtoTableContentGroupConfig.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableContentGroupConfig) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableContentGroupConfig(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTableContentGroupConfig.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.settings != null) { if (typeof object.settings !== "object") throw TypeError(".ProtoTableContentGroupConfig.settings: object expected"); - message.settings = $root.ProtoTableContentGroupSettings.fromObject(object.settings, _depth + 1); + message.settings = $root.ProtoTableContentGroupSettings.fromObject(object.settings); } if (object.configName != null) - if (typeof object.configName !== "string" || object.configName.length) - message.configName = String(object.configName); + message.configName = String(object.configName); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTableContentGroupConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -23099,6 +20528,7 @@ $root.ProtoTableContentGroupConfig = (function() { object.parent = null; object.settings = null; object.configName = ""; + object.uuid = ""; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); @@ -23107,10 +20537,12 @@ $root.ProtoTableContentGroupConfig = (function() { if (message.configName != null && message.hasOwnProperty("configName")) object.configName = message.configName; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -23126,17 +20558,18 @@ $root.ProtoTableContentGroupConfig = (function() { }; /** - * Gets the type url for ProtoTableContentGroupConfig + * Gets the default type url for ProtoTableContentGroupConfig * @function getTypeUrl * @memberof ProtoTableContentGroupConfig * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableContentGroupConfig.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableContentGroupConfig"; + ProtoTableContentGroupConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableContentGroupConfig"; }; return ProtoTableContentGroupConfig; @@ -23151,7 +20584,6 @@ $root.ProtoTableContentGroupSettings = (function() { * @property {IProtoBoxedTableContentGroupType|null} [contentGroupType] ProtoTableContentGroupSettings contentGroupType * @property {Array.|null} [backgroundColors] ProtoTableContentGroupSettings backgroundColors * @property {IProtoTableWS|null} [ws] ProtoTableContentGroupSettings ws - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -23161,13 +20593,12 @@ $root.ProtoTableContentGroupSettings = (function() { * @implements IProtoTableContentGroupSettings * @constructor * @param {IProtoTableContentGroupSettings=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableContentGroupSettings(properties) { this.backgroundColors = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -23226,9 +20657,6 @@ $root.ProtoTableContentGroupSettings = (function() { $root.ProtoColor.encode(message.backgroundColors[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.ws != null && Object.hasOwnProperty.call(message, "ws")) $root.ProtoTableWS.encode(message.ws, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -23256,50 +20684,32 @@ $root.ProtoTableContentGroupSettings = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableContentGroupSettings.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableContentGroupSettings.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableContentGroupSettings(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableContentGroupSettings(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.contentGroupType = $root.ProtoBoxedTableContentGroupType.decode(reader, reader.uint32(), undefined, _depth + 1, message.contentGroupType); - continue; + message.contentGroupType = $root.ProtoBoxedTableContentGroupType.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; if (!(message.backgroundColors && message.backgroundColors.length)) message.backgroundColors = []; - message.backgroundColors.push($root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message.backgroundColors.push($root.ProtoColor.decode(reader, reader.uint32())); + break; } case 3: { - if (wireType !== 2) - break; - message.ws = $root.ProtoTableWS.decode(reader, reader.uint32(), undefined, _depth + 1, message.ws); - continue; + message.ws = $root.ProtoTableWS.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -23327,15 +20737,11 @@ $root.ProtoTableContentGroupSettings = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableContentGroupSettings.verify = function verify(message, _depth) { + ProtoTableContentGroupSettings.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.contentGroupType != null && message.hasOwnProperty("contentGroupType")) { - var error = $root.ProtoBoxedTableContentGroupType.verify(message.contentGroupType, _depth + 1); + var error = $root.ProtoBoxedTableContentGroupType.verify(message.contentGroupType); if (error) return "contentGroupType." + error; } @@ -23343,13 +20749,13 @@ $root.ProtoTableContentGroupSettings = (function() { if (!Array.isArray(message.backgroundColors)) return "backgroundColors: array expected"; for (var i = 0; i < message.backgroundColors.length; ++i) { - var error = $root.ProtoColor.verify(message.backgroundColors[i], _depth + 1); + var error = $root.ProtoColor.verify(message.backgroundColors[i]); if (error) return "backgroundColors." + error; } } if (message.ws != null && message.hasOwnProperty("ws")) { - var error = $root.ProtoTableWS.verify(message.ws, _depth + 1); + var error = $root.ProtoTableWS.verify(message.ws); if (error) return "ws." + error; } @@ -23364,33 +20770,29 @@ $root.ProtoTableContentGroupSettings = (function() { * @param {Object.} object Plain object * @returns {ProtoTableContentGroupSettings} ProtoTableContentGroupSettings */ - ProtoTableContentGroupSettings.fromObject = function fromObject(object, _depth) { + ProtoTableContentGroupSettings.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableContentGroupSettings) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableContentGroupSettings(); if (object.contentGroupType != null) { if (typeof object.contentGroupType !== "object") throw TypeError(".ProtoTableContentGroupSettings.contentGroupType: object expected"); - message.contentGroupType = $root.ProtoBoxedTableContentGroupType.fromObject(object.contentGroupType, _depth + 1); + message.contentGroupType = $root.ProtoBoxedTableContentGroupType.fromObject(object.contentGroupType); } if (object.backgroundColors) { if (!Array.isArray(object.backgroundColors)) throw TypeError(".ProtoTableContentGroupSettings.backgroundColors: array expected"); - message.backgroundColors = Array(object.backgroundColors.length); + message.backgroundColors = []; for (var i = 0; i < object.backgroundColors.length; ++i) { if (typeof object.backgroundColors[i] !== "object") throw TypeError(".ProtoTableContentGroupSettings.backgroundColors: object expected"); - message.backgroundColors[i] = $root.ProtoColor.fromObject(object.backgroundColors[i], _depth + 1); + message.backgroundColors[i] = $root.ProtoColor.fromObject(object.backgroundColors[i]); } } if (object.ws != null) { if (typeof object.ws !== "object") throw TypeError(".ProtoTableContentGroupSettings.ws: object expected"); - message.ws = $root.ProtoTableWS.fromObject(object.ws, _depth + 1); + message.ws = $root.ProtoTableWS.fromObject(object.ws); } return message; }; @@ -23417,7 +20819,7 @@ $root.ProtoTableContentGroupSettings = (function() { if (message.contentGroupType != null && message.hasOwnProperty("contentGroupType")) object.contentGroupType = $root.ProtoBoxedTableContentGroupType.toObject(message.contentGroupType, options); if (message.backgroundColors && message.backgroundColors.length) { - object.backgroundColors = Array(message.backgroundColors.length); + object.backgroundColors = []; for (var j = 0; j < message.backgroundColors.length; ++j) object.backgroundColors[j] = $root.ProtoColor.toObject(message.backgroundColors[j], options); } @@ -23438,17 +20840,18 @@ $root.ProtoTableContentGroupSettings = (function() { }; /** - * Gets the type url for ProtoTableContentGroupSettings + * Gets the default type url for ProtoTableContentGroupSettings * @function getTypeUrl * @memberof ProtoTableContentGroupSettings * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableContentGroupSettings.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableContentGroupSettings"; + ProtoTableContentGroupSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableContentGroupSettings"; }; return ProtoTableContentGroupSettings; @@ -23467,7 +20870,6 @@ $root.ProtoTableRow = (function() { * @property {Array.|null} [comChannelUUIDs] ProtoTableRow comChannelUUIDs * @property {IProtoTableElementProperties|null} [elementProperties] ProtoTableRow elementProperties * @property {string|null} [uuid] ProtoTableRow uuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -23477,14 +20879,13 @@ $root.ProtoTableRow = (function() { * @implements IProtoTableRow * @constructor * @param {IProtoTableRow=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableRow(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -23584,9 +20985,6 @@ $root.ProtoTableRow = (function() { $root.ProtoTableElementProperties.encode(message.elementProperties, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.uuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -23614,79 +21012,50 @@ $root.ProtoTableRow = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableRow.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableRow.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableRow(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableRow(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.settings = $root.ProtoTableRowSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.settings); - continue; + message.settings = $root.ProtoTableRowSettings.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.rowConfigNumber = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.rowConfigNumber); - continue; + message.rowConfigNumber = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 6: { - if (wireType !== 2) - break; - message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32(), undefined, _depth + 1, message.elementProperties); - continue; + message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -23714,34 +21083,30 @@ $root.ProtoTableRow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableRow.verify = function verify(message, _depth) { + ProtoTableRow.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.settings != null && message.hasOwnProperty("settings")) { - var error = $root.ProtoTableRowSettings.verify(message.settings, _depth + 1); + var error = $root.ProtoTableRowSettings.verify(message.settings); if (error) return "settings." + error; } if (message.rowConfigNumber != null && message.hasOwnProperty("rowConfigNumber")) { - var error = $root.ProtoBoxedUint32.verify(message.rowConfigNumber, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.rowConfigNumber); if (error) return "rowConfigNumber." + error; } @@ -23753,7 +21118,7 @@ $root.ProtoTableRow = (function() { return "comChannelUUIDs: string[] expected"; } if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) { - var error = $root.ProtoTableElementProperties.verify(message.elementProperties, _depth + 1); + var error = $root.ProtoTableElementProperties.verify(message.elementProperties); if (error) return "elementProperties." + error; } @@ -23771,54 +21136,49 @@ $root.ProtoTableRow = (function() { * @param {Object.} object Plain object * @returns {ProtoTableRow} ProtoTableRow */ - ProtoTableRow.fromObject = function fromObject(object, _depth) { + ProtoTableRow.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableRow) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableRow(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoTableRow._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoTableRow._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTableRow.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.settings != null) { if (typeof object.settings !== "object") throw TypeError(".ProtoTableRow.settings: object expected"); - message.settings = $root.ProtoTableRowSettings.fromObject(object.settings, _depth + 1); + message.settings = $root.ProtoTableRowSettings.fromObject(object.settings); } if (object.rowConfigNumber != null) { if (typeof object.rowConfigNumber !== "object") throw TypeError(".ProtoTableRow.rowConfigNumber: object expected"); - message.rowConfigNumber = $root.ProtoBoxedUint32.fromObject(object.rowConfigNumber, _depth + 1); + message.rowConfigNumber = $root.ProtoBoxedUint32.fromObject(object.rowConfigNumber); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTableRow.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.elementProperties != null) { if (typeof object.elementProperties !== "object") throw TypeError(".ProtoTableRow.elementProperties: object expected"); - message.elementProperties = $root.ProtoTableElementProperties.fromObject(object.elementProperties, _depth + 1); + message.elementProperties = $root.ProtoTableElementProperties.fromObject(object.elementProperties); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); return message; }; @@ -23847,7 +21207,7 @@ $root.ProtoTableRow = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -23858,7 +21218,7 @@ $root.ProtoTableRow = (function() { if (message.rowConfigNumber != null && message.hasOwnProperty("rowConfigNumber")) object.rowConfigNumber = $root.ProtoBoxedUint32.toObject(message.rowConfigNumber, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -23881,17 +21241,18 @@ $root.ProtoTableRow = (function() { }; /** - * Gets the type url for ProtoTableRow + * Gets the default type url for ProtoTableRow * @function getTypeUrl * @memberof ProtoTableRow * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableRow.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableRow"; + ProtoTableRow.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableRow"; }; return ProtoTableRow; @@ -23909,7 +21270,7 @@ $root.ProtoTableRowConfig = (function() { * @property {string|null} [rowHeader] ProtoTableRowConfig rowHeader * @property {string|null} [rowFooter] ProtoTableRowConfig rowFooter * @property {Array.|null} [comChannelUUIDs] ProtoTableRowConfig comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoTableRowConfig uuid */ /** @@ -23919,13 +21280,12 @@ $root.ProtoTableRowConfig = (function() { * @implements IProtoTableRowConfig * @constructor * @param {IProtoTableRowConfig=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableRowConfig(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -23977,6 +21337,14 @@ $root.ProtoTableRowConfig = (function() { */ ProtoTableRowConfig.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoTableRowConfig uuid. + * @member {string} uuid + * @memberof ProtoTableRowConfig + * @instance + */ + ProtoTableRowConfig.prototype.uuid = ""; + /** * Creates a new ProtoTableRowConfig instance using the specified properties. * @function create @@ -24014,9 +21382,8 @@ $root.ProtoTableRowConfig = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 6, wireType 2 =*/50).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.uuid); return writer; }; @@ -24044,77 +21411,48 @@ $root.ProtoTableRowConfig = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableRowConfig.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableRowConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableRowConfig(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableRowConfig(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.settings = $root.ProtoTableRowSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.settings); - continue; + message.settings = $root.ProtoTableRowSettings.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.configName = value; - else - delete message.configName; - continue; + message.configName = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.rowHeader = value; - else - delete message.rowHeader; - continue; + message.rowHeader = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.rowFooter = value; - else - delete message.rowFooter; - continue; + message.rowFooter = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + case 7: { + message.uuid = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -24142,20 +21480,16 @@ $root.ProtoTableRowConfig = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableRowConfig.verify = function verify(message, _depth) { + ProtoTableRowConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.settings != null && message.hasOwnProperty("settings")) { - var error = $root.ProtoTableRowSettings.verify(message.settings, _depth + 1); + var error = $root.ProtoTableRowSettings.verify(message.settings); if (error) return "settings." + error; } @@ -24175,6 +21509,9 @@ $root.ProtoTableRowConfig = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -24186,40 +21523,35 @@ $root.ProtoTableRowConfig = (function() { * @param {Object.} object Plain object * @returns {ProtoTableRowConfig} ProtoTableRowConfig */ - ProtoTableRowConfig.fromObject = function fromObject(object, _depth) { + ProtoTableRowConfig.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableRowConfig) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableRowConfig(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTableRowConfig.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.settings != null) { if (typeof object.settings !== "object") throw TypeError(".ProtoTableRowConfig.settings: object expected"); - message.settings = $root.ProtoTableRowSettings.fromObject(object.settings, _depth + 1); + message.settings = $root.ProtoTableRowSettings.fromObject(object.settings); } if (object.configName != null) - if (typeof object.configName !== "string" || object.configName.length) - message.configName = String(object.configName); + message.configName = String(object.configName); if (object.rowHeader != null) - if (typeof object.rowHeader !== "string" || object.rowHeader.length) - message.rowHeader = String(object.rowHeader); + message.rowHeader = String(object.rowHeader); if (object.rowFooter != null) - if (typeof object.rowFooter !== "string" || object.rowFooter.length) - message.rowFooter = String(object.rowFooter); + message.rowFooter = String(object.rowFooter); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTableRowConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -24244,6 +21576,7 @@ $root.ProtoTableRowConfig = (function() { object.configName = ""; object.rowHeader = ""; object.rowFooter = ""; + object.uuid = ""; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); @@ -24256,10 +21589,12 @@ $root.ProtoTableRowConfig = (function() { if (message.rowFooter != null && message.hasOwnProperty("rowFooter")) object.rowFooter = message.rowFooter; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -24275,17 +21610,18 @@ $root.ProtoTableRowConfig = (function() { }; /** - * Gets the type url for ProtoTableRowConfig + * Gets the default type url for ProtoTableRowConfig * @function getTypeUrl * @memberof ProtoTableRowConfig * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableRowConfig.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableRowConfig"; + ProtoTableRowConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableRowConfig"; }; return ProtoTableRowConfig; @@ -24299,7 +21635,6 @@ $root.ProtoTableRowSettings = (function() { * @interface IProtoTableRowSettings * @property {IProtoMeasure|null} [minHeight] ProtoTableRowSettings minHeight * @property {IProtoTableWS|null} [ws] ProtoTableRowSettings ws - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -24309,12 +21644,11 @@ $root.ProtoTableRowSettings = (function() { * @implements IProtoTableRowSettings * @constructor * @param {IProtoTableRowSettings=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableRowSettings(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -24362,9 +21696,6 @@ $root.ProtoTableRowSettings = (function() { $root.ProtoMeasure.encode(message.minHeight, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.ws != null && Object.hasOwnProperty.call(message, "ws")) $root.ProtoTableWS.encode(message.ws, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -24392,42 +21723,26 @@ $root.ProtoTableRowSettings = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableRowSettings.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableRowSettings.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableRowSettings(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableRowSettings(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.minHeight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.minHeight); - continue; + message.minHeight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.ws = $root.ProtoTableWS.decode(reader, reader.uint32(), undefined, _depth + 1, message.ws); - continue; + message.ws = $root.ProtoTableWS.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -24455,20 +21770,16 @@ $root.ProtoTableRowSettings = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableRowSettings.verify = function verify(message, _depth) { + ProtoTableRowSettings.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.minHeight != null && message.hasOwnProperty("minHeight")) { - var error = $root.ProtoMeasure.verify(message.minHeight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.minHeight); if (error) return "minHeight." + error; } if (message.ws != null && message.hasOwnProperty("ws")) { - var error = $root.ProtoTableWS.verify(message.ws, _depth + 1); + var error = $root.ProtoTableWS.verify(message.ws); if (error) return "ws." + error; } @@ -24483,23 +21794,19 @@ $root.ProtoTableRowSettings = (function() { * @param {Object.} object Plain object * @returns {ProtoTableRowSettings} ProtoTableRowSettings */ - ProtoTableRowSettings.fromObject = function fromObject(object, _depth) { + ProtoTableRowSettings.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableRowSettings) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableRowSettings(); if (object.minHeight != null) { if (typeof object.minHeight !== "object") throw TypeError(".ProtoTableRowSettings.minHeight: object expected"); - message.minHeight = $root.ProtoMeasure.fromObject(object.minHeight, _depth + 1); + message.minHeight = $root.ProtoMeasure.fromObject(object.minHeight); } if (object.ws != null) { if (typeof object.ws !== "object") throw TypeError(".ProtoTableRowSettings.ws: object expected"); - message.ws = $root.ProtoTableWS.fromObject(object.ws, _depth + 1); + message.ws = $root.ProtoTableWS.fromObject(object.ws); } return message; }; @@ -24540,17 +21847,18 @@ $root.ProtoTableRowSettings = (function() { }; /** - * Gets the type url for ProtoTableRowSettings + * Gets the default type url for ProtoTableRowSettings * @function getTypeUrl * @memberof ProtoTableRowSettings * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableRowSettings.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableRowSettings"; + ProtoTableRowSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableRowSettings"; }; return ProtoTableRowSettings; @@ -24580,7 +21888,6 @@ $root.ProtoBoxedTableCellType = (function() { * @interface IProtoBoxedTableCellType * @property {ProtoTableCellType|null} [value] ProtoBoxedTableCellType value * @property {boolean|null} [isNull] ProtoBoxedTableCellType isNull - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -24590,12 +21897,11 @@ $root.ProtoBoxedTableCellType = (function() { * @implements IProtoBoxedTableCellType * @constructor * @param {IProtoBoxedTableCellType=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBoxedTableCellType(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -24643,9 +21949,6 @@ $root.ProtoBoxedTableCellType = (function() { writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -24673,48 +21976,26 @@ $root.ProtoBoxedTableCellType = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBoxedTableCellType.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBoxedTableCellType.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBoxedTableCellType(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedTableCellType(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.value = value; - else - delete message.value; - continue; + message.value = reader.int32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.isNull = value; - else - delete message.isNull; - continue; + message.isNull = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -24742,13 +22023,9 @@ $root.ProtoBoxedTableCellType = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBoxedTableCellType.verify = function verify(message, _depth) { + ProtoBoxedTableCellType.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) switch (message.value) { default: @@ -24772,38 +22049,32 @@ $root.ProtoBoxedTableCellType = (function() { * @param {Object.} object Plain object * @returns {ProtoBoxedTableCellType} ProtoBoxedTableCellType */ - ProtoBoxedTableCellType.fromObject = function fromObject(object, _depth) { + ProtoBoxedTableCellType.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBoxedTableCellType) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBoxedTableCellType(); - if (object.value !== 0 && (typeof object.value !== "string" || $root.ProtoTableCellType[object.value] !== 0)) - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; - break; - } - break; - case "TABLE_CELL_BODY": - case 0: - message.value = 0; - break; - case "TABLE_CELL_ROW_HEADER": - case 1: - message.value = 1; - break; - case "TABLE_CELL_ROW_FOOTER": - case 2: - message.value = 2; - break; - } + switch (object.value) { + default: + if (typeof object.value === "number") { + message.value = object.value; + break; + } + break; + case "TABLE_CELL_BODY": + case 0: + message.value = 0; + break; + case "TABLE_CELL_ROW_HEADER": + case 1: + message.value = 1; + break; + case "TABLE_CELL_ROW_FOOTER": + case 2: + message.value = 2; + break; + } if (object.isNull != null) - if (object.isNull) - message.isNull = Boolean(object.isNull); + message.isNull = Boolean(object.isNull); return message; }; @@ -24843,17 +22114,18 @@ $root.ProtoBoxedTableCellType = (function() { }; /** - * Gets the type url for ProtoBoxedTableCellType + * Gets the default type url for ProtoBoxedTableCellType * @function getTypeUrl * @memberof ProtoBoxedTableCellType * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBoxedTableCellType.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBoxedTableCellType"; + ProtoBoxedTableCellType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBoxedTableCellType"; }; return ProtoBoxedTableCellType; @@ -24874,7 +22146,6 @@ $root.ProtoTableCell = (function() { * @property {Array.|null} [comChannelUUIDs] ProtoTableCell comChannelUUIDs * @property {IProtoTableElementProperties|null} [elementProperties] ProtoTableCell elementProperties * @property {string|null} [uuid] ProtoTableCell uuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -24884,14 +22155,13 @@ $root.ProtoTableCell = (function() { * @implements IProtoTableCell * @constructor * @param {IProtoTableCell=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableCell(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -25011,9 +22281,6 @@ $root.ProtoTableCell = (function() { $root.ProtoTableElementProperties.encode(message.elementProperties, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) writer.uint32(/* id 9, wireType 2 =*/74).string(message.uuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -25041,97 +22308,58 @@ $root.ProtoTableCell = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableCell.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableCell.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableCell(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableCell(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.settings = $root.ProtoTableCellSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.settings); - continue; + message.settings = $root.ProtoTableCellSettings.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.cellConfigNumber = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.cellConfigNumber); - continue; + message.cellConfigNumber = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.mergedLeft = value; - else - delete message.mergedLeft; - continue; + message.mergedLeft = reader.bool(); + break; } case 6: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.mergedUp = value; - else - delete message.mergedUp; - continue; + message.mergedUp = reader.bool(); + break; } case 7: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 8: { - if (wireType !== 2) - break; - message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32(), undefined, _depth + 1, message.elementProperties); - continue; + message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -25159,34 +22387,30 @@ $root.ProtoTableCell = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableCell.verify = function verify(message, _depth) { + ProtoTableCell.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.settings != null && message.hasOwnProperty("settings")) { - var error = $root.ProtoTableCellSettings.verify(message.settings, _depth + 1); + var error = $root.ProtoTableCellSettings.verify(message.settings); if (error) return "settings." + error; } if (message.cellConfigNumber != null && message.hasOwnProperty("cellConfigNumber")) { - var error = $root.ProtoBoxedUint32.verify(message.cellConfigNumber, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.cellConfigNumber); if (error) return "cellConfigNumber." + error; } @@ -25204,7 +22428,7 @@ $root.ProtoTableCell = (function() { return "comChannelUUIDs: string[] expected"; } if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) { - var error = $root.ProtoTableElementProperties.verify(message.elementProperties, _depth + 1); + var error = $root.ProtoTableElementProperties.verify(message.elementProperties); if (error) return "elementProperties." + error; } @@ -25222,60 +22446,53 @@ $root.ProtoTableCell = (function() { * @param {Object.} object Plain object * @returns {ProtoTableCell} ProtoTableCell */ - ProtoTableCell.fromObject = function fromObject(object, _depth) { + ProtoTableCell.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableCell) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableCell(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoTableCell._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoTableCell._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTableCell.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.settings != null) { if (typeof object.settings !== "object") throw TypeError(".ProtoTableCell.settings: object expected"); - message.settings = $root.ProtoTableCellSettings.fromObject(object.settings, _depth + 1); + message.settings = $root.ProtoTableCellSettings.fromObject(object.settings); } if (object.cellConfigNumber != null) { if (typeof object.cellConfigNumber !== "object") throw TypeError(".ProtoTableCell.cellConfigNumber: object expected"); - message.cellConfigNumber = $root.ProtoBoxedUint32.fromObject(object.cellConfigNumber, _depth + 1); + message.cellConfigNumber = $root.ProtoBoxedUint32.fromObject(object.cellConfigNumber); } if (object.mergedLeft != null) - if (object.mergedLeft) - message.mergedLeft = Boolean(object.mergedLeft); + message.mergedLeft = Boolean(object.mergedLeft); if (object.mergedUp != null) - if (object.mergedUp) - message.mergedUp = Boolean(object.mergedUp); + message.mergedUp = Boolean(object.mergedUp); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTableCell.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.elementProperties != null) { if (typeof object.elementProperties !== "object") throw TypeError(".ProtoTableCell.elementProperties: object expected"); - message.elementProperties = $root.ProtoTableElementProperties.fromObject(object.elementProperties, _depth + 1); + message.elementProperties = $root.ProtoTableElementProperties.fromObject(object.elementProperties); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); return message; }; @@ -25306,7 +22523,7 @@ $root.ProtoTableCell = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -25321,7 +22538,7 @@ $root.ProtoTableCell = (function() { if (message.mergedUp != null && message.hasOwnProperty("mergedUp")) object.mergedUp = message.mergedUp; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -25344,17 +22561,18 @@ $root.ProtoTableCell = (function() { }; /** - * Gets the type url for ProtoTableCell + * Gets the default type url for ProtoTableCell * @function getTypeUrl * @memberof ProtoTableCell * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableCell.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableCell"; + ProtoTableCell.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableCell"; }; return ProtoTableCell; @@ -25371,7 +22589,7 @@ $root.ProtoTableCellConfig = (function() { * @property {string|null} [configName] ProtoTableCellConfig configName * @property {IProtoBoxedTableCellType|null} [cellType] ProtoTableCellConfig cellType * @property {Array.|null} [comChannelUUIDs] ProtoTableCellConfig comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoTableCellConfig uuid */ /** @@ -25381,13 +22599,12 @@ $root.ProtoTableCellConfig = (function() { * @implements IProtoTableCellConfig * @constructor * @param {IProtoTableCellConfig=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableCellConfig(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -25431,6 +22648,14 @@ $root.ProtoTableCellConfig = (function() { */ ProtoTableCellConfig.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoTableCellConfig uuid. + * @member {string} uuid + * @memberof ProtoTableCellConfig + * @instance + */ + ProtoTableCellConfig.prototype.uuid = ""; + /** * Creates a new ProtoTableCellConfig instance using the specified properties. * @function create @@ -25466,9 +22691,8 @@ $root.ProtoTableCellConfig = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.uuid); return writer; }; @@ -25496,65 +22720,44 @@ $root.ProtoTableCellConfig = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableCellConfig.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableCellConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableCellConfig(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableCellConfig(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.settings = $root.ProtoTableCellSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.settings); - continue; + message.settings = $root.ProtoTableCellSettings.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.configName = value; - else - delete message.configName; - continue; + message.configName = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - message.cellType = $root.ProtoBoxedTableCellType.decode(reader, reader.uint32(), undefined, _depth + 1, message.cellType); - continue; + message.cellType = $root.ProtoBoxedTableCellType.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + case 6: { + message.uuid = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -25582,20 +22785,16 @@ $root.ProtoTableCellConfig = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableCellConfig.verify = function verify(message, _depth) { + ProtoTableCellConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.settings != null && message.hasOwnProperty("settings")) { - var error = $root.ProtoTableCellSettings.verify(message.settings, _depth + 1); + var error = $root.ProtoTableCellSettings.verify(message.settings); if (error) return "settings." + error; } @@ -25603,7 +22802,7 @@ $root.ProtoTableCellConfig = (function() { if (!$util.isString(message.configName)) return "configName: string expected"; if (message.cellType != null && message.hasOwnProperty("cellType")) { - var error = $root.ProtoBoxedTableCellType.verify(message.cellType, _depth + 1); + var error = $root.ProtoBoxedTableCellType.verify(message.cellType); if (error) return "cellType." + error; } @@ -25614,6 +22813,9 @@ $root.ProtoTableCellConfig = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -25625,39 +22827,36 @@ $root.ProtoTableCellConfig = (function() { * @param {Object.} object Plain object * @returns {ProtoTableCellConfig} ProtoTableCellConfig */ - ProtoTableCellConfig.fromObject = function fromObject(object, _depth) { + ProtoTableCellConfig.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableCellConfig) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableCellConfig(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTableCellConfig.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.settings != null) { if (typeof object.settings !== "object") throw TypeError(".ProtoTableCellConfig.settings: object expected"); - message.settings = $root.ProtoTableCellSettings.fromObject(object.settings, _depth + 1); + message.settings = $root.ProtoTableCellSettings.fromObject(object.settings); } if (object.configName != null) - if (typeof object.configName !== "string" || object.configName.length) - message.configName = String(object.configName); + message.configName = String(object.configName); if (object.cellType != null) { if (typeof object.cellType !== "object") throw TypeError(".ProtoTableCellConfig.cellType: object expected"); - message.cellType = $root.ProtoBoxedTableCellType.fromObject(object.cellType, _depth + 1); + message.cellType = $root.ProtoBoxedTableCellType.fromObject(object.cellType); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTableCellConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -25681,6 +22880,7 @@ $root.ProtoTableCellConfig = (function() { object.settings = null; object.configName = ""; object.cellType = null; + object.uuid = ""; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); @@ -25691,10 +22891,12 @@ $root.ProtoTableCellConfig = (function() { if (message.cellType != null && message.hasOwnProperty("cellType")) object.cellType = $root.ProtoBoxedTableCellType.toObject(message.cellType, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -25710,17 +22912,18 @@ $root.ProtoTableCellConfig = (function() { }; /** - * Gets the type url for ProtoTableCellConfig + * Gets the default type url for ProtoTableCellConfig * @function getTypeUrl * @memberof ProtoTableCellConfig * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableCellConfig.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableCellConfig"; + ProtoTableCellConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableCellConfig"; }; return ProtoTableCellConfig; @@ -25741,7 +22944,6 @@ $root.ProtoTableCellSettings = (function() { * @property {IProtoSideMeasures|null} [margin] ProtoTableCellSettings margin * @property {IProtoBoxedDouble|null} [rotation] ProtoTableCellSettings rotation * @property {IProtoBoxedString|null} [defaultParagraphFormat] ProtoTableCellSettings defaultParagraphFormat - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -25751,12 +22953,11 @@ $root.ProtoTableCellSettings = (function() { * @implements IProtoTableCellSettings * @constructor * @param {IProtoTableCellSettings=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableCellSettings(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -25874,9 +23075,6 @@ $root.ProtoTableCellSettings = (function() { $root.ProtoBoxedDouble.encode(message.rotation, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); if (message.defaultParagraphFormat != null && Object.hasOwnProperty.call(message, "defaultParagraphFormat")) $root.ProtoBoxedString.encode(message.defaultParagraphFormat, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -25904,84 +23102,54 @@ $root.ProtoTableCellSettings = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableCellSettings.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableCellSettings.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableCellSettings(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableCellSettings(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.width = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.align = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32(), undefined, _depth + 1, message.align); - continue; + message.align = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.valign = $root.ProtoBoxedVerticalAlignment.decode(reader, reader.uint32(), undefined, _depth + 1, message.valign); - continue; + message.valign = $root.ProtoBoxedVerticalAlignment.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.backgroundColor = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.backgroundColor); - continue; + message.backgroundColor = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; - message.padding = $root.ProtoSideMeasures.decode(reader, reader.uint32(), undefined, _depth + 1, message.padding); - continue; + message.padding = $root.ProtoSideMeasures.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - message.border = $root.ProtoSideBorders.decode(reader, reader.uint32(), undefined, _depth + 1, message.border); - continue; + message.border = $root.ProtoSideBorders.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.margin = $root.ProtoSideMeasures.decode(reader, reader.uint32(), undefined, _depth + 1, message.margin); - continue; + message.margin = $root.ProtoSideMeasures.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 2) - break; - message.rotation = $root.ProtoBoxedDouble.decode(reader, reader.uint32(), undefined, _depth + 1, message.rotation); - continue; + message.rotation = $root.ProtoBoxedDouble.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - message.defaultParagraphFormat = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.defaultParagraphFormat); - continue; + message.defaultParagraphFormat = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -26009,55 +23177,51 @@ $root.ProtoTableCellSettings = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableCellSettings.verify = function verify(message, _depth) { + ProtoTableCellSettings.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoMeasure.verify(message.width); if (error) return "width." + error; } if (message.align != null && message.hasOwnProperty("align")) { - var error = $root.ProtoBoxedHorizontalAlignment.verify(message.align, _depth + 1); + var error = $root.ProtoBoxedHorizontalAlignment.verify(message.align); if (error) return "align." + error; } if (message.valign != null && message.hasOwnProperty("valign")) { - var error = $root.ProtoBoxedVerticalAlignment.verify(message.valign, _depth + 1); + var error = $root.ProtoBoxedVerticalAlignment.verify(message.valign); if (error) return "valign." + error; } if (message.backgroundColor != null && message.hasOwnProperty("backgroundColor")) { - var error = $root.ProtoColor.verify(message.backgroundColor, _depth + 1); + var error = $root.ProtoColor.verify(message.backgroundColor); if (error) return "backgroundColor." + error; } if (message.padding != null && message.hasOwnProperty("padding")) { - var error = $root.ProtoSideMeasures.verify(message.padding, _depth + 1); + var error = $root.ProtoSideMeasures.verify(message.padding); if (error) return "padding." + error; } if (message.border != null && message.hasOwnProperty("border")) { - var error = $root.ProtoSideBorders.verify(message.border, _depth + 1); + var error = $root.ProtoSideBorders.verify(message.border); if (error) return "border." + error; } if (message.margin != null && message.hasOwnProperty("margin")) { - var error = $root.ProtoSideMeasures.verify(message.margin, _depth + 1); + var error = $root.ProtoSideMeasures.verify(message.margin); if (error) return "margin." + error; } if (message.rotation != null && message.hasOwnProperty("rotation")) { - var error = $root.ProtoBoxedDouble.verify(message.rotation, _depth + 1); + var error = $root.ProtoBoxedDouble.verify(message.rotation); if (error) return "rotation." + error; } if (message.defaultParagraphFormat != null && message.hasOwnProperty("defaultParagraphFormat")) { - var error = $root.ProtoBoxedString.verify(message.defaultParagraphFormat, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.defaultParagraphFormat); if (error) return "defaultParagraphFormat." + error; } @@ -26072,58 +23236,54 @@ $root.ProtoTableCellSettings = (function() { * @param {Object.} object Plain object * @returns {ProtoTableCellSettings} ProtoTableCellSettings */ - ProtoTableCellSettings.fromObject = function fromObject(object, _depth) { + ProtoTableCellSettings.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableCellSettings) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableCellSettings(); if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoTableCellSettings.width: object expected"); - message.width = $root.ProtoMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoMeasure.fromObject(object.width); } if (object.align != null) { if (typeof object.align !== "object") throw TypeError(".ProtoTableCellSettings.align: object expected"); - message.align = $root.ProtoBoxedHorizontalAlignment.fromObject(object.align, _depth + 1); + message.align = $root.ProtoBoxedHorizontalAlignment.fromObject(object.align); } if (object.valign != null) { if (typeof object.valign !== "object") throw TypeError(".ProtoTableCellSettings.valign: object expected"); - message.valign = $root.ProtoBoxedVerticalAlignment.fromObject(object.valign, _depth + 1); + message.valign = $root.ProtoBoxedVerticalAlignment.fromObject(object.valign); } if (object.backgroundColor != null) { if (typeof object.backgroundColor !== "object") throw TypeError(".ProtoTableCellSettings.backgroundColor: object expected"); - message.backgroundColor = $root.ProtoColor.fromObject(object.backgroundColor, _depth + 1); + message.backgroundColor = $root.ProtoColor.fromObject(object.backgroundColor); } if (object.padding != null) { if (typeof object.padding !== "object") throw TypeError(".ProtoTableCellSettings.padding: object expected"); - message.padding = $root.ProtoSideMeasures.fromObject(object.padding, _depth + 1); + message.padding = $root.ProtoSideMeasures.fromObject(object.padding); } if (object.border != null) { if (typeof object.border !== "object") throw TypeError(".ProtoTableCellSettings.border: object expected"); - message.border = $root.ProtoSideBorders.fromObject(object.border, _depth + 1); + message.border = $root.ProtoSideBorders.fromObject(object.border); } if (object.margin != null) { if (typeof object.margin !== "object") throw TypeError(".ProtoTableCellSettings.margin: object expected"); - message.margin = $root.ProtoSideMeasures.fromObject(object.margin, _depth + 1); + message.margin = $root.ProtoSideMeasures.fromObject(object.margin); } if (object.rotation != null) { if (typeof object.rotation !== "object") throw TypeError(".ProtoTableCellSettings.rotation: object expected"); - message.rotation = $root.ProtoBoxedDouble.fromObject(object.rotation, _depth + 1); + message.rotation = $root.ProtoBoxedDouble.fromObject(object.rotation); } if (object.defaultParagraphFormat != null) { if (typeof object.defaultParagraphFormat !== "object") throw TypeError(".ProtoTableCellSettings.defaultParagraphFormat: object expected"); - message.defaultParagraphFormat = $root.ProtoBoxedString.fromObject(object.defaultParagraphFormat, _depth + 1); + message.defaultParagraphFormat = $root.ProtoBoxedString.fromObject(object.defaultParagraphFormat); } return message; }; @@ -26185,17 +23345,18 @@ $root.ProtoTableCellSettings = (function() { }; /** - * Gets the type url for ProtoTableCellSettings + * Gets the default type url for ProtoTableCellSettings * @function getTypeUrl * @memberof ProtoTableCellSettings * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableCellSettings.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableCellSettings"; + ProtoTableCellSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableCellSettings"; }; return ProtoTableCellSettings; @@ -26210,7 +23371,6 @@ $root.ProtoTableWS = (function() { * @property {number|null} [minLinesBefore] ProtoTableWS minLinesBefore * @property {number|null} [minLinesAfter] ProtoTableWS minLinesAfter * @property {number|null} [priority] ProtoTableWS priority - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -26220,12 +23380,11 @@ $root.ProtoTableWS = (function() { * @implements IProtoTableWS * @constructor * @param {IProtoTableWS=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableWS(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -26283,9 +23442,6 @@ $root.ProtoTableWS = (function() { writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.minLinesAfter); if (message.priority != null && Object.hasOwnProperty.call(message, "priority")) writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.priority); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -26313,57 +23469,30 @@ $root.ProtoTableWS = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableWS.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableWS.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableWS(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableWS(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.uint32()) - message.minLinesBefore = value; - else - delete message.minLinesBefore; - continue; + message.minLinesBefore = reader.uint32(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.uint32()) - message.minLinesAfter = value; - else - delete message.minLinesAfter; - continue; + message.minLinesAfter = reader.uint32(); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.uint32()) - message.priority = value; - else - delete message.priority; - continue; + message.priority = reader.uint32(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -26391,13 +23520,9 @@ $root.ProtoTableWS = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableWS.verify = function verify(message, _depth) { + ProtoTableWS.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.minLinesBefore != null && message.hasOwnProperty("minLinesBefore")) if (!$util.isInteger(message.minLinesBefore)) return "minLinesBefore: integer expected"; @@ -26418,23 +23543,16 @@ $root.ProtoTableWS = (function() { * @param {Object.} object Plain object * @returns {ProtoTableWS} ProtoTableWS */ - ProtoTableWS.fromObject = function fromObject(object, _depth) { + ProtoTableWS.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableWS) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableWS(); if (object.minLinesBefore != null) - if (Number(object.minLinesBefore) !== 0) - message.minLinesBefore = object.minLinesBefore >>> 0; + message.minLinesBefore = object.minLinesBefore >>> 0; if (object.minLinesAfter != null) - if (Number(object.minLinesAfter) !== 0) - message.minLinesAfter = object.minLinesAfter >>> 0; + message.minLinesAfter = object.minLinesAfter >>> 0; if (object.priority != null) - if (Number(object.priority) !== 0) - message.priority = object.priority >>> 0; + message.priority = object.priority >>> 0; return message; }; @@ -26477,17 +23595,18 @@ $root.ProtoTableWS = (function() { }; /** - * Gets the type url for ProtoTableWS + * Gets the default type url for ProtoTableWS * @function getTypeUrl * @memberof ProtoTableWS * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableWS.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableWS"; + ProtoTableWS.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableWS"; }; return ProtoTableWS; @@ -26592,7 +23711,6 @@ $root.ProtoTableElementProperties = (function() { * @property {Inheritance|null} [repeatSubHeaderInheritance] ProtoTableElementProperties repeatSubHeaderInheritance * @property {IProtoBoxedUint32|null} [repeatSubHeader] ProtoTableElementProperties repeatSubHeader * @property {string|null} [repeatSubHeaderCode] ProtoTableElementProperties repeatSubHeaderCode - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -26602,13 +23720,12 @@ $root.ProtoTableElementProperties = (function() { * @implements IProtoTableElementProperties * @constructor * @param {IProtoTableElementProperties=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTableElementProperties(properties) { this.backgroundColor = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -27567,9 +24684,6 @@ $root.ProtoTableElementProperties = (function() { $root.ProtoBoxedUint32.encode(message.repeatSubHeader, writer.uint32(/* id 92, wireType 2 =*/738).fork()).ldelim(); if (message.repeatSubHeaderCode != null && Object.hasOwnProperty.call(message, "repeatSubHeaderCode")) writer.uint32(/* id 93, wireType 2 =*/746).string(message.repeatSubHeaderCode); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -27597,776 +24711,392 @@ $root.ProtoTableElementProperties = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTableElementProperties.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTableElementProperties.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTableElementProperties(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableElementProperties(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.widthInheritance = value; - else - delete message.widthInheritance; - continue; + message.widthInheritance = reader.int32(); + break; } case 2: { - if (wireType !== 2) - break; - message.width = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.widthCode = value; - else - delete message.widthCode; - continue; + message.widthCode = reader.string(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.alignInheritance = value; - else - delete message.alignInheritance; - continue; + message.alignInheritance = reader.int32(); + break; } case 5: { - if (wireType !== 2) - break; - message.align = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32(), undefined, _depth + 1, message.align); - continue; + message.align = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.alignCode = value; - else - delete message.alignCode; - continue; + message.alignCode = reader.string(); + break; } case 7: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.valignInheritance = value; - else - delete message.valignInheritance; - continue; + message.valignInheritance = reader.int32(); + break; } case 8: { - if (wireType !== 2) - break; - message.valign = $root.ProtoBoxedVerticalAlignment.decode(reader, reader.uint32(), undefined, _depth + 1, message.valign); - continue; + message.valign = $root.ProtoBoxedVerticalAlignment.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.valignCode = value; - else - delete message.valignCode; - continue; + message.valignCode = reader.string(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.backgroundColorInheritance = value; - else - delete message.backgroundColorInheritance; - continue; + message.backgroundColorInheritance = reader.int32(); + break; } case 11: { - if (wireType !== 2) - break; if (!(message.backgroundColor && message.backgroundColor.length)) message.backgroundColor = []; - message.backgroundColor.push($root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message.backgroundColor.push($root.ProtoColor.decode(reader, reader.uint32())); + break; } case 12: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.backgroundColorCode = value; - else - delete message.backgroundColorCode; - continue; + message.backgroundColorCode = reader.string(); + break; } case 13: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.paddingTopInheritance = value; - else - delete message.paddingTopInheritance; - continue; + message.paddingTopInheritance = reader.int32(); + break; } case 14: { - if (wireType !== 2) - break; - message.paddingTop = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.paddingTop); - continue; + message.paddingTop = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 15: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paddingTopCode = value; - else - delete message.paddingTopCode; - continue; + message.paddingTopCode = reader.string(); + break; } case 16: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.paddingRightInheritance = value; - else - delete message.paddingRightInheritance; - continue; + message.paddingRightInheritance = reader.int32(); + break; } case 17: { - if (wireType !== 2) - break; - message.paddingRight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.paddingRight); - continue; + message.paddingRight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 18: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paddingRightCode = value; - else - delete message.paddingRightCode; - continue; + message.paddingRightCode = reader.string(); + break; } case 19: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.paddingBottomInheritance = value; - else - delete message.paddingBottomInheritance; - continue; + message.paddingBottomInheritance = reader.int32(); + break; } case 20: { - if (wireType !== 2) - break; - message.paddingBottom = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.paddingBottom); - continue; + message.paddingBottom = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 21: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paddingBottomCode = value; - else - delete message.paddingBottomCode; - continue; + message.paddingBottomCode = reader.string(); + break; } case 22: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.paddingLeftInheritance = value; - else - delete message.paddingLeftInheritance; - continue; + message.paddingLeftInheritance = reader.int32(); + break; } case 23: { - if (wireType !== 2) - break; - message.paddingLeft = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.paddingLeft); - continue; + message.paddingLeft = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 24: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paddingLeftCode = value; - else - delete message.paddingLeftCode; - continue; + message.paddingLeftCode = reader.string(); + break; } case 25: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.borderTopColorInheritance = value; - else - delete message.borderTopColorInheritance; - continue; + message.borderTopColorInheritance = reader.int32(); + break; } case 26: { - if (wireType !== 2) - break; - message.borderTopColor = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.borderTopColor); - continue; + message.borderTopColor = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 27: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.borderTopColorCode = value; - else - delete message.borderTopColorCode; - continue; + message.borderTopColorCode = reader.string(); + break; } case 28: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.borderTopWeightInheritance = value; - else - delete message.borderTopWeightInheritance; - continue; + message.borderTopWeightInheritance = reader.int32(); + break; } case 29: { - if (wireType !== 2) - break; - message.borderTopWeight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.borderTopWeight); - continue; + message.borderTopWeight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 30: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.borderTopWeightCode = value; - else - delete message.borderTopWeightCode; - continue; + message.borderTopWeightCode = reader.string(); + break; } case 31: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.borderRightColorInheritance = value; - else - delete message.borderRightColorInheritance; - continue; + message.borderRightColorInheritance = reader.int32(); + break; } case 32: { - if (wireType !== 2) - break; - message.borderRightColor = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.borderRightColor); - continue; + message.borderRightColor = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 33: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.borderRightColorCode = value; - else - delete message.borderRightColorCode; - continue; + message.borderRightColorCode = reader.string(); + break; } case 34: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.borderRightWeightInheritance = value; - else - delete message.borderRightWeightInheritance; - continue; + message.borderRightWeightInheritance = reader.int32(); + break; } case 35: { - if (wireType !== 2) - break; - message.borderRightWeight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.borderRightWeight); - continue; + message.borderRightWeight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 36: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.borderRightWeightCode = value; - else - delete message.borderRightWeightCode; - continue; + message.borderRightWeightCode = reader.string(); + break; } case 37: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.borderBottomColorInheritance = value; - else - delete message.borderBottomColorInheritance; - continue; + message.borderBottomColorInheritance = reader.int32(); + break; } case 38: { - if (wireType !== 2) - break; - message.borderBottomColor = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.borderBottomColor); - continue; + message.borderBottomColor = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 39: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.borderBottomColorCode = value; - else - delete message.borderBottomColorCode; - continue; + message.borderBottomColorCode = reader.string(); + break; } case 40: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.borderBottomWeightInheritance = value; - else - delete message.borderBottomWeightInheritance; - continue; + message.borderBottomWeightInheritance = reader.int32(); + break; } case 41: { - if (wireType !== 2) - break; - message.borderBottomWeight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.borderBottomWeight); - continue; + message.borderBottomWeight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 42: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.borderBottomWeightCode = value; - else - delete message.borderBottomWeightCode; - continue; + message.borderBottomWeightCode = reader.string(); + break; } case 43: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.borderLeftColorInheritance = value; - else - delete message.borderLeftColorInheritance; - continue; + message.borderLeftColorInheritance = reader.int32(); + break; } case 44: { - if (wireType !== 2) - break; - message.borderLeftColor = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.borderLeftColor); - continue; + message.borderLeftColor = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 45: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.borderLeftColorCode = value; - else - delete message.borderLeftColorCode; - continue; + message.borderLeftColorCode = reader.string(); + break; } case 46: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.borderLeftWeightInheritance = value; - else - delete message.borderLeftWeightInheritance; - continue; + message.borderLeftWeightInheritance = reader.int32(); + break; } case 47: { - if (wireType !== 2) - break; - message.borderLeftWeight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.borderLeftWeight); - continue; + message.borderLeftWeight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 48: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.borderLeftWeightCode = value; - else - delete message.borderLeftWeightCode; - continue; + message.borderLeftWeightCode = reader.string(); + break; } case 49: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.marginTopInheritance = value; - else - delete message.marginTopInheritance; - continue; + message.marginTopInheritance = reader.int32(); + break; } case 50: { - if (wireType !== 2) - break; - message.marginTop = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.marginTop); - continue; + message.marginTop = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 51: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.marginTopCode = value; - else - delete message.marginTopCode; - continue; + message.marginTopCode = reader.string(); + break; } case 52: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.marginRightInheritance = value; - else - delete message.marginRightInheritance; - continue; + message.marginRightInheritance = reader.int32(); + break; } case 53: { - if (wireType !== 2) - break; - message.marginRight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.marginRight); - continue; + message.marginRight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 54: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.marginRightCode = value; - else - delete message.marginRightCode; - continue; + message.marginRightCode = reader.string(); + break; } case 55: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.marginBottomInheritance = value; - else - delete message.marginBottomInheritance; - continue; + message.marginBottomInheritance = reader.int32(); + break; } case 56: { - if (wireType !== 2) - break; - message.marginBottom = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.marginBottom); - continue; + message.marginBottom = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 57: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.marginBottomCode = value; - else - delete message.marginBottomCode; - continue; + message.marginBottomCode = reader.string(); + break; } case 58: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.marginLeftInheritance = value; - else - delete message.marginLeftInheritance; - continue; + message.marginLeftInheritance = reader.int32(); + break; } case 59: { - if (wireType !== 2) - break; - message.marginLeft = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.marginLeft); - continue; + message.marginLeft = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 60: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.marginLeftCode = value; - else - delete message.marginLeftCode; - continue; + message.marginLeftCode = reader.string(); + break; } case 61: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.rotationInheritance = value; - else - delete message.rotationInheritance; - continue; + message.rotationInheritance = reader.int32(); + break; } case 62: { - if (wireType !== 2) - break; - message.rotation = $root.ProtoBoxedDouble.decode(reader, reader.uint32(), undefined, _depth + 1, message.rotation); - continue; + message.rotation = $root.ProtoBoxedDouble.decode(reader, reader.uint32()); + break; } case 63: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.rotationCode = value; - else - delete message.rotationCode; - continue; + message.rotationCode = reader.string(); + break; } case 64: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.defaultParagraphFormatUUIDInheritance = value; - else - delete message.defaultParagraphFormatUUIDInheritance; - continue; + message.defaultParagraphFormatUUIDInheritance = reader.int32(); + break; } case 65: { - if (wireType !== 2) - break; - message.defaultParagraphFormatUUID = $root.ProtoBoxedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.defaultParagraphFormatUUID); - continue; + message.defaultParagraphFormatUUID = $root.ProtoBoxedString.decode(reader, reader.uint32()); + break; } case 66: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.defaultParagraphFormatUUIDCode = value; - else - delete message.defaultParagraphFormatUUIDCode; - continue; + message.defaultParagraphFormatUUIDCode = reader.string(); + break; } case 67: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.tableContentGroupTypeInheritance = value; - else - delete message.tableContentGroupTypeInheritance; - continue; + message.tableContentGroupTypeInheritance = reader.int32(); + break; } case 68: { - if (wireType !== 2) - break; - message.tableContentGroupType = $root.ProtoBoxedTableContentGroupType.decode(reader, reader.uint32(), undefined, _depth + 1, message.tableContentGroupType); - continue; + message.tableContentGroupType = $root.ProtoBoxedTableContentGroupType.decode(reader, reader.uint32()); + break; } case 69: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.tableContentGroupTypeCode = value; - else - delete message.tableContentGroupTypeCode; - continue; + message.tableContentGroupTypeCode = reader.string(); + break; } case 70: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.cellTypeInheritance = value; - else - delete message.cellTypeInheritance; - continue; + message.cellTypeInheritance = reader.int32(); + break; } case 71: { - if (wireType !== 2) - break; - message.cellType = $root.ProtoBoxedTableCellType.decode(reader, reader.uint32(), undefined, _depth + 1, message.cellType); - continue; + message.cellType = $root.ProtoBoxedTableCellType.decode(reader, reader.uint32()); + break; } case 72: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.cellTypeCode = value; - else - delete message.cellTypeCode; - continue; + message.cellTypeCode = reader.string(); + break; } case 73: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.minRowHeightInheritance = value; - else - delete message.minRowHeightInheritance; - continue; + message.minRowHeightInheritance = reader.int32(); + break; } case 74: { - if (wireType !== 2) - break; - message.minRowHeight = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.minRowHeight); - continue; + message.minRowHeight = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 75: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.minRowHeightCode = value; - else - delete message.minRowHeightCode; - continue; + message.minRowHeightCode = reader.string(); + break; } case 76: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.wsInheritance = value; - else - delete message.wsInheritance; - continue; + message.wsInheritance = reader.int32(); + break; } case 77: { - if (wireType !== 2) - break; - message.ws = $root.ProtoTableWS.decode(reader, reader.uint32(), undefined, _depth + 1, message.ws); - continue; + message.ws = $root.ProtoTableWS.decode(reader, reader.uint32()); + break; } case 78: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.wsCode = value; - else - delete message.wsCode; - continue; + message.wsCode = reader.string(); + break; } case 79: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.xOffsetInheritance = value; - else - delete message.xOffsetInheritance; - continue; + message.xOffsetInheritance = reader.int32(); + break; } case 80: { - if (wireType !== 2) - break; - message.xOffset = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.xOffset); - continue; + message.xOffset = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 81: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.xOffsetCode = value; - else - delete message.xOffsetCode; - continue; + message.xOffsetCode = reader.string(); + break; } case 82: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.leftMeasureInheritance = value; - else - delete message.leftMeasureInheritance; - continue; + message.leftMeasureInheritance = reader.int32(); + break; } case 83: { - if (wireType !== 2) - break; - message.leftMeasure = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.leftMeasure); - continue; + message.leftMeasure = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 84: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.leftMeasureCode = value; - else - delete message.leftMeasureCode; - continue; + message.leftMeasureCode = reader.string(); + break; } case 85: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.repeatHeaderInheritance = value; - else - delete message.repeatHeaderInheritance; - continue; + message.repeatHeaderInheritance = reader.int32(); + break; } case 86: { - if (wireType !== 2) - break; - message.repeatHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.repeatHeader); - continue; + message.repeatHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 87: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.repeatHeaderCode = value; - else - delete message.repeatHeaderCode; - continue; + message.repeatHeaderCode = reader.string(); + break; } case 88: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.noDocumentStructureInheritance = value; - else - delete message.noDocumentStructureInheritance; - continue; + message.noDocumentStructureInheritance = reader.int32(); + break; } case 89: { - if (wireType !== 2) - break; - message.noDocumentStructure = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.noDocumentStructure); - continue; + message.noDocumentStructure = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 90: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.noDocumentStructureCode = value; - else - delete message.noDocumentStructureCode; - continue; + message.noDocumentStructureCode = reader.string(); + break; } case 91: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.repeatSubHeaderInheritance = value; - else - delete message.repeatSubHeaderInheritance; - continue; + message.repeatSubHeaderInheritance = reader.int32(); + break; } case 92: { - if (wireType !== 2) - break; - message.repeatSubHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32(), undefined, _depth + 1, message.repeatSubHeader); - continue; + message.repeatSubHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); + break; } case 93: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.repeatSubHeaderCode = value; - else - delete message.repeatSubHeaderCode; - continue; + message.repeatSubHeaderCode = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -28394,13 +25124,9 @@ $root.ProtoTableElementProperties = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTableElementProperties.verify = function verify(message, _depth) { + ProtoTableElementProperties.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.widthInheritance != null && message.hasOwnProperty("widthInheritance")) switch (message.widthInheritance) { default: @@ -28413,7 +25139,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoMeasure.verify(message.width); if (error) return "width." + error; } @@ -28432,7 +25158,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.align != null && message.hasOwnProperty("align")) { - var error = $root.ProtoBoxedHorizontalAlignment.verify(message.align, _depth + 1); + var error = $root.ProtoBoxedHorizontalAlignment.verify(message.align); if (error) return "align." + error; } @@ -28451,7 +25177,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.valign != null && message.hasOwnProperty("valign")) { - var error = $root.ProtoBoxedVerticalAlignment.verify(message.valign, _depth + 1); + var error = $root.ProtoBoxedVerticalAlignment.verify(message.valign); if (error) return "valign." + error; } @@ -28473,7 +25199,7 @@ $root.ProtoTableElementProperties = (function() { if (!Array.isArray(message.backgroundColor)) return "backgroundColor: array expected"; for (var i = 0; i < message.backgroundColor.length; ++i) { - var error = $root.ProtoColor.verify(message.backgroundColor[i], _depth + 1); + var error = $root.ProtoColor.verify(message.backgroundColor[i]); if (error) return "backgroundColor." + error; } @@ -28493,7 +25219,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.paddingTop != null && message.hasOwnProperty("paddingTop")) { - var error = $root.ProtoMeasure.verify(message.paddingTop, _depth + 1); + var error = $root.ProtoMeasure.verify(message.paddingTop); if (error) return "paddingTop." + error; } @@ -28512,7 +25238,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.paddingRight != null && message.hasOwnProperty("paddingRight")) { - var error = $root.ProtoMeasure.verify(message.paddingRight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.paddingRight); if (error) return "paddingRight." + error; } @@ -28531,7 +25257,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.paddingBottom != null && message.hasOwnProperty("paddingBottom")) { - var error = $root.ProtoMeasure.verify(message.paddingBottom, _depth + 1); + var error = $root.ProtoMeasure.verify(message.paddingBottom); if (error) return "paddingBottom." + error; } @@ -28550,7 +25276,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.paddingLeft != null && message.hasOwnProperty("paddingLeft")) { - var error = $root.ProtoMeasure.verify(message.paddingLeft, _depth + 1); + var error = $root.ProtoMeasure.verify(message.paddingLeft); if (error) return "paddingLeft." + error; } @@ -28569,7 +25295,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.borderTopColor != null && message.hasOwnProperty("borderTopColor")) { - var error = $root.ProtoColor.verify(message.borderTopColor, _depth + 1); + var error = $root.ProtoColor.verify(message.borderTopColor); if (error) return "borderTopColor." + error; } @@ -28588,7 +25314,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.borderTopWeight != null && message.hasOwnProperty("borderTopWeight")) { - var error = $root.ProtoMeasure.verify(message.borderTopWeight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.borderTopWeight); if (error) return "borderTopWeight." + error; } @@ -28607,7 +25333,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.borderRightColor != null && message.hasOwnProperty("borderRightColor")) { - var error = $root.ProtoColor.verify(message.borderRightColor, _depth + 1); + var error = $root.ProtoColor.verify(message.borderRightColor); if (error) return "borderRightColor." + error; } @@ -28626,7 +25352,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.borderRightWeight != null && message.hasOwnProperty("borderRightWeight")) { - var error = $root.ProtoMeasure.verify(message.borderRightWeight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.borderRightWeight); if (error) return "borderRightWeight." + error; } @@ -28645,7 +25371,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.borderBottomColor != null && message.hasOwnProperty("borderBottomColor")) { - var error = $root.ProtoColor.verify(message.borderBottomColor, _depth + 1); + var error = $root.ProtoColor.verify(message.borderBottomColor); if (error) return "borderBottomColor." + error; } @@ -28664,7 +25390,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.borderBottomWeight != null && message.hasOwnProperty("borderBottomWeight")) { - var error = $root.ProtoMeasure.verify(message.borderBottomWeight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.borderBottomWeight); if (error) return "borderBottomWeight." + error; } @@ -28683,7 +25409,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.borderLeftColor != null && message.hasOwnProperty("borderLeftColor")) { - var error = $root.ProtoColor.verify(message.borderLeftColor, _depth + 1); + var error = $root.ProtoColor.verify(message.borderLeftColor); if (error) return "borderLeftColor." + error; } @@ -28702,7 +25428,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.borderLeftWeight != null && message.hasOwnProperty("borderLeftWeight")) { - var error = $root.ProtoMeasure.verify(message.borderLeftWeight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.borderLeftWeight); if (error) return "borderLeftWeight." + error; } @@ -28721,7 +25447,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.marginTop != null && message.hasOwnProperty("marginTop")) { - var error = $root.ProtoMeasure.verify(message.marginTop, _depth + 1); + var error = $root.ProtoMeasure.verify(message.marginTop); if (error) return "marginTop." + error; } @@ -28740,7 +25466,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.marginRight != null && message.hasOwnProperty("marginRight")) { - var error = $root.ProtoMeasure.verify(message.marginRight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.marginRight); if (error) return "marginRight." + error; } @@ -28759,7 +25485,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.marginBottom != null && message.hasOwnProperty("marginBottom")) { - var error = $root.ProtoMeasure.verify(message.marginBottom, _depth + 1); + var error = $root.ProtoMeasure.verify(message.marginBottom); if (error) return "marginBottom." + error; } @@ -28778,7 +25504,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.marginLeft != null && message.hasOwnProperty("marginLeft")) { - var error = $root.ProtoMeasure.verify(message.marginLeft, _depth + 1); + var error = $root.ProtoMeasure.verify(message.marginLeft); if (error) return "marginLeft." + error; } @@ -28797,7 +25523,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.rotation != null && message.hasOwnProperty("rotation")) { - var error = $root.ProtoBoxedDouble.verify(message.rotation, _depth + 1); + var error = $root.ProtoBoxedDouble.verify(message.rotation); if (error) return "rotation." + error; } @@ -28816,7 +25542,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.defaultParagraphFormatUUID != null && message.hasOwnProperty("defaultParagraphFormatUUID")) { - var error = $root.ProtoBoxedString.verify(message.defaultParagraphFormatUUID, _depth + 1); + var error = $root.ProtoBoxedString.verify(message.defaultParagraphFormatUUID); if (error) return "defaultParagraphFormatUUID." + error; } @@ -28835,7 +25561,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.tableContentGroupType != null && message.hasOwnProperty("tableContentGroupType")) { - var error = $root.ProtoBoxedTableContentGroupType.verify(message.tableContentGroupType, _depth + 1); + var error = $root.ProtoBoxedTableContentGroupType.verify(message.tableContentGroupType); if (error) return "tableContentGroupType." + error; } @@ -28854,7 +25580,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.cellType != null && message.hasOwnProperty("cellType")) { - var error = $root.ProtoBoxedTableCellType.verify(message.cellType, _depth + 1); + var error = $root.ProtoBoxedTableCellType.verify(message.cellType); if (error) return "cellType." + error; } @@ -28873,7 +25599,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.minRowHeight != null && message.hasOwnProperty("minRowHeight")) { - var error = $root.ProtoMeasure.verify(message.minRowHeight, _depth + 1); + var error = $root.ProtoMeasure.verify(message.minRowHeight); if (error) return "minRowHeight." + error; } @@ -28892,7 +25618,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.ws != null && message.hasOwnProperty("ws")) { - var error = $root.ProtoTableWS.verify(message.ws, _depth + 1); + var error = $root.ProtoTableWS.verify(message.ws); if (error) return "ws." + error; } @@ -28911,7 +25637,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.xOffset != null && message.hasOwnProperty("xOffset")) { - var error = $root.ProtoMeasure.verify(message.xOffset, _depth + 1); + var error = $root.ProtoMeasure.verify(message.xOffset); if (error) return "xOffset." + error; } @@ -28930,7 +25656,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.leftMeasure != null && message.hasOwnProperty("leftMeasure")) { - var error = $root.ProtoBoxedBool.verify(message.leftMeasure, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.leftMeasure); if (error) return "leftMeasure." + error; } @@ -28949,7 +25675,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.repeatHeader != null && message.hasOwnProperty("repeatHeader")) { - var error = $root.ProtoBoxedUint32.verify(message.repeatHeader, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.repeatHeader); if (error) return "repeatHeader." + error; } @@ -28968,7 +25694,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.noDocumentStructure != null && message.hasOwnProperty("noDocumentStructure")) { - var error = $root.ProtoBoxedBool.verify(message.noDocumentStructure, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.noDocumentStructure); if (error) return "noDocumentStructure." + error; } @@ -28987,7 +25713,7 @@ $root.ProtoTableElementProperties = (function() { break; } if (message.repeatSubHeader != null && message.hasOwnProperty("repeatSubHeader")) { - var error = $root.ProtoBoxedUint32.verify(message.repeatSubHeader, _depth + 1); + var error = $root.ProtoBoxedUint32.verify(message.repeatSubHeader); if (error) return "repeatSubHeader." + error; } @@ -29005,1166 +25731,1100 @@ $root.ProtoTableElementProperties = (function() { * @param {Object.} object Plain object * @returns {ProtoTableElementProperties} ProtoTableElementProperties */ - ProtoTableElementProperties.fromObject = function fromObject(object, _depth) { + ProtoTableElementProperties.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTableElementProperties) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTableElementProperties(); - if (object.widthInheritance !== 0 && (typeof object.widthInheritance !== "string" || $root.Inheritance[object.widthInheritance] !== 0)) - switch (object.widthInheritance) { - default: - if (typeof object.widthInheritance === "number") { - message.widthInheritance = object.widthInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.widthInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.widthInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.widthInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.widthInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.widthInheritance = 4; - break; - } + switch (object.widthInheritance) { + default: + if (typeof object.widthInheritance === "number") { + message.widthInheritance = object.widthInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.widthInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.widthInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.widthInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.widthInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.widthInheritance = 4; + break; + } if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoTableElementProperties.width: object expected"); - message.width = $root.ProtoMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoMeasure.fromObject(object.width); } if (object.widthCode != null) - if (typeof object.widthCode !== "string" || object.widthCode.length) - message.widthCode = String(object.widthCode); - if (object.alignInheritance !== 0 && (typeof object.alignInheritance !== "string" || $root.Inheritance[object.alignInheritance] !== 0)) - switch (object.alignInheritance) { - default: - if (typeof object.alignInheritance === "number") { - message.alignInheritance = object.alignInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.alignInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.alignInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.alignInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.alignInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.alignInheritance = 4; - break; - } + message.widthCode = String(object.widthCode); + switch (object.alignInheritance) { + default: + if (typeof object.alignInheritance === "number") { + message.alignInheritance = object.alignInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.alignInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.alignInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.alignInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.alignInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.alignInheritance = 4; + break; + } if (object.align != null) { if (typeof object.align !== "object") throw TypeError(".ProtoTableElementProperties.align: object expected"); - message.align = $root.ProtoBoxedHorizontalAlignment.fromObject(object.align, _depth + 1); + message.align = $root.ProtoBoxedHorizontalAlignment.fromObject(object.align); } if (object.alignCode != null) - if (typeof object.alignCode !== "string" || object.alignCode.length) - message.alignCode = String(object.alignCode); - if (object.valignInheritance !== 0 && (typeof object.valignInheritance !== "string" || $root.Inheritance[object.valignInheritance] !== 0)) - switch (object.valignInheritance) { - default: - if (typeof object.valignInheritance === "number") { - message.valignInheritance = object.valignInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.valignInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.valignInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.valignInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.valignInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.valignInheritance = 4; - break; - } + message.alignCode = String(object.alignCode); + switch (object.valignInheritance) { + default: + if (typeof object.valignInheritance === "number") { + message.valignInheritance = object.valignInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.valignInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.valignInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.valignInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.valignInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.valignInheritance = 4; + break; + } if (object.valign != null) { if (typeof object.valign !== "object") throw TypeError(".ProtoTableElementProperties.valign: object expected"); - message.valign = $root.ProtoBoxedVerticalAlignment.fromObject(object.valign, _depth + 1); + message.valign = $root.ProtoBoxedVerticalAlignment.fromObject(object.valign); } if (object.valignCode != null) - if (typeof object.valignCode !== "string" || object.valignCode.length) - message.valignCode = String(object.valignCode); - if (object.backgroundColorInheritance !== 0 && (typeof object.backgroundColorInheritance !== "string" || $root.Inheritance[object.backgroundColorInheritance] !== 0)) - switch (object.backgroundColorInheritance) { - default: - if (typeof object.backgroundColorInheritance === "number") { - message.backgroundColorInheritance = object.backgroundColorInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.backgroundColorInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.backgroundColorInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.backgroundColorInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.backgroundColorInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.backgroundColorInheritance = 4; - break; - } + message.valignCode = String(object.valignCode); + switch (object.backgroundColorInheritance) { + default: + if (typeof object.backgroundColorInheritance === "number") { + message.backgroundColorInheritance = object.backgroundColorInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.backgroundColorInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.backgroundColorInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.backgroundColorInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.backgroundColorInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.backgroundColorInheritance = 4; + break; + } if (object.backgroundColor) { if (!Array.isArray(object.backgroundColor)) throw TypeError(".ProtoTableElementProperties.backgroundColor: array expected"); - message.backgroundColor = Array(object.backgroundColor.length); + message.backgroundColor = []; for (var i = 0; i < object.backgroundColor.length; ++i) { if (typeof object.backgroundColor[i] !== "object") throw TypeError(".ProtoTableElementProperties.backgroundColor: object expected"); - message.backgroundColor[i] = $root.ProtoColor.fromObject(object.backgroundColor[i], _depth + 1); + message.backgroundColor[i] = $root.ProtoColor.fromObject(object.backgroundColor[i]); } } if (object.backgroundColorCode != null) - if (typeof object.backgroundColorCode !== "string" || object.backgroundColorCode.length) - message.backgroundColorCode = String(object.backgroundColorCode); - if (object.paddingTopInheritance !== 0 && (typeof object.paddingTopInheritance !== "string" || $root.Inheritance[object.paddingTopInheritance] !== 0)) - switch (object.paddingTopInheritance) { - default: - if (typeof object.paddingTopInheritance === "number") { - message.paddingTopInheritance = object.paddingTopInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.paddingTopInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.paddingTopInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.paddingTopInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.paddingTopInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.paddingTopInheritance = 4; - break; - } + message.backgroundColorCode = String(object.backgroundColorCode); + switch (object.paddingTopInheritance) { + default: + if (typeof object.paddingTopInheritance === "number") { + message.paddingTopInheritance = object.paddingTopInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.paddingTopInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.paddingTopInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.paddingTopInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.paddingTopInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.paddingTopInheritance = 4; + break; + } if (object.paddingTop != null) { if (typeof object.paddingTop !== "object") throw TypeError(".ProtoTableElementProperties.paddingTop: object expected"); - message.paddingTop = $root.ProtoMeasure.fromObject(object.paddingTop, _depth + 1); + message.paddingTop = $root.ProtoMeasure.fromObject(object.paddingTop); } if (object.paddingTopCode != null) - if (typeof object.paddingTopCode !== "string" || object.paddingTopCode.length) - message.paddingTopCode = String(object.paddingTopCode); - if (object.paddingRightInheritance !== 0 && (typeof object.paddingRightInheritance !== "string" || $root.Inheritance[object.paddingRightInheritance] !== 0)) - switch (object.paddingRightInheritance) { - default: - if (typeof object.paddingRightInheritance === "number") { - message.paddingRightInheritance = object.paddingRightInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.paddingRightInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.paddingRightInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.paddingRightInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.paddingRightInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.paddingRightInheritance = 4; - break; - } + message.paddingTopCode = String(object.paddingTopCode); + switch (object.paddingRightInheritance) { + default: + if (typeof object.paddingRightInheritance === "number") { + message.paddingRightInheritance = object.paddingRightInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.paddingRightInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.paddingRightInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.paddingRightInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.paddingRightInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.paddingRightInheritance = 4; + break; + } if (object.paddingRight != null) { if (typeof object.paddingRight !== "object") throw TypeError(".ProtoTableElementProperties.paddingRight: object expected"); - message.paddingRight = $root.ProtoMeasure.fromObject(object.paddingRight, _depth + 1); + message.paddingRight = $root.ProtoMeasure.fromObject(object.paddingRight); } if (object.paddingRightCode != null) - if (typeof object.paddingRightCode !== "string" || object.paddingRightCode.length) - message.paddingRightCode = String(object.paddingRightCode); - if (object.paddingBottomInheritance !== 0 && (typeof object.paddingBottomInheritance !== "string" || $root.Inheritance[object.paddingBottomInheritance] !== 0)) - switch (object.paddingBottomInheritance) { - default: - if (typeof object.paddingBottomInheritance === "number") { - message.paddingBottomInheritance = object.paddingBottomInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.paddingBottomInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.paddingBottomInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.paddingBottomInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.paddingBottomInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.paddingBottomInheritance = 4; - break; - } + message.paddingRightCode = String(object.paddingRightCode); + switch (object.paddingBottomInheritance) { + default: + if (typeof object.paddingBottomInheritance === "number") { + message.paddingBottomInheritance = object.paddingBottomInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.paddingBottomInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.paddingBottomInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.paddingBottomInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.paddingBottomInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.paddingBottomInheritance = 4; + break; + } if (object.paddingBottom != null) { if (typeof object.paddingBottom !== "object") throw TypeError(".ProtoTableElementProperties.paddingBottom: object expected"); - message.paddingBottom = $root.ProtoMeasure.fromObject(object.paddingBottom, _depth + 1); + message.paddingBottom = $root.ProtoMeasure.fromObject(object.paddingBottom); } if (object.paddingBottomCode != null) - if (typeof object.paddingBottomCode !== "string" || object.paddingBottomCode.length) - message.paddingBottomCode = String(object.paddingBottomCode); - if (object.paddingLeftInheritance !== 0 && (typeof object.paddingLeftInheritance !== "string" || $root.Inheritance[object.paddingLeftInheritance] !== 0)) - switch (object.paddingLeftInheritance) { - default: - if (typeof object.paddingLeftInheritance === "number") { - message.paddingLeftInheritance = object.paddingLeftInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.paddingLeftInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.paddingLeftInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.paddingLeftInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.paddingLeftInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.paddingLeftInheritance = 4; - break; - } + message.paddingBottomCode = String(object.paddingBottomCode); + switch (object.paddingLeftInheritance) { + default: + if (typeof object.paddingLeftInheritance === "number") { + message.paddingLeftInheritance = object.paddingLeftInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.paddingLeftInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.paddingLeftInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.paddingLeftInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.paddingLeftInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.paddingLeftInheritance = 4; + break; + } if (object.paddingLeft != null) { if (typeof object.paddingLeft !== "object") throw TypeError(".ProtoTableElementProperties.paddingLeft: object expected"); - message.paddingLeft = $root.ProtoMeasure.fromObject(object.paddingLeft, _depth + 1); + message.paddingLeft = $root.ProtoMeasure.fromObject(object.paddingLeft); } if (object.paddingLeftCode != null) - if (typeof object.paddingLeftCode !== "string" || object.paddingLeftCode.length) - message.paddingLeftCode = String(object.paddingLeftCode); - if (object.borderTopColorInheritance !== 0 && (typeof object.borderTopColorInheritance !== "string" || $root.Inheritance[object.borderTopColorInheritance] !== 0)) - switch (object.borderTopColorInheritance) { - default: - if (typeof object.borderTopColorInheritance === "number") { - message.borderTopColorInheritance = object.borderTopColorInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.borderTopColorInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.borderTopColorInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.borderTopColorInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.borderTopColorInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.borderTopColorInheritance = 4; - break; - } + message.paddingLeftCode = String(object.paddingLeftCode); + switch (object.borderTopColorInheritance) { + default: + if (typeof object.borderTopColorInheritance === "number") { + message.borderTopColorInheritance = object.borderTopColorInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.borderTopColorInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.borderTopColorInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.borderTopColorInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.borderTopColorInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.borderTopColorInheritance = 4; + break; + } if (object.borderTopColor != null) { if (typeof object.borderTopColor !== "object") throw TypeError(".ProtoTableElementProperties.borderTopColor: object expected"); - message.borderTopColor = $root.ProtoColor.fromObject(object.borderTopColor, _depth + 1); + message.borderTopColor = $root.ProtoColor.fromObject(object.borderTopColor); } if (object.borderTopColorCode != null) - if (typeof object.borderTopColorCode !== "string" || object.borderTopColorCode.length) - message.borderTopColorCode = String(object.borderTopColorCode); - if (object.borderTopWeightInheritance !== 0 && (typeof object.borderTopWeightInheritance !== "string" || $root.Inheritance[object.borderTopWeightInheritance] !== 0)) - switch (object.borderTopWeightInheritance) { - default: - if (typeof object.borderTopWeightInheritance === "number") { - message.borderTopWeightInheritance = object.borderTopWeightInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.borderTopWeightInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.borderTopWeightInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.borderTopWeightInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.borderTopWeightInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.borderTopWeightInheritance = 4; - break; - } + message.borderTopColorCode = String(object.borderTopColorCode); + switch (object.borderTopWeightInheritance) { + default: + if (typeof object.borderTopWeightInheritance === "number") { + message.borderTopWeightInheritance = object.borderTopWeightInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.borderTopWeightInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.borderTopWeightInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.borderTopWeightInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.borderTopWeightInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.borderTopWeightInheritance = 4; + break; + } if (object.borderTopWeight != null) { if (typeof object.borderTopWeight !== "object") throw TypeError(".ProtoTableElementProperties.borderTopWeight: object expected"); - message.borderTopWeight = $root.ProtoMeasure.fromObject(object.borderTopWeight, _depth + 1); + message.borderTopWeight = $root.ProtoMeasure.fromObject(object.borderTopWeight); } if (object.borderTopWeightCode != null) - if (typeof object.borderTopWeightCode !== "string" || object.borderTopWeightCode.length) - message.borderTopWeightCode = String(object.borderTopWeightCode); - if (object.borderRightColorInheritance !== 0 && (typeof object.borderRightColorInheritance !== "string" || $root.Inheritance[object.borderRightColorInheritance] !== 0)) - switch (object.borderRightColorInheritance) { - default: - if (typeof object.borderRightColorInheritance === "number") { - message.borderRightColorInheritance = object.borderRightColorInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.borderRightColorInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.borderRightColorInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.borderRightColorInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.borderRightColorInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.borderRightColorInheritance = 4; - break; - } + message.borderTopWeightCode = String(object.borderTopWeightCode); + switch (object.borderRightColorInheritance) { + default: + if (typeof object.borderRightColorInheritance === "number") { + message.borderRightColorInheritance = object.borderRightColorInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.borderRightColorInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.borderRightColorInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.borderRightColorInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.borderRightColorInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.borderRightColorInheritance = 4; + break; + } if (object.borderRightColor != null) { if (typeof object.borderRightColor !== "object") throw TypeError(".ProtoTableElementProperties.borderRightColor: object expected"); - message.borderRightColor = $root.ProtoColor.fromObject(object.borderRightColor, _depth + 1); + message.borderRightColor = $root.ProtoColor.fromObject(object.borderRightColor); } if (object.borderRightColorCode != null) - if (typeof object.borderRightColorCode !== "string" || object.borderRightColorCode.length) - message.borderRightColorCode = String(object.borderRightColorCode); - if (object.borderRightWeightInheritance !== 0 && (typeof object.borderRightWeightInheritance !== "string" || $root.Inheritance[object.borderRightWeightInheritance] !== 0)) - switch (object.borderRightWeightInheritance) { - default: - if (typeof object.borderRightWeightInheritance === "number") { - message.borderRightWeightInheritance = object.borderRightWeightInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.borderRightWeightInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.borderRightWeightInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.borderRightWeightInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.borderRightWeightInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.borderRightWeightInheritance = 4; - break; - } + message.borderRightColorCode = String(object.borderRightColorCode); + switch (object.borderRightWeightInheritance) { + default: + if (typeof object.borderRightWeightInheritance === "number") { + message.borderRightWeightInheritance = object.borderRightWeightInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.borderRightWeightInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.borderRightWeightInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.borderRightWeightInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.borderRightWeightInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.borderRightWeightInheritance = 4; + break; + } if (object.borderRightWeight != null) { if (typeof object.borderRightWeight !== "object") throw TypeError(".ProtoTableElementProperties.borderRightWeight: object expected"); - message.borderRightWeight = $root.ProtoMeasure.fromObject(object.borderRightWeight, _depth + 1); + message.borderRightWeight = $root.ProtoMeasure.fromObject(object.borderRightWeight); } if (object.borderRightWeightCode != null) - if (typeof object.borderRightWeightCode !== "string" || object.borderRightWeightCode.length) - message.borderRightWeightCode = String(object.borderRightWeightCode); - if (object.borderBottomColorInheritance !== 0 && (typeof object.borderBottomColorInheritance !== "string" || $root.Inheritance[object.borderBottomColorInheritance] !== 0)) - switch (object.borderBottomColorInheritance) { - default: - if (typeof object.borderBottomColorInheritance === "number") { - message.borderBottomColorInheritance = object.borderBottomColorInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.borderBottomColorInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.borderBottomColorInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.borderBottomColorInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.borderBottomColorInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.borderBottomColorInheritance = 4; - break; - } + message.borderRightWeightCode = String(object.borderRightWeightCode); + switch (object.borderBottomColorInheritance) { + default: + if (typeof object.borderBottomColorInheritance === "number") { + message.borderBottomColorInheritance = object.borderBottomColorInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.borderBottomColorInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.borderBottomColorInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.borderBottomColorInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.borderBottomColorInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.borderBottomColorInheritance = 4; + break; + } if (object.borderBottomColor != null) { if (typeof object.borderBottomColor !== "object") throw TypeError(".ProtoTableElementProperties.borderBottomColor: object expected"); - message.borderBottomColor = $root.ProtoColor.fromObject(object.borderBottomColor, _depth + 1); + message.borderBottomColor = $root.ProtoColor.fromObject(object.borderBottomColor); } if (object.borderBottomColorCode != null) - if (typeof object.borderBottomColorCode !== "string" || object.borderBottomColorCode.length) - message.borderBottomColorCode = String(object.borderBottomColorCode); - if (object.borderBottomWeightInheritance !== 0 && (typeof object.borderBottomWeightInheritance !== "string" || $root.Inheritance[object.borderBottomWeightInheritance] !== 0)) - switch (object.borderBottomWeightInheritance) { - default: - if (typeof object.borderBottomWeightInheritance === "number") { - message.borderBottomWeightInheritance = object.borderBottomWeightInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.borderBottomWeightInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.borderBottomWeightInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.borderBottomWeightInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.borderBottomWeightInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.borderBottomWeightInheritance = 4; - break; - } + message.borderBottomColorCode = String(object.borderBottomColorCode); + switch (object.borderBottomWeightInheritance) { + default: + if (typeof object.borderBottomWeightInheritance === "number") { + message.borderBottomWeightInheritance = object.borderBottomWeightInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.borderBottomWeightInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.borderBottomWeightInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.borderBottomWeightInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.borderBottomWeightInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.borderBottomWeightInheritance = 4; + break; + } if (object.borderBottomWeight != null) { if (typeof object.borderBottomWeight !== "object") throw TypeError(".ProtoTableElementProperties.borderBottomWeight: object expected"); - message.borderBottomWeight = $root.ProtoMeasure.fromObject(object.borderBottomWeight, _depth + 1); + message.borderBottomWeight = $root.ProtoMeasure.fromObject(object.borderBottomWeight); } if (object.borderBottomWeightCode != null) - if (typeof object.borderBottomWeightCode !== "string" || object.borderBottomWeightCode.length) - message.borderBottomWeightCode = String(object.borderBottomWeightCode); - if (object.borderLeftColorInheritance !== 0 && (typeof object.borderLeftColorInheritance !== "string" || $root.Inheritance[object.borderLeftColorInheritance] !== 0)) - switch (object.borderLeftColorInheritance) { - default: - if (typeof object.borderLeftColorInheritance === "number") { - message.borderLeftColorInheritance = object.borderLeftColorInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.borderLeftColorInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.borderLeftColorInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.borderLeftColorInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.borderLeftColorInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.borderLeftColorInheritance = 4; - break; - } + message.borderBottomWeightCode = String(object.borderBottomWeightCode); + switch (object.borderLeftColorInheritance) { + default: + if (typeof object.borderLeftColorInheritance === "number") { + message.borderLeftColorInheritance = object.borderLeftColorInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.borderLeftColorInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.borderLeftColorInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.borderLeftColorInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.borderLeftColorInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.borderLeftColorInheritance = 4; + break; + } if (object.borderLeftColor != null) { if (typeof object.borderLeftColor !== "object") throw TypeError(".ProtoTableElementProperties.borderLeftColor: object expected"); - message.borderLeftColor = $root.ProtoColor.fromObject(object.borderLeftColor, _depth + 1); + message.borderLeftColor = $root.ProtoColor.fromObject(object.borderLeftColor); } if (object.borderLeftColorCode != null) - if (typeof object.borderLeftColorCode !== "string" || object.borderLeftColorCode.length) - message.borderLeftColorCode = String(object.borderLeftColorCode); - if (object.borderLeftWeightInheritance !== 0 && (typeof object.borderLeftWeightInheritance !== "string" || $root.Inheritance[object.borderLeftWeightInheritance] !== 0)) - switch (object.borderLeftWeightInheritance) { - default: - if (typeof object.borderLeftWeightInheritance === "number") { - message.borderLeftWeightInheritance = object.borderLeftWeightInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.borderLeftWeightInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.borderLeftWeightInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.borderLeftWeightInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.borderLeftWeightInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.borderLeftWeightInheritance = 4; - break; - } + message.borderLeftColorCode = String(object.borderLeftColorCode); + switch (object.borderLeftWeightInheritance) { + default: + if (typeof object.borderLeftWeightInheritance === "number") { + message.borderLeftWeightInheritance = object.borderLeftWeightInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.borderLeftWeightInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.borderLeftWeightInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.borderLeftWeightInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.borderLeftWeightInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.borderLeftWeightInheritance = 4; + break; + } if (object.borderLeftWeight != null) { if (typeof object.borderLeftWeight !== "object") throw TypeError(".ProtoTableElementProperties.borderLeftWeight: object expected"); - message.borderLeftWeight = $root.ProtoMeasure.fromObject(object.borderLeftWeight, _depth + 1); + message.borderLeftWeight = $root.ProtoMeasure.fromObject(object.borderLeftWeight); } if (object.borderLeftWeightCode != null) - if (typeof object.borderLeftWeightCode !== "string" || object.borderLeftWeightCode.length) - message.borderLeftWeightCode = String(object.borderLeftWeightCode); - if (object.marginTopInheritance !== 0 && (typeof object.marginTopInheritance !== "string" || $root.Inheritance[object.marginTopInheritance] !== 0)) - switch (object.marginTopInheritance) { - default: - if (typeof object.marginTopInheritance === "number") { - message.marginTopInheritance = object.marginTopInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.marginTopInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.marginTopInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.marginTopInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.marginTopInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.marginTopInheritance = 4; - break; - } + message.borderLeftWeightCode = String(object.borderLeftWeightCode); + switch (object.marginTopInheritance) { + default: + if (typeof object.marginTopInheritance === "number") { + message.marginTopInheritance = object.marginTopInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.marginTopInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.marginTopInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.marginTopInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.marginTopInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.marginTopInheritance = 4; + break; + } if (object.marginTop != null) { if (typeof object.marginTop !== "object") throw TypeError(".ProtoTableElementProperties.marginTop: object expected"); - message.marginTop = $root.ProtoMeasure.fromObject(object.marginTop, _depth + 1); + message.marginTop = $root.ProtoMeasure.fromObject(object.marginTop); } if (object.marginTopCode != null) - if (typeof object.marginTopCode !== "string" || object.marginTopCode.length) - message.marginTopCode = String(object.marginTopCode); - if (object.marginRightInheritance !== 0 && (typeof object.marginRightInheritance !== "string" || $root.Inheritance[object.marginRightInheritance] !== 0)) - switch (object.marginRightInheritance) { - default: - if (typeof object.marginRightInheritance === "number") { - message.marginRightInheritance = object.marginRightInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.marginRightInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.marginRightInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.marginRightInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.marginRightInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.marginRightInheritance = 4; - break; - } + message.marginTopCode = String(object.marginTopCode); + switch (object.marginRightInheritance) { + default: + if (typeof object.marginRightInheritance === "number") { + message.marginRightInheritance = object.marginRightInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.marginRightInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.marginRightInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.marginRightInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.marginRightInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.marginRightInheritance = 4; + break; + } if (object.marginRight != null) { if (typeof object.marginRight !== "object") throw TypeError(".ProtoTableElementProperties.marginRight: object expected"); - message.marginRight = $root.ProtoMeasure.fromObject(object.marginRight, _depth + 1); + message.marginRight = $root.ProtoMeasure.fromObject(object.marginRight); } if (object.marginRightCode != null) - if (typeof object.marginRightCode !== "string" || object.marginRightCode.length) - message.marginRightCode = String(object.marginRightCode); - if (object.marginBottomInheritance !== 0 && (typeof object.marginBottomInheritance !== "string" || $root.Inheritance[object.marginBottomInheritance] !== 0)) - switch (object.marginBottomInheritance) { - default: - if (typeof object.marginBottomInheritance === "number") { - message.marginBottomInheritance = object.marginBottomInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.marginBottomInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.marginBottomInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.marginBottomInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.marginBottomInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.marginBottomInheritance = 4; - break; - } + message.marginRightCode = String(object.marginRightCode); + switch (object.marginBottomInheritance) { + default: + if (typeof object.marginBottomInheritance === "number") { + message.marginBottomInheritance = object.marginBottomInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.marginBottomInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.marginBottomInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.marginBottomInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.marginBottomInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.marginBottomInheritance = 4; + break; + } if (object.marginBottom != null) { if (typeof object.marginBottom !== "object") throw TypeError(".ProtoTableElementProperties.marginBottom: object expected"); - message.marginBottom = $root.ProtoMeasure.fromObject(object.marginBottom, _depth + 1); + message.marginBottom = $root.ProtoMeasure.fromObject(object.marginBottom); } if (object.marginBottomCode != null) - if (typeof object.marginBottomCode !== "string" || object.marginBottomCode.length) - message.marginBottomCode = String(object.marginBottomCode); - if (object.marginLeftInheritance !== 0 && (typeof object.marginLeftInheritance !== "string" || $root.Inheritance[object.marginLeftInheritance] !== 0)) - switch (object.marginLeftInheritance) { - default: - if (typeof object.marginLeftInheritance === "number") { - message.marginLeftInheritance = object.marginLeftInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.marginLeftInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.marginLeftInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.marginLeftInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.marginLeftInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.marginLeftInheritance = 4; - break; - } + message.marginBottomCode = String(object.marginBottomCode); + switch (object.marginLeftInheritance) { + default: + if (typeof object.marginLeftInheritance === "number") { + message.marginLeftInheritance = object.marginLeftInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.marginLeftInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.marginLeftInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.marginLeftInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.marginLeftInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.marginLeftInheritance = 4; + break; + } if (object.marginLeft != null) { if (typeof object.marginLeft !== "object") throw TypeError(".ProtoTableElementProperties.marginLeft: object expected"); - message.marginLeft = $root.ProtoMeasure.fromObject(object.marginLeft, _depth + 1); + message.marginLeft = $root.ProtoMeasure.fromObject(object.marginLeft); } if (object.marginLeftCode != null) - if (typeof object.marginLeftCode !== "string" || object.marginLeftCode.length) - message.marginLeftCode = String(object.marginLeftCode); - if (object.rotationInheritance !== 0 && (typeof object.rotationInheritance !== "string" || $root.Inheritance[object.rotationInheritance] !== 0)) - switch (object.rotationInheritance) { - default: - if (typeof object.rotationInheritance === "number") { - message.rotationInheritance = object.rotationInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.rotationInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.rotationInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.rotationInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.rotationInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.rotationInheritance = 4; - break; - } + message.marginLeftCode = String(object.marginLeftCode); + switch (object.rotationInheritance) { + default: + if (typeof object.rotationInheritance === "number") { + message.rotationInheritance = object.rotationInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.rotationInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.rotationInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.rotationInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.rotationInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.rotationInheritance = 4; + break; + } if (object.rotation != null) { if (typeof object.rotation !== "object") throw TypeError(".ProtoTableElementProperties.rotation: object expected"); - message.rotation = $root.ProtoBoxedDouble.fromObject(object.rotation, _depth + 1); + message.rotation = $root.ProtoBoxedDouble.fromObject(object.rotation); } if (object.rotationCode != null) - if (typeof object.rotationCode !== "string" || object.rotationCode.length) - message.rotationCode = String(object.rotationCode); - if (object.defaultParagraphFormatUUIDInheritance !== 0 && (typeof object.defaultParagraphFormatUUIDInheritance !== "string" || $root.Inheritance[object.defaultParagraphFormatUUIDInheritance] !== 0)) - switch (object.defaultParagraphFormatUUIDInheritance) { - default: - if (typeof object.defaultParagraphFormatUUIDInheritance === "number") { - message.defaultParagraphFormatUUIDInheritance = object.defaultParagraphFormatUUIDInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.defaultParagraphFormatUUIDInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.defaultParagraphFormatUUIDInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.defaultParagraphFormatUUIDInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.defaultParagraphFormatUUIDInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.defaultParagraphFormatUUIDInheritance = 4; - break; - } + message.rotationCode = String(object.rotationCode); + switch (object.defaultParagraphFormatUUIDInheritance) { + default: + if (typeof object.defaultParagraphFormatUUIDInheritance === "number") { + message.defaultParagraphFormatUUIDInheritance = object.defaultParagraphFormatUUIDInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.defaultParagraphFormatUUIDInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.defaultParagraphFormatUUIDInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.defaultParagraphFormatUUIDInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.defaultParagraphFormatUUIDInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.defaultParagraphFormatUUIDInheritance = 4; + break; + } if (object.defaultParagraphFormatUUID != null) { if (typeof object.defaultParagraphFormatUUID !== "object") throw TypeError(".ProtoTableElementProperties.defaultParagraphFormatUUID: object expected"); - message.defaultParagraphFormatUUID = $root.ProtoBoxedString.fromObject(object.defaultParagraphFormatUUID, _depth + 1); + message.defaultParagraphFormatUUID = $root.ProtoBoxedString.fromObject(object.defaultParagraphFormatUUID); } if (object.defaultParagraphFormatUUIDCode != null) - if (typeof object.defaultParagraphFormatUUIDCode !== "string" || object.defaultParagraphFormatUUIDCode.length) - message.defaultParagraphFormatUUIDCode = String(object.defaultParagraphFormatUUIDCode); - if (object.tableContentGroupTypeInheritance !== 0 && (typeof object.tableContentGroupTypeInheritance !== "string" || $root.Inheritance[object.tableContentGroupTypeInheritance] !== 0)) - switch (object.tableContentGroupTypeInheritance) { - default: - if (typeof object.tableContentGroupTypeInheritance === "number") { - message.tableContentGroupTypeInheritance = object.tableContentGroupTypeInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.tableContentGroupTypeInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.tableContentGroupTypeInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.tableContentGroupTypeInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.tableContentGroupTypeInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.tableContentGroupTypeInheritance = 4; - break; - } + message.defaultParagraphFormatUUIDCode = String(object.defaultParagraphFormatUUIDCode); + switch (object.tableContentGroupTypeInheritance) { + default: + if (typeof object.tableContentGroupTypeInheritance === "number") { + message.tableContentGroupTypeInheritance = object.tableContentGroupTypeInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.tableContentGroupTypeInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.tableContentGroupTypeInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.tableContentGroupTypeInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.tableContentGroupTypeInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.tableContentGroupTypeInheritance = 4; + break; + } if (object.tableContentGroupType != null) { if (typeof object.tableContentGroupType !== "object") throw TypeError(".ProtoTableElementProperties.tableContentGroupType: object expected"); - message.tableContentGroupType = $root.ProtoBoxedTableContentGroupType.fromObject(object.tableContentGroupType, _depth + 1); + message.tableContentGroupType = $root.ProtoBoxedTableContentGroupType.fromObject(object.tableContentGroupType); } if (object.tableContentGroupTypeCode != null) - if (typeof object.tableContentGroupTypeCode !== "string" || object.tableContentGroupTypeCode.length) - message.tableContentGroupTypeCode = String(object.tableContentGroupTypeCode); - if (object.cellTypeInheritance !== 0 && (typeof object.cellTypeInheritance !== "string" || $root.Inheritance[object.cellTypeInheritance] !== 0)) - switch (object.cellTypeInheritance) { - default: - if (typeof object.cellTypeInheritance === "number") { - message.cellTypeInheritance = object.cellTypeInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.cellTypeInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.cellTypeInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.cellTypeInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.cellTypeInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.cellTypeInheritance = 4; - break; - } + message.tableContentGroupTypeCode = String(object.tableContentGroupTypeCode); + switch (object.cellTypeInheritance) { + default: + if (typeof object.cellTypeInheritance === "number") { + message.cellTypeInheritance = object.cellTypeInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.cellTypeInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.cellTypeInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.cellTypeInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.cellTypeInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.cellTypeInheritance = 4; + break; + } if (object.cellType != null) { if (typeof object.cellType !== "object") throw TypeError(".ProtoTableElementProperties.cellType: object expected"); - message.cellType = $root.ProtoBoxedTableCellType.fromObject(object.cellType, _depth + 1); + message.cellType = $root.ProtoBoxedTableCellType.fromObject(object.cellType); } if (object.cellTypeCode != null) - if (typeof object.cellTypeCode !== "string" || object.cellTypeCode.length) - message.cellTypeCode = String(object.cellTypeCode); - if (object.minRowHeightInheritance !== 0 && (typeof object.minRowHeightInheritance !== "string" || $root.Inheritance[object.minRowHeightInheritance] !== 0)) - switch (object.minRowHeightInheritance) { - default: - if (typeof object.minRowHeightInheritance === "number") { - message.minRowHeightInheritance = object.minRowHeightInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.minRowHeightInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.minRowHeightInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.minRowHeightInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.minRowHeightInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.minRowHeightInheritance = 4; - break; - } + message.cellTypeCode = String(object.cellTypeCode); + switch (object.minRowHeightInheritance) { + default: + if (typeof object.minRowHeightInheritance === "number") { + message.minRowHeightInheritance = object.minRowHeightInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.minRowHeightInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.minRowHeightInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.minRowHeightInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.minRowHeightInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.minRowHeightInheritance = 4; + break; + } if (object.minRowHeight != null) { if (typeof object.minRowHeight !== "object") throw TypeError(".ProtoTableElementProperties.minRowHeight: object expected"); - message.minRowHeight = $root.ProtoMeasure.fromObject(object.minRowHeight, _depth + 1); + message.minRowHeight = $root.ProtoMeasure.fromObject(object.minRowHeight); } if (object.minRowHeightCode != null) - if (typeof object.minRowHeightCode !== "string" || object.minRowHeightCode.length) - message.minRowHeightCode = String(object.minRowHeightCode); - if (object.wsInheritance !== 0 && (typeof object.wsInheritance !== "string" || $root.Inheritance[object.wsInheritance] !== 0)) - switch (object.wsInheritance) { - default: - if (typeof object.wsInheritance === "number") { - message.wsInheritance = object.wsInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.wsInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.wsInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.wsInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.wsInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.wsInheritance = 4; - break; - } + message.minRowHeightCode = String(object.minRowHeightCode); + switch (object.wsInheritance) { + default: + if (typeof object.wsInheritance === "number") { + message.wsInheritance = object.wsInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.wsInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.wsInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.wsInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.wsInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.wsInheritance = 4; + break; + } if (object.ws != null) { if (typeof object.ws !== "object") throw TypeError(".ProtoTableElementProperties.ws: object expected"); - message.ws = $root.ProtoTableWS.fromObject(object.ws, _depth + 1); + message.ws = $root.ProtoTableWS.fromObject(object.ws); } if (object.wsCode != null) - if (typeof object.wsCode !== "string" || object.wsCode.length) - message.wsCode = String(object.wsCode); - if (object.xOffsetInheritance !== 0 && (typeof object.xOffsetInheritance !== "string" || $root.Inheritance[object.xOffsetInheritance] !== 0)) - switch (object.xOffsetInheritance) { - default: - if (typeof object.xOffsetInheritance === "number") { - message.xOffsetInheritance = object.xOffsetInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.xOffsetInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.xOffsetInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.xOffsetInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.xOffsetInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.xOffsetInheritance = 4; - break; - } + message.wsCode = String(object.wsCode); + switch (object.xOffsetInheritance) { + default: + if (typeof object.xOffsetInheritance === "number") { + message.xOffsetInheritance = object.xOffsetInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.xOffsetInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.xOffsetInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.xOffsetInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.xOffsetInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.xOffsetInheritance = 4; + break; + } if (object.xOffset != null) { if (typeof object.xOffset !== "object") throw TypeError(".ProtoTableElementProperties.xOffset: object expected"); - message.xOffset = $root.ProtoMeasure.fromObject(object.xOffset, _depth + 1); + message.xOffset = $root.ProtoMeasure.fromObject(object.xOffset); } if (object.xOffsetCode != null) - if (typeof object.xOffsetCode !== "string" || object.xOffsetCode.length) - message.xOffsetCode = String(object.xOffsetCode); - if (object.leftMeasureInheritance !== 0 && (typeof object.leftMeasureInheritance !== "string" || $root.Inheritance[object.leftMeasureInheritance] !== 0)) - switch (object.leftMeasureInheritance) { - default: - if (typeof object.leftMeasureInheritance === "number") { - message.leftMeasureInheritance = object.leftMeasureInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.leftMeasureInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.leftMeasureInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.leftMeasureInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.leftMeasureInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.leftMeasureInheritance = 4; - break; - } + message.xOffsetCode = String(object.xOffsetCode); + switch (object.leftMeasureInheritance) { + default: + if (typeof object.leftMeasureInheritance === "number") { + message.leftMeasureInheritance = object.leftMeasureInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.leftMeasureInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.leftMeasureInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.leftMeasureInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.leftMeasureInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.leftMeasureInheritance = 4; + break; + } if (object.leftMeasure != null) { if (typeof object.leftMeasure !== "object") throw TypeError(".ProtoTableElementProperties.leftMeasure: object expected"); - message.leftMeasure = $root.ProtoBoxedBool.fromObject(object.leftMeasure, _depth + 1); + message.leftMeasure = $root.ProtoBoxedBool.fromObject(object.leftMeasure); } if (object.leftMeasureCode != null) - if (typeof object.leftMeasureCode !== "string" || object.leftMeasureCode.length) - message.leftMeasureCode = String(object.leftMeasureCode); - if (object.repeatHeaderInheritance !== 0 && (typeof object.repeatHeaderInheritance !== "string" || $root.Inheritance[object.repeatHeaderInheritance] !== 0)) - switch (object.repeatHeaderInheritance) { - default: - if (typeof object.repeatHeaderInheritance === "number") { - message.repeatHeaderInheritance = object.repeatHeaderInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.repeatHeaderInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.repeatHeaderInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.repeatHeaderInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.repeatHeaderInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.repeatHeaderInheritance = 4; - break; - } + message.leftMeasureCode = String(object.leftMeasureCode); + switch (object.repeatHeaderInheritance) { + default: + if (typeof object.repeatHeaderInheritance === "number") { + message.repeatHeaderInheritance = object.repeatHeaderInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.repeatHeaderInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.repeatHeaderInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.repeatHeaderInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.repeatHeaderInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.repeatHeaderInheritance = 4; + break; + } if (object.repeatHeader != null) { if (typeof object.repeatHeader !== "object") throw TypeError(".ProtoTableElementProperties.repeatHeader: object expected"); - message.repeatHeader = $root.ProtoBoxedUint32.fromObject(object.repeatHeader, _depth + 1); + message.repeatHeader = $root.ProtoBoxedUint32.fromObject(object.repeatHeader); } if (object.repeatHeaderCode != null) - if (typeof object.repeatHeaderCode !== "string" || object.repeatHeaderCode.length) - message.repeatHeaderCode = String(object.repeatHeaderCode); - if (object.noDocumentStructureInheritance !== 0 && (typeof object.noDocumentStructureInheritance !== "string" || $root.Inheritance[object.noDocumentStructureInheritance] !== 0)) - switch (object.noDocumentStructureInheritance) { - default: - if (typeof object.noDocumentStructureInheritance === "number") { - message.noDocumentStructureInheritance = object.noDocumentStructureInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.noDocumentStructureInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.noDocumentStructureInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.noDocumentStructureInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.noDocumentStructureInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.noDocumentStructureInheritance = 4; - break; - } + message.repeatHeaderCode = String(object.repeatHeaderCode); + switch (object.noDocumentStructureInheritance) { + default: + if (typeof object.noDocumentStructureInheritance === "number") { + message.noDocumentStructureInheritance = object.noDocumentStructureInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.noDocumentStructureInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.noDocumentStructureInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.noDocumentStructureInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.noDocumentStructureInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.noDocumentStructureInheritance = 4; + break; + } if (object.noDocumentStructure != null) { if (typeof object.noDocumentStructure !== "object") throw TypeError(".ProtoTableElementProperties.noDocumentStructure: object expected"); - message.noDocumentStructure = $root.ProtoBoxedBool.fromObject(object.noDocumentStructure, _depth + 1); + message.noDocumentStructure = $root.ProtoBoxedBool.fromObject(object.noDocumentStructure); } if (object.noDocumentStructureCode != null) - if (typeof object.noDocumentStructureCode !== "string" || object.noDocumentStructureCode.length) - message.noDocumentStructureCode = String(object.noDocumentStructureCode); - if (object.repeatSubHeaderInheritance !== 0 && (typeof object.repeatSubHeaderInheritance !== "string" || $root.Inheritance[object.repeatSubHeaderInheritance] !== 0)) - switch (object.repeatSubHeaderInheritance) { - default: - if (typeof object.repeatSubHeaderInheritance === "number") { - message.repeatSubHeaderInheritance = object.repeatSubHeaderInheritance; - break; - } - break; - case "INHERITANCE_INHERIT": - case 0: - message.repeatSubHeaderInheritance = 0; - break; - case "INHERITANCE_CODE": - case 1: - message.repeatSubHeaderInheritance = 1; - break; - case "INHERITANCE_BIND_CODE": - case 2: - message.repeatSubHeaderInheritance = 2; - break; - case "INHERITANCE_STATIC": - case 3: - message.repeatSubHeaderInheritance = 3; - break; - case "INHERITANCE_RESET": - case 4: - message.repeatSubHeaderInheritance = 4; - break; - } + message.noDocumentStructureCode = String(object.noDocumentStructureCode); + switch (object.repeatSubHeaderInheritance) { + default: + if (typeof object.repeatSubHeaderInheritance === "number") { + message.repeatSubHeaderInheritance = object.repeatSubHeaderInheritance; + break; + } + break; + case "INHERITANCE_INHERIT": + case 0: + message.repeatSubHeaderInheritance = 0; + break; + case "INHERITANCE_CODE": + case 1: + message.repeatSubHeaderInheritance = 1; + break; + case "INHERITANCE_BIND_CODE": + case 2: + message.repeatSubHeaderInheritance = 2; + break; + case "INHERITANCE_STATIC": + case 3: + message.repeatSubHeaderInheritance = 3; + break; + case "INHERITANCE_RESET": + case 4: + message.repeatSubHeaderInheritance = 4; + break; + } if (object.repeatSubHeader != null) { if (typeof object.repeatSubHeader !== "object") throw TypeError(".ProtoTableElementProperties.repeatSubHeader: object expected"); - message.repeatSubHeader = $root.ProtoBoxedUint32.fromObject(object.repeatSubHeader, _depth + 1); + message.repeatSubHeader = $root.ProtoBoxedUint32.fromObject(object.repeatSubHeader); } if (object.repeatSubHeaderCode != null) - if (typeof object.repeatSubHeaderCode !== "string" || object.repeatSubHeaderCode.length) - message.repeatSubHeaderCode = String(object.repeatSubHeaderCode); + message.repeatSubHeaderCode = String(object.repeatSubHeaderCode); return message; }; @@ -30298,7 +26958,7 @@ $root.ProtoTableElementProperties = (function() { if (message.backgroundColorInheritance != null && message.hasOwnProperty("backgroundColorInheritance")) object.backgroundColorInheritance = options.enums === String ? $root.Inheritance[message.backgroundColorInheritance] === undefined ? message.backgroundColorInheritance : $root.Inheritance[message.backgroundColorInheritance] : message.backgroundColorInheritance; if (message.backgroundColor && message.backgroundColor.length) { - object.backgroundColor = Array(message.backgroundColor.length); + object.backgroundColor = []; for (var j = 0; j < message.backgroundColor.length; ++j) object.backgroundColor[j] = $root.ProtoColor.toObject(message.backgroundColor[j], options); } @@ -30481,17 +27141,18 @@ $root.ProtoTableElementProperties = (function() { }; /** - * Gets the type url for ProtoTableElementProperties + * Gets the default type url for ProtoTableElementProperties * @function getTypeUrl * @memberof ProtoTableElementProperties * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTableElementProperties.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTableElementProperties"; + ProtoTableElementProperties.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTableElementProperties"; }; return ProtoTableElementProperties; @@ -30506,7 +27167,6 @@ $root.ProtoText = (function() { * @property {IProtoDocumentElement|null} [parent] ProtoText parent * @property {string|null} [content] ProtoText content * @property {Array.|null} [comChannelUUIDs] ProtoText comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -30516,13 +27176,12 @@ $root.ProtoText = (function() { * @implements IProtoText * @constructor * @param {IProtoText=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoText(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -30581,9 +27240,6 @@ $root.ProtoText = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -30611,53 +27267,32 @@ $root.ProtoText = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoText.decode = function decode(reader, length, _end, _depth, _target) { + ProtoText.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoText(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoText(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.content = value; - else - delete message.content; - continue; + message.content = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -30685,15 +27320,11 @@ $root.ProtoText = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoText.verify = function verify(message, _depth) { + ProtoText.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -30718,26 +27349,21 @@ $root.ProtoText = (function() { * @param {Object.} object Plain object * @returns {ProtoText} ProtoText */ - ProtoText.fromObject = function fromObject(object, _depth) { + ProtoText.fromObject = function fromObject(object) { if (object instanceof $root.ProtoText) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoText(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoText.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.content != null) - if (typeof object.content !== "string" || object.content.length) - message.content = String(object.content); + message.content = String(object.content); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoText.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -30768,7 +27394,7 @@ $root.ProtoText = (function() { if (message.content != null && message.hasOwnProperty("content")) object.content = message.content; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -30787,17 +27413,18 @@ $root.ProtoText = (function() { }; /** - * Gets the type url for ProtoText + * Gets the default type url for ProtoText * @function getTypeUrl * @memberof ProtoText * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoText.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoText"; + ProtoText.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoText"; }; return ProtoText; @@ -30826,7 +27453,6 @@ $root.ProtoBarcode = (function() { * @property {string|null} [altText] ProtoBarcode altText * @property {ProtoBarcodeUAMode|null} [uaMode] ProtoBarcode uaMode * @property {string|null} [uaDescription] ProtoBarcode uaDescription - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -30836,13 +27462,12 @@ $root.ProtoBarcode = (function() { * @implements IProtoBarcode * @constructor * @param {IProtoBarcode=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBarcode(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -31041,9 +27666,6 @@ $root.ProtoBarcode = (function() { writer.uint32(/* id 16, wireType 0 =*/128).int32(message.uaMode); if (message.uaDescription != null && Object.hasOwnProperty.call(message, "uaDescription")) writer.uint32(/* id 17, wireType 2 =*/138).string(message.uaDescription); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -31071,164 +27693,88 @@ $root.ProtoBarcode = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBarcode.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBarcode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBarcode(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBarcode(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.type = value; - else - delete message.type; - continue; + message.type = reader.int32(); + break; } case 2: { - if (wireType !== 2) - break; - message.x = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.x); - continue; + message.x = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.y = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.y); - continue; + message.y = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.referencePoint = value; - else - delete message.referencePoint; - continue; + message.referencePoint = reader.int32(); + break; } case 5: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.rotation = value; - else - delete message.rotation; - continue; + message.rotation = reader.float(); + break; } case 6: { - if (wireType !== 2) - break; - message.width = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.height = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.height); - continue; + message.height = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 2) - break; - message.padding = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.padding); - continue; + message.padding = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.data = value; - else - delete message.data; - continue; + message.data = reader.string(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.positionAbsolute = value; - else - delete message.positionAbsolute; - continue; + message.positionAbsolute = reader.bool(); + break; } case 11: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 12: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 13: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.code = value; - else - delete message.code; - continue; + message.code = reader.string(); + break; } case 14: { - if (wireType !== 2) - break; - message.swissQRData = $root.ProtoSwissQRData.decode(reader, reader.uint32(), undefined, _depth + 1, message.swissQRData); - continue; + message.swissQRData = $root.ProtoSwissQRData.decode(reader, reader.uint32()); + break; } case 15: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.altText = value; - else - delete message.altText; - continue; + message.altText = reader.string(); + break; } case 16: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.uaMode = value; - else - delete message.uaMode; - continue; + message.uaMode = reader.int32(); + break; } case 17: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uaDescription = value; - else - delete message.uaDescription; - continue; + message.uaDescription = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -31256,13 +27802,9 @@ $root.ProtoBarcode = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBarcode.verify = function verify(message, _depth) { + ProtoBarcode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.type != null && message.hasOwnProperty("type")) switch (message.type) { default: @@ -31280,12 +27822,12 @@ $root.ProtoBarcode = (function() { break; } if (message.x != null && message.hasOwnProperty("x")) { - var error = $root.ProtoMeasure.verify(message.x, _depth + 1); + var error = $root.ProtoMeasure.verify(message.x); if (error) return "x." + error; } if (message.y != null && message.hasOwnProperty("y")) { - var error = $root.ProtoMeasure.verify(message.y, _depth + 1); + var error = $root.ProtoMeasure.verify(message.y); if (error) return "y." + error; } @@ -31305,17 +27847,17 @@ $root.ProtoBarcode = (function() { if (typeof message.rotation !== "number") return "rotation: number expected"; if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoMeasure.verify(message.width); if (error) return "width." + error; } if (message.height != null && message.hasOwnProperty("height")) { - var error = $root.ProtoMeasure.verify(message.height, _depth + 1); + var error = $root.ProtoMeasure.verify(message.height); if (error) return "height." + error; } if (message.padding != null && message.hasOwnProperty("padding")) { - var error = $root.ProtoMeasure.verify(message.padding, _depth + 1); + var error = $root.ProtoMeasure.verify(message.padding); if (error) return "padding." + error; } @@ -31339,7 +27881,7 @@ $root.ProtoBarcode = (function() { if (!$util.isString(message.code)) return "code: string expected"; if (message.swissQRData != null && message.hasOwnProperty("swissQRData")) { - var error = $root.ProtoSwissQRData.verify(message.swissQRData, _depth + 1); + var error = $root.ProtoSwissQRData.verify(message.swissQRData); if (error) return "swissQRData." + error; } @@ -31368,171 +27910,157 @@ $root.ProtoBarcode = (function() { * @param {Object.} object Plain object * @returns {ProtoBarcode} ProtoBarcode */ - ProtoBarcode.fromObject = function fromObject(object, _depth) { + ProtoBarcode.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBarcode) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBarcode(); - if (object.type !== 0 && (typeof object.type !== "string" || $root.ProtoBarcodeType[object.type] !== 0)) - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "PDF417": - case 0: - message.type = 0; - break; - case "DATAMATRIX": - case 1: - message.type = 1; - break; - case "BC128": - case 2: - message.type = 2; - break; - case "QR": - case 3: - message.type = 3; - break; - case "ITF": - case 4: - message.type = 4; - break; - case "EAN8": - case 5: - message.type = 5; - break; - case "EAN13": - case 6: - message.type = 6; - break; - case "CODE39": - case 7: - message.type = 7; - break; - case "SWISSQR": - case 8: - message.type = 8; - break; - case "AZTEC": - case 9: - message.type = 9; - break; - } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "PDF417": + case 0: + message.type = 0; + break; + case "DATAMATRIX": + case 1: + message.type = 1; + break; + case "BC128": + case 2: + message.type = 2; + break; + case "QR": + case 3: + message.type = 3; + break; + case "ITF": + case 4: + message.type = 4; + break; + case "EAN8": + case 5: + message.type = 5; + break; + case "EAN13": + case 6: + message.type = 6; + break; + case "CODE39": + case 7: + message.type = 7; + break; + case "SWISSQR": + case 8: + message.type = 8; + break; + case "AZTEC": + case 9: + message.type = 9; + break; + } if (object.x != null) { if (typeof object.x !== "object") throw TypeError(".ProtoBarcode.x: object expected"); - message.x = $root.ProtoMeasure.fromObject(object.x, _depth + 1); + message.x = $root.ProtoMeasure.fromObject(object.x); } if (object.y != null) { if (typeof object.y !== "object") throw TypeError(".ProtoBarcode.y: object expected"); - message.y = $root.ProtoMeasure.fromObject(object.y, _depth + 1); + message.y = $root.ProtoMeasure.fromObject(object.y); + } + switch (object.referencePoint) { + default: + if (typeof object.referencePoint === "number") { + message.referencePoint = object.referencePoint; + break; + } + break; + case "REF_POINT_DO_NOT_USE_AT_ALL": + case 0: + message.referencePoint = 0; + break; + case "REF_POINT_BOTTOM_LEFT": + case 1: + message.referencePoint = 1; + break; + case "REF_POINT_TOP_LEFT": + case 2: + message.referencePoint = 2; + break; + case "REF_POINT_CENTER": + case 3: + message.referencePoint = 3; + break; + case "REF_POINT_BOTTOM_RIGHT": + case 4: + message.referencePoint = 4; + break; + case "REF_POINT_TOP_RIGHT": + case 5: + message.referencePoint = 5; + break; } - if (object.referencePoint !== 0 && (typeof object.referencePoint !== "string" || $root.ProtoImageReferencePoint[object.referencePoint] !== 0)) - switch (object.referencePoint) { - default: - if (typeof object.referencePoint === "number") { - message.referencePoint = object.referencePoint; - break; - } - break; - case "REF_POINT_DO_NOT_USE_AT_ALL": - case 0: - message.referencePoint = 0; - break; - case "REF_POINT_BOTTOM_LEFT": - case 1: - message.referencePoint = 1; - break; - case "REF_POINT_TOP_LEFT": - case 2: - message.referencePoint = 2; - break; - case "REF_POINT_CENTER": - case 3: - message.referencePoint = 3; - break; - case "REF_POINT_BOTTOM_RIGHT": - case 4: - message.referencePoint = 4; - break; - case "REF_POINT_TOP_RIGHT": - case 5: - message.referencePoint = 5; - break; - } if (object.rotation != null) - if (Number(object.rotation) !== 0) - message.rotation = Number(object.rotation); + message.rotation = Number(object.rotation); if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoBarcode.width: object expected"); - message.width = $root.ProtoMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoMeasure.fromObject(object.width); } if (object.height != null) { if (typeof object.height !== "object") throw TypeError(".ProtoBarcode.height: object expected"); - message.height = $root.ProtoMeasure.fromObject(object.height, _depth + 1); + message.height = $root.ProtoMeasure.fromObject(object.height); } if (object.padding != null) { if (typeof object.padding !== "object") throw TypeError(".ProtoBarcode.padding: object expected"); - message.padding = $root.ProtoMeasure.fromObject(object.padding, _depth + 1); + message.padding = $root.ProtoMeasure.fromObject(object.padding); } if (object.data != null) - if (typeof object.data !== "string" || object.data.length) - message.data = String(object.data); + message.data = String(object.data); if (object.positionAbsolute != null) - if (object.positionAbsolute) - message.positionAbsolute = Boolean(object.positionAbsolute); + message.positionAbsolute = Boolean(object.positionAbsolute); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoBarcode.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.code != null) - if (typeof object.code !== "string" || object.code.length) - message.code = String(object.code); + message.code = String(object.code); if (object.swissQRData != null) { if (typeof object.swissQRData !== "object") throw TypeError(".ProtoBarcode.swissQRData: object expected"); - message.swissQRData = $root.ProtoSwissQRData.fromObject(object.swissQRData, _depth + 1); + message.swissQRData = $root.ProtoSwissQRData.fromObject(object.swissQRData); } if (object.altText != null) - if (typeof object.altText !== "string" || object.altText.length) - message.altText = String(object.altText); - if (object.uaMode !== 0 && (typeof object.uaMode !== "string" || $root.ProtoBarcodeUAMode[object.uaMode] !== 0)) - switch (object.uaMode) { - default: - if (typeof object.uaMode === "number") { - message.uaMode = object.uaMode; - break; - } - break; - case "BARCODE_UA_MODE_SIMPLE": - case 0: - message.uaMode = 0; - break; - case "BARCODE_UA_MODE_ADVANCED": - case 1: - message.uaMode = 1; - break; - } + message.altText = String(object.altText); + switch (object.uaMode) { + default: + if (typeof object.uaMode === "number") { + message.uaMode = object.uaMode; + break; + } + break; + case "BARCODE_UA_MODE_SIMPLE": + case 0: + message.uaMode = 0; + break; + case "BARCODE_UA_MODE_ADVANCED": + case 1: + message.uaMode = 1; + break; + } if (object.uaDescription != null) - if (typeof object.uaDescription !== "string" || object.uaDescription.length) - message.uaDescription = String(object.uaDescription); + message.uaDescription = String(object.uaDescription); return message; }; @@ -31590,7 +28118,7 @@ $root.ProtoBarcode = (function() { if (message.positionAbsolute != null && message.hasOwnProperty("positionAbsolute")) object.positionAbsolute = message.positionAbsolute; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -31621,17 +28149,18 @@ $root.ProtoBarcode = (function() { }; /** - * Gets the type url for ProtoBarcode + * Gets the default type url for ProtoBarcode * @function getTypeUrl * @memberof ProtoBarcode * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBarcode.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBarcode"; + ProtoBarcode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBarcode"; }; return ProtoBarcode; @@ -31646,7 +28175,6 @@ $root.ProtoBrickReference = (function() { * @property {string|null} [internName] ProtoBrickReference internName * @property {number|null} [version] ProtoBrickReference version * @property {Array.|null} [comChannelUUIDs] ProtoBrickReference comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -31656,13 +28184,12 @@ $root.ProtoBrickReference = (function() { * @implements IProtoBrickReference * @constructor * @param {IProtoBrickReference=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBrickReference(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -31721,9 +28248,6 @@ $root.ProtoBrickReference = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -31751,56 +28275,32 @@ $root.ProtoBrickReference = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBrickReference.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBrickReference.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBrickReference(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBrickReference(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.internName = value; - else - delete message.internName; - continue; + message.internName = reader.string(); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.uint32()) - message.version = value; - else - delete message.version; - continue; + message.version = reader.uint32(); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -31828,13 +28328,9 @@ $root.ProtoBrickReference = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBrickReference.verify = function verify(message, _depth) { + ProtoBrickReference.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.internName != null && message.hasOwnProperty("internName")) if (!$util.isString(message.internName)) return "internName: string expected"; @@ -31859,24 +28355,18 @@ $root.ProtoBrickReference = (function() { * @param {Object.} object Plain object * @returns {ProtoBrickReference} ProtoBrickReference */ - ProtoBrickReference.fromObject = function fromObject(object, _depth) { + ProtoBrickReference.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBrickReference) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBrickReference(); if (object.internName != null) - if (typeof object.internName !== "string" || object.internName.length) - message.internName = String(object.internName); + message.internName = String(object.internName); if (object.version != null) - if (Number(object.version) !== 0) - message.version = object.version >>> 0; + message.version = object.version >>> 0; if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoBrickReference.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -31907,7 +28397,7 @@ $root.ProtoBrickReference = (function() { if (message.version != null && message.hasOwnProperty("version")) object.version = message.version; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -31926,17 +28416,18 @@ $root.ProtoBrickReference = (function() { }; /** - * Gets the type url for ProtoBrickReference + * Gets the default type url for ProtoBrickReference * @function getTypeUrl * @memberof ProtoBrickReference * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBrickReference.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBrickReference"; + ProtoBrickReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBrickReference"; }; return ProtoBrickReference; @@ -31956,7 +28447,6 @@ $root.ProtoBrick = (function() { * @property {boolean|null} [editable] ProtoBrick editable * @property {Array.|null} [comChannelUUIDs] ProtoBrick comChannelUUIDs * @property {string|null} [name] ProtoBrick name - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -31966,14 +28456,13 @@ $root.ProtoBrick = (function() { * @implements IProtoBrick * @constructor * @param {IProtoBrick=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBrick(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -32083,9 +28572,6 @@ $root.ProtoBrick = (function() { writer.uint32(/* id 7, wireType 2 =*/58).string(message.comChannelUUIDs[i]); if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 8, wireType 2 =*/66).string(message.name); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -32113,97 +28599,54 @@ $root.ProtoBrick = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBrick.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBrick.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBrick(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBrick(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 0) - break; - if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0) - message.id = value; - else - delete message.id; - continue; + message.id = reader.uint64(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.internName = value; - else - delete message.internName; - continue; + message.internName = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 6: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.editable = value; - else - delete message.editable; - continue; + message.editable = reader.bool(); + break; } case 7: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 8: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -32231,24 +28674,20 @@ $root.ProtoBrick = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBrick.verify = function verify(message, _depth) { + ProtoBrick.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -32285,58 +28724,49 @@ $root.ProtoBrick = (function() { * @param {Object.} object Plain object * @returns {ProtoBrick} ProtoBrick */ - ProtoBrick.fromObject = function fromObject(object, _depth) { + ProtoBrick.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBrick) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBrick(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoBrick._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoBrick._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoBrick.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.id != null) - if (typeof object.id === "object" ? object.id.low || object.id.high : Number(object.id) !== 0) - if ($util.Long) - (message.id = $util.Long.fromValue(object.id)).unsigned = true; - else if (typeof object.id === "string") - message.id = parseInt(object.id, 10); - else if (typeof object.id === "number") - message.id = object.id; - else if (typeof object.id === "object") - message.id = new $util.LongBits(object.id.low >>> 0, object.id.high >>> 0).toNumber(true); + if ($util.Long) + (message.id = $util.Long.fromValue(object.id)).unsigned = true; + else if (typeof object.id === "string") + message.id = parseInt(object.id, 10); + else if (typeof object.id === "number") + message.id = object.id; + else if (typeof object.id === "object") + message.id = new $util.LongBits(object.id.low >>> 0, object.id.high >>> 0).toNumber(true); if (object.internName != null) - if (typeof object.internName !== "string" || object.internName.length) - message.internName = String(object.internName); + message.internName = String(object.internName); if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.editable != null) - if (object.editable) - message.editable = Boolean(object.editable); + message.editable = Boolean(object.editable); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoBrick.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); return message; }; @@ -32370,7 +28800,7 @@ $root.ProtoBrick = (function() { object.name = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -32388,7 +28818,7 @@ $root.ProtoBrick = (function() { if (message.editable != null && message.hasOwnProperty("editable")) object.editable = message.editable; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -32409,17 +28839,18 @@ $root.ProtoBrick = (function() { }; /** - * Gets the type url for ProtoBrick + * Gets the default type url for ProtoBrick * @function getTypeUrl * @memberof ProtoBrick * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBrick.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBrick"; + ProtoBrick.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBrick"; }; return ProtoBrick; @@ -32438,7 +28869,6 @@ $root.ProtoTemplate = (function() { * @property {ColumnBalancing|null} [columnBalancing] ProtoTemplate columnBalancing * @property {ProtoSemanticType|null} [semanticType] ProtoTemplate semanticType * @property {string|null} [templateUuid] ProtoTemplate templateUuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -32448,14 +28878,13 @@ $root.ProtoTemplate = (function() { * @implements IProtoTemplate * @constructor * @param {IProtoTemplate=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTemplate(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -32555,9 +28984,6 @@ $root.ProtoTemplate = (function() { writer.uint32(/* id 6, wireType 0 =*/48).int32(message.semanticType); if (message.templateUuid != null && Object.hasOwnProperty.call(message, "templateUuid")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.templateUuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -32585,88 +29011,50 @@ $root.ProtoTemplate = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTemplate.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTemplate.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTemplate(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTemplate(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.columnBalancing = value; - else - delete message.columnBalancing; - continue; + message.columnBalancing = reader.int32(); + break; } case 6: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.semanticType = value; - else - delete message.semanticType; - continue; + message.semanticType = reader.int32(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.templateUuid = value; - else - delete message.templateUuid; - continue; + message.templateUuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -32694,24 +29082,20 @@ $root.ProtoTemplate = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTemplate.verify = function verify(message, _depth) { + ProtoTemplate.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -32758,88 +29142,80 @@ $root.ProtoTemplate = (function() { * @param {Object.} object Plain object * @returns {ProtoTemplate} ProtoTemplate */ - ProtoTemplate.fromObject = function fromObject(object, _depth) { + ProtoTemplate.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTemplate) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTemplate(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoTemplate._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoTemplate._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTemplate.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTemplate.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); - if (object.columnBalancing !== 0 && (typeof object.columnBalancing !== "string" || $root.ColumnBalancing[object.columnBalancing] !== 0)) - switch (object.columnBalancing) { - default: - if (typeof object.columnBalancing === "number") { - message.columnBalancing = object.columnBalancing; - break; - } - break; - case "NO_BALANCING": - case 0: - message.columnBalancing = 0; - break; - case "BALANCING": - case 1: - message.columnBalancing = 1; - break; - } - if (object.semanticType !== 0 && (typeof object.semanticType !== "string" || $root.ProtoSemanticType[object.semanticType] !== 0)) - switch (object.semanticType) { - default: - if (typeof object.semanticType === "number") { - message.semanticType = object.semanticType; - break; - } - break; - case "SEMANTIC_TYPE_NONE": - case 0: - message.semanticType = 0; - break; - case "SEMANTIC_TYPE_PART": - case 1: - message.semanticType = 1; - break; - case "SEMANTIC_TYPE_ART": - case 2: - message.semanticType = 2; - break; - case "SEMANTIC_TYPE_SECT": - case 3: - message.semanticType = 3; - break; - case "SEMANTIC_TYPE_DIV": - case 4: - message.semanticType = 4; - break; - } + message.uuid = String(object.uuid); + switch (object.columnBalancing) { + default: + if (typeof object.columnBalancing === "number") { + message.columnBalancing = object.columnBalancing; + break; + } + break; + case "NO_BALANCING": + case 0: + message.columnBalancing = 0; + break; + case "BALANCING": + case 1: + message.columnBalancing = 1; + break; + } + switch (object.semanticType) { + default: + if (typeof object.semanticType === "number") { + message.semanticType = object.semanticType; + break; + } + break; + case "SEMANTIC_TYPE_NONE": + case 0: + message.semanticType = 0; + break; + case "SEMANTIC_TYPE_PART": + case 1: + message.semanticType = 1; + break; + case "SEMANTIC_TYPE_ART": + case 2: + message.semanticType = 2; + break; + case "SEMANTIC_TYPE_SECT": + case 3: + message.semanticType = 3; + break; + case "SEMANTIC_TYPE_DIV": + case 4: + message.semanticType = 4; + break; + } if (object.templateUuid != null) - if (typeof object.templateUuid !== "string" || object.templateUuid.length) - message.templateUuid = String(object.templateUuid); + message.templateUuid = String(object.templateUuid); return message; }; @@ -32868,14 +29244,14 @@ $root.ProtoTemplate = (function() { object.templateUuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -32902,17 +29278,18 @@ $root.ProtoTemplate = (function() { }; /** - * Gets the type url for ProtoTemplate + * Gets the default type url for ProtoTemplate * @function getTypeUrl * @memberof ProtoTemplate * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTemplate.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTemplate"; + ProtoTemplate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTemplate"; }; return ProtoTemplate; @@ -32961,7 +29338,6 @@ $root.ProtoHeader = (function() { * @property {string|null} [uuid] ProtoHeader uuid * @property {Array.|null} [comChannelUUIDs] ProtoHeader comChannelUUIDs * @property {ProtoHeaderMode|null} [mode] ProtoHeader mode - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -32971,14 +29347,13 @@ $root.ProtoHeader = (function() { * @implements IProtoHeader * @constructor * @param {IProtoHeader=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoHeader(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -33058,9 +29433,6 @@ $root.ProtoHeader = (function() { writer.uint32(/* id 4, wireType 2 =*/34).string(message.comChannelUUIDs[i]); if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) writer.uint32(/* id 5, wireType 0 =*/40).int32(message.mode); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -33088,70 +29460,42 @@ $root.ProtoHeader = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoHeader.decode = function decode(reader, length, _end, _depth, _target) { + ProtoHeader.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoHeader(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoHeader(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.mode = value; - else - delete message.mode; - continue; + message.mode = reader.int32(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -33179,24 +29523,20 @@ $root.ProtoHeader = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoHeader.verify = function verify(message, _depth) { + ProtoHeader.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -33231,64 +29571,58 @@ $root.ProtoHeader = (function() { * @param {Object.} object Plain object * @returns {ProtoHeader} ProtoHeader */ - ProtoHeader.fromObject = function fromObject(object, _depth) { + ProtoHeader.fromObject = function fromObject(object) { if (object instanceof $root.ProtoHeader) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoHeader(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoHeader._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoHeader._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoHeader.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoHeader.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } - if (object.mode !== 0 && (typeof object.mode !== "string" || $root.ProtoHeaderMode[object.mode] !== 0)) - switch (object.mode) { - default: - if (typeof object.mode === "number") { - message.mode = object.mode; - break; - } - break; - case "HEADER_MODE_APPEND_INITIAL": - case 0: - message.mode = 0; - break; - case "HEADER_MODE_APPEND": - case 1: - message.mode = 1; - break; - case "HEADER_MODE_EXTEND": - case 2: - message.mode = 2; - break; - case "HEADER_MODE_REPLACE": - case 3: - message.mode = 3; - break; - } + switch (object.mode) { + default: + if (typeof object.mode === "number") { + message.mode = object.mode; + break; + } + break; + case "HEADER_MODE_APPEND_INITIAL": + case 0: + message.mode = 0; + break; + case "HEADER_MODE_APPEND": + case 1: + message.mode = 1; + break; + case "HEADER_MODE_EXTEND": + case 2: + message.mode = 2; + break; + case "HEADER_MODE_REPLACE": + case 3: + message.mode = 3; + break; + } return message; }; @@ -33315,7 +29649,7 @@ $root.ProtoHeader = (function() { object.mode = options.enums === String ? "HEADER_MODE_APPEND_INITIAL" : 0; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -33324,7 +29658,7 @@ $root.ProtoHeader = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -33345,17 +29679,18 @@ $root.ProtoHeader = (function() { }; /** - * Gets the type url for ProtoHeader + * Gets the default type url for ProtoHeader * @function getTypeUrl * @memberof ProtoHeader * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoHeader.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoHeader"; + ProtoHeader.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoHeader"; }; return ProtoHeader; @@ -33390,7 +29725,6 @@ $root.ProtoFooter = (function() { * @property {string|null} [uuid] ProtoFooter uuid * @property {Array.|null} [comChannelUUIDs] ProtoFooter comChannelUUIDs * @property {ProtoFooterMode|null} [mode] ProtoFooter mode - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -33400,14 +29734,13 @@ $root.ProtoFooter = (function() { * @implements IProtoFooter * @constructor * @param {IProtoFooter=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoFooter(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -33487,9 +29820,6 @@ $root.ProtoFooter = (function() { writer.uint32(/* id 4, wireType 2 =*/34).string(message.comChannelUUIDs[i]); if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) writer.uint32(/* id 5, wireType 0 =*/40).int32(message.mode); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -33517,70 +29847,42 @@ $root.ProtoFooter = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoFooter.decode = function decode(reader, length, _end, _depth, _target) { + ProtoFooter.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoFooter(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoFooter(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.mode = value; - else - delete message.mode; - continue; + message.mode = reader.int32(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -33608,24 +29910,20 @@ $root.ProtoFooter = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoFooter.verify = function verify(message, _depth) { + ProtoFooter.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -33660,64 +29958,58 @@ $root.ProtoFooter = (function() { * @param {Object.} object Plain object * @returns {ProtoFooter} ProtoFooter */ - ProtoFooter.fromObject = function fromObject(object, _depth) { + ProtoFooter.fromObject = function fromObject(object) { if (object instanceof $root.ProtoFooter) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoFooter(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoFooter._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoFooter._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoFooter.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoFooter.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } - if (object.mode !== 0 && (typeof object.mode !== "string" || $root.ProtoFooterMode[object.mode] !== 0)) - switch (object.mode) { - default: - if (typeof object.mode === "number") { - message.mode = object.mode; - break; - } - break; - case "FOOTER_MODE_APPEND_INITIAL": - case 0: - message.mode = 0; - break; - case "FOOTER_MODE_APPEND": - case 1: - message.mode = 1; - break; - case "FOOTER_MODE_EXTEND": - case 2: - message.mode = 2; - break; - case "FOOTER_MODE_REPLACE": - case 3: - message.mode = 3; - break; - } + switch (object.mode) { + default: + if (typeof object.mode === "number") { + message.mode = object.mode; + break; + } + break; + case "FOOTER_MODE_APPEND_INITIAL": + case 0: + message.mode = 0; + break; + case "FOOTER_MODE_APPEND": + case 1: + message.mode = 1; + break; + case "FOOTER_MODE_EXTEND": + case 2: + message.mode = 2; + break; + case "FOOTER_MODE_REPLACE": + case 3: + message.mode = 3; + break; + } return message; }; @@ -33744,7 +30036,7 @@ $root.ProtoFooter = (function() { object.mode = options.enums === String ? "FOOTER_MODE_APPEND_INITIAL" : 0; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -33753,7 +30045,7 @@ $root.ProtoFooter = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -33774,17 +30066,18 @@ $root.ProtoFooter = (function() { }; /** - * Gets the type url for ProtoFooter + * Gets the default type url for ProtoFooter * @function getTypeUrl * @memberof ProtoFooter * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoFooter.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoFooter"; + ProtoFooter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoFooter"; }; return ProtoFooter; @@ -33861,7 +30154,6 @@ $root.Node = (function() { * @property {IProtoInputFieldCheckbox|null} [inputFieldCheckbox] Node inputFieldCheckbox * @property {IProtoInputFieldLabel|null} [inputFieldLabel] Node inputFieldLabel * @property {IProtoInputFieldDropdown|null} [inputFieldDropdown] Node inputFieldDropdown - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -33871,13 +30163,12 @@ $root.Node = (function() { * @implements INode * @constructor * @param {INode=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function Node(properties) { this.children = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -34570,9 +30861,6 @@ $root.Node = (function() { $root.ProtoInputFieldLabel.encode(message.inputFieldLabel, writer.uint32(/* id 79, wireType 2 =*/634).fork()).ldelim(); if (message.inputFieldDropdown != null && Object.hasOwnProperty.call(message, "inputFieldDropdown")) $root.ProtoInputFieldDropdown.encode(message.inputFieldDropdown, writer.uint32(/* id 80, wireType 2 =*/642).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -34600,486 +30888,280 @@ $root.Node = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Node.decode = function decode(reader, length, _end, _depth, _target) { + Node.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.Node(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.Node(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message.children && message.children.length)) message.children = []; - message.children.push($root.Node.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message.children.push($root.Node.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.listSetting = $root.ProtoListSetting.decode(reader, reader.uint32(), undefined, _depth + 1, message.listSetting); - message.object = "listSetting"; - continue; + message.listSetting = $root.ProtoListSetting.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.colorDef = $root.ProtoColorDef.decode(reader, reader.uint32(), undefined, _depth + 1, message.colorDef); - message.object = "colorDef"; - continue; + message.colorDef = $root.ProtoColorDef.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.brick = $root.ProtoBrick.decode(reader, reader.uint32(), undefined, _depth + 1, message.brick); - message.object = "brick"; - continue; + message.brick = $root.ProtoBrick.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; - message.template = $root.ProtoTemplate.decode(reader, reader.uint32(), undefined, _depth + 1, message.template); - message.object = "template"; - continue; + message.template = $root.ProtoTemplate.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - message.formatted = $root.ProtoFormatted.decode(reader, reader.uint32(), undefined, _depth + 1, message.formatted); - message.object = "formatted"; - continue; + message.formatted = $root.ProtoFormatted.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.image = $root.ProtoImage.decode(reader, reader.uint32(), undefined, _depth + 1, message.image); - message.object = "image"; - continue; + message.image = $root.ProtoImage.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 2) - break; - message.paragraphFormat = $root.ProtoParagraphFormat.decode(reader, reader.uint32(), undefined, _depth + 1, message.paragraphFormat); - message.object = "paragraphFormat"; - continue; + message.paragraphFormat = $root.ProtoParagraphFormat.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - message.textBrick = $root.ProtoTextBrick.decode(reader, reader.uint32(), undefined, _depth + 1, message.textBrick); - message.object = "textBrick"; - continue; + message.textBrick = $root.ProtoTextBrick.decode(reader, reader.uint32()); + break; } case 10: { - if (wireType !== 2) - break; - message.text = $root.ProtoText.decode(reader, reader.uint32(), undefined, _depth + 1, message.text); - message.object = "text"; - continue; + message.text = $root.ProtoText.decode(reader, reader.uint32()); + break; } case 11: { - if (wireType !== 2) - break; - message.linebreak = $root.ProtoLinebreak.decode(reader, reader.uint32(), undefined, _depth + 1, message.linebreak); - message.object = "linebreak"; - continue; + message.linebreak = $root.ProtoLinebreak.decode(reader, reader.uint32()); + break; } case 12: { - if (wireType !== 2) - break; - message.spaceVertically = $root.ProtoSpaceVertically.decode(reader, reader.uint32(), undefined, _depth + 1, message.spaceVertically); - message.object = "spaceVertically"; - continue; + message.spaceVertically = $root.ProtoSpaceVertically.decode(reader, reader.uint32()); + break; } case 13: { - if (wireType !== 2) - break; - message.footer = $root.ProtoFooter.decode(reader, reader.uint32(), undefined, _depth + 1, message.footer); - message.object = "footer"; - continue; + message.footer = $root.ProtoFooter.decode(reader, reader.uint32()); + break; } case 14: { - if (wireType !== 2) - break; - message.header = $root.ProtoHeader.decode(reader, reader.uint32(), undefined, _depth + 1, message.header); - message.object = "header"; - continue; + message.header = $root.ProtoHeader.decode(reader, reader.uint32()); + break; } case 15: { - if (wireType !== 2) - break; - message.table = $root.ProtoTable.decode(reader, reader.uint32(), undefined, _depth + 1, message.table); - message.object = "table"; - continue; + message.table = $root.ProtoTable.decode(reader, reader.uint32()); + break; } case 16: { - if (wireType !== 2) - break; - message.tableRow = $root.ProtoTableRow.decode(reader, reader.uint32(), undefined, _depth + 1, message.tableRow); - message.object = "tableRow"; - continue; + message.tableRow = $root.ProtoTableRow.decode(reader, reader.uint32()); + break; } case 17: { - if (wireType !== 2) - break; - message.tableCell = $root.ProtoTableCell.decode(reader, reader.uint32(), undefined, _depth + 1, message.tableCell); - message.object = "tableCell"; - continue; + message.tableCell = $root.ProtoTableCell.decode(reader, reader.uint32()); + break; } case 18: { - if (wireType !== 2) - break; - message.cDef = $root.ProtoCDef.decode(reader, reader.uint32(), undefined, _depth + 1, message.cDef); - message.object = "cDef"; - continue; + message.cDef = $root.ProtoCDef.decode(reader, reader.uint32()); + break; } case 19: { - if (wireType !== 2) - break; - message.pDef = $root.ProtoPDef.decode(reader, reader.uint32(), undefined, _depth + 1, message.pDef); - message.object = "pDef"; - continue; + message.pDef = $root.ProtoPDef.decode(reader, reader.uint32()); + break; } case 20: { - if (wireType !== 2) - break; - message.applyCDef = $root.ProtoApplyProtoCDef.decode(reader, reader.uint32(), undefined, _depth + 1, message.applyCDef); - message.object = "applyCDef"; - continue; + message.applyCDef = $root.ProtoApplyProtoCDef.decode(reader, reader.uint32()); + break; } case 21: { - if (wireType !== 2) - break; - message.applyPDef = $root.ProtoApplyProtoPDef.decode(reader, reader.uint32(), undefined, _depth + 1, message.applyPDef); - message.object = "applyPDef"; - continue; + message.applyPDef = $root.ProtoApplyProtoPDef.decode(reader, reader.uint32()); + break; } case 22: { - if (wireType !== 2) - break; - message.applyPtConfig = $root.ProtoApplyPtConfig.decode(reader, reader.uint32(), undefined, _depth + 1, message.applyPtConfig); - message.object = "applyPtConfig"; - continue; + message.applyPtConfig = $root.ProtoApplyPtConfig.decode(reader, reader.uint32()); + break; } case 23: { - if (wireType !== 2) - break; - message.applyUlConfig = $root.ProtoApplyUlConfig.decode(reader, reader.uint32(), undefined, _depth + 1, message.applyUlConfig); - message.object = "applyUlConfig"; - continue; + message.applyUlConfig = $root.ProtoApplyUlConfig.decode(reader, reader.uint32()); + break; } case 24: { - if (wireType !== 2) - break; - message.ptConfig = $root.ProtoPtConfig.decode(reader, reader.uint32(), undefined, _depth + 1, message.ptConfig); - message.object = "ptConfig"; - continue; + message.ptConfig = $root.ProtoPtConfig.decode(reader, reader.uint32()); + break; } case 25: { - if (wireType !== 2) - break; - message.ulConfig = $root.ProtoUlConfig.decode(reader, reader.uint32(), undefined, _depth + 1, message.ulConfig); - message.object = "ulConfig"; - continue; + message.ulConfig = $root.ProtoUlConfig.decode(reader, reader.uint32()); + break; } case 26: { - if (wireType !== 2) - break; - message.newPage = $root.ProtoNewPage.decode(reader, reader.uint32(), undefined, _depth + 1, message.newPage); - message.object = "newPage"; - continue; + message.newPage = $root.ProtoNewPage.decode(reader, reader.uint32()); + break; } case 27: { - if (wireType !== 2) - break; - message.variable = $root.ProtoVariable.decode(reader, reader.uint32(), undefined, _depth + 1, message.variable); - message.object = "variable"; - continue; + message.variable = $root.ProtoVariable.decode(reader, reader.uint32()); + break; } case 28: { - if (wireType !== 2) - break; - message.namedString = $root.ProtoNamedString.decode(reader, reader.uint32(), undefined, _depth + 1, message.namedString); - message.object = "namedString"; - continue; + message.namedString = $root.ProtoNamedString.decode(reader, reader.uint32()); + break; } case 30: { - if (wireType !== 2) - break; - message.paragraph = $root.ProtoParagraph.decode(reader, reader.uint32(), undefined, _depth + 1, message.paragraph); - message.object = "paragraph"; - continue; + message.paragraph = $root.ProtoParagraph.decode(reader, reader.uint32()); + break; } case 31: { - if (wireType !== 2) - break; - message.section = $root.ProtoSection.decode(reader, reader.uint32(), undefined, _depth + 1, message.section); - message.object = "section"; - continue; + message.section = $root.ProtoSection.decode(reader, reader.uint32()); + break; } case 32: { - if (wireType !== 2) - break; - message.span = $root.ProtoSpan.decode(reader, reader.uint32(), undefined, _depth + 1, message.span); - message.object = "span"; - continue; + message.span = $root.ProtoSpan.decode(reader, reader.uint32()); + break; } case 33: { - if (wireType !== 2) - break; - message.link = $root.ProtoLink.decode(reader, reader.uint32(), undefined, _depth + 1, message.link); - message.object = "link"; - continue; + message.link = $root.ProtoLink.decode(reader, reader.uint32()); + break; } case 34: { - if (wireType !== 2) - break; - message.directory = $root.ProtoDirectory.decode(reader, reader.uint32(), undefined, _depth + 1, message.directory); - message.object = "directory"; - continue; + message.directory = $root.ProtoDirectory.decode(reader, reader.uint32()); + break; } case 35: { - if (wireType !== 2) - break; - message.tableContentGroup = $root.ProtoTableContentGroup.decode(reader, reader.uint32(), undefined, _depth + 1, message.tableContentGroup); - message.object = "tableContentGroup"; - continue; + message.tableContentGroup = $root.ProtoTableContentGroup.decode(reader, reader.uint32()); + break; } case 36: { - if (wireType !== 2) - break; - message.tableConfig = $root.ProtoTableConfig.decode(reader, reader.uint32(), undefined, _depth + 1, message.tableConfig); - message.object = "tableConfig"; - continue; + message.tableConfig = $root.ProtoTableConfig.decode(reader, reader.uint32()); + break; } case 37: { - if (wireType !== 2) - break; - message.tableCellConfig = $root.ProtoTableCellConfig.decode(reader, reader.uint32(), undefined, _depth + 1, message.tableCellConfig); - message.object = "tableCellConfig"; - continue; + message.tableCellConfig = $root.ProtoTableCellConfig.decode(reader, reader.uint32()); + break; } case 38: { - if (wireType !== 2) - break; - message.tableRowConfig = $root.ProtoTableRowConfig.decode(reader, reader.uint32(), undefined, _depth + 1, message.tableRowConfig); - message.object = "tableRowConfig"; - continue; + message.tableRowConfig = $root.ProtoTableRowConfig.decode(reader, reader.uint32()); + break; } case 39: { - if (wireType !== 2) - break; - message.tableContentGroupConfig = $root.ProtoTableContentGroupConfig.decode(reader, reader.uint32(), undefined, _depth + 1, message.tableContentGroupConfig); - message.object = "tableContentGroupConfig"; - continue; + message.tableContentGroupConfig = $root.ProtoTableContentGroupConfig.decode(reader, reader.uint32()); + break; } case 40: { - if (wireType !== 2) - break; - message.brickReference = $root.ProtoBrickReference.decode(reader, reader.uint32(), undefined, _depth + 1, message.brickReference); - message.object = "brickReference"; - continue; + message.brickReference = $root.ProtoBrickReference.decode(reader, reader.uint32()); + break; } case 55: { - if (wireType !== 2) - break; - message.indentation = $root.ProtoIndentation.decode(reader, reader.uint32(), undefined, _depth + 1, message.indentation); - message.object = "indentation"; - continue; + message.indentation = $root.ProtoIndentation.decode(reader, reader.uint32()); + break; } case 56: { - if (wireType !== 2) - break; - message.barcode = $root.ProtoBarcode.decode(reader, reader.uint32(), undefined, _depth + 1, message.barcode); - message.object = "barcode"; - continue; + message.barcode = $root.ProtoBarcode.decode(reader, reader.uint32()); + break; } case 57: { - if (wireType !== 2) - break; - message.wsArea = $root.ProtoWsArea.decode(reader, reader.uint32(), undefined, _depth + 1, message.wsArea); - message.object = "wsArea"; - continue; + message.wsArea = $root.ProtoWsArea.decode(reader, reader.uint32()); + break; } case 58: { - if (wireType !== 2) - break; - message.carryOver = $root.ProtoCarryOver.decode(reader, reader.uint32(), undefined, _depth + 1, message.carryOver); - message.object = "carryOver"; - continue; + message.carryOver = $root.ProtoCarryOver.decode(reader, reader.uint32()); + break; } case 59: { - if (wireType !== 2) - break; - message.subTotal = $root.ProtoSubTotal.decode(reader, reader.uint32(), undefined, _depth + 1, message.subTotal); - message.object = "subTotal"; - continue; + message.subTotal = $root.ProtoSubTotal.decode(reader, reader.uint32()); + break; } case 60: { - if (wireType !== 2) - break; - message.loop = $root.ProtoLoop.decode(reader, reader.uint32(), undefined, _depth + 1, message.loop); - message.object = "loop"; - continue; + message.loop = $root.ProtoLoop.decode(reader, reader.uint32()); + break; } case 61: { - if (wireType !== 2) - break; - message.loopEntry = $root.ProtoLoopEntry.decode(reader, reader.uint32(), undefined, _depth + 1, message.loopEntry); - message.object = "loopEntry"; - continue; + message.loopEntry = $root.ProtoLoopEntry.decode(reader, reader.uint32()); + break; } case 62: { - if (wireType !== 2) - break; - message.rule = $root.ProtoRule.decode(reader, reader.uint32(), undefined, _depth + 1, message.rule); - message.object = "rule"; - continue; + message.rule = $root.ProtoRule.decode(reader, reader.uint32()); + break; } case 63: { - if (wireType !== 2) - break; - message.layout = $root.ProtoLayout.decode(reader, reader.uint32(), undefined, _depth + 1, message.layout); - message.object = "layout"; - continue; + message.layout = $root.ProtoLayout.decode(reader, reader.uint32()); + break; } case 64: { - if (wireType !== 2) - break; - message.advancedIllustrationArea = $root.ProtoAdvancedIllustrationArea.decode(reader, reader.uint32(), undefined, _depth + 1, message.advancedIllustrationArea); - message.object = "advancedIllustrationArea"; - continue; + message.advancedIllustrationArea = $root.ProtoAdvancedIllustrationArea.decode(reader, reader.uint32()); + break; } case 65: { - if (wireType !== 2) - break; - message.adjustHorizontally = $root.ProtoAdjustHorizontally.decode(reader, reader.uint32(), undefined, _depth + 1, message.adjustHorizontally); - message.object = "adjustHorizontally"; - continue; + message.adjustHorizontally = $root.ProtoAdjustHorizontally.decode(reader, reader.uint32()); + break; } case 66: { - if (wireType !== 2) - break; - message.doctypeScript = $root.ProtoDoctypeScript.decode(reader, reader.uint32(), undefined, _depth + 1, message.doctypeScript); - message.object = "doctypeScript"; - continue; + message.doctypeScript = $root.ProtoDoctypeScript.decode(reader, reader.uint32()); + break; } case 67: { - if (wireType !== 2) - break; - message.dmScript = $root.ProtoDmScript.decode(reader, reader.uint32(), undefined, _depth + 1, message.dmScript); - message.object = "dmScript"; - continue; + message.dmScript = $root.ProtoDmScript.decode(reader, reader.uint32()); + break; } case 68: { - if (wireType !== 2) - break; - message.dynamicTemplate = $root.ProtoDynamicTemplate.decode(reader, reader.uint32(), undefined, _depth + 1, message.dynamicTemplate); - message.object = "dynamicTemplate"; - continue; + message.dynamicTemplate = $root.ProtoDynamicTemplate.decode(reader, reader.uint32()); + break; } case 69: { - if (wireType !== 2) - break; - message.selection = $root.ProtoSelection.decode(reader, reader.uint32(), undefined, _depth + 1, message.selection); - message.object = "selection"; - continue; + message.selection = $root.ProtoSelection.decode(reader, reader.uint32()); + break; } case 70: { - if (wireType !== 2) - break; - message.selectionEntry = $root.ProtoSelectionEntry.decode(reader, reader.uint32(), undefined, _depth + 1, message.selectionEntry); - message.object = "selectionEntry"; - continue; + message.selectionEntry = $root.ProtoSelectionEntry.decode(reader, reader.uint32()); + break; } case 71: { - if (wireType !== 2) - break; - message.condition = $root.ProtoCondition.decode(reader, reader.uint32(), undefined, _depth + 1, message.condition); - message.object = "condition"; - continue; + message.condition = $root.ProtoCondition.decode(reader, reader.uint32()); + break; } case 72: { - if (wireType !== 2) - break; - message.pageCondition = $root.ProtoPageCondition.decode(reader, reader.uint32(), undefined, _depth + 1, message.pageCondition); - message.object = "pageCondition"; - continue; + message.pageCondition = $root.ProtoPageCondition.decode(reader, reader.uint32()); + break; } case 73: { - if (wireType !== 2) - break; - message.locale = $root.ProtoLocale.decode(reader, reader.uint32(), undefined, _depth + 1, message.locale); - message.object = "locale"; - continue; + message.locale = $root.ProtoLocale.decode(reader, reader.uint32()); + break; } case 74: { - if (wireType !== 2) - break; - message.tag = $root.ProtoTag.decode(reader, reader.uint32(), undefined, _depth + 1, message.tag); - message.object = "tag"; - continue; + message.tag = $root.ProtoTag.decode(reader, reader.uint32()); + break; } case 75: { - if (wireType !== 2) - break; - message.paragraphSetDefault = $root.ProtoParagraphSetDefault.decode(reader, reader.uint32(), undefined, _depth + 1, message.paragraphSetDefault); - message.object = "paragraphSetDefault"; - continue; + message.paragraphSetDefault = $root.ProtoParagraphSetDefault.decode(reader, reader.uint32()); + break; } case 76: { - if (wireType !== 2) - break; - message.inputFieldText = $root.ProtoInputFieldText.decode(reader, reader.uint32(), undefined, _depth + 1, message.inputFieldText); - message.object = "inputFieldText"; - continue; + message.inputFieldText = $root.ProtoInputFieldText.decode(reader, reader.uint32()); + break; } case 77: { - if (wireType !== 2) - break; - message.inputFieldDate = $root.ProtoInputFieldDate.decode(reader, reader.uint32(), undefined, _depth + 1, message.inputFieldDate); - message.object = "inputFieldDate"; - continue; + message.inputFieldDate = $root.ProtoInputFieldDate.decode(reader, reader.uint32()); + break; } case 78: { - if (wireType !== 2) - break; - message.inputFieldCheckbox = $root.ProtoInputFieldCheckbox.decode(reader, reader.uint32(), undefined, _depth + 1, message.inputFieldCheckbox); - message.object = "inputFieldCheckbox"; - continue; + message.inputFieldCheckbox = $root.ProtoInputFieldCheckbox.decode(reader, reader.uint32()); + break; } case 79: { - if (wireType !== 2) - break; - message.inputFieldLabel = $root.ProtoInputFieldLabel.decode(reader, reader.uint32(), undefined, _depth + 1, message.inputFieldLabel); - message.object = "inputFieldLabel"; - continue; + message.inputFieldLabel = $root.ProtoInputFieldLabel.decode(reader, reader.uint32()); + break; } case 80: { - if (wireType !== 2) - break; - message.inputFieldDropdown = $root.ProtoInputFieldDropdown.decode(reader, reader.uint32(), undefined, _depth + 1, message.inputFieldDropdown); - message.object = "inputFieldDropdown"; - continue; + message.inputFieldDropdown = $root.ProtoInputFieldDropdown.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -35107,19 +31189,15 @@ $root.Node = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Node.verify = function verify(message, _depth) { + Node.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; var properties = {}; if (message.children != null && message.hasOwnProperty("children")) { if (!Array.isArray(message.children)) return "children: array expected"; for (var i = 0; i < message.children.length; ++i) { - var error = $root.Node.verify(message.children[i], _depth + 1); + var error = $root.Node.verify(message.children[i]); if (error) return "children." + error; } @@ -35127,7 +31205,7 @@ $root.Node = (function() { if (message.listSetting != null && message.hasOwnProperty("listSetting")) { properties.object = 1; { - var error = $root.ProtoListSetting.verify(message.listSetting, _depth + 1); + var error = $root.ProtoListSetting.verify(message.listSetting); if (error) return "listSetting." + error; } @@ -35137,7 +31215,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoColorDef.verify(message.colorDef, _depth + 1); + var error = $root.ProtoColorDef.verify(message.colorDef); if (error) return "colorDef." + error; } @@ -35147,7 +31225,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoBrick.verify(message.brick, _depth + 1); + var error = $root.ProtoBrick.verify(message.brick); if (error) return "brick." + error; } @@ -35157,7 +31235,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTemplate.verify(message.template, _depth + 1); + var error = $root.ProtoTemplate.verify(message.template); if (error) return "template." + error; } @@ -35167,7 +31245,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoFormatted.verify(message.formatted, _depth + 1); + var error = $root.ProtoFormatted.verify(message.formatted); if (error) return "formatted." + error; } @@ -35177,7 +31255,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoImage.verify(message.image, _depth + 1); + var error = $root.ProtoImage.verify(message.image); if (error) return "image." + error; } @@ -35187,7 +31265,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoParagraphFormat.verify(message.paragraphFormat, _depth + 1); + var error = $root.ProtoParagraphFormat.verify(message.paragraphFormat); if (error) return "paragraphFormat." + error; } @@ -35197,7 +31275,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTextBrick.verify(message.textBrick, _depth + 1); + var error = $root.ProtoTextBrick.verify(message.textBrick); if (error) return "textBrick." + error; } @@ -35207,7 +31285,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoText.verify(message.text, _depth + 1); + var error = $root.ProtoText.verify(message.text); if (error) return "text." + error; } @@ -35217,7 +31295,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoLinebreak.verify(message.linebreak, _depth + 1); + var error = $root.ProtoLinebreak.verify(message.linebreak); if (error) return "linebreak." + error; } @@ -35227,7 +31305,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoSpaceVertically.verify(message.spaceVertically, _depth + 1); + var error = $root.ProtoSpaceVertically.verify(message.spaceVertically); if (error) return "spaceVertically." + error; } @@ -35237,7 +31315,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoFooter.verify(message.footer, _depth + 1); + var error = $root.ProtoFooter.verify(message.footer); if (error) return "footer." + error; } @@ -35247,7 +31325,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoHeader.verify(message.header, _depth + 1); + var error = $root.ProtoHeader.verify(message.header); if (error) return "header." + error; } @@ -35257,7 +31335,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTable.verify(message.table, _depth + 1); + var error = $root.ProtoTable.verify(message.table); if (error) return "table." + error; } @@ -35267,7 +31345,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTableRow.verify(message.tableRow, _depth + 1); + var error = $root.ProtoTableRow.verify(message.tableRow); if (error) return "tableRow." + error; } @@ -35277,7 +31355,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTableCell.verify(message.tableCell, _depth + 1); + var error = $root.ProtoTableCell.verify(message.tableCell); if (error) return "tableCell." + error; } @@ -35287,7 +31365,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoCDef.verify(message.cDef, _depth + 1); + var error = $root.ProtoCDef.verify(message.cDef); if (error) return "cDef." + error; } @@ -35297,7 +31375,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoPDef.verify(message.pDef, _depth + 1); + var error = $root.ProtoPDef.verify(message.pDef); if (error) return "pDef." + error; } @@ -35307,7 +31385,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoApplyProtoCDef.verify(message.applyCDef, _depth + 1); + var error = $root.ProtoApplyProtoCDef.verify(message.applyCDef); if (error) return "applyCDef." + error; } @@ -35317,7 +31395,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoApplyProtoPDef.verify(message.applyPDef, _depth + 1); + var error = $root.ProtoApplyProtoPDef.verify(message.applyPDef); if (error) return "applyPDef." + error; } @@ -35327,7 +31405,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoApplyPtConfig.verify(message.applyPtConfig, _depth + 1); + var error = $root.ProtoApplyPtConfig.verify(message.applyPtConfig); if (error) return "applyPtConfig." + error; } @@ -35337,7 +31415,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoApplyUlConfig.verify(message.applyUlConfig, _depth + 1); + var error = $root.ProtoApplyUlConfig.verify(message.applyUlConfig); if (error) return "applyUlConfig." + error; } @@ -35347,7 +31425,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoPtConfig.verify(message.ptConfig, _depth + 1); + var error = $root.ProtoPtConfig.verify(message.ptConfig); if (error) return "ptConfig." + error; } @@ -35357,7 +31435,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoUlConfig.verify(message.ulConfig, _depth + 1); + var error = $root.ProtoUlConfig.verify(message.ulConfig); if (error) return "ulConfig." + error; } @@ -35367,7 +31445,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoNewPage.verify(message.newPage, _depth + 1); + var error = $root.ProtoNewPage.verify(message.newPage); if (error) return "newPage." + error; } @@ -35377,7 +31455,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoVariable.verify(message.variable, _depth + 1); + var error = $root.ProtoVariable.verify(message.variable); if (error) return "variable." + error; } @@ -35387,7 +31465,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoNamedString.verify(message.namedString, _depth + 1); + var error = $root.ProtoNamedString.verify(message.namedString); if (error) return "namedString." + error; } @@ -35397,7 +31475,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoParagraph.verify(message.paragraph, _depth + 1); + var error = $root.ProtoParagraph.verify(message.paragraph); if (error) return "paragraph." + error; } @@ -35407,7 +31485,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoSection.verify(message.section, _depth + 1); + var error = $root.ProtoSection.verify(message.section); if (error) return "section." + error; } @@ -35417,7 +31495,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoSpan.verify(message.span, _depth + 1); + var error = $root.ProtoSpan.verify(message.span); if (error) return "span." + error; } @@ -35427,7 +31505,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoLink.verify(message.link, _depth + 1); + var error = $root.ProtoLink.verify(message.link); if (error) return "link." + error; } @@ -35437,7 +31515,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoDirectory.verify(message.directory, _depth + 1); + var error = $root.ProtoDirectory.verify(message.directory); if (error) return "directory." + error; } @@ -35447,7 +31525,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTableContentGroup.verify(message.tableContentGroup, _depth + 1); + var error = $root.ProtoTableContentGroup.verify(message.tableContentGroup); if (error) return "tableContentGroup." + error; } @@ -35457,7 +31535,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTableConfig.verify(message.tableConfig, _depth + 1); + var error = $root.ProtoTableConfig.verify(message.tableConfig); if (error) return "tableConfig." + error; } @@ -35467,7 +31545,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTableCellConfig.verify(message.tableCellConfig, _depth + 1); + var error = $root.ProtoTableCellConfig.verify(message.tableCellConfig); if (error) return "tableCellConfig." + error; } @@ -35477,7 +31555,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTableRowConfig.verify(message.tableRowConfig, _depth + 1); + var error = $root.ProtoTableRowConfig.verify(message.tableRowConfig); if (error) return "tableRowConfig." + error; } @@ -35487,7 +31565,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTableContentGroupConfig.verify(message.tableContentGroupConfig, _depth + 1); + var error = $root.ProtoTableContentGroupConfig.verify(message.tableContentGroupConfig); if (error) return "tableContentGroupConfig." + error; } @@ -35497,7 +31575,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoBrickReference.verify(message.brickReference, _depth + 1); + var error = $root.ProtoBrickReference.verify(message.brickReference); if (error) return "brickReference." + error; } @@ -35507,7 +31585,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoIndentation.verify(message.indentation, _depth + 1); + var error = $root.ProtoIndentation.verify(message.indentation); if (error) return "indentation." + error; } @@ -35517,7 +31595,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoBarcode.verify(message.barcode, _depth + 1); + var error = $root.ProtoBarcode.verify(message.barcode); if (error) return "barcode." + error; } @@ -35527,7 +31605,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoWsArea.verify(message.wsArea, _depth + 1); + var error = $root.ProtoWsArea.verify(message.wsArea); if (error) return "wsArea." + error; } @@ -35537,7 +31615,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoCarryOver.verify(message.carryOver, _depth + 1); + var error = $root.ProtoCarryOver.verify(message.carryOver); if (error) return "carryOver." + error; } @@ -35547,7 +31625,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoSubTotal.verify(message.subTotal, _depth + 1); + var error = $root.ProtoSubTotal.verify(message.subTotal); if (error) return "subTotal." + error; } @@ -35557,7 +31635,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoLoop.verify(message.loop, _depth + 1); + var error = $root.ProtoLoop.verify(message.loop); if (error) return "loop." + error; } @@ -35567,7 +31645,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoLoopEntry.verify(message.loopEntry, _depth + 1); + var error = $root.ProtoLoopEntry.verify(message.loopEntry); if (error) return "loopEntry." + error; } @@ -35577,7 +31655,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoRule.verify(message.rule, _depth + 1); + var error = $root.ProtoRule.verify(message.rule); if (error) return "rule." + error; } @@ -35587,7 +31665,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoLayout.verify(message.layout, _depth + 1); + var error = $root.ProtoLayout.verify(message.layout); if (error) return "layout." + error; } @@ -35597,7 +31675,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoAdvancedIllustrationArea.verify(message.advancedIllustrationArea, _depth + 1); + var error = $root.ProtoAdvancedIllustrationArea.verify(message.advancedIllustrationArea); if (error) return "advancedIllustrationArea." + error; } @@ -35607,7 +31685,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoAdjustHorizontally.verify(message.adjustHorizontally, _depth + 1); + var error = $root.ProtoAdjustHorizontally.verify(message.adjustHorizontally); if (error) return "adjustHorizontally." + error; } @@ -35617,7 +31695,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoDoctypeScript.verify(message.doctypeScript, _depth + 1); + var error = $root.ProtoDoctypeScript.verify(message.doctypeScript); if (error) return "doctypeScript." + error; } @@ -35627,7 +31705,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoDmScript.verify(message.dmScript, _depth + 1); + var error = $root.ProtoDmScript.verify(message.dmScript); if (error) return "dmScript." + error; } @@ -35637,7 +31715,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoDynamicTemplate.verify(message.dynamicTemplate, _depth + 1); + var error = $root.ProtoDynamicTemplate.verify(message.dynamicTemplate); if (error) return "dynamicTemplate." + error; } @@ -35647,7 +31725,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoSelection.verify(message.selection, _depth + 1); + var error = $root.ProtoSelection.verify(message.selection); if (error) return "selection." + error; } @@ -35657,7 +31735,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoSelectionEntry.verify(message.selectionEntry, _depth + 1); + var error = $root.ProtoSelectionEntry.verify(message.selectionEntry); if (error) return "selectionEntry." + error; } @@ -35667,7 +31745,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoCondition.verify(message.condition, _depth + 1); + var error = $root.ProtoCondition.verify(message.condition); if (error) return "condition." + error; } @@ -35677,7 +31755,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoPageCondition.verify(message.pageCondition, _depth + 1); + var error = $root.ProtoPageCondition.verify(message.pageCondition); if (error) return "pageCondition." + error; } @@ -35687,7 +31765,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoLocale.verify(message.locale, _depth + 1); + var error = $root.ProtoLocale.verify(message.locale); if (error) return "locale." + error; } @@ -35697,7 +31775,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoTag.verify(message.tag, _depth + 1); + var error = $root.ProtoTag.verify(message.tag); if (error) return "tag." + error; } @@ -35707,7 +31785,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoParagraphSetDefault.verify(message.paragraphSetDefault, _depth + 1); + var error = $root.ProtoParagraphSetDefault.verify(message.paragraphSetDefault); if (error) return "paragraphSetDefault." + error; } @@ -35717,7 +31795,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoInputFieldText.verify(message.inputFieldText, _depth + 1); + var error = $root.ProtoInputFieldText.verify(message.inputFieldText); if (error) return "inputFieldText." + error; } @@ -35727,7 +31805,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoInputFieldDate.verify(message.inputFieldDate, _depth + 1); + var error = $root.ProtoInputFieldDate.verify(message.inputFieldDate); if (error) return "inputFieldDate." + error; } @@ -35737,7 +31815,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoInputFieldCheckbox.verify(message.inputFieldCheckbox, _depth + 1); + var error = $root.ProtoInputFieldCheckbox.verify(message.inputFieldCheckbox); if (error) return "inputFieldCheckbox." + error; } @@ -35747,7 +31825,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoInputFieldLabel.verify(message.inputFieldLabel, _depth + 1); + var error = $root.ProtoInputFieldLabel.verify(message.inputFieldLabel); if (error) return "inputFieldLabel." + error; } @@ -35757,7 +31835,7 @@ $root.Node = (function() { return "object: multiple values"; properties.object = 1; { - var error = $root.ProtoInputFieldDropdown.verify(message.inputFieldDropdown, _depth + 1); + var error = $root.ProtoInputFieldDropdown.verify(message.inputFieldDropdown); if (error) return "inputFieldDropdown." + error; } @@ -35773,343 +31851,339 @@ $root.Node = (function() { * @param {Object.} object Plain object * @returns {Node} Node */ - Node.fromObject = function fromObject(object, _depth) { + Node.fromObject = function fromObject(object) { if (object instanceof $root.Node) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.Node(); if (object.children) { if (!Array.isArray(object.children)) throw TypeError(".Node.children: array expected"); - message.children = Array(object.children.length); + message.children = []; for (var i = 0; i < object.children.length; ++i) { if (typeof object.children[i] !== "object") throw TypeError(".Node.children: object expected"); - message.children[i] = $root.Node.fromObject(object.children[i], _depth + 1); + message.children[i] = $root.Node.fromObject(object.children[i]); } } if (object.listSetting != null) { if (typeof object.listSetting !== "object") throw TypeError(".Node.listSetting: object expected"); - message.listSetting = $root.ProtoListSetting.fromObject(object.listSetting, _depth + 1); + message.listSetting = $root.ProtoListSetting.fromObject(object.listSetting); } if (object.colorDef != null) { if (typeof object.colorDef !== "object") throw TypeError(".Node.colorDef: object expected"); - message.colorDef = $root.ProtoColorDef.fromObject(object.colorDef, _depth + 1); + message.colorDef = $root.ProtoColorDef.fromObject(object.colorDef); } if (object.brick != null) { if (typeof object.brick !== "object") throw TypeError(".Node.brick: object expected"); - message.brick = $root.ProtoBrick.fromObject(object.brick, _depth + 1); + message.brick = $root.ProtoBrick.fromObject(object.brick); } if (object.template != null) { if (typeof object.template !== "object") throw TypeError(".Node.template: object expected"); - message.template = $root.ProtoTemplate.fromObject(object.template, _depth + 1); + message.template = $root.ProtoTemplate.fromObject(object.template); } if (object.formatted != null) { if (typeof object.formatted !== "object") throw TypeError(".Node.formatted: object expected"); - message.formatted = $root.ProtoFormatted.fromObject(object.formatted, _depth + 1); + message.formatted = $root.ProtoFormatted.fromObject(object.formatted); } if (object.image != null) { if (typeof object.image !== "object") throw TypeError(".Node.image: object expected"); - message.image = $root.ProtoImage.fromObject(object.image, _depth + 1); + message.image = $root.ProtoImage.fromObject(object.image); } if (object.paragraphFormat != null) { if (typeof object.paragraphFormat !== "object") throw TypeError(".Node.paragraphFormat: object expected"); - message.paragraphFormat = $root.ProtoParagraphFormat.fromObject(object.paragraphFormat, _depth + 1); + message.paragraphFormat = $root.ProtoParagraphFormat.fromObject(object.paragraphFormat); } if (object.textBrick != null) { if (typeof object.textBrick !== "object") throw TypeError(".Node.textBrick: object expected"); - message.textBrick = $root.ProtoTextBrick.fromObject(object.textBrick, _depth + 1); + message.textBrick = $root.ProtoTextBrick.fromObject(object.textBrick); } if (object.text != null) { if (typeof object.text !== "object") throw TypeError(".Node.text: object expected"); - message.text = $root.ProtoText.fromObject(object.text, _depth + 1); + message.text = $root.ProtoText.fromObject(object.text); } if (object.linebreak != null) { if (typeof object.linebreak !== "object") throw TypeError(".Node.linebreak: object expected"); - message.linebreak = $root.ProtoLinebreak.fromObject(object.linebreak, _depth + 1); + message.linebreak = $root.ProtoLinebreak.fromObject(object.linebreak); } if (object.spaceVertically != null) { if (typeof object.spaceVertically !== "object") throw TypeError(".Node.spaceVertically: object expected"); - message.spaceVertically = $root.ProtoSpaceVertically.fromObject(object.spaceVertically, _depth + 1); + message.spaceVertically = $root.ProtoSpaceVertically.fromObject(object.spaceVertically); } if (object.footer != null) { if (typeof object.footer !== "object") throw TypeError(".Node.footer: object expected"); - message.footer = $root.ProtoFooter.fromObject(object.footer, _depth + 1); + message.footer = $root.ProtoFooter.fromObject(object.footer); } if (object.header != null) { if (typeof object.header !== "object") throw TypeError(".Node.header: object expected"); - message.header = $root.ProtoHeader.fromObject(object.header, _depth + 1); + message.header = $root.ProtoHeader.fromObject(object.header); } if (object.table != null) { if (typeof object.table !== "object") throw TypeError(".Node.table: object expected"); - message.table = $root.ProtoTable.fromObject(object.table, _depth + 1); + message.table = $root.ProtoTable.fromObject(object.table); } if (object.tableRow != null) { if (typeof object.tableRow !== "object") throw TypeError(".Node.tableRow: object expected"); - message.tableRow = $root.ProtoTableRow.fromObject(object.tableRow, _depth + 1); + message.tableRow = $root.ProtoTableRow.fromObject(object.tableRow); } if (object.tableCell != null) { if (typeof object.tableCell !== "object") throw TypeError(".Node.tableCell: object expected"); - message.tableCell = $root.ProtoTableCell.fromObject(object.tableCell, _depth + 1); + message.tableCell = $root.ProtoTableCell.fromObject(object.tableCell); } if (object.cDef != null) { if (typeof object.cDef !== "object") throw TypeError(".Node.cDef: object expected"); - message.cDef = $root.ProtoCDef.fromObject(object.cDef, _depth + 1); + message.cDef = $root.ProtoCDef.fromObject(object.cDef); } if (object.pDef != null) { if (typeof object.pDef !== "object") throw TypeError(".Node.pDef: object expected"); - message.pDef = $root.ProtoPDef.fromObject(object.pDef, _depth + 1); + message.pDef = $root.ProtoPDef.fromObject(object.pDef); } if (object.applyCDef != null) { if (typeof object.applyCDef !== "object") throw TypeError(".Node.applyCDef: object expected"); - message.applyCDef = $root.ProtoApplyProtoCDef.fromObject(object.applyCDef, _depth + 1); + message.applyCDef = $root.ProtoApplyProtoCDef.fromObject(object.applyCDef); } if (object.applyPDef != null) { if (typeof object.applyPDef !== "object") throw TypeError(".Node.applyPDef: object expected"); - message.applyPDef = $root.ProtoApplyProtoPDef.fromObject(object.applyPDef, _depth + 1); + message.applyPDef = $root.ProtoApplyProtoPDef.fromObject(object.applyPDef); } if (object.applyPtConfig != null) { if (typeof object.applyPtConfig !== "object") throw TypeError(".Node.applyPtConfig: object expected"); - message.applyPtConfig = $root.ProtoApplyPtConfig.fromObject(object.applyPtConfig, _depth + 1); + message.applyPtConfig = $root.ProtoApplyPtConfig.fromObject(object.applyPtConfig); } if (object.applyUlConfig != null) { if (typeof object.applyUlConfig !== "object") throw TypeError(".Node.applyUlConfig: object expected"); - message.applyUlConfig = $root.ProtoApplyUlConfig.fromObject(object.applyUlConfig, _depth + 1); + message.applyUlConfig = $root.ProtoApplyUlConfig.fromObject(object.applyUlConfig); } if (object.ptConfig != null) { if (typeof object.ptConfig !== "object") throw TypeError(".Node.ptConfig: object expected"); - message.ptConfig = $root.ProtoPtConfig.fromObject(object.ptConfig, _depth + 1); + message.ptConfig = $root.ProtoPtConfig.fromObject(object.ptConfig); } if (object.ulConfig != null) { if (typeof object.ulConfig !== "object") throw TypeError(".Node.ulConfig: object expected"); - message.ulConfig = $root.ProtoUlConfig.fromObject(object.ulConfig, _depth + 1); + message.ulConfig = $root.ProtoUlConfig.fromObject(object.ulConfig); } if (object.newPage != null) { if (typeof object.newPage !== "object") throw TypeError(".Node.newPage: object expected"); - message.newPage = $root.ProtoNewPage.fromObject(object.newPage, _depth + 1); + message.newPage = $root.ProtoNewPage.fromObject(object.newPage); } if (object.variable != null) { if (typeof object.variable !== "object") throw TypeError(".Node.variable: object expected"); - message.variable = $root.ProtoVariable.fromObject(object.variable, _depth + 1); + message.variable = $root.ProtoVariable.fromObject(object.variable); } if (object.namedString != null) { if (typeof object.namedString !== "object") throw TypeError(".Node.namedString: object expected"); - message.namedString = $root.ProtoNamedString.fromObject(object.namedString, _depth + 1); + message.namedString = $root.ProtoNamedString.fromObject(object.namedString); } if (object.paragraph != null) { if (typeof object.paragraph !== "object") throw TypeError(".Node.paragraph: object expected"); - message.paragraph = $root.ProtoParagraph.fromObject(object.paragraph, _depth + 1); + message.paragraph = $root.ProtoParagraph.fromObject(object.paragraph); } if (object.section != null) { if (typeof object.section !== "object") throw TypeError(".Node.section: object expected"); - message.section = $root.ProtoSection.fromObject(object.section, _depth + 1); + message.section = $root.ProtoSection.fromObject(object.section); } if (object.span != null) { if (typeof object.span !== "object") throw TypeError(".Node.span: object expected"); - message.span = $root.ProtoSpan.fromObject(object.span, _depth + 1); + message.span = $root.ProtoSpan.fromObject(object.span); } if (object.link != null) { if (typeof object.link !== "object") throw TypeError(".Node.link: object expected"); - message.link = $root.ProtoLink.fromObject(object.link, _depth + 1); + message.link = $root.ProtoLink.fromObject(object.link); } if (object.directory != null) { if (typeof object.directory !== "object") throw TypeError(".Node.directory: object expected"); - message.directory = $root.ProtoDirectory.fromObject(object.directory, _depth + 1); + message.directory = $root.ProtoDirectory.fromObject(object.directory); } if (object.tableContentGroup != null) { if (typeof object.tableContentGroup !== "object") throw TypeError(".Node.tableContentGroup: object expected"); - message.tableContentGroup = $root.ProtoTableContentGroup.fromObject(object.tableContentGroup, _depth + 1); + message.tableContentGroup = $root.ProtoTableContentGroup.fromObject(object.tableContentGroup); } if (object.tableConfig != null) { if (typeof object.tableConfig !== "object") throw TypeError(".Node.tableConfig: object expected"); - message.tableConfig = $root.ProtoTableConfig.fromObject(object.tableConfig, _depth + 1); + message.tableConfig = $root.ProtoTableConfig.fromObject(object.tableConfig); } if (object.tableCellConfig != null) { if (typeof object.tableCellConfig !== "object") throw TypeError(".Node.tableCellConfig: object expected"); - message.tableCellConfig = $root.ProtoTableCellConfig.fromObject(object.tableCellConfig, _depth + 1); + message.tableCellConfig = $root.ProtoTableCellConfig.fromObject(object.tableCellConfig); } if (object.tableRowConfig != null) { if (typeof object.tableRowConfig !== "object") throw TypeError(".Node.tableRowConfig: object expected"); - message.tableRowConfig = $root.ProtoTableRowConfig.fromObject(object.tableRowConfig, _depth + 1); + message.tableRowConfig = $root.ProtoTableRowConfig.fromObject(object.tableRowConfig); } if (object.tableContentGroupConfig != null) { if (typeof object.tableContentGroupConfig !== "object") throw TypeError(".Node.tableContentGroupConfig: object expected"); - message.tableContentGroupConfig = $root.ProtoTableContentGroupConfig.fromObject(object.tableContentGroupConfig, _depth + 1); + message.tableContentGroupConfig = $root.ProtoTableContentGroupConfig.fromObject(object.tableContentGroupConfig); } if (object.brickReference != null) { if (typeof object.brickReference !== "object") throw TypeError(".Node.brickReference: object expected"); - message.brickReference = $root.ProtoBrickReference.fromObject(object.brickReference, _depth + 1); + message.brickReference = $root.ProtoBrickReference.fromObject(object.brickReference); } if (object.indentation != null) { if (typeof object.indentation !== "object") throw TypeError(".Node.indentation: object expected"); - message.indentation = $root.ProtoIndentation.fromObject(object.indentation, _depth + 1); + message.indentation = $root.ProtoIndentation.fromObject(object.indentation); } if (object.barcode != null) { if (typeof object.barcode !== "object") throw TypeError(".Node.barcode: object expected"); - message.barcode = $root.ProtoBarcode.fromObject(object.barcode, _depth + 1); + message.barcode = $root.ProtoBarcode.fromObject(object.barcode); } if (object.wsArea != null) { if (typeof object.wsArea !== "object") throw TypeError(".Node.wsArea: object expected"); - message.wsArea = $root.ProtoWsArea.fromObject(object.wsArea, _depth + 1); + message.wsArea = $root.ProtoWsArea.fromObject(object.wsArea); } if (object.carryOver != null) { if (typeof object.carryOver !== "object") throw TypeError(".Node.carryOver: object expected"); - message.carryOver = $root.ProtoCarryOver.fromObject(object.carryOver, _depth + 1); + message.carryOver = $root.ProtoCarryOver.fromObject(object.carryOver); } if (object.subTotal != null) { if (typeof object.subTotal !== "object") throw TypeError(".Node.subTotal: object expected"); - message.subTotal = $root.ProtoSubTotal.fromObject(object.subTotal, _depth + 1); + message.subTotal = $root.ProtoSubTotal.fromObject(object.subTotal); } if (object.loop != null) { if (typeof object.loop !== "object") throw TypeError(".Node.loop: object expected"); - message.loop = $root.ProtoLoop.fromObject(object.loop, _depth + 1); + message.loop = $root.ProtoLoop.fromObject(object.loop); } if (object.loopEntry != null) { if (typeof object.loopEntry !== "object") throw TypeError(".Node.loopEntry: object expected"); - message.loopEntry = $root.ProtoLoopEntry.fromObject(object.loopEntry, _depth + 1); + message.loopEntry = $root.ProtoLoopEntry.fromObject(object.loopEntry); } if (object.rule != null) { if (typeof object.rule !== "object") throw TypeError(".Node.rule: object expected"); - message.rule = $root.ProtoRule.fromObject(object.rule, _depth + 1); + message.rule = $root.ProtoRule.fromObject(object.rule); } if (object.layout != null) { if (typeof object.layout !== "object") throw TypeError(".Node.layout: object expected"); - message.layout = $root.ProtoLayout.fromObject(object.layout, _depth + 1); + message.layout = $root.ProtoLayout.fromObject(object.layout); } if (object.advancedIllustrationArea != null) { if (typeof object.advancedIllustrationArea !== "object") throw TypeError(".Node.advancedIllustrationArea: object expected"); - message.advancedIllustrationArea = $root.ProtoAdvancedIllustrationArea.fromObject(object.advancedIllustrationArea, _depth + 1); + message.advancedIllustrationArea = $root.ProtoAdvancedIllustrationArea.fromObject(object.advancedIllustrationArea); } if (object.adjustHorizontally != null) { if (typeof object.adjustHorizontally !== "object") throw TypeError(".Node.adjustHorizontally: object expected"); - message.adjustHorizontally = $root.ProtoAdjustHorizontally.fromObject(object.adjustHorizontally, _depth + 1); + message.adjustHorizontally = $root.ProtoAdjustHorizontally.fromObject(object.adjustHorizontally); } if (object.doctypeScript != null) { if (typeof object.doctypeScript !== "object") throw TypeError(".Node.doctypeScript: object expected"); - message.doctypeScript = $root.ProtoDoctypeScript.fromObject(object.doctypeScript, _depth + 1); + message.doctypeScript = $root.ProtoDoctypeScript.fromObject(object.doctypeScript); } if (object.dmScript != null) { if (typeof object.dmScript !== "object") throw TypeError(".Node.dmScript: object expected"); - message.dmScript = $root.ProtoDmScript.fromObject(object.dmScript, _depth + 1); + message.dmScript = $root.ProtoDmScript.fromObject(object.dmScript); } if (object.dynamicTemplate != null) { if (typeof object.dynamicTemplate !== "object") throw TypeError(".Node.dynamicTemplate: object expected"); - message.dynamicTemplate = $root.ProtoDynamicTemplate.fromObject(object.dynamicTemplate, _depth + 1); + message.dynamicTemplate = $root.ProtoDynamicTemplate.fromObject(object.dynamicTemplate); } if (object.selection != null) { if (typeof object.selection !== "object") throw TypeError(".Node.selection: object expected"); - message.selection = $root.ProtoSelection.fromObject(object.selection, _depth + 1); + message.selection = $root.ProtoSelection.fromObject(object.selection); } if (object.selectionEntry != null) { if (typeof object.selectionEntry !== "object") throw TypeError(".Node.selectionEntry: object expected"); - message.selectionEntry = $root.ProtoSelectionEntry.fromObject(object.selectionEntry, _depth + 1); + message.selectionEntry = $root.ProtoSelectionEntry.fromObject(object.selectionEntry); } if (object.condition != null) { if (typeof object.condition !== "object") throw TypeError(".Node.condition: object expected"); - message.condition = $root.ProtoCondition.fromObject(object.condition, _depth + 1); + message.condition = $root.ProtoCondition.fromObject(object.condition); } if (object.pageCondition != null) { if (typeof object.pageCondition !== "object") throw TypeError(".Node.pageCondition: object expected"); - message.pageCondition = $root.ProtoPageCondition.fromObject(object.pageCondition, _depth + 1); + message.pageCondition = $root.ProtoPageCondition.fromObject(object.pageCondition); } if (object.locale != null) { if (typeof object.locale !== "object") throw TypeError(".Node.locale: object expected"); - message.locale = $root.ProtoLocale.fromObject(object.locale, _depth + 1); + message.locale = $root.ProtoLocale.fromObject(object.locale); } if (object.tag != null) { if (typeof object.tag !== "object") throw TypeError(".Node.tag: object expected"); - message.tag = $root.ProtoTag.fromObject(object.tag, _depth + 1); + message.tag = $root.ProtoTag.fromObject(object.tag); } if (object.paragraphSetDefault != null) { if (typeof object.paragraphSetDefault !== "object") throw TypeError(".Node.paragraphSetDefault: object expected"); - message.paragraphSetDefault = $root.ProtoParagraphSetDefault.fromObject(object.paragraphSetDefault, _depth + 1); + message.paragraphSetDefault = $root.ProtoParagraphSetDefault.fromObject(object.paragraphSetDefault); } if (object.inputFieldText != null) { if (typeof object.inputFieldText !== "object") throw TypeError(".Node.inputFieldText: object expected"); - message.inputFieldText = $root.ProtoInputFieldText.fromObject(object.inputFieldText, _depth + 1); + message.inputFieldText = $root.ProtoInputFieldText.fromObject(object.inputFieldText); } if (object.inputFieldDate != null) { if (typeof object.inputFieldDate !== "object") throw TypeError(".Node.inputFieldDate: object expected"); - message.inputFieldDate = $root.ProtoInputFieldDate.fromObject(object.inputFieldDate, _depth + 1); + message.inputFieldDate = $root.ProtoInputFieldDate.fromObject(object.inputFieldDate); } if (object.inputFieldCheckbox != null) { if (typeof object.inputFieldCheckbox !== "object") throw TypeError(".Node.inputFieldCheckbox: object expected"); - message.inputFieldCheckbox = $root.ProtoInputFieldCheckbox.fromObject(object.inputFieldCheckbox, _depth + 1); + message.inputFieldCheckbox = $root.ProtoInputFieldCheckbox.fromObject(object.inputFieldCheckbox); } if (object.inputFieldLabel != null) { if (typeof object.inputFieldLabel !== "object") throw TypeError(".Node.inputFieldLabel: object expected"); - message.inputFieldLabel = $root.ProtoInputFieldLabel.fromObject(object.inputFieldLabel, _depth + 1); + message.inputFieldLabel = $root.ProtoInputFieldLabel.fromObject(object.inputFieldLabel); } if (object.inputFieldDropdown != null) { if (typeof object.inputFieldDropdown !== "object") throw TypeError(".Node.inputFieldDropdown: object expected"); - message.inputFieldDropdown = $root.ProtoInputFieldDropdown.fromObject(object.inputFieldDropdown, _depth + 1); + message.inputFieldDropdown = $root.ProtoInputFieldDropdown.fromObject(object.inputFieldDropdown); } return message; }; @@ -36130,7 +32204,7 @@ $root.Node = (function() { if (options.arrays || options.defaults) object.children = []; if (message.children && message.children.length) { - object.children = Array(message.children.length); + object.children = []; for (var j = 0; j < message.children.length; ++j) object.children[j] = $root.Node.toObject(message.children[j], options); } @@ -36469,17 +32543,18 @@ $root.Node = (function() { }; /** - * Gets the type url for Node + * Gets the default type url for Node * @function getTypeUrl * @memberof Node * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - Node.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/Node"; + Node.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/Node"; }; return Node; @@ -36717,7 +32792,6 @@ $root.ProtoImage = (function() { * @property {ProtoImageUAMode|null} [uaMode] ProtoImage uaMode * @property {string|null} [uaDescription] ProtoImage uaDescription * @property {IProtoBoxedBool|null} [leftBorderIsLeftMeasure] ProtoImage leftBorderIsLeftMeasure - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -36727,13 +32801,12 @@ $root.ProtoImage = (function() { * @implements IProtoImage * @constructor * @param {IProtoImage=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoImage(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -37022,9 +33095,6 @@ $root.ProtoImage = (function() { writer.uint32(/* id 25, wireType 2 =*/202).string(message.uaDescription); if (message.leftBorderIsLeftMeasure != null && Object.hasOwnProperty.call(message, "leftBorderIsLeftMeasure")) $root.ProtoBoxedBool.encode(message.leftBorderIsLeftMeasure, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -37052,227 +33122,124 @@ $root.ProtoImage = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoImage.decode = function decode(reader, length, _end, _depth, _target) { + ProtoImage.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoImage(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoImage(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.alt = value; - else - delete message.alt; - continue; + message.alt = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.src = value; - else - delete message.src; - continue; + message.src = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.filename = value; - else - delete message.filename; - continue; + message.filename = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - message.scale = $root.ProtoBoxedDouble.decode(reader, reader.uint32(), undefined, _depth + 1, message.scale); - continue; + message.scale = $root.ProtoBoxedDouble.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.columnScale = $root.ProtoBoxedDouble.decode(reader, reader.uint32(), undefined, _depth + 1, message.columnScale); - continue; + message.columnScale = $root.ProtoBoxedDouble.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 2) - break; - message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 2) - break; - message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.height); - continue; + message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 10: { - if (wireType !== 2) - break; - message.x = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.x); - continue; + message.x = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 11: { - if (wireType !== 2) - break; - message.y = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.y); - continue; + message.y = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 12: { - if (wireType !== 2) - break; - message.positionAbsolute = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.positionAbsolute); - continue; + message.positionAbsolute = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 13: { - if (wireType !== 1) - break; - if ((value = reader.double()) !== 0) - message.rotation = value; - else - delete message.rotation; - continue; + message.rotation = reader.double(); + break; } case 14: { - if (wireType !== 2) - break; - message.flipSettings = $root.ProtoFlipSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.flipSettings); - continue; + message.flipSettings = $root.ProtoFlipSettings.decode(reader, reader.uint32()); + break; } case 15: { - if (wireType !== 2) - break; - message.cropSettings = $root.ProtoCropSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.cropSettings); - continue; + message.cropSettings = $root.ProtoCropSettings.decode(reader, reader.uint32()); + break; } case 16: { - if (wireType !== 2) - break; - message.aia = $root.ProtoAdvancedIllustrationAreaImageSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.aia); - continue; + message.aia = $root.ProtoAdvancedIllustrationAreaImageSettings.decode(reader, reader.uint32()); + break; } case 17: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 18: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.referencePoint = value; - else - delete message.referencePoint; - continue; + message.referencePoint = reader.int32(); + break; } case 19: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.hyperlink = value; - else - delete message.hyperlink; - continue; + message.hyperlink = reader.string(); + break; } case 20: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 21: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.imageContentType = value; - else - delete message.imageContentType; - continue; + message.imageContentType = reader.int32(); + break; } case 22: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.imageContent = value; - else - delete message.imageContent; - continue; + message.imageContent = reader.string(); + break; } case 23: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.scaleType = value; - else - delete message.scaleType; - continue; + message.scaleType = reader.int32(); + break; } case 24: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.uaMode = value; - else - delete message.uaMode; - continue; + message.uaMode = reader.int32(); + break; } case 25: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uaDescription = value; - else - delete message.uaDescription; - continue; + message.uaDescription = reader.string(); + break; } case 26: { - if (wireType !== 2) - break; - message.leftBorderIsLeftMeasure = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.leftBorderIsLeftMeasure); - continue; + message.leftBorderIsLeftMeasure = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -37300,15 +33267,11 @@ $root.ProtoImage = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoImage.verify = function verify(message, _depth) { + ProtoImage.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -37325,37 +33288,37 @@ $root.ProtoImage = (function() { if (!$util.isString(message.filename)) return "filename: string expected"; if (message.scale != null && message.hasOwnProperty("scale")) { - var error = $root.ProtoBoxedDouble.verify(message.scale, _depth + 1); + var error = $root.ProtoBoxedDouble.verify(message.scale); if (error) return "scale." + error; } if (message.columnScale != null && message.hasOwnProperty("columnScale")) { - var error = $root.ProtoBoxedDouble.verify(message.columnScale, _depth + 1); + var error = $root.ProtoBoxedDouble.verify(message.columnScale); if (error) return "columnScale." + error; } if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoBoxedMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.width); if (error) return "width." + error; } if (message.height != null && message.hasOwnProperty("height")) { - var error = $root.ProtoBoxedMeasure.verify(message.height, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.height); if (error) return "height." + error; } if (message.x != null && message.hasOwnProperty("x")) { - var error = $root.ProtoBoxedMeasure.verify(message.x, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.x); if (error) return "x." + error; } if (message.y != null && message.hasOwnProperty("y")) { - var error = $root.ProtoBoxedMeasure.verify(message.y, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.y); if (error) return "y." + error; } if (message.positionAbsolute != null && message.hasOwnProperty("positionAbsolute")) { - var error = $root.ProtoBoxedBool.verify(message.positionAbsolute, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.positionAbsolute); if (error) return "positionAbsolute." + error; } @@ -37363,17 +33326,17 @@ $root.ProtoImage = (function() { if (typeof message.rotation !== "number") return "rotation: number expected"; if (message.flipSettings != null && message.hasOwnProperty("flipSettings")) { - var error = $root.ProtoFlipSettings.verify(message.flipSettings, _depth + 1); + var error = $root.ProtoFlipSettings.verify(message.flipSettings); if (error) return "flipSettings." + error; } if (message.cropSettings != null && message.hasOwnProperty("cropSettings")) { - var error = $root.ProtoCropSettings.verify(message.cropSettings, _depth + 1); + var error = $root.ProtoCropSettings.verify(message.cropSettings); if (error) return "cropSettings." + error; } if (message.aia != null && message.hasOwnProperty("aia")) { - var error = $root.ProtoAdvancedIllustrationAreaImageSettings.verify(message.aia, _depth + 1); + var error = $root.ProtoAdvancedIllustrationAreaImageSettings.verify(message.aia); if (error) return "aia." + error; } @@ -37440,7 +33403,7 @@ $root.ProtoImage = (function() { if (!$util.isString(message.uaDescription)) return "uaDescription: string expected"; if (message.leftBorderIsLeftMeasure != null && message.hasOwnProperty("leftBorderIsLeftMeasure")) { - var error = $root.ProtoBoxedBool.verify(message.leftBorderIsLeftMeasure, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.leftBorderIsLeftMeasure); if (error) return "leftBorderIsLeftMeasure." + error; } @@ -37455,219 +33418,202 @@ $root.ProtoImage = (function() { * @param {Object.} object Plain object * @returns {ProtoImage} ProtoImage */ - ProtoImage.fromObject = function fromObject(object, _depth) { + ProtoImage.fromObject = function fromObject(object) { if (object instanceof $root.ProtoImage) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoImage(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoImage.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.alt != null) - if (typeof object.alt !== "string" || object.alt.length) - message.alt = String(object.alt); + message.alt = String(object.alt); if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.src != null) - if (typeof object.src !== "string" || object.src.length) - message.src = String(object.src); + message.src = String(object.src); if (object.filename != null) - if (typeof object.filename !== "string" || object.filename.length) - message.filename = String(object.filename); + message.filename = String(object.filename); if (object.scale != null) { if (typeof object.scale !== "object") throw TypeError(".ProtoImage.scale: object expected"); - message.scale = $root.ProtoBoxedDouble.fromObject(object.scale, _depth + 1); + message.scale = $root.ProtoBoxedDouble.fromObject(object.scale); } if (object.columnScale != null) { if (typeof object.columnScale !== "object") throw TypeError(".ProtoImage.columnScale: object expected"); - message.columnScale = $root.ProtoBoxedDouble.fromObject(object.columnScale, _depth + 1); + message.columnScale = $root.ProtoBoxedDouble.fromObject(object.columnScale); } if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoImage.width: object expected"); - message.width = $root.ProtoBoxedMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoBoxedMeasure.fromObject(object.width); } if (object.height != null) { if (typeof object.height !== "object") throw TypeError(".ProtoImage.height: object expected"); - message.height = $root.ProtoBoxedMeasure.fromObject(object.height, _depth + 1); + message.height = $root.ProtoBoxedMeasure.fromObject(object.height); } if (object.x != null) { if (typeof object.x !== "object") throw TypeError(".ProtoImage.x: object expected"); - message.x = $root.ProtoBoxedMeasure.fromObject(object.x, _depth + 1); + message.x = $root.ProtoBoxedMeasure.fromObject(object.x); } if (object.y != null) { if (typeof object.y !== "object") throw TypeError(".ProtoImage.y: object expected"); - message.y = $root.ProtoBoxedMeasure.fromObject(object.y, _depth + 1); + message.y = $root.ProtoBoxedMeasure.fromObject(object.y); } if (object.positionAbsolute != null) { if (typeof object.positionAbsolute !== "object") throw TypeError(".ProtoImage.positionAbsolute: object expected"); - message.positionAbsolute = $root.ProtoBoxedBool.fromObject(object.positionAbsolute, _depth + 1); + message.positionAbsolute = $root.ProtoBoxedBool.fromObject(object.positionAbsolute); } if (object.rotation != null) - if (Number(object.rotation) !== 0) - message.rotation = Number(object.rotation); + message.rotation = Number(object.rotation); if (object.flipSettings != null) { if (typeof object.flipSettings !== "object") throw TypeError(".ProtoImage.flipSettings: object expected"); - message.flipSettings = $root.ProtoFlipSettings.fromObject(object.flipSettings, _depth + 1); + message.flipSettings = $root.ProtoFlipSettings.fromObject(object.flipSettings); } if (object.cropSettings != null) { if (typeof object.cropSettings !== "object") throw TypeError(".ProtoImage.cropSettings: object expected"); - message.cropSettings = $root.ProtoCropSettings.fromObject(object.cropSettings, _depth + 1); + message.cropSettings = $root.ProtoCropSettings.fromObject(object.cropSettings); } if (object.aia != null) { if (typeof object.aia !== "object") throw TypeError(".ProtoImage.aia: object expected"); - message.aia = $root.ProtoAdvancedIllustrationAreaImageSettings.fromObject(object.aia, _depth + 1); + message.aia = $root.ProtoAdvancedIllustrationAreaImageSettings.fromObject(object.aia); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); - if (object.referencePoint !== 0 && (typeof object.referencePoint !== "string" || $root.ProtoImageReferencePoint[object.referencePoint] !== 0)) - switch (object.referencePoint) { - default: - if (typeof object.referencePoint === "number") { - message.referencePoint = object.referencePoint; - break; - } - break; - case "REF_POINT_DO_NOT_USE_AT_ALL": - case 0: - message.referencePoint = 0; - break; - case "REF_POINT_BOTTOM_LEFT": - case 1: - message.referencePoint = 1; - break; - case "REF_POINT_TOP_LEFT": - case 2: - message.referencePoint = 2; - break; - case "REF_POINT_CENTER": - case 3: - message.referencePoint = 3; - break; - case "REF_POINT_BOTTOM_RIGHT": - case 4: - message.referencePoint = 4; - break; - case "REF_POINT_TOP_RIGHT": - case 5: - message.referencePoint = 5; - break; - } + message.uuid = String(object.uuid); + switch (object.referencePoint) { + default: + if (typeof object.referencePoint === "number") { + message.referencePoint = object.referencePoint; + break; + } + break; + case "REF_POINT_DO_NOT_USE_AT_ALL": + case 0: + message.referencePoint = 0; + break; + case "REF_POINT_BOTTOM_LEFT": + case 1: + message.referencePoint = 1; + break; + case "REF_POINT_TOP_LEFT": + case 2: + message.referencePoint = 2; + break; + case "REF_POINT_CENTER": + case 3: + message.referencePoint = 3; + break; + case "REF_POINT_BOTTOM_RIGHT": + case 4: + message.referencePoint = 4; + break; + case "REF_POINT_TOP_RIGHT": + case 5: + message.referencePoint = 5; + break; + } if (object.hyperlink != null) - if (typeof object.hyperlink !== "string" || object.hyperlink.length) - message.hyperlink = String(object.hyperlink); + message.hyperlink = String(object.hyperlink); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoImage.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } - if (object.imageContentType !== 0 && (typeof object.imageContentType !== "string" || $root.ProtoImageContentType[object.imageContentType] !== 0)) - switch (object.imageContentType) { - default: - if (typeof object.imageContentType === "number") { - message.imageContentType = object.imageContentType; - break; - } - break; - case "IMAGE_CONTENT_UUID_REFERENCE_INLINE": - case 0: - message.imageContentType = 0; - break; - case "IMAGE_CONTENT_UUID_REFERENCE_LOCAL": - case 1: - message.imageContentType = 1; - break; - case "IMAGE_CONTENT_UUID_REFERENCE_GLOBAL": - case 2: - message.imageContentType = 2; - break; - case "IMAGE_CONTENT_DMSCRIPT": - case 3: - message.imageContentType = 3; - break; - case "IMAGE_CONTENT_IMAGE_DATA": - case 4: - message.imageContentType = 4; - break; - } + switch (object.imageContentType) { + default: + if (typeof object.imageContentType === "number") { + message.imageContentType = object.imageContentType; + break; + } + break; + case "IMAGE_CONTENT_UUID_REFERENCE_INLINE": + case 0: + message.imageContentType = 0; + break; + case "IMAGE_CONTENT_UUID_REFERENCE_LOCAL": + case 1: + message.imageContentType = 1; + break; + case "IMAGE_CONTENT_UUID_REFERENCE_GLOBAL": + case 2: + message.imageContentType = 2; + break; + case "IMAGE_CONTENT_DMSCRIPT": + case 3: + message.imageContentType = 3; + break; + case "IMAGE_CONTENT_IMAGE_DATA": + case 4: + message.imageContentType = 4; + break; + } if (object.imageContent != null) - if (typeof object.imageContent !== "string" || object.imageContent.length) - message.imageContent = String(object.imageContent); - if (object.scaleType !== 0 && (typeof object.scaleType !== "string" || $root.ProtoImageScaleType[object.scaleType] !== 0)) - switch (object.scaleType) { - default: - if (typeof object.scaleType === "number") { - message.scaleType = object.scaleType; - break; - } - break; - case "IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL": - case 0: - message.scaleType = 0; - break; - case "IMAGE_SCALE_TYPE_RELATIVE": - case 1: - message.scaleType = 1; - break; - case "IMAGE_SCALE_TYPE_ABSOLUTE": - case 2: - message.scaleType = 2; - break; - case "IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN": - case 3: - message.scaleType = 3; - break; - } - if (object.uaMode !== 0 && (typeof object.uaMode !== "string" || $root.ProtoImageUAMode[object.uaMode] !== 0)) - switch (object.uaMode) { - default: - if (typeof object.uaMode === "number") { - message.uaMode = object.uaMode; - break; - } - break; - case "IMAGE_UA_MODE_DO_NOT_USE_AT_ALL": - case 0: - message.uaMode = 0; - break; - case "IMAGE_UA_MODE_INHERITED": - case 1: - message.uaMode = 1; - break; - case "IMAGE_UA_MODE_SIMPLE": - case 2: - message.uaMode = 2; - break; - case "IMAGE_UA_MODE_ADVANCED": - case 3: - message.uaMode = 3; - break; - } + message.imageContent = String(object.imageContent); + switch (object.scaleType) { + default: + if (typeof object.scaleType === "number") { + message.scaleType = object.scaleType; + break; + } + break; + case "IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL": + case 0: + message.scaleType = 0; + break; + case "IMAGE_SCALE_TYPE_RELATIVE": + case 1: + message.scaleType = 1; + break; + case "IMAGE_SCALE_TYPE_ABSOLUTE": + case 2: + message.scaleType = 2; + break; + case "IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN": + case 3: + message.scaleType = 3; + break; + } + switch (object.uaMode) { + default: + if (typeof object.uaMode === "number") { + message.uaMode = object.uaMode; + break; + } + break; + case "IMAGE_UA_MODE_DO_NOT_USE_AT_ALL": + case 0: + message.uaMode = 0; + break; + case "IMAGE_UA_MODE_INHERITED": + case 1: + message.uaMode = 1; + break; + case "IMAGE_UA_MODE_SIMPLE": + case 2: + message.uaMode = 2; + break; + case "IMAGE_UA_MODE_ADVANCED": + case 3: + message.uaMode = 3; + break; + } if (object.uaDescription != null) - if (typeof object.uaDescription !== "string" || object.uaDescription.length) - message.uaDescription = String(object.uaDescription); + message.uaDescription = String(object.uaDescription); if (object.leftBorderIsLeftMeasure != null) { if (typeof object.leftBorderIsLeftMeasure !== "object") throw TypeError(".ProtoImage.leftBorderIsLeftMeasure: object expected"); - message.leftBorderIsLeftMeasure = $root.ProtoBoxedBool.fromObject(object.leftBorderIsLeftMeasure, _depth + 1); + message.leftBorderIsLeftMeasure = $root.ProtoBoxedBool.fromObject(object.leftBorderIsLeftMeasure); } return message; }; @@ -37753,7 +33699,7 @@ $root.ProtoImage = (function() { if (message.hyperlink != null && message.hasOwnProperty("hyperlink")) object.hyperlink = message.hyperlink; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -37784,17 +33730,18 @@ $root.ProtoImage = (function() { }; /** - * Gets the type url for ProtoImage + * Gets the default type url for ProtoImage * @function getTypeUrl * @memberof ProtoImage * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoImage.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoImage"; + ProtoImage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoImage"; }; return ProtoImage; @@ -37813,7 +33760,6 @@ $root.ProtoDirectory = (function() { * @property {ProtoSemanticType|null} [semanticType] ProtoDirectory semanticType * @property {boolean|null} [editable] ProtoDirectory editable * @property {string|null} [name] ProtoDirectory name - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -37823,14 +33769,13 @@ $root.ProtoDirectory = (function() { * @implements IProtoDirectory * @constructor * @param {IProtoDirectory=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoDirectory(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -37930,9 +33875,6 @@ $root.ProtoDirectory = (function() { writer.uint32(/* id 6, wireType 0 =*/48).bool(message.editable); if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.name); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -37960,88 +33902,50 @@ $root.ProtoDirectory = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoDirectory.decode = function decode(reader, length, _end, _depth, _target) { + ProtoDirectory.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoDirectory(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDirectory(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.semanticType = value; - else - delete message.semanticType; - continue; + message.semanticType = reader.int32(); + break; } case 6: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.editable = value; - else - delete message.editable; - continue; + message.editable = reader.bool(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -38069,24 +33973,20 @@ $root.ProtoDirectory = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoDirectory.verify = function verify(message, _depth) { + ProtoDirectory.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -38128,74 +34028,66 @@ $root.ProtoDirectory = (function() { * @param {Object.} object Plain object * @returns {ProtoDirectory} ProtoDirectory */ - ProtoDirectory.fromObject = function fromObject(object, _depth) { + ProtoDirectory.fromObject = function fromObject(object) { if (object instanceof $root.ProtoDirectory) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoDirectory(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoDirectory._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoDirectory._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoDirectory.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoDirectory.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } - if (object.semanticType !== 0 && (typeof object.semanticType !== "string" || $root.ProtoSemanticType[object.semanticType] !== 0)) - switch (object.semanticType) { - default: - if (typeof object.semanticType === "number") { - message.semanticType = object.semanticType; - break; - } - break; - case "SEMANTIC_TYPE_NONE": - case 0: - message.semanticType = 0; - break; - case "SEMANTIC_TYPE_PART": - case 1: - message.semanticType = 1; - break; - case "SEMANTIC_TYPE_ART": - case 2: - message.semanticType = 2; - break; - case "SEMANTIC_TYPE_SECT": - case 3: - message.semanticType = 3; - break; - case "SEMANTIC_TYPE_DIV": - case 4: - message.semanticType = 4; - break; - } + switch (object.semanticType) { + default: + if (typeof object.semanticType === "number") { + message.semanticType = object.semanticType; + break; + } + break; + case "SEMANTIC_TYPE_NONE": + case 0: + message.semanticType = 0; + break; + case "SEMANTIC_TYPE_PART": + case 1: + message.semanticType = 1; + break; + case "SEMANTIC_TYPE_ART": + case 2: + message.semanticType = 2; + break; + case "SEMANTIC_TYPE_SECT": + case 3: + message.semanticType = 3; + break; + case "SEMANTIC_TYPE_DIV": + case 4: + message.semanticType = 4; + break; + } if (object.editable != null) - if (object.editable) - message.editable = Boolean(object.editable); + message.editable = Boolean(object.editable); if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); return message; }; @@ -38224,7 +34116,7 @@ $root.ProtoDirectory = (function() { object.name = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -38233,7 +34125,7 @@ $root.ProtoDirectory = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -38258,17 +34150,18 @@ $root.ProtoDirectory = (function() { }; /** - * Gets the type url for ProtoDirectory + * Gets the default type url for ProtoDirectory * @function getTypeUrl * @memberof ProtoDirectory * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoDirectory.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoDirectory"; + ProtoDirectory.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoDirectory"; }; return ProtoDirectory; @@ -38287,7 +34180,6 @@ $root.ProtoTextBrick = (function() { * @property {Array.|null} [comChannelUUIDs] ProtoTextBrick comChannelUUIDs * @property {boolean|null} [editable] ProtoTextBrick editable * @property {string|null} [name] ProtoTextBrick name - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -38297,14 +34189,13 @@ $root.ProtoTextBrick = (function() { * @implements IProtoTextBrick * @constructor * @param {IProtoTextBrick=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTextBrick(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -38404,9 +34295,6 @@ $root.ProtoTextBrick = (function() { writer.uint32(/* id 6, wireType 0 =*/48).bool(message.editable); if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.name); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -38434,88 +34322,50 @@ $root.ProtoTextBrick = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTextBrick.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTextBrick.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTextBrick(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTextBrick(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 0) - break; - if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0) - message.id = value; - else - delete message.id; - continue; + message.id = reader.uint64(); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 6: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.editable = value; - else - delete message.editable; - continue; + message.editable = reader.bool(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -38543,24 +34393,20 @@ $root.ProtoTextBrick = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTextBrick.verify = function verify(message, _depth) { + ProtoTextBrick.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -38594,55 +34440,47 @@ $root.ProtoTextBrick = (function() { * @param {Object.} object Plain object * @returns {ProtoTextBrick} ProtoTextBrick */ - ProtoTextBrick.fromObject = function fromObject(object, _depth) { + ProtoTextBrick.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTextBrick) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTextBrick(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoTextBrick._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoTextBrick._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTextBrick.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.id != null) - if (typeof object.id === "object" ? object.id.low || object.id.high : Number(object.id) !== 0) - if ($util.Long) - (message.id = $util.Long.fromValue(object.id)).unsigned = true; - else if (typeof object.id === "string") - message.id = parseInt(object.id, 10); - else if (typeof object.id === "number") - message.id = object.id; - else if (typeof object.id === "object") - message.id = new $util.LongBits(object.id.low >>> 0, object.id.high >>> 0).toNumber(true); + if ($util.Long) + (message.id = $util.Long.fromValue(object.id)).unsigned = true; + else if (typeof object.id === "string") + message.id = parseInt(object.id, 10); + else if (typeof object.id === "number") + message.id = object.id; + else if (typeof object.id === "object") + message.id = new $util.LongBits(object.id.low >>> 0, object.id.high >>> 0).toNumber(true); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTextBrick.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.editable != null) - if (object.editable) - message.editable = Boolean(object.editable); + message.editable = Boolean(object.editable); if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); return message; }; @@ -38675,7 +34513,7 @@ $root.ProtoTextBrick = (function() { object.name = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -38689,7 +34527,7 @@ $root.ProtoTextBrick = (function() { else object.id = options.longs === String ? $util.Long.prototype.toString.call(message.id) : options.longs === Number ? new $util.LongBits(message.id.low >>> 0, message.id.high >>> 0).toNumber(true) : message.id; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -38712,17 +34550,18 @@ $root.ProtoTextBrick = (function() { }; /** - * Gets the type url for ProtoTextBrick + * Gets the default type url for ProtoTextBrick * @function getTypeUrl * @memberof ProtoTextBrick * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTextBrick.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTextBrick"; + ProtoTextBrick.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTextBrick"; }; return ProtoTextBrick; @@ -38741,7 +34580,6 @@ $root.ProtoVariable = (function() { * @property {ProtoVariableSpecialType|null} [specialType] ProtoVariable specialType * @property {string|null} [uuid] ProtoVariable uuid * @property {Array.|null} [comChannelUUIDs] ProtoVariable comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -38751,13 +34589,12 @@ $root.ProtoVariable = (function() { * @implements IProtoVariable * @constructor * @param {IProtoVariable=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoVariable(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -38856,9 +34693,6 @@ $root.ProtoVariable = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 7, wireType 2 =*/58).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -38886,89 +34720,48 @@ $root.ProtoVariable = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoVariable.decode = function decode(reader, length, _end, _depth, _target) { + ProtoVariable.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoVariable(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoVariable(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.path = value; - else - delete message.path; - continue; + message.path = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.content = value; - else - delete message.content; - continue; + message.content = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.formatUuid = value; - else - delete message.formatUuid; - continue; + message.formatUuid = reader.string(); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.specialType = value; - else - delete message.specialType; - continue; + message.specialType = reader.int32(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -38996,15 +34789,11 @@ $root.ProtoVariable = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoVariable.verify = function verify(message, _depth) { + ProtoVariable.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -39054,84 +34843,75 @@ $root.ProtoVariable = (function() { * @param {Object.} object Plain object * @returns {ProtoVariable} ProtoVariable */ - ProtoVariable.fromObject = function fromObject(object, _depth) { + ProtoVariable.fromObject = function fromObject(object) { if (object instanceof $root.ProtoVariable) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoVariable(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoVariable.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.path != null) - if (typeof object.path !== "string" || object.path.length) - message.path = String(object.path); + message.path = String(object.path); if (object.content != null) - if (typeof object.content !== "string" || object.content.length) - message.content = String(object.content); + message.content = String(object.content); if (object.formatUuid != null) - if (typeof object.formatUuid !== "string" || object.formatUuid.length) - message.formatUuid = String(object.formatUuid); - if (object.specialType !== 0 && (typeof object.specialType !== "string" || $root.ProtoVariableSpecialType[object.specialType] !== 0)) - switch (object.specialType) { - default: - if (typeof object.specialType === "number") { - message.specialType = object.specialType; - break; - } - break; - case "NOT_SPECIAL": - case 0: - message.specialType = 0; - break; - case "TABLE_NUMBER": - case 1: - message.specialType = 1; - break; - case "DOC_PAGE_COUNT": - case 2: - message.specialType = 2; - break; - case "DOC_CUR_PAGE": - case 3: - message.specialType = 3; - break; - case "CUR_PAGE": - case 4: - message.specialType = 4; - break; - case "PAGE_COUNT": - case 5: - message.specialType = 5; - break; - case "PREV_PAGE": - case 6: - message.specialType = 6; - break; - case "SECTION_PAGE": - case 7: - message.specialType = 7; - break; - case "UPDATED_AT": - case 8: - message.specialType = 8; - break; - case "GENERATED_AT": - case 9: - message.specialType = 9; - break; - } + message.formatUuid = String(object.formatUuid); + switch (object.specialType) { + default: + if (typeof object.specialType === "number") { + message.specialType = object.specialType; + break; + } + break; + case "NOT_SPECIAL": + case 0: + message.specialType = 0; + break; + case "TABLE_NUMBER": + case 1: + message.specialType = 1; + break; + case "DOC_PAGE_COUNT": + case 2: + message.specialType = 2; + break; + case "DOC_CUR_PAGE": + case 3: + message.specialType = 3; + break; + case "CUR_PAGE": + case 4: + message.specialType = 4; + break; + case "PAGE_COUNT": + case 5: + message.specialType = 5; + break; + case "PREV_PAGE": + case 6: + message.specialType = 6; + break; + case "SECTION_PAGE": + case 7: + message.specialType = 7; + break; + case "UPDATED_AT": + case 8: + message.specialType = 8; + break; + case "GENERATED_AT": + case 9: + message.specialType = 9; + break; + } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoVariable.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -39174,7 +34954,7 @@ $root.ProtoVariable = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -39193,17 +34973,18 @@ $root.ProtoVariable = (function() { }; /** - * Gets the type url for ProtoVariable + * Gets the default type url for ProtoVariable * @function getTypeUrl * @memberof ProtoVariable * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoVariable.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoVariable"; + ProtoVariable.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoVariable"; }; return ProtoVariable; @@ -39254,7 +35035,7 @@ $root.ProtoFormatted = (function() { * @property {string|null} [textContent] ProtoFormatted textContent * @property {string|null} [textCode] ProtoFormatted textCode * @property {Array.|null} [comChannelUUIDs] ProtoFormatted comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoFormatted uuid */ /** @@ -39264,13 +35045,12 @@ $root.ProtoFormatted = (function() { * @implements IProtoFormatted * @constructor * @param {IProtoFormatted=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoFormatted(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -39346,6 +35126,14 @@ $root.ProtoFormatted = (function() { */ ProtoFormatted.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoFormatted uuid. + * @member {string} uuid + * @memberof ProtoFormatted + * @instance + */ + ProtoFormatted.prototype.uuid = ""; + /** * Creates a new ProtoFormatted instance using the specified properties. * @function create @@ -39389,9 +35177,8 @@ $root.ProtoFormatted = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 9, wireType 2 =*/74).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 10, wireType 2 =*/82).string(message.uuid); return writer; }; @@ -39419,107 +35206,60 @@ $root.ProtoFormatted = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoFormatted.decode = function decode(reader, length, _end, _depth, _target) { + ProtoFormatted.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoFormatted(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoFormatted(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.dteditorSyntax = value; - else - delete message.dteditorSyntax; - continue; + message.dteditorSyntax = reader.bool(); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.doctypeContent = value; - else - delete message.doctypeContent; - continue; + message.doctypeContent = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.doctypeCode = value; - else - delete message.doctypeCode; - continue; + message.doctypeCode = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.htmlContent = value; - else - delete message.htmlContent; - continue; + message.htmlContent = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.htmlCode = value; - else - delete message.htmlCode; - continue; + message.htmlCode = reader.string(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.textContent = value; - else - delete message.textContent; - continue; + message.textContent = reader.string(); + break; } case 8: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.textCode = value; - else - delete message.textCode; - continue; + message.textCode = reader.string(); + break; } case 9: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 10: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -39547,15 +35287,11 @@ $root.ProtoFormatted = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoFormatted.verify = function verify(message, _depth) { + ProtoFormatted.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -39587,6 +35323,9 @@ $root.ProtoFormatted = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -39598,47 +35337,38 @@ $root.ProtoFormatted = (function() { * @param {Object.} object Plain object * @returns {ProtoFormatted} ProtoFormatted */ - ProtoFormatted.fromObject = function fromObject(object, _depth) { + ProtoFormatted.fromObject = function fromObject(object) { if (object instanceof $root.ProtoFormatted) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoFormatted(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoFormatted.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.dteditorSyntax != null) - if (object.dteditorSyntax) - message.dteditorSyntax = Boolean(object.dteditorSyntax); + message.dteditorSyntax = Boolean(object.dteditorSyntax); if (object.doctypeContent != null) - if (typeof object.doctypeContent !== "string" || object.doctypeContent.length) - message.doctypeContent = String(object.doctypeContent); + message.doctypeContent = String(object.doctypeContent); if (object.doctypeCode != null) - if (typeof object.doctypeCode !== "string" || object.doctypeCode.length) - message.doctypeCode = String(object.doctypeCode); + message.doctypeCode = String(object.doctypeCode); if (object.htmlContent != null) - if (typeof object.htmlContent !== "string" || object.htmlContent.length) - message.htmlContent = String(object.htmlContent); + message.htmlContent = String(object.htmlContent); if (object.htmlCode != null) - if (typeof object.htmlCode !== "string" || object.htmlCode.length) - message.htmlCode = String(object.htmlCode); + message.htmlCode = String(object.htmlCode); if (object.textContent != null) - if (typeof object.textContent !== "string" || object.textContent.length) - message.textContent = String(object.textContent); + message.textContent = String(object.textContent); if (object.textCode != null) - if (typeof object.textCode !== "string" || object.textCode.length) - message.textCode = String(object.textCode); + message.textCode = String(object.textCode); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoFormatted.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -39666,6 +35396,7 @@ $root.ProtoFormatted = (function() { object.htmlCode = ""; object.textContent = ""; object.textCode = ""; + object.uuid = ""; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); @@ -39684,10 +35415,12 @@ $root.ProtoFormatted = (function() { if (message.textCode != null && message.hasOwnProperty("textCode")) object.textCode = message.textCode; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -39703,17 +35436,18 @@ $root.ProtoFormatted = (function() { }; /** - * Gets the type url for ProtoFormatted + * Gets the default type url for ProtoFormatted * @function getTypeUrl * @memberof ProtoFormatted * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoFormatted.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoFormatted"; + ProtoFormatted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoFormatted"; }; return ProtoFormatted; @@ -39727,7 +35461,7 @@ $root.ProtoApplyProtoCDef = (function() { * @interface IProtoApplyProtoCDef * @property {string|null} [cDefUuid] ProtoApplyProtoCDef cDefUuid * @property {Array.|null} [comChannelUUIDs] ProtoApplyProtoCDef comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoApplyProtoCDef uuid */ /** @@ -39737,13 +35471,12 @@ $root.ProtoApplyProtoCDef = (function() { * @implements IProtoApplyProtoCDef * @constructor * @param {IProtoApplyProtoCDef=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoApplyProtoCDef(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -39763,6 +35496,14 @@ $root.ProtoApplyProtoCDef = (function() { */ ProtoApplyProtoCDef.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoApplyProtoCDef uuid. + * @member {string} uuid + * @memberof ProtoApplyProtoCDef + * @instance + */ + ProtoApplyProtoCDef.prototype.uuid = ""; + /** * Creates a new ProtoApplyProtoCDef instance using the specified properties. * @function create @@ -39792,9 +35533,8 @@ $root.ProtoApplyProtoCDef = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); return writer; }; @@ -39822,47 +35562,32 @@ $root.ProtoApplyProtoCDef = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoApplyProtoCDef.decode = function decode(reader, length, _end, _depth, _target) { + ProtoApplyProtoCDef.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoApplyProtoCDef(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoApplyProtoCDef(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.cDefUuid = value; - else - delete message.cDefUuid; - continue; + message.cDefUuid = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + case 3: { + message.uuid = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -39890,13 +35615,9 @@ $root.ProtoApplyProtoCDef = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoApplyProtoCDef.verify = function verify(message, _depth) { + ProtoApplyProtoCDef.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) if (!$util.isString(message.cDefUuid)) return "cDefUuid: string expected"; @@ -39907,6 +35628,9 @@ $root.ProtoApplyProtoCDef = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -39918,24 +35642,21 @@ $root.ProtoApplyProtoCDef = (function() { * @param {Object.} object Plain object * @returns {ProtoApplyProtoCDef} ProtoApplyProtoCDef */ - ProtoApplyProtoCDef.fromObject = function fromObject(object, _depth) { + ProtoApplyProtoCDef.fromObject = function fromObject(object) { if (object instanceof $root.ProtoApplyProtoCDef) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoApplyProtoCDef(); if (object.cDefUuid != null) - if (typeof object.cDefUuid !== "string" || object.cDefUuid.length) - message.cDefUuid = String(object.cDefUuid); + message.cDefUuid = String(object.cDefUuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoApplyProtoCDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -39954,15 +35675,19 @@ $root.ProtoApplyProtoCDef = (function() { var object = {}; if (options.arrays || options.defaults) object.comChannelUUIDs = []; - if (options.defaults) + if (options.defaults) { object.cDefUuid = ""; + object.uuid = ""; + } if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) object.cDefUuid = message.cDefUuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -39978,17 +35703,18 @@ $root.ProtoApplyProtoCDef = (function() { }; /** - * Gets the type url for ProtoApplyProtoCDef + * Gets the default type url for ProtoApplyProtoCDef * @function getTypeUrl * @memberof ProtoApplyProtoCDef * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoApplyProtoCDef.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoApplyProtoCDef"; + ProtoApplyProtoCDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoApplyProtoCDef"; }; return ProtoApplyProtoCDef; @@ -40002,7 +35728,7 @@ $root.ProtoApplyProtoPDef = (function() { * @interface IProtoApplyProtoPDef * @property {string|null} [pDefUuid] ProtoApplyProtoPDef pDefUuid * @property {Array.|null} [comChannelUUIDs] ProtoApplyProtoPDef comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoApplyProtoPDef uuid */ /** @@ -40012,13 +35738,12 @@ $root.ProtoApplyProtoPDef = (function() { * @implements IProtoApplyProtoPDef * @constructor * @param {IProtoApplyProtoPDef=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoApplyProtoPDef(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -40038,6 +35763,14 @@ $root.ProtoApplyProtoPDef = (function() { */ ProtoApplyProtoPDef.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoApplyProtoPDef uuid. + * @member {string} uuid + * @memberof ProtoApplyProtoPDef + * @instance + */ + ProtoApplyProtoPDef.prototype.uuid = ""; + /** * Creates a new ProtoApplyProtoPDef instance using the specified properties. * @function create @@ -40067,9 +35800,8 @@ $root.ProtoApplyProtoPDef = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); return writer; }; @@ -40097,47 +35829,32 @@ $root.ProtoApplyProtoPDef = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoApplyProtoPDef.decode = function decode(reader, length, _end, _depth, _target) { + ProtoApplyProtoPDef.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoApplyProtoPDef(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoApplyProtoPDef(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.pDefUuid = value; - else - delete message.pDefUuid; - continue; + message.pDefUuid = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + case 3: { + message.uuid = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -40165,13 +35882,9 @@ $root.ProtoApplyProtoPDef = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoApplyProtoPDef.verify = function verify(message, _depth) { + ProtoApplyProtoPDef.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.pDefUuid != null && message.hasOwnProperty("pDefUuid")) if (!$util.isString(message.pDefUuid)) return "pDefUuid: string expected"; @@ -40182,6 +35895,9 @@ $root.ProtoApplyProtoPDef = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -40193,24 +35909,21 @@ $root.ProtoApplyProtoPDef = (function() { * @param {Object.} object Plain object * @returns {ProtoApplyProtoPDef} ProtoApplyProtoPDef */ - ProtoApplyProtoPDef.fromObject = function fromObject(object, _depth) { + ProtoApplyProtoPDef.fromObject = function fromObject(object) { if (object instanceof $root.ProtoApplyProtoPDef) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoApplyProtoPDef(); if (object.pDefUuid != null) - if (typeof object.pDefUuid !== "string" || object.pDefUuid.length) - message.pDefUuid = String(object.pDefUuid); + message.pDefUuid = String(object.pDefUuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoApplyProtoPDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -40229,15 +35942,19 @@ $root.ProtoApplyProtoPDef = (function() { var object = {}; if (options.arrays || options.defaults) object.comChannelUUIDs = []; - if (options.defaults) + if (options.defaults) { object.pDefUuid = ""; + object.uuid = ""; + } if (message.pDefUuid != null && message.hasOwnProperty("pDefUuid")) object.pDefUuid = message.pDefUuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -40253,17 +35970,18 @@ $root.ProtoApplyProtoPDef = (function() { }; /** - * Gets the type url for ProtoApplyProtoPDef + * Gets the default type url for ProtoApplyProtoPDef * @function getTypeUrl * @memberof ProtoApplyProtoPDef * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoApplyProtoPDef.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoApplyProtoPDef"; + ProtoApplyProtoPDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoApplyProtoPDef"; }; return ProtoApplyProtoPDef; @@ -40277,7 +35995,7 @@ $root.ProtoApplyPtConfig = (function() { * @interface IProtoApplyPtConfig * @property {string|null} [ptConfigUuid] ProtoApplyPtConfig ptConfigUuid * @property {Array.|null} [comChannelUUIDs] ProtoApplyPtConfig comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoApplyPtConfig uuid */ /** @@ -40287,13 +36005,12 @@ $root.ProtoApplyPtConfig = (function() { * @implements IProtoApplyPtConfig * @constructor * @param {IProtoApplyPtConfig=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoApplyPtConfig(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -40313,6 +36030,14 @@ $root.ProtoApplyPtConfig = (function() { */ ProtoApplyPtConfig.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoApplyPtConfig uuid. + * @member {string} uuid + * @memberof ProtoApplyPtConfig + * @instance + */ + ProtoApplyPtConfig.prototype.uuid = ""; + /** * Creates a new ProtoApplyPtConfig instance using the specified properties. * @function create @@ -40342,9 +36067,8 @@ $root.ProtoApplyPtConfig = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); return writer; }; @@ -40372,47 +36096,32 @@ $root.ProtoApplyPtConfig = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoApplyPtConfig.decode = function decode(reader, length, _end, _depth, _target) { + ProtoApplyPtConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoApplyPtConfig(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoApplyPtConfig(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.ptConfigUuid = value; - else - delete message.ptConfigUuid; - continue; + message.ptConfigUuid = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 3: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -40440,13 +36149,9 @@ $root.ProtoApplyPtConfig = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoApplyPtConfig.verify = function verify(message, _depth) { + ProtoApplyPtConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.ptConfigUuid != null && message.hasOwnProperty("ptConfigUuid")) if (!$util.isString(message.ptConfigUuid)) return "ptConfigUuid: string expected"; @@ -40457,6 +36162,9 @@ $root.ProtoApplyPtConfig = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -40468,24 +36176,21 @@ $root.ProtoApplyPtConfig = (function() { * @param {Object.} object Plain object * @returns {ProtoApplyPtConfig} ProtoApplyPtConfig */ - ProtoApplyPtConfig.fromObject = function fromObject(object, _depth) { + ProtoApplyPtConfig.fromObject = function fromObject(object) { if (object instanceof $root.ProtoApplyPtConfig) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoApplyPtConfig(); if (object.ptConfigUuid != null) - if (typeof object.ptConfigUuid !== "string" || object.ptConfigUuid.length) - message.ptConfigUuid = String(object.ptConfigUuid); + message.ptConfigUuid = String(object.ptConfigUuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoApplyPtConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -40504,15 +36209,19 @@ $root.ProtoApplyPtConfig = (function() { var object = {}; if (options.arrays || options.defaults) object.comChannelUUIDs = []; - if (options.defaults) + if (options.defaults) { object.ptConfigUuid = ""; + object.uuid = ""; + } if (message.ptConfigUuid != null && message.hasOwnProperty("ptConfigUuid")) object.ptConfigUuid = message.ptConfigUuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -40528,17 +36237,18 @@ $root.ProtoApplyPtConfig = (function() { }; /** - * Gets the type url for ProtoApplyPtConfig + * Gets the default type url for ProtoApplyPtConfig * @function getTypeUrl * @memberof ProtoApplyPtConfig * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoApplyPtConfig.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoApplyPtConfig"; + ProtoApplyPtConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoApplyPtConfig"; }; return ProtoApplyPtConfig; @@ -40552,7 +36262,7 @@ $root.ProtoApplyUlConfig = (function() { * @interface IProtoApplyUlConfig * @property {string|null} [ulConfigUuid] ProtoApplyUlConfig ulConfigUuid * @property {Array.|null} [comChannelUUIDs] ProtoApplyUlConfig comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoApplyUlConfig uuid */ /** @@ -40562,13 +36272,12 @@ $root.ProtoApplyUlConfig = (function() { * @implements IProtoApplyUlConfig * @constructor * @param {IProtoApplyUlConfig=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoApplyUlConfig(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -40588,6 +36297,14 @@ $root.ProtoApplyUlConfig = (function() { */ ProtoApplyUlConfig.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoApplyUlConfig uuid. + * @member {string} uuid + * @memberof ProtoApplyUlConfig + * @instance + */ + ProtoApplyUlConfig.prototype.uuid = ""; + /** * Creates a new ProtoApplyUlConfig instance using the specified properties. * @function create @@ -40617,9 +36334,8 @@ $root.ProtoApplyUlConfig = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); return writer; }; @@ -40647,47 +36363,32 @@ $root.ProtoApplyUlConfig = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoApplyUlConfig.decode = function decode(reader, length, _end, _depth, _target) { + ProtoApplyUlConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoApplyUlConfig(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoApplyUlConfig(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.ulConfigUuid = value; - else - delete message.ulConfigUuid; - continue; + message.ulConfigUuid = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 3: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -40715,13 +36416,9 @@ $root.ProtoApplyUlConfig = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoApplyUlConfig.verify = function verify(message, _depth) { + ProtoApplyUlConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.ulConfigUuid != null && message.hasOwnProperty("ulConfigUuid")) if (!$util.isString(message.ulConfigUuid)) return "ulConfigUuid: string expected"; @@ -40732,6 +36429,9 @@ $root.ProtoApplyUlConfig = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -40743,24 +36443,21 @@ $root.ProtoApplyUlConfig = (function() { * @param {Object.} object Plain object * @returns {ProtoApplyUlConfig} ProtoApplyUlConfig */ - ProtoApplyUlConfig.fromObject = function fromObject(object, _depth) { + ProtoApplyUlConfig.fromObject = function fromObject(object) { if (object instanceof $root.ProtoApplyUlConfig) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoApplyUlConfig(); if (object.ulConfigUuid != null) - if (typeof object.ulConfigUuid !== "string" || object.ulConfigUuid.length) - message.ulConfigUuid = String(object.ulConfigUuid); + message.ulConfigUuid = String(object.ulConfigUuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoApplyUlConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -40779,15 +36476,19 @@ $root.ProtoApplyUlConfig = (function() { var object = {}; if (options.arrays || options.defaults) object.comChannelUUIDs = []; - if (options.defaults) + if (options.defaults) { object.ulConfigUuid = ""; + object.uuid = ""; + } if (message.ulConfigUuid != null && message.hasOwnProperty("ulConfigUuid")) object.ulConfigUuid = message.ulConfigUuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -40803,17 +36504,18 @@ $root.ProtoApplyUlConfig = (function() { }; /** - * Gets the type url for ProtoApplyUlConfig + * Gets the default type url for ProtoApplyUlConfig * @function getTypeUrl * @memberof ProtoApplyUlConfig * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoApplyUlConfig.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoApplyUlConfig"; + ProtoApplyUlConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoApplyUlConfig"; }; return ProtoApplyUlConfig; @@ -40830,7 +36532,6 @@ $root.ProtoCDef = (function() { * @property {IProtoBoxedBool|null} [applyImmediate] ProtoCDef applyImmediate * @property {string|null} [Uuid] ProtoCDef Uuid * @property {Array.|null} [comChannelUUIDs] ProtoCDef comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -40840,13 +36541,12 @@ $root.ProtoCDef = (function() { * @implements IProtoCDef * @constructor * @param {IProtoCDef=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoCDef(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -40925,9 +36625,6 @@ $root.ProtoCDef = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -40955,65 +36652,40 @@ $root.ProtoCDef = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoCDef.decode = function decode(reader, length, _end, _depth, _target) { + ProtoCDef.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoCDef(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCDef(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.columSettings = $root.ProtoColumnSettings.decode(reader, reader.uint32(), undefined, _depth + 1, message.columSettings); - continue; + message.columSettings = $root.ProtoColumnSettings.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.applyToHeaderFooter = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.applyToHeaderFooter); - continue; + message.applyToHeaderFooter = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.applyImmediate = $root.ProtoBoxedBool.decode(reader, reader.uint32(), undefined, _depth + 1, message.applyImmediate); - continue; + message.applyImmediate = $root.ProtoBoxedBool.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.Uuid = value; - else - delete message.Uuid; - continue; + message.Uuid = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -41041,25 +36713,21 @@ $root.ProtoCDef = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoCDef.verify = function verify(message, _depth) { + ProtoCDef.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.columSettings != null && message.hasOwnProperty("columSettings")) { - var error = $root.ProtoColumnSettings.verify(message.columSettings, _depth + 1); + var error = $root.ProtoColumnSettings.verify(message.columSettings); if (error) return "columSettings." + error; } if (message.applyToHeaderFooter != null && message.hasOwnProperty("applyToHeaderFooter")) { - var error = $root.ProtoBoxedBool.verify(message.applyToHeaderFooter, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.applyToHeaderFooter); if (error) return "applyToHeaderFooter." + error; } if (message.applyImmediate != null && message.hasOwnProperty("applyImmediate")) { - var error = $root.ProtoBoxedBool.verify(message.applyImmediate, _depth + 1); + var error = $root.ProtoBoxedBool.verify(message.applyImmediate); if (error) return "applyImmediate." + error; } @@ -41084,36 +36752,31 @@ $root.ProtoCDef = (function() { * @param {Object.} object Plain object * @returns {ProtoCDef} ProtoCDef */ - ProtoCDef.fromObject = function fromObject(object, _depth) { + ProtoCDef.fromObject = function fromObject(object) { if (object instanceof $root.ProtoCDef) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoCDef(); if (object.columSettings != null) { if (typeof object.columSettings !== "object") throw TypeError(".ProtoCDef.columSettings: object expected"); - message.columSettings = $root.ProtoColumnSettings.fromObject(object.columSettings, _depth + 1); + message.columSettings = $root.ProtoColumnSettings.fromObject(object.columSettings); } if (object.applyToHeaderFooter != null) { if (typeof object.applyToHeaderFooter !== "object") throw TypeError(".ProtoCDef.applyToHeaderFooter: object expected"); - message.applyToHeaderFooter = $root.ProtoBoxedBool.fromObject(object.applyToHeaderFooter, _depth + 1); + message.applyToHeaderFooter = $root.ProtoBoxedBool.fromObject(object.applyToHeaderFooter); } if (object.applyImmediate != null) { if (typeof object.applyImmediate !== "object") throw TypeError(".ProtoCDef.applyImmediate: object expected"); - message.applyImmediate = $root.ProtoBoxedBool.fromObject(object.applyImmediate, _depth + 1); + message.applyImmediate = $root.ProtoBoxedBool.fromObject(object.applyImmediate); } if (object.Uuid != null) - if (typeof object.Uuid !== "string" || object.Uuid.length) - message.Uuid = String(object.Uuid); + message.Uuid = String(object.Uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoCDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -41150,7 +36813,7 @@ $root.ProtoCDef = (function() { if (message.Uuid != null && message.hasOwnProperty("Uuid")) object.Uuid = message.Uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -41169,17 +36832,18 @@ $root.ProtoCDef = (function() { }; /** - * Gets the type url for ProtoCDef + * Gets the default type url for ProtoCDef * @function getTypeUrl * @memberof ProtoCDef * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoCDef.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoCDef"; + ProtoCDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoCDef"; }; return ProtoCDef; @@ -41195,7 +36859,6 @@ $root.ProtoPDef = (function() { * @property {IProtoBoxedMeasure|null} [pageDepth] ProtoPDef pageDepth * @property {string|null} [Uuid] ProtoPDef Uuid * @property {Array.|null} [comChannelUUIDs] ProtoPDef comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -41205,13 +36868,12 @@ $root.ProtoPDef = (function() { * @implements IProtoPDef * @constructor * @param {IProtoPDef=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoPDef(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -41280,9 +36942,6 @@ $root.ProtoPDef = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 4, wireType 2 =*/34).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -41310,59 +36969,36 @@ $root.ProtoPDef = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoPDef.decode = function decode(reader, length, _end, _depth, _target) { + ProtoPDef.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoPDef(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoPDef(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.pageWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.pageWidth); - continue; + message.pageWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.pageDepth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.pageDepth); - continue; + message.pageDepth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.Uuid = value; - else - delete message.Uuid; - continue; + message.Uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -41390,20 +37026,16 @@ $root.ProtoPDef = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoPDef.verify = function verify(message, _depth) { + ProtoPDef.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.pageWidth != null && message.hasOwnProperty("pageWidth")) { - var error = $root.ProtoBoxedMeasure.verify(message.pageWidth, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.pageWidth); if (error) return "pageWidth." + error; } if (message.pageDepth != null && message.hasOwnProperty("pageDepth")) { - var error = $root.ProtoBoxedMeasure.verify(message.pageDepth, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.pageDepth); if (error) return "pageDepth." + error; } @@ -41428,31 +37060,26 @@ $root.ProtoPDef = (function() { * @param {Object.} object Plain object * @returns {ProtoPDef} ProtoPDef */ - ProtoPDef.fromObject = function fromObject(object, _depth) { + ProtoPDef.fromObject = function fromObject(object) { if (object instanceof $root.ProtoPDef) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoPDef(); if (object.pageWidth != null) { if (typeof object.pageWidth !== "object") throw TypeError(".ProtoPDef.pageWidth: object expected"); - message.pageWidth = $root.ProtoBoxedMeasure.fromObject(object.pageWidth, _depth + 1); + message.pageWidth = $root.ProtoBoxedMeasure.fromObject(object.pageWidth); } if (object.pageDepth != null) { if (typeof object.pageDepth !== "object") throw TypeError(".ProtoPDef.pageDepth: object expected"); - message.pageDepth = $root.ProtoBoxedMeasure.fromObject(object.pageDepth, _depth + 1); + message.pageDepth = $root.ProtoBoxedMeasure.fromObject(object.pageDepth); } if (object.Uuid != null) - if (typeof object.Uuid !== "string" || object.Uuid.length) - message.Uuid = String(object.Uuid); + message.Uuid = String(object.Uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoPDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -41486,7 +37113,7 @@ $root.ProtoPDef = (function() { if (message.Uuid != null && message.hasOwnProperty("Uuid")) object.Uuid = message.Uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -41505,17 +37132,18 @@ $root.ProtoPDef = (function() { }; /** - * Gets the type url for ProtoPDef + * Gets the default type url for ProtoPDef * @function getTypeUrl * @memberof ProtoPDef * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoPDef.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoPDef"; + ProtoPDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoPDef"; }; return ProtoPDef; @@ -41533,7 +37161,6 @@ $root.ProtoPtConfig = (function() { * @property {IProtoBoxedMeasure|null} [spaceWidth] ProtoPtConfig spaceWidth * @property {string|null} [Uuid] ProtoPtConfig Uuid * @property {Array.|null} [comChannelUUIDs] ProtoPtConfig comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -41543,13 +37170,12 @@ $root.ProtoPtConfig = (function() { * @implements IProtoPtConfig * @constructor * @param {IProtoPtConfig=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoPtConfig(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -41638,9 +37264,6 @@ $root.ProtoPtConfig = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 6, wireType 2 =*/50).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -41668,71 +37291,44 @@ $root.ProtoPtConfig = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoPtConfig.decode = function decode(reader, length, _end, _depth, _target) { + ProtoPtConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoPtConfig(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoPtConfig(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.height); - continue; + message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.lineFeed = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.lineFeed); - continue; + message.lineFeed = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.characterWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.characterWidth); - continue; + message.characterWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.spaceWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.spaceWidth); - continue; + message.spaceWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.Uuid = value; - else - delete message.Uuid; - continue; + message.Uuid = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -41760,30 +37356,26 @@ $root.ProtoPtConfig = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoPtConfig.verify = function verify(message, _depth) { + ProtoPtConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.height != null && message.hasOwnProperty("height")) { - var error = $root.ProtoBoxedMeasure.verify(message.height, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.height); if (error) return "height." + error; } if (message.lineFeed != null && message.hasOwnProperty("lineFeed")) { - var error = $root.ProtoBoxedMeasure.verify(message.lineFeed, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.lineFeed); if (error) return "lineFeed." + error; } if (message.characterWidth != null && message.hasOwnProperty("characterWidth")) { - var error = $root.ProtoBoxedMeasure.verify(message.characterWidth, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.characterWidth); if (error) return "characterWidth." + error; } if (message.spaceWidth != null && message.hasOwnProperty("spaceWidth")) { - var error = $root.ProtoBoxedMeasure.verify(message.spaceWidth, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.spaceWidth); if (error) return "spaceWidth." + error; } @@ -41808,41 +37400,36 @@ $root.ProtoPtConfig = (function() { * @param {Object.} object Plain object * @returns {ProtoPtConfig} ProtoPtConfig */ - ProtoPtConfig.fromObject = function fromObject(object, _depth) { + ProtoPtConfig.fromObject = function fromObject(object) { if (object instanceof $root.ProtoPtConfig) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoPtConfig(); if (object.height != null) { if (typeof object.height !== "object") throw TypeError(".ProtoPtConfig.height: object expected"); - message.height = $root.ProtoBoxedMeasure.fromObject(object.height, _depth + 1); + message.height = $root.ProtoBoxedMeasure.fromObject(object.height); } if (object.lineFeed != null) { if (typeof object.lineFeed !== "object") throw TypeError(".ProtoPtConfig.lineFeed: object expected"); - message.lineFeed = $root.ProtoBoxedMeasure.fromObject(object.lineFeed, _depth + 1); + message.lineFeed = $root.ProtoBoxedMeasure.fromObject(object.lineFeed); } if (object.characterWidth != null) { if (typeof object.characterWidth !== "object") throw TypeError(".ProtoPtConfig.characterWidth: object expected"); - message.characterWidth = $root.ProtoBoxedMeasure.fromObject(object.characterWidth, _depth + 1); + message.characterWidth = $root.ProtoBoxedMeasure.fromObject(object.characterWidth); } if (object.spaceWidth != null) { if (typeof object.spaceWidth !== "object") throw TypeError(".ProtoPtConfig.spaceWidth: object expected"); - message.spaceWidth = $root.ProtoBoxedMeasure.fromObject(object.spaceWidth, _depth + 1); + message.spaceWidth = $root.ProtoBoxedMeasure.fromObject(object.spaceWidth); } if (object.Uuid != null) - if (typeof object.Uuid !== "string" || object.Uuid.length) - message.Uuid = String(object.Uuid); + message.Uuid = String(object.Uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoPtConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -41882,7 +37469,7 @@ $root.ProtoPtConfig = (function() { if (message.Uuid != null && message.hasOwnProperty("Uuid")) object.Uuid = message.Uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -41901,17 +37488,18 @@ $root.ProtoPtConfig = (function() { }; /** - * Gets the type url for ProtoPtConfig + * Gets the default type url for ProtoPtConfig * @function getTypeUrl * @memberof ProtoPtConfig * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoPtConfig.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoPtConfig"; + ProtoPtConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoPtConfig"; }; return ProtoPtConfig; @@ -41926,7 +37514,6 @@ $root.ProtoUlConfig = (function() { * @property {ProtoUnderlineMode|null} [mode] ProtoUlConfig mode * @property {string|null} [Uuid] ProtoUlConfig Uuid * @property {Array.|null} [comChannelUUIDs] ProtoUlConfig comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -41936,13 +37523,12 @@ $root.ProtoUlConfig = (function() { * @implements IProtoUlConfig * @constructor * @param {IProtoUlConfig=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoUlConfig(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -42001,9 +37587,6 @@ $root.ProtoUlConfig = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -42031,56 +37614,32 @@ $root.ProtoUlConfig = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoUlConfig.decode = function decode(reader, length, _end, _depth, _target) { + ProtoUlConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoUlConfig(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoUlConfig(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.mode = value; - else - delete message.mode; - continue; + message.mode = reader.int32(); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.Uuid = value; - else - delete message.Uuid; - continue; + message.Uuid = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -42108,13 +37667,9 @@ $root.ProtoUlConfig = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoUlConfig.verify = function verify(message, _depth) { + ProtoUlConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.mode != null && message.hasOwnProperty("mode")) switch (message.mode) { default: @@ -42147,50 +37702,44 @@ $root.ProtoUlConfig = (function() { * @param {Object.} object Plain object * @returns {ProtoUlConfig} ProtoUlConfig */ - ProtoUlConfig.fromObject = function fromObject(object, _depth) { + ProtoUlConfig.fromObject = function fromObject(object) { if (object instanceof $root.ProtoUlConfig) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoUlConfig(); - if (object.mode !== 0 && (typeof object.mode !== "string" || $root.ProtoUnderlineMode[object.mode] !== 0)) - switch (object.mode) { - default: - if (typeof object.mode === "number") { - message.mode = object.mode; - break; - } - break; - case "DUMMY_UNDERLINE_MODE": - case 0: - message.mode = 0; - break; - case "WORDS_NO_BLANKS": - case 1: - message.mode = 1; - break; - case "WORDS_AND_BLANKS": - case 2: - message.mode = 2; - break; - case "CHARACTERS_NO_BLANKS": - case 3: - message.mode = 3; - break; - case "CHARACTERS_AND_BLANKS": - case 4: - message.mode = 4; - break; - } + switch (object.mode) { + default: + if (typeof object.mode === "number") { + message.mode = object.mode; + break; + } + break; + case "DUMMY_UNDERLINE_MODE": + case 0: + message.mode = 0; + break; + case "WORDS_NO_BLANKS": + case 1: + message.mode = 1; + break; + case "WORDS_AND_BLANKS": + case 2: + message.mode = 2; + break; + case "CHARACTERS_NO_BLANKS": + case 3: + message.mode = 3; + break; + case "CHARACTERS_AND_BLANKS": + case 4: + message.mode = 4; + break; + } if (object.Uuid != null) - if (typeof object.Uuid !== "string" || object.Uuid.length) - message.Uuid = String(object.Uuid); + message.Uuid = String(object.Uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoUlConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -42221,7 +37770,7 @@ $root.ProtoUlConfig = (function() { if (message.Uuid != null && message.hasOwnProperty("Uuid")) object.Uuid = message.Uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -42240,17 +37789,18 @@ $root.ProtoUlConfig = (function() { }; /** - * Gets the type url for ProtoUlConfig + * Gets the default type url for ProtoUlConfig * @function getTypeUrl * @memberof ProtoUlConfig * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoUlConfig.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoUlConfig"; + ProtoUlConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoUlConfig"; }; return ProtoUlConfig; @@ -42307,7 +37857,6 @@ $root.ProtoNewPage = (function() { * @property {string|null} [pDefUuid] ProtoNewPage pDefUuid * @property {string|null} [cDefUuid] ProtoNewPage cDefUuid * @property {Array.|null} [comChannelUUIDs] ProtoNewPage comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -42317,13 +37866,12 @@ $root.ProtoNewPage = (function() { * @implements IProtoNewPage * @constructor * @param {IProtoNewPage=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoNewPage(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -42442,9 +37990,6 @@ $root.ProtoNewPage = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 9, wireType 2 =*/74).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -42472,110 +38017,56 @@ $root.ProtoNewPage = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoNewPage.decode = function decode(reader, length, _end, _depth, _target) { + ProtoNewPage.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoNewPage(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoNewPage(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paperTrayUuid = value; - else - delete message.paperTrayUuid; - continue; + message.paperTrayUuid = reader.string(); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.uint32()) - message.paperTrayNumber = value; - else - delete message.paperTrayNumber; - continue; + message.paperTrayNumber = reader.uint32(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.uint32()) - message.paperCount = value; - else - delete message.paperCount; - continue; + message.paperCount = reader.uint32(); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.pageMode = value; - else - delete message.pageMode; - continue; + message.pageMode = reader.int32(); + break; } case 6: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.pageOrientation = value; - else - delete message.pageOrientation; - continue; + message.pageOrientation = reader.int32(); + break; } case 7: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.pDefUuid = value; - else - delete message.pDefUuid; - continue; + message.pDefUuid = reader.string(); + break; } case 8: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.cDefUuid = value; - else - delete message.cDefUuid; - continue; + message.cDefUuid = reader.string(); + break; } case 9: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -42603,13 +38094,9 @@ $root.ProtoNewPage = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoNewPage.verify = function verify(message, _depth) { + ProtoNewPage.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.uuid != null && message.hasOwnProperty("uuid")) if (!$util.isString(message.uuid)) return "uuid: string expected"; @@ -42666,86 +38153,74 @@ $root.ProtoNewPage = (function() { * @param {Object.} object Plain object * @returns {ProtoNewPage} ProtoNewPage */ - ProtoNewPage.fromObject = function fromObject(object, _depth) { + ProtoNewPage.fromObject = function fromObject(object) { if (object instanceof $root.ProtoNewPage) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoNewPage(); if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.paperTrayUuid != null) - if (typeof object.paperTrayUuid !== "string" || object.paperTrayUuid.length) - message.paperTrayUuid = String(object.paperTrayUuid); + message.paperTrayUuid = String(object.paperTrayUuid); if (object.paperTrayNumber != null) - if (Number(object.paperTrayNumber) !== 0) - message.paperTrayNumber = object.paperTrayNumber >>> 0; + message.paperTrayNumber = object.paperTrayNumber >>> 0; if (object.paperCount != null) - if (Number(object.paperCount) !== 0) - message.paperCount = object.paperCount >>> 0; - if (object.pageMode !== 0 && (typeof object.pageMode !== "string" || $root.ProtoPageMode[object.pageMode] !== 0)) - switch (object.pageMode) { - default: - if (typeof object.pageMode === "number") { - message.pageMode = object.pageMode; - break; - } - break; - case "NEXT_PAGE": - case 0: - message.pageMode = 0; - break; - case "NEXT_RECTO_PAGE": - case 1: - message.pageMode = 1; - break; - case "NEXT_VERSO_PAGE": - case 2: - message.pageMode = 2; - break; - } - if (object.pageOrientation !== 0 && (typeof object.pageOrientation !== "string" || $root.ProtoPageOrientation[object.pageOrientation] !== 0)) - switch (object.pageOrientation) { - default: - if (typeof object.pageOrientation === "number") { - message.pageOrientation = object.pageOrientation; - break; - } - break; - case "UNSET": - case 0: - message.pageOrientation = 0; - break; - case "PORTRAIT": - case 1: - message.pageOrientation = 1; - break; - case "LANDSCAPE": - case 2: - message.pageOrientation = 2; - break; - case "INVERSE_PORTRAIT": - case 3: - message.pageOrientation = 3; - break; - case "INVERSE_LANDSCAPE": - case 4: - message.pageOrientation = 4; - break; - } + message.paperCount = object.paperCount >>> 0; + switch (object.pageMode) { + default: + if (typeof object.pageMode === "number") { + message.pageMode = object.pageMode; + break; + } + break; + case "NEXT_PAGE": + case 0: + message.pageMode = 0; + break; + case "NEXT_RECTO_PAGE": + case 1: + message.pageMode = 1; + break; + case "NEXT_VERSO_PAGE": + case 2: + message.pageMode = 2; + break; + } + switch (object.pageOrientation) { + default: + if (typeof object.pageOrientation === "number") { + message.pageOrientation = object.pageOrientation; + break; + } + break; + case "UNSET": + case 0: + message.pageOrientation = 0; + break; + case "PORTRAIT": + case 1: + message.pageOrientation = 1; + break; + case "LANDSCAPE": + case 2: + message.pageOrientation = 2; + break; + case "INVERSE_PORTRAIT": + case 3: + message.pageOrientation = 3; + break; + case "INVERSE_LANDSCAPE": + case 4: + message.pageOrientation = 4; + break; + } if (object.pDefUuid != null) - if (typeof object.pDefUuid !== "string" || object.pDefUuid.length) - message.pDefUuid = String(object.pDefUuid); + message.pDefUuid = String(object.pDefUuid); if (object.cDefUuid != null) - if (typeof object.cDefUuid !== "string" || object.cDefUuid.length) - message.cDefUuid = String(object.cDefUuid); + message.cDefUuid = String(object.cDefUuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoNewPage.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -42794,7 +38269,7 @@ $root.ProtoNewPage = (function() { if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) object.cDefUuid = message.cDefUuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -42813,17 +38288,18 @@ $root.ProtoNewPage = (function() { }; /** - * Gets the type url for ProtoNewPage + * Gets the default type url for ProtoNewPage * @function getTypeUrl * @memberof ProtoNewPage * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoNewPage.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoNewPage"; + ProtoNewPage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoNewPage"; }; return ProtoNewPage; @@ -42841,7 +38317,6 @@ $root.ProtoIndentation = (function() { * @property {IProtoBoxedMeasure|null} [right] ProtoIndentation right * @property {string|null} [uuid] ProtoIndentation uuid * @property {Array.|null} [comChannelUUIDs] ProtoIndentation comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -42851,14 +38326,13 @@ $root.ProtoIndentation = (function() { * @implements IProtoIndentation * @constructor * @param {IProtoIndentation=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoIndentation(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -42948,9 +38422,6 @@ $root.ProtoIndentation = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 6, wireType 2 =*/50).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -42978,73 +38449,46 @@ $root.ProtoIndentation = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoIndentation.decode = function decode(reader, length, _end, _depth, _target) { + ProtoIndentation.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoIndentation(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoIndentation(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.left = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.left); - continue; + message.left = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.right = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.right); - continue; + message.right = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -43072,34 +38516,30 @@ $root.ProtoIndentation = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoIndentation.verify = function verify(message, _depth) { + ProtoIndentation.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.left != null && message.hasOwnProperty("left")) { - var error = $root.ProtoBoxedMeasure.verify(message.left, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.left); if (error) return "left." + error; } if (message.right != null && message.hasOwnProperty("right")) { - var error = $root.ProtoBoxedMeasure.verify(message.right, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.right); if (error) return "right." + error; } @@ -43124,46 +38564,41 @@ $root.ProtoIndentation = (function() { * @param {Object.} object Plain object * @returns {ProtoIndentation} ProtoIndentation */ - ProtoIndentation.fromObject = function fromObject(object, _depth) { + ProtoIndentation.fromObject = function fromObject(object) { if (object instanceof $root.ProtoIndentation) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoIndentation(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoIndentation._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoIndentation._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoIndentation.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.left != null) { if (typeof object.left !== "object") throw TypeError(".ProtoIndentation.left: object expected"); - message.left = $root.ProtoBoxedMeasure.fromObject(object.left, _depth + 1); + message.left = $root.ProtoBoxedMeasure.fromObject(object.left); } if (object.right != null) { if (typeof object.right !== "object") throw TypeError(".ProtoIndentation.right: object expected"); - message.right = $root.ProtoBoxedMeasure.fromObject(object.right, _depth + 1); + message.right = $root.ProtoBoxedMeasure.fromObject(object.right); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoIndentation.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -43194,7 +38629,7 @@ $root.ProtoIndentation = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -43207,7 +38642,7 @@ $root.ProtoIndentation = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -43226,17 +38661,18 @@ $root.ProtoIndentation = (function() { }; /** - * Gets the type url for ProtoIndentation + * Gets the default type url for ProtoIndentation * @function getTypeUrl * @memberof ProtoIndentation * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoIndentation.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoIndentation"; + ProtoIndentation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoIndentation"; }; return ProtoIndentation; @@ -43251,7 +38687,7 @@ $root.ProtoCarryOver = (function() { * @property {Array.|null} [_children] ProtoCarryOver _children * @property {IProtoDocumentElement|null} [parent] ProtoCarryOver parent * @property {Array.|null} [comChannelUUIDs] ProtoCarryOver comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoCarryOver uuid */ /** @@ -43261,14 +38697,13 @@ $root.ProtoCarryOver = (function() { * @implements IProtoCarryOver * @constructor * @param {IProtoCarryOver=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoCarryOver(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -43296,6 +38731,14 @@ $root.ProtoCarryOver = (function() { */ ProtoCarryOver.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoCarryOver uuid. + * @member {string} uuid + * @memberof ProtoCarryOver + * @instance + */ + ProtoCarryOver.prototype.uuid = ""; + /** * Creates a new ProtoCarryOver instance using the specified properties. * @function create @@ -43328,9 +38771,8 @@ $root.ProtoCarryOver = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); return writer; }; @@ -43358,52 +38800,38 @@ $root.ProtoCarryOver = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoCarryOver.decode = function decode(reader, length, _end, _depth, _target) { + ProtoCarryOver.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoCarryOver(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCarryOver(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + case 4: { + message.uuid = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -43431,24 +38859,20 @@ $root.ProtoCarryOver = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoCarryOver.verify = function verify(message, _depth) { + ProtoCarryOver.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -43459,6 +38883,9 @@ $root.ProtoCarryOver = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -43470,36 +38897,34 @@ $root.ProtoCarryOver = (function() { * @param {Object.} object Plain object * @returns {ProtoCarryOver} ProtoCarryOver */ - ProtoCarryOver.fromObject = function fromObject(object, _depth) { + ProtoCarryOver.fromObject = function fromObject(object) { if (object instanceof $root.ProtoCarryOver) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoCarryOver(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoCarryOver._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoCarryOver._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoCarryOver.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoCarryOver.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -43520,20 +38945,24 @@ $root.ProtoCarryOver = (function() { object._children = []; object.comChannelUUIDs = []; } - if (options.defaults) + if (options.defaults) { object.parent = null; + object.uuid = ""; + } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -43549,17 +38978,18 @@ $root.ProtoCarryOver = (function() { }; /** - * Gets the type url for ProtoCarryOver + * Gets the default type url for ProtoCarryOver * @function getTypeUrl * @memberof ProtoCarryOver * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoCarryOver.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoCarryOver"; + ProtoCarryOver.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoCarryOver"; }; return ProtoCarryOver; @@ -43577,7 +39007,6 @@ $root.ProtoLoopEntry = (function() { * @property {number|Long|null} [index] ProtoLoopEntry index * @property {string|null} [uuid] ProtoLoopEntry uuid * @property {Array.|null} [comChannelUUIDs] ProtoLoopEntry comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -43587,14 +39016,13 @@ $root.ProtoLoopEntry = (function() { * @implements IProtoLoopEntry * @constructor * @param {IProtoLoopEntry=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoLoopEntry(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -43684,9 +39112,6 @@ $root.ProtoLoopEntry = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 6, wireType 2 =*/50).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -43714,79 +39139,46 @@ $root.ProtoLoopEntry = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoLoopEntry.decode = function decode(reader, length, _end, _depth, _target) { + ProtoLoopEntry.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoLoopEntry(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLoopEntry(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.path = value; - else - delete message.path; - continue; + message.path = reader.string(); + break; } case 4: { - if (wireType !== 0) - break; - if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0) - message.index = value; - else - delete message.index; - continue; + message.index = reader.uint64(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -43814,24 +39206,20 @@ $root.ProtoLoopEntry = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoLoopEntry.verify = function verify(message, _depth) { + ProtoLoopEntry.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -43862,49 +39250,42 @@ $root.ProtoLoopEntry = (function() { * @param {Object.} object Plain object * @returns {ProtoLoopEntry} ProtoLoopEntry */ - ProtoLoopEntry.fromObject = function fromObject(object, _depth) { + ProtoLoopEntry.fromObject = function fromObject(object) { if (object instanceof $root.ProtoLoopEntry) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoLoopEntry(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoLoopEntry._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoLoopEntry._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoLoopEntry.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.path != null) - if (typeof object.path !== "string" || object.path.length) - message.path = String(object.path); + message.path = String(object.path); if (object.index != null) - if (typeof object.index === "object" ? object.index.low || object.index.high : Number(object.index) !== 0) - if ($util.Long) - (message.index = $util.Long.fromValue(object.index)).unsigned = true; - else if (typeof object.index === "string") - message.index = parseInt(object.index, 10); - else if (typeof object.index === "number") - message.index = object.index; - else if (typeof object.index === "object") - message.index = new $util.LongBits(object.index.low >>> 0, object.index.high >>> 0).toNumber(true); + if ($util.Long) + (message.index = $util.Long.fromValue(object.index)).unsigned = true; + else if (typeof object.index === "string") + message.index = parseInt(object.index, 10); + else if (typeof object.index === "number") + message.index = object.index; + else if (typeof object.index === "object") + message.index = new $util.LongBits(object.index.low >>> 0, object.index.high >>> 0).toNumber(true); if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoLoopEntry.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -43939,7 +39320,7 @@ $root.ProtoLoopEntry = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -43955,7 +39336,7 @@ $root.ProtoLoopEntry = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -43974,17 +39355,18 @@ $root.ProtoLoopEntry = (function() { }; /** - * Gets the type url for ProtoLoopEntry + * Gets the default type url for ProtoLoopEntry * @function getTypeUrl * @memberof ProtoLoopEntry * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoLoopEntry.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoLoopEntry"; + ProtoLoopEntry.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoLoopEntry"; }; return ProtoLoopEntry; @@ -44001,7 +39383,6 @@ $root.ProtoLoop = (function() { * @property {string|null} [path] ProtoLoop path * @property {string|null} [uuid] ProtoLoop uuid * @property {Array.|null} [comChannelUUIDs] ProtoLoop comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -44011,14 +39392,13 @@ $root.ProtoLoop = (function() { * @implements IProtoLoop * @constructor * @param {IProtoLoop=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoLoop(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -44098,9 +39478,6 @@ $root.ProtoLoop = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -44128,70 +39505,42 @@ $root.ProtoLoop = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoLoop.decode = function decode(reader, length, _end, _depth, _target) { + ProtoLoop.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoLoop(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLoop(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.path = value; - else - delete message.path; - continue; + message.path = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -44219,24 +39568,20 @@ $root.ProtoLoop = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoLoop.verify = function verify(message, _depth) { + ProtoLoop.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -44264,39 +39609,33 @@ $root.ProtoLoop = (function() { * @param {Object.} object Plain object * @returns {ProtoLoop} ProtoLoop */ - ProtoLoop.fromObject = function fromObject(object, _depth) { + ProtoLoop.fromObject = function fromObject(object) { if (object instanceof $root.ProtoLoop) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoLoop(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoLoop._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoLoop._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoLoop.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.path != null) - if (typeof object.path !== "string" || object.path.length) - message.path = String(object.path); + message.path = String(object.path); if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoLoop.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -44326,7 +39665,7 @@ $root.ProtoLoop = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -44337,7 +39676,7 @@ $root.ProtoLoop = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -44356,17 +39695,18 @@ $root.ProtoLoop = (function() { }; /** - * Gets the type url for ProtoLoop + * Gets the default type url for ProtoLoop * @function getTypeUrl * @memberof ProtoLoop * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoLoop.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoLoop"; + ProtoLoop.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoLoop"; }; return ProtoLoop; @@ -44398,7 +39738,7 @@ $root.ProtoSubTotal = (function() { * @property {ProtoSubTotalPosition|null} [position] ProtoSubTotal position * @property {IProtoMeasure|null} [height] ProtoSubTotal height * @property {Array.|null} [comChannelUUIDs] ProtoSubTotal comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoSubTotal uuid */ /** @@ -44408,14 +39748,13 @@ $root.ProtoSubTotal = (function() { * @implements IProtoSubTotal * @constructor * @param {IProtoSubTotal=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSubTotal(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -44467,6 +39806,14 @@ $root.ProtoSubTotal = (function() { */ ProtoSubTotal.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoSubTotal uuid. + * @member {string} uuid + * @memberof ProtoSubTotal + * @instance + */ + ProtoSubTotal.prototype.uuid = ""; + /** * Creates a new ProtoSubTotal instance using the specified properties. * @function create @@ -44505,9 +39852,8 @@ $root.ProtoSubTotal = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 6, wireType 2 =*/50).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.uuid); return writer; }; @@ -44535,76 +39881,50 @@ $root.ProtoSubTotal = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSubTotal.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSubTotal.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSubTotal(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSubTotal(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.applyImmediate = value; - else - delete message.applyImmediate; - continue; + message.applyImmediate = reader.bool(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.position = value; - else - delete message.position; - continue; + message.position = reader.int32(); + break; } case 5: { - if (wireType !== 2) - break; - message.height = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.height); - continue; + message.height = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 7: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -44632,24 +39952,20 @@ $root.ProtoSubTotal = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSubTotal.verify = function verify(message, _depth) { + ProtoSubTotal.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -44665,7 +39981,7 @@ $root.ProtoSubTotal = (function() { break; } if (message.height != null && message.hasOwnProperty("height")) { - var error = $root.ProtoMeasure.verify(message.height, _depth + 1); + var error = $root.ProtoMeasure.verify(message.height); if (error) return "height." + error; } @@ -44676,6 +39992,9 @@ $root.ProtoSubTotal = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -44687,61 +40006,57 @@ $root.ProtoSubTotal = (function() { * @param {Object.} object Plain object * @returns {ProtoSubTotal} ProtoSubTotal */ - ProtoSubTotal.fromObject = function fromObject(object, _depth) { + ProtoSubTotal.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSubTotal) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSubTotal(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoSubTotal._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoSubTotal._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoSubTotal.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.applyImmediate != null) - if (object.applyImmediate) - message.applyImmediate = Boolean(object.applyImmediate); - if (object.position !== 0 && (typeof object.position !== "string" || $root.ProtoSubTotalPosition[object.position] !== 0)) - switch (object.position) { - default: - if (typeof object.position === "number") { - message.position = object.position; - break; - } - break; - case "POSITION_ABOVE_FOOTER": - case 0: - message.position = 0; - break; - case "POSITION_BELOW_CONTENT": - case 1: - message.position = 1; - break; - } + message.applyImmediate = Boolean(object.applyImmediate); + switch (object.position) { + default: + if (typeof object.position === "number") { + message.position = object.position; + break; + } + break; + case "POSITION_ABOVE_FOOTER": + case 0: + message.position = 0; + break; + case "POSITION_BELOW_CONTENT": + case 1: + message.position = 1; + break; + } if (object.height != null) { if (typeof object.height !== "object") throw TypeError(".ProtoSubTotal.height: object expected"); - message.height = $root.ProtoMeasure.fromObject(object.height, _depth + 1); + message.height = $root.ProtoMeasure.fromObject(object.height); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoSubTotal.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -44767,9 +40082,10 @@ $root.ProtoSubTotal = (function() { object.applyImmediate = false; object.position = options.enums === String ? "POSITION_ABOVE_FOOTER" : 0; object.height = null; + object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -44782,10 +40098,12 @@ $root.ProtoSubTotal = (function() { if (message.height != null && message.hasOwnProperty("height")) object.height = $root.ProtoMeasure.toObject(message.height, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -44801,17 +40119,18 @@ $root.ProtoSubTotal = (function() { }; /** - * Gets the type url for ProtoSubTotal + * Gets the default type url for ProtoSubTotal * @function getTypeUrl * @memberof ProtoSubTotal * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSubTotal.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSubTotal"; + ProtoSubTotal.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSubTotal"; }; return ProtoSubTotal; @@ -44826,7 +40145,7 @@ $root.ProtoWsArea = (function() { * @property {Array.|null} [_children] ProtoWsArea _children * @property {IProtoDocumentElement|null} [parent] ProtoWsArea parent * @property {Array.|null} [comChannelUUIDs] ProtoWsArea comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoWsArea uuid */ /** @@ -44836,14 +40155,13 @@ $root.ProtoWsArea = (function() { * @implements IProtoWsArea * @constructor * @param {IProtoWsArea=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoWsArea(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -44871,6 +40189,14 @@ $root.ProtoWsArea = (function() { */ ProtoWsArea.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoWsArea uuid. + * @member {string} uuid + * @memberof ProtoWsArea + * @instance + */ + ProtoWsArea.prototype.uuid = ""; + /** * Creates a new ProtoWsArea instance using the specified properties. * @function create @@ -44903,9 +40229,8 @@ $root.ProtoWsArea = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); return writer; }; @@ -44933,52 +40258,38 @@ $root.ProtoWsArea = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoWsArea.decode = function decode(reader, length, _end, _depth, _target) { + ProtoWsArea.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoWsArea(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoWsArea(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 4: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -45006,24 +40317,20 @@ $root.ProtoWsArea = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoWsArea.verify = function verify(message, _depth) { + ProtoWsArea.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -45034,6 +40341,9 @@ $root.ProtoWsArea = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -45045,36 +40355,34 @@ $root.ProtoWsArea = (function() { * @param {Object.} object Plain object * @returns {ProtoWsArea} ProtoWsArea */ - ProtoWsArea.fromObject = function fromObject(object, _depth) { + ProtoWsArea.fromObject = function fromObject(object) { if (object instanceof $root.ProtoWsArea) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoWsArea(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoWsArea._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoWsArea._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoWsArea.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoWsArea.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -45095,20 +40403,24 @@ $root.ProtoWsArea = (function() { object._children = []; object.comChannelUUIDs = []; } - if (options.defaults) + if (options.defaults) { object.parent = null; + object.uuid = ""; + } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -45124,17 +40436,18 @@ $root.ProtoWsArea = (function() { }; /** - * Gets the type url for ProtoWsArea + * Gets the default type url for ProtoWsArea * @function getTypeUrl * @memberof ProtoWsArea * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoWsArea.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoWsArea"; + ProtoWsArea.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoWsArea"; }; return ProtoWsArea; @@ -45156,7 +40469,7 @@ $root.ProtoRule = (function() { * @property {ProtoRuleMode|null} [mode] ProtoRule mode * @property {IProtoRuleBoundaries|null} [boundaries] ProtoRule boundaries * @property {Array.|null} [comChannelUUIDs] ProtoRule comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoRule uuid */ /** @@ -45166,13 +40479,12 @@ $root.ProtoRule = (function() { * @implements IProtoRule * @constructor * @param {IProtoRule=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoRule(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -45256,6 +40568,14 @@ $root.ProtoRule = (function() { */ ProtoRule.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoRule uuid. + * @member {string} uuid + * @memberof ProtoRule + * @instance + */ + ProtoRule.prototype.uuid = ""; + /** * Creates a new ProtoRule instance using the specified properties. * @function create @@ -45301,9 +40621,8 @@ $root.ProtoRule = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 11, wireType 2 =*/90).string(message.uuid); return writer; }; @@ -45331,101 +40650,64 @@ $root.ProtoRule = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoRule.decode = function decode(reader, length, _end, _depth, _target) { + ProtoRule.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoRule(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoRule(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.xOffset = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.xOffset); - continue; + message.xOffset = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.yOffset = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.yOffset); - continue; + message.yOffset = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.width = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.thickness = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.thickness); - continue; + message.thickness = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 1) - break; - if ((value = reader.double()) !== 0) - message.rotation = value; - else - delete message.rotation; - continue; + message.rotation = reader.double(); + break; } case 6: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.style = value; - else - delete message.style; - continue; + message.style = reader.int32(); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.mode = value; - else - delete message.mode; - continue; + message.mode = reader.int32(); + break; } case 9: { - if (wireType !== 2) - break; - message.boundaries = $root.ProtoRuleBoundaries.decode(reader, reader.uint32(), undefined, _depth + 1, message.boundaries); - continue; + message.boundaries = $root.ProtoRuleBoundaries.decode(reader, reader.uint32()); + break; } case 10: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 11: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -45453,30 +40735,26 @@ $root.ProtoRule = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoRule.verify = function verify(message, _depth) { + ProtoRule.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.xOffset != null && message.hasOwnProperty("xOffset")) { - var error = $root.ProtoMeasure.verify(message.xOffset, _depth + 1); + var error = $root.ProtoMeasure.verify(message.xOffset); if (error) return "xOffset." + error; } if (message.yOffset != null && message.hasOwnProperty("yOffset")) { - var error = $root.ProtoMeasure.verify(message.yOffset, _depth + 1); + var error = $root.ProtoMeasure.verify(message.yOffset); if (error) return "yOffset." + error; } if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoMeasure.verify(message.width); if (error) return "width." + error; } if (message.thickness != null && message.hasOwnProperty("thickness")) { - var error = $root.ProtoMeasure.verify(message.thickness, _depth + 1); + var error = $root.ProtoMeasure.verify(message.thickness); if (error) return "thickness." + error; } @@ -45484,7 +40762,7 @@ $root.ProtoRule = (function() { if (typeof message.rotation !== "number") return "rotation: number expected"; if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } @@ -45516,7 +40794,7 @@ $root.ProtoRule = (function() { break; } if (message.boundaries != null && message.hasOwnProperty("boundaries")) { - var error = $root.ProtoRuleBoundaries.verify(message.boundaries, _depth + 1); + var error = $root.ProtoRuleBoundaries.verify(message.boundaries); if (error) return "boundaries." + error; } @@ -45527,6 +40805,9 @@ $root.ProtoRule = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -45538,132 +40819,127 @@ $root.ProtoRule = (function() { * @param {Object.} object Plain object * @returns {ProtoRule} ProtoRule */ - ProtoRule.fromObject = function fromObject(object, _depth) { + ProtoRule.fromObject = function fromObject(object) { if (object instanceof $root.ProtoRule) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoRule(); if (object.xOffset != null) { if (typeof object.xOffset !== "object") throw TypeError(".ProtoRule.xOffset: object expected"); - message.xOffset = $root.ProtoMeasure.fromObject(object.xOffset, _depth + 1); + message.xOffset = $root.ProtoMeasure.fromObject(object.xOffset); } if (object.yOffset != null) { if (typeof object.yOffset !== "object") throw TypeError(".ProtoRule.yOffset: object expected"); - message.yOffset = $root.ProtoMeasure.fromObject(object.yOffset, _depth + 1); + message.yOffset = $root.ProtoMeasure.fromObject(object.yOffset); } if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoRule.width: object expected"); - message.width = $root.ProtoMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoMeasure.fromObject(object.width); } if (object.thickness != null) { if (typeof object.thickness !== "object") throw TypeError(".ProtoRule.thickness: object expected"); - message.thickness = $root.ProtoMeasure.fromObject(object.thickness, _depth + 1); + message.thickness = $root.ProtoMeasure.fromObject(object.thickness); } if (object.rotation != null) - if (Number(object.rotation) !== 0) - message.rotation = Number(object.rotation); + message.rotation = Number(object.rotation); if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoRule.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); + } + switch (object.style) { + default: + if (typeof object.style === "number") { + message.style = object.style; + break; + } + break; + case "DUMMY_RULE_STYLE": + case 0: + message.style = 0; + break; + case "SOLID": + case 1: + message.style = 1; + break; + case "SPARSE_SHADING": + case 2: + message.style = 2; + break; + case "MEDIUM_SHADING": + case 3: + message.style = 3; + break; + case "DENSE_SHADING": + case 4: + message.style = 4; + break; + case "LIGHT_DOTTED": + case 5: + message.style = 5; + break; + case "MEDIUM_DOTTED": + case 6: + message.style = 6; + break; + case "HEAVY_DOTTED": + case 7: + message.style = 7; + break; + case "LIGHT_DASHED": + case 8: + message.style = 8; + break; + case "MEDIUM_DASHED": + case 9: + message.style = 9; + break; + case "HEAVY_DASHED": + case 10: + message.style = 10; + break; + case "DASH_PATTERN": + case 11: + message.style = 11; + break; + case "DOUBLE": + case 254: + message.style = 254; + break; + } + switch (object.mode) { + default: + if (typeof object.mode === "number") { + message.mode = object.mode; + break; + } + break; + case "NORMAL": + case 0: + message.mode = 0; + break; + case "BOUNDARY": + case 1: + message.mode = 1; + break; } - if (object.style !== 0 && (typeof object.style !== "string" || $root.ProtoRuleStyle[object.style] !== 0)) - switch (object.style) { - default: - if (typeof object.style === "number") { - message.style = object.style; - break; - } - break; - case "DUMMY_RULE_STYLE": - case 0: - message.style = 0; - break; - case "SOLID": - case 1: - message.style = 1; - break; - case "SPARSE_SHADING": - case 2: - message.style = 2; - break; - case "MEDIUM_SHADING": - case 3: - message.style = 3; - break; - case "DENSE_SHADING": - case 4: - message.style = 4; - break; - case "LIGHT_DOTTED": - case 5: - message.style = 5; - break; - case "MEDIUM_DOTTED": - case 6: - message.style = 6; - break; - case "HEAVY_DOTTED": - case 7: - message.style = 7; - break; - case "LIGHT_DASHED": - case 8: - message.style = 8; - break; - case "MEDIUM_DASHED": - case 9: - message.style = 9; - break; - case "HEAVY_DASHED": - case 10: - message.style = 10; - break; - case "DASH_PATTERN": - case 11: - message.style = 11; - break; - case "DOUBLE": - case 254: - message.style = 254; - break; - } - if (object.mode !== 0 && (typeof object.mode !== "string" || $root.ProtoRuleMode[object.mode] !== 0)) - switch (object.mode) { - default: - if (typeof object.mode === "number") { - message.mode = object.mode; - break; - } - break; - case "NORMAL": - case 0: - message.mode = 0; - break; - case "BOUNDARY": - case 1: - message.mode = 1; - break; - } if (object.boundaries != null) { if (typeof object.boundaries !== "object") throw TypeError(".ProtoRule.boundaries: object expected"); - message.boundaries = $root.ProtoRuleBoundaries.fromObject(object.boundaries, _depth + 1); + message.boundaries = $root.ProtoRuleBoundaries.fromObject(object.boundaries); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoRule.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -45692,6 +40968,7 @@ $root.ProtoRule = (function() { object.style = options.enums === String ? "DUMMY_RULE_STYLE" : 0; object.mode = options.enums === String ? "NORMAL" : 0; object.boundaries = null; + object.uuid = ""; } if (message.xOffset != null && message.hasOwnProperty("xOffset")) object.xOffset = $root.ProtoMeasure.toObject(message.xOffset, options); @@ -45712,10 +40989,12 @@ $root.ProtoRule = (function() { if (message.boundaries != null && message.hasOwnProperty("boundaries")) object.boundaries = $root.ProtoRuleBoundaries.toObject(message.boundaries, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -45731,17 +41010,18 @@ $root.ProtoRule = (function() { }; /** - * Gets the type url for ProtoRule + * Gets the default type url for ProtoRule * @function getTypeUrl * @memberof ProtoRule * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoRule.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoRule"; + ProtoRule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoRule"; }; return ProtoRule; @@ -45769,7 +41049,6 @@ $root.ProtoRuleBoundaries = (function() { * @interface IProtoRuleBoundaries * @property {IProtoMeasure|null} [start] ProtoRuleBoundaries start * @property {IProtoMeasure|null} [end] ProtoRuleBoundaries end - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -45779,12 +41058,11 @@ $root.ProtoRuleBoundaries = (function() { * @implements IProtoRuleBoundaries * @constructor * @param {IProtoRuleBoundaries=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoRuleBoundaries(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -45832,9 +41110,6 @@ $root.ProtoRuleBoundaries = (function() { $root.ProtoMeasure.encode(message.start, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.end != null && Object.hasOwnProperty.call(message, "end")) $root.ProtoMeasure.encode(message.end, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -45862,42 +41137,26 @@ $root.ProtoRuleBoundaries = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoRuleBoundaries.decode = function decode(reader, length, _end, _depth, _target) { + ProtoRuleBoundaries.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoRuleBoundaries(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoRuleBoundaries(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.start = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.start); - continue; + message.start = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.end = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.end); - continue; + message.end = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -45925,20 +41184,16 @@ $root.ProtoRuleBoundaries = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoRuleBoundaries.verify = function verify(message, _depth) { + ProtoRuleBoundaries.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.start != null && message.hasOwnProperty("start")) { - var error = $root.ProtoMeasure.verify(message.start, _depth + 1); + var error = $root.ProtoMeasure.verify(message.start); if (error) return "start." + error; } if (message.end != null && message.hasOwnProperty("end")) { - var error = $root.ProtoMeasure.verify(message.end, _depth + 1); + var error = $root.ProtoMeasure.verify(message.end); if (error) return "end." + error; } @@ -45953,23 +41208,19 @@ $root.ProtoRuleBoundaries = (function() { * @param {Object.} object Plain object * @returns {ProtoRuleBoundaries} ProtoRuleBoundaries */ - ProtoRuleBoundaries.fromObject = function fromObject(object, _depth) { + ProtoRuleBoundaries.fromObject = function fromObject(object) { if (object instanceof $root.ProtoRuleBoundaries) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoRuleBoundaries(); if (object.start != null) { if (typeof object.start !== "object") throw TypeError(".ProtoRuleBoundaries.start: object expected"); - message.start = $root.ProtoMeasure.fromObject(object.start, _depth + 1); + message.start = $root.ProtoMeasure.fromObject(object.start); } if (object.end != null) { if (typeof object.end !== "object") throw TypeError(".ProtoRuleBoundaries.end: object expected"); - message.end = $root.ProtoMeasure.fromObject(object.end, _depth + 1); + message.end = $root.ProtoMeasure.fromObject(object.end); } return message; }; @@ -46010,17 +41261,18 @@ $root.ProtoRuleBoundaries = (function() { }; /** - * Gets the type url for ProtoRuleBoundaries + * Gets the default type url for ProtoRuleBoundaries * @function getTypeUrl * @memberof ProtoRuleBoundaries * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoRuleBoundaries.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoRuleBoundaries"; + ProtoRuleBoundaries.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoRuleBoundaries"; }; return ProtoRuleBoundaries; @@ -46034,7 +41286,7 @@ $root.ProtoColorDef = (function() { * @interface IProtoColorDef * @property {IProtoColor|null} [color] ProtoColorDef color * @property {Array.|null} [comChannelUUIDs] ProtoColorDef comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoColorDef uuid */ /** @@ -46044,13 +41296,12 @@ $root.ProtoColorDef = (function() { * @implements IProtoColorDef * @constructor * @param {IProtoColorDef=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoColorDef(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -46070,6 +41321,14 @@ $root.ProtoColorDef = (function() { */ ProtoColorDef.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoColorDef uuid. + * @member {string} uuid + * @memberof ProtoColorDef + * @instance + */ + ProtoColorDef.prototype.uuid = ""; + /** * Creates a new ProtoColorDef instance using the specified properties. * @function create @@ -46099,9 +41358,8 @@ $root.ProtoColorDef = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); return writer; }; @@ -46129,44 +41387,32 @@ $root.ProtoColorDef = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoColorDef.decode = function decode(reader, length, _end, _depth, _target) { + ProtoColorDef.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoColorDef(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoColorDef(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.color = $root.ProtoColor.decode(reader, reader.uint32(), undefined, _depth + 1, message.color); - continue; + message.color = $root.ProtoColor.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + case 3: { + message.uuid = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -46194,15 +41440,11 @@ $root.ProtoColorDef = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoColorDef.verify = function verify(message, _depth) { + ProtoColorDef.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color, _depth + 1); + var error = $root.ProtoColor.verify(message.color); if (error) return "color." + error; } @@ -46213,6 +41455,9 @@ $root.ProtoColorDef = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -46224,26 +41469,24 @@ $root.ProtoColorDef = (function() { * @param {Object.} object Plain object * @returns {ProtoColorDef} ProtoColorDef */ - ProtoColorDef.fromObject = function fromObject(object, _depth) { + ProtoColorDef.fromObject = function fromObject(object) { if (object instanceof $root.ProtoColorDef) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoColorDef(); if (object.color != null) { if (typeof object.color !== "object") throw TypeError(".ProtoColorDef.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color, _depth + 1); + message.color = $root.ProtoColor.fromObject(object.color); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoColorDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -46262,15 +41505,19 @@ $root.ProtoColorDef = (function() { var object = {}; if (options.arrays || options.defaults) object.comChannelUUIDs = []; - if (options.defaults) + if (options.defaults) { object.color = null; + object.uuid = ""; + } if (message.color != null && message.hasOwnProperty("color")) object.color = $root.ProtoColor.toObject(message.color, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -46286,17 +41533,18 @@ $root.ProtoColorDef = (function() { }; /** - * Gets the type url for ProtoColorDef + * Gets the default type url for ProtoColorDef * @function getTypeUrl * @memberof ProtoColorDef * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoColorDef.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoColorDef"; + ProtoColorDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoColorDef"; }; return ProtoColorDef; @@ -46311,7 +41559,7 @@ $root.ProtoLayout = (function() { * @property {IProtoDocumentElement|null} [parent] ProtoLayout parent * @property {string|null} [name] ProtoLayout name * @property {Array.|null} [comChannelUUIDs] ProtoLayout comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoLayout uuid */ /** @@ -46321,13 +41569,12 @@ $root.ProtoLayout = (function() { * @implements IProtoLayout * @constructor * @param {IProtoLayout=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoLayout(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -46355,6 +41602,14 @@ $root.ProtoLayout = (function() { */ ProtoLayout.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoLayout uuid. + * @member {string} uuid + * @memberof ProtoLayout + * @instance + */ + ProtoLayout.prototype.uuid = ""; + /** * Creates a new ProtoLayout instance using the specified properties. * @function create @@ -46386,9 +41641,8 @@ $root.ProtoLayout = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); return writer; }; @@ -46416,53 +41670,36 @@ $root.ProtoLayout = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoLayout.decode = function decode(reader, length, _end, _depth, _target) { + ProtoLayout.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoLayout(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLayout(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 4: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -46490,15 +41727,11 @@ $root.ProtoLayout = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoLayout.verify = function verify(message, _depth) { + ProtoLayout.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -46512,6 +41745,9 @@ $root.ProtoLayout = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -46523,29 +41759,26 @@ $root.ProtoLayout = (function() { * @param {Object.} object Plain object * @returns {ProtoLayout} ProtoLayout */ - ProtoLayout.fromObject = function fromObject(object, _depth) { + ProtoLayout.fromObject = function fromObject(object) { if (object instanceof $root.ProtoLayout) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoLayout(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoLayout.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoLayout.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -46567,16 +41800,19 @@ $root.ProtoLayout = (function() { if (options.defaults) { object.parent = null; object.name = ""; + object.uuid = ""; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -46592,17 +41828,18 @@ $root.ProtoLayout = (function() { }; /** - * Gets the type url for ProtoLayout + * Gets the default type url for ProtoLayout * @function getTypeUrl * @memberof ProtoLayout * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoLayout.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoLayout"; + ProtoLayout.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoLayout"; }; return ProtoLayout; @@ -46625,7 +41862,6 @@ $root.ProtoAdvancedIllustrationArea = (function() { * @property {ProtoAdvancedIllustrationAreaTextFlowType|null} [textFlow] ProtoAdvancedIllustrationArea textFlow * @property {number|null} [rotation] ProtoAdvancedIllustrationArea rotation * @property {Array.|null} [comChannelUUIDs] ProtoAdvancedIllustrationArea comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -46635,14 +41871,13 @@ $root.ProtoAdvancedIllustrationArea = (function() { * @implements IProtoAdvancedIllustrationArea * @constructor * @param {IProtoAdvancedIllustrationArea=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoAdvancedIllustrationArea(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -46782,9 +42017,6 @@ $root.ProtoAdvancedIllustrationArea = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 11, wireType 2 =*/90).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -46812,112 +42044,66 @@ $root.ProtoAdvancedIllustrationArea = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoAdvancedIllustrationArea.decode = function decode(reader, length, _end, _depth, _target) { + ProtoAdvancedIllustrationArea.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoAdvancedIllustrationArea(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoAdvancedIllustrationArea(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.absolute = value; - else - delete message.absolute; - continue; + message.absolute = reader.bool(); + break; } case 5: { - if (wireType !== 2) - break; - message.width = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.width); - continue; + message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 6: { - if (wireType !== 2) - break; - message.height = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.height); - continue; + message.height = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 7: { - if (wireType !== 2) - break; - message.x = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.x); - continue; + message.x = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 8: { - if (wireType !== 2) - break; - message.y = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.y); - continue; + message.y = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 9: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.textFlow = value; - else - delete message.textFlow; - continue; + message.textFlow = reader.int32(); + break; } case 10: { - if (wireType !== 5) - break; - if ((value = reader.float()) !== 0) - message.rotation = value; - else - delete message.rotation; - continue; + message.rotation = reader.float(); + break; } case 11: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -46945,24 +42131,20 @@ $root.ProtoAdvancedIllustrationArea = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoAdvancedIllustrationArea.verify = function verify(message, _depth) { + ProtoAdvancedIllustrationArea.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -46973,22 +42155,22 @@ $root.ProtoAdvancedIllustrationArea = (function() { if (typeof message.absolute !== "boolean") return "absolute: boolean expected"; if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoMeasure.verify(message.width, _depth + 1); + var error = $root.ProtoMeasure.verify(message.width); if (error) return "width." + error; } if (message.height != null && message.hasOwnProperty("height")) { - var error = $root.ProtoMeasure.verify(message.height, _depth + 1); + var error = $root.ProtoMeasure.verify(message.height); if (error) return "height." + error; } if (message.x != null && message.hasOwnProperty("x")) { - var error = $root.ProtoMeasure.verify(message.x, _depth + 1); + var error = $root.ProtoMeasure.verify(message.x); if (error) return "x." + error; } if (message.y != null && message.hasOwnProperty("y")) { - var error = $root.ProtoMeasure.verify(message.y, _depth + 1); + var error = $root.ProtoMeasure.verify(message.y); if (error) return "y." + error; } @@ -47024,91 +42206,83 @@ $root.ProtoAdvancedIllustrationArea = (function() { * @param {Object.} object Plain object * @returns {ProtoAdvancedIllustrationArea} ProtoAdvancedIllustrationArea */ - ProtoAdvancedIllustrationArea.fromObject = function fromObject(object, _depth) { + ProtoAdvancedIllustrationArea.fromObject = function fromObject(object) { if (object instanceof $root.ProtoAdvancedIllustrationArea) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoAdvancedIllustrationArea(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoAdvancedIllustrationArea._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoAdvancedIllustrationArea._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoAdvancedIllustrationArea.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.absolute != null) - if (object.absolute) - message.absolute = Boolean(object.absolute); + message.absolute = Boolean(object.absolute); if (object.width != null) { if (typeof object.width !== "object") throw TypeError(".ProtoAdvancedIllustrationArea.width: object expected"); - message.width = $root.ProtoMeasure.fromObject(object.width, _depth + 1); + message.width = $root.ProtoMeasure.fromObject(object.width); } if (object.height != null) { if (typeof object.height !== "object") throw TypeError(".ProtoAdvancedIllustrationArea.height: object expected"); - message.height = $root.ProtoMeasure.fromObject(object.height, _depth + 1); + message.height = $root.ProtoMeasure.fromObject(object.height); } if (object.x != null) { if (typeof object.x !== "object") throw TypeError(".ProtoAdvancedIllustrationArea.x: object expected"); - message.x = $root.ProtoMeasure.fromObject(object.x, _depth + 1); + message.x = $root.ProtoMeasure.fromObject(object.x); } if (object.y != null) { if (typeof object.y !== "object") throw TypeError(".ProtoAdvancedIllustrationArea.y: object expected"); - message.y = $root.ProtoMeasure.fromObject(object.y, _depth + 1); + message.y = $root.ProtoMeasure.fromObject(object.y); + } + switch (object.textFlow) { + default: + if (typeof object.textFlow === "number") { + message.textFlow = object.textFlow; + break; + } + break; + case "DO_NOT_USE_AT_ALL": + case 0: + message.textFlow = 0; + break; + case "AROUND": + case 1: + message.textFlow = 1; + break; + case "NO_FLOW": + case 2: + message.textFlow = 2; + break; + case "FOREGROUND": + case 3: + message.textFlow = 3; + break; + case "BACKGROUND": + case 4: + message.textFlow = 4; + break; } - if (object.textFlow !== 0 && (typeof object.textFlow !== "string" || $root.ProtoAdvancedIllustrationAreaTextFlowType[object.textFlow] !== 0)) - switch (object.textFlow) { - default: - if (typeof object.textFlow === "number") { - message.textFlow = object.textFlow; - break; - } - break; - case "DO_NOT_USE_AT_ALL": - case 0: - message.textFlow = 0; - break; - case "AROUND": - case 1: - message.textFlow = 1; - break; - case "NO_FLOW": - case 2: - message.textFlow = 2; - break; - case "FOREGROUND": - case 3: - message.textFlow = 3; - break; - case "BACKGROUND": - case 4: - message.textFlow = 4; - break; - } if (object.rotation != null) - if (Number(object.rotation) !== 0) - message.rotation = Number(object.rotation); + message.rotation = Number(object.rotation); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoAdvancedIllustrationArea.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -47144,7 +42318,7 @@ $root.ProtoAdvancedIllustrationArea = (function() { object.rotation = 0; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -47167,7 +42341,7 @@ $root.ProtoAdvancedIllustrationArea = (function() { if (message.rotation != null && message.hasOwnProperty("rotation")) object.rotation = options.json && !isFinite(message.rotation) ? String(message.rotation) : message.rotation; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -47186,17 +42360,18 @@ $root.ProtoAdvancedIllustrationArea = (function() { }; /** - * Gets the type url for ProtoAdvancedIllustrationArea + * Gets the default type url for ProtoAdvancedIllustrationArea * @function getTypeUrl * @memberof ProtoAdvancedIllustrationArea * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoAdvancedIllustrationArea.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoAdvancedIllustrationArea"; + ProtoAdvancedIllustrationArea.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoAdvancedIllustrationArea"; }; return ProtoAdvancedIllustrationArea; @@ -47213,7 +42388,7 @@ $root.ProtoAdjustHorizontally = (function() { * @property {IProtoMeasure|null} [minFontSize] ProtoAdjustHorizontally minFontSize * @property {IProtoMeasure|null} [maxFontSize] ProtoAdjustHorizontally maxFontSize * @property {Array.|null} [comChannelUUIDs] ProtoAdjustHorizontally comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding + * @property {string|null} [uuid] ProtoAdjustHorizontally uuid */ /** @@ -47223,14 +42398,13 @@ $root.ProtoAdjustHorizontally = (function() { * @implements IProtoAdjustHorizontally * @constructor * @param {IProtoAdjustHorizontally=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoAdjustHorizontally(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -47274,6 +42448,14 @@ $root.ProtoAdjustHorizontally = (function() { */ ProtoAdjustHorizontally.prototype.comChannelUUIDs = $util.emptyArray; + /** + * ProtoAdjustHorizontally uuid. + * @member {string} uuid + * @memberof ProtoAdjustHorizontally + * @instance + */ + ProtoAdjustHorizontally.prototype.uuid = ""; + /** * Creates a new ProtoAdjustHorizontally instance using the specified properties. * @function create @@ -47310,9 +42492,8 @@ $root.ProtoAdjustHorizontally = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); + if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.uuid); return writer; }; @@ -47340,64 +42521,46 @@ $root.ProtoAdjustHorizontally = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoAdjustHorizontally.decode = function decode(reader, length, _end, _depth, _target) { + ProtoAdjustHorizontally.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoAdjustHorizontally(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoAdjustHorizontally(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.minFontSize = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.minFontSize); - continue; + message.minFontSize = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 2) - break; - message.maxFontSize = $root.ProtoMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.maxFontSize); - continue; + message.maxFontSize = $root.ProtoMeasure.decode(reader, reader.uint32()); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; + } + case 6: { + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -47425,34 +42588,30 @@ $root.ProtoAdjustHorizontally = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoAdjustHorizontally.verify = function verify(message, _depth) { + ProtoAdjustHorizontally.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.minFontSize != null && message.hasOwnProperty("minFontSize")) { - var error = $root.ProtoMeasure.verify(message.minFontSize, _depth + 1); + var error = $root.ProtoMeasure.verify(message.minFontSize); if (error) return "minFontSize." + error; } if (message.maxFontSize != null && message.hasOwnProperty("maxFontSize")) { - var error = $root.ProtoMeasure.verify(message.maxFontSize, _depth + 1); + var error = $root.ProtoMeasure.verify(message.maxFontSize); if (error) return "maxFontSize." + error; } @@ -47463,6 +42622,9 @@ $root.ProtoAdjustHorizontally = (function() { if (!$util.isString(message.comChannelUUIDs[i])) return "comChannelUUIDs: string[] expected"; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + if (!$util.isString(message.uuid)) + return "uuid: string expected"; return null; }; @@ -47474,46 +42636,44 @@ $root.ProtoAdjustHorizontally = (function() { * @param {Object.} object Plain object * @returns {ProtoAdjustHorizontally} ProtoAdjustHorizontally */ - ProtoAdjustHorizontally.fromObject = function fromObject(object, _depth) { + ProtoAdjustHorizontally.fromObject = function fromObject(object) { if (object instanceof $root.ProtoAdjustHorizontally) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoAdjustHorizontally(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoAdjustHorizontally._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoAdjustHorizontally._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoAdjustHorizontally.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.minFontSize != null) { if (typeof object.minFontSize !== "object") throw TypeError(".ProtoAdjustHorizontally.minFontSize: object expected"); - message.minFontSize = $root.ProtoMeasure.fromObject(object.minFontSize, _depth + 1); + message.minFontSize = $root.ProtoMeasure.fromObject(object.minFontSize); } if (object.maxFontSize != null) { if (typeof object.maxFontSize !== "object") throw TypeError(".ProtoAdjustHorizontally.maxFontSize: object expected"); - message.maxFontSize = $root.ProtoMeasure.fromObject(object.maxFontSize, _depth + 1); + message.maxFontSize = $root.ProtoMeasure.fromObject(object.maxFontSize); } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoAdjustHorizontally.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } + if (object.uuid != null) + message.uuid = String(object.uuid); return message; }; @@ -47538,9 +42698,10 @@ $root.ProtoAdjustHorizontally = (function() { object.parent = null; object.minFontSize = null; object.maxFontSize = null; + object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -47551,10 +42712,12 @@ $root.ProtoAdjustHorizontally = (function() { if (message.maxFontSize != null && message.hasOwnProperty("maxFontSize")) object.maxFontSize = $root.ProtoMeasure.toObject(message.maxFontSize, options); if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } + if (message.uuid != null && message.hasOwnProperty("uuid")) + object.uuid = message.uuid; return object; }; @@ -47570,17 +42733,18 @@ $root.ProtoAdjustHorizontally = (function() { }; /** - * Gets the type url for ProtoAdjustHorizontally + * Gets the default type url for ProtoAdjustHorizontally * @function getTypeUrl * @memberof ProtoAdjustHorizontally * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoAdjustHorizontally.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoAdjustHorizontally"; + ProtoAdjustHorizontally.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoAdjustHorizontally"; }; return ProtoAdjustHorizontally; @@ -47613,7 +42777,6 @@ $root.ProtoDoctypeScript = (function() { * @property {ProtoDoctypeOutputMode|null} [outputMode] ProtoDoctypeScript outputMode * @property {Array.|null} [comChannelUUIDs] ProtoDoctypeScript comChannelUUIDs * @property {string|null} [uuid] ProtoDoctypeScript uuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -47623,13 +42786,12 @@ $root.ProtoDoctypeScript = (function() { * @implements IProtoDoctypeScript * @constructor * @param {IProtoDoctypeScript=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoDoctypeScript(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -47708,9 +42870,6 @@ $root.ProtoDoctypeScript = (function() { writer.uint32(/* id 4, wireType 2 =*/34).string(message.comChannelUUIDs[i]); if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.uuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -47738,71 +42897,40 @@ $root.ProtoDoctypeScript = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoDoctypeScript.decode = function decode(reader, length, _end, _depth, _target) { + ProtoDoctypeScript.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoDoctypeScript(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDoctypeScript(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.content = value; - else - delete message.content; - continue; + message.content = reader.string(); + break; } case 3: { - if (wireType !== 0) - break; - if (value = reader.int32()) - message.outputMode = value; - else - delete message.outputMode; - continue; + message.outputMode = reader.int32(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -47830,15 +42958,11 @@ $root.ProtoDoctypeScript = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoDoctypeScript.verify = function verify(message, _depth) { + ProtoDoctypeScript.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -47875,53 +42999,46 @@ $root.ProtoDoctypeScript = (function() { * @param {Object.} object Plain object * @returns {ProtoDoctypeScript} ProtoDoctypeScript */ - ProtoDoctypeScript.fromObject = function fromObject(object, _depth) { + ProtoDoctypeScript.fromObject = function fromObject(object) { if (object instanceof $root.ProtoDoctypeScript) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoDoctypeScript(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoDoctypeScript.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.content != null) - if (typeof object.content !== "string" || object.content.length) - message.content = String(object.content); - if (object.outputMode !== 0 && (typeof object.outputMode !== "string" || $root.ProtoDoctypeOutputMode[object.outputMode] !== 0)) - switch (object.outputMode) { - default: - if (typeof object.outputMode === "number") { - message.outputMode = object.outputMode; - break; - } - break; - case "DOCTYPE_OUTPUT_MODE_NOT_SET": - case 0: - message.outputMode = 0; - break; - case "DOCTYPE": - case 1: - message.outputMode = 1; - break; - case "JSON": - case 2: - message.outputMode = 2; - break; - } + message.content = String(object.content); + switch (object.outputMode) { + default: + if (typeof object.outputMode === "number") { + message.outputMode = object.outputMode; + break; + } + break; + case "DOCTYPE_OUTPUT_MODE_NOT_SET": + case 0: + message.outputMode = 0; + break; + case "DOCTYPE": + case 1: + message.outputMode = 1; + break; + case "JSON": + case 2: + message.outputMode = 2; + break; + } if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoDoctypeScript.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); return message; }; @@ -47953,7 +43070,7 @@ $root.ProtoDoctypeScript = (function() { if (message.outputMode != null && message.hasOwnProperty("outputMode")) object.outputMode = options.enums === String ? $root.ProtoDoctypeOutputMode[message.outputMode] === undefined ? message.outputMode : $root.ProtoDoctypeOutputMode[message.outputMode] : message.outputMode; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -47974,17 +43091,18 @@ $root.ProtoDoctypeScript = (function() { }; /** - * Gets the type url for ProtoDoctypeScript + * Gets the default type url for ProtoDoctypeScript * @function getTypeUrl * @memberof ProtoDoctypeScript * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoDoctypeScript.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoDoctypeScript"; + ProtoDoctypeScript.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoDoctypeScript"; }; return ProtoDoctypeScript; @@ -48000,7 +43118,6 @@ $root.ProtoDmScript = (function() { * @property {string|null} [content] ProtoDmScript content * @property {Array.|null} [comChannelUUIDs] ProtoDmScript comChannelUUIDs * @property {string|null} [uuid] ProtoDmScript uuid - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -48010,13 +43127,12 @@ $root.ProtoDmScript = (function() { * @implements IProtoDmScript * @constructor * @param {IProtoDmScript=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoDmScript(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -48085,9 +43201,6 @@ $root.ProtoDmScript = (function() { writer.uint32(/* id 3, wireType 2 =*/26).string(message.comChannelUUIDs[i]); if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -48115,62 +43228,36 @@ $root.ProtoDmScript = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoDmScript.decode = function decode(reader, length, _end, _depth, _target) { + ProtoDmScript.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoDmScript(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDmScript(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.content = value; - else - delete message.content; - continue; + message.content = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -48198,15 +43285,11 @@ $root.ProtoDmScript = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoDmScript.verify = function verify(message, _depth) { + ProtoDmScript.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -48234,32 +43317,26 @@ $root.ProtoDmScript = (function() { * @param {Object.} object Plain object * @returns {ProtoDmScript} ProtoDmScript */ - ProtoDmScript.fromObject = function fromObject(object, _depth) { + ProtoDmScript.fromObject = function fromObject(object) { if (object instanceof $root.ProtoDmScript) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoDmScript(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoDmScript.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.content != null) - if (typeof object.content !== "string" || object.content.length) - message.content = String(object.content); + message.content = String(object.content); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoDmScript.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); return message; }; @@ -48288,7 +43365,7 @@ $root.ProtoDmScript = (function() { if (message.content != null && message.hasOwnProperty("content")) object.content = message.content; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -48309,17 +43386,18 @@ $root.ProtoDmScript = (function() { }; /** - * Gets the type url for ProtoDmScript + * Gets the default type url for ProtoDmScript * @function getTypeUrl * @memberof ProtoDmScript * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoDmScript.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoDmScript"; + ProtoDmScript.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoDmScript"; }; return ProtoDmScript; @@ -48335,7 +43413,6 @@ $root.ProtoDynamicTemplate = (function() { * @property {string|null} [uuid] ProtoDynamicTemplate uuid * @property {string|null} [script] ProtoDynamicTemplate script * @property {Array.|null} [comChannelUUIDs] ProtoDynamicTemplate comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -48345,13 +43422,12 @@ $root.ProtoDynamicTemplate = (function() { * @implements IProtoDynamicTemplate * @constructor * @param {IProtoDynamicTemplate=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoDynamicTemplate(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -48420,9 +43496,6 @@ $root.ProtoDynamicTemplate = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 4, wireType 2 =*/34).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -48450,62 +43523,36 @@ $root.ProtoDynamicTemplate = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoDynamicTemplate.decode = function decode(reader, length, _end, _depth, _target) { + ProtoDynamicTemplate.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoDynamicTemplate(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDynamicTemplate(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.script = value; - else - delete message.script; - continue; + message.script = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -48533,15 +43580,11 @@ $root.ProtoDynamicTemplate = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoDynamicTemplate.verify = function verify(message, _depth) { + ProtoDynamicTemplate.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -48569,29 +43612,23 @@ $root.ProtoDynamicTemplate = (function() { * @param {Object.} object Plain object * @returns {ProtoDynamicTemplate} ProtoDynamicTemplate */ - ProtoDynamicTemplate.fromObject = function fromObject(object, _depth) { + ProtoDynamicTemplate.fromObject = function fromObject(object) { if (object instanceof $root.ProtoDynamicTemplate) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoDynamicTemplate(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoDynamicTemplate.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.script != null) - if (typeof object.script !== "string" || object.script.length) - message.script = String(object.script); + message.script = String(object.script); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoDynamicTemplate.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -48625,7 +43662,7 @@ $root.ProtoDynamicTemplate = (function() { if (message.script != null && message.hasOwnProperty("script")) object.script = message.script; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -48644,17 +43681,18 @@ $root.ProtoDynamicTemplate = (function() { }; /** - * Gets the type url for ProtoDynamicTemplate + * Gets the default type url for ProtoDynamicTemplate * @function getTypeUrl * @memberof ProtoDynamicTemplate * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoDynamicTemplate.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoDynamicTemplate"; + ProtoDynamicTemplate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoDynamicTemplate"; }; return ProtoDynamicTemplate; @@ -48675,7 +43713,6 @@ $root.ProtoSelection = (function() { * @property {boolean|null} [multi] ProtoSelection multi * @property {number|Long|null} [min] ProtoSelection min * @property {number|Long|null} [max] ProtoSelection max - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -48685,14 +43722,13 @@ $root.ProtoSelection = (function() { * @implements IProtoSelection * @constructor * @param {IProtoSelection=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSelection(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -48812,9 +43848,6 @@ $root.ProtoSelection = (function() { writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.min); if (message.max != null && Object.hasOwnProperty.call(message, "max")) writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.max); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -48842,106 +43875,58 @@ $root.ProtoSelection = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSelection.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSelection.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSelection(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSelection(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.internalName = value; - else - delete message.internalName; - continue; + message.internalName = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 7: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.multi = value; - else - delete message.multi; - continue; + message.multi = reader.bool(); + break; } case 8: { - if (wireType !== 0) - break; - if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0) - message.min = value; - else - delete message.min; - continue; + message.min = reader.uint64(); + break; } case 9: { - if (wireType !== 0) - break; - if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0) - message.max = value; - else - delete message.max; - continue; + message.max = reader.uint64(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -48969,24 +43954,20 @@ $root.ProtoSelection = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSelection.verify = function verify(message, _depth) { + ProtoSelection.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -49026,68 +44007,58 @@ $root.ProtoSelection = (function() { * @param {Object.} object Plain object * @returns {ProtoSelection} ProtoSelection */ - ProtoSelection.fromObject = function fromObject(object, _depth) { + ProtoSelection.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSelection) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSelection(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoSelection._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoSelection._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoSelection.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoSelection.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.internalName != null) - if (typeof object.internalName !== "string" || object.internalName.length) - message.internalName = String(object.internalName); + message.internalName = String(object.internalName); if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.multi != null) - if (object.multi) - message.multi = Boolean(object.multi); + message.multi = Boolean(object.multi); if (object.min != null) - if (typeof object.min === "object" ? object.min.low || object.min.high : Number(object.min) !== 0) - if ($util.Long) - (message.min = $util.Long.fromValue(object.min)).unsigned = true; - else if (typeof object.min === "string") - message.min = parseInt(object.min, 10); - else if (typeof object.min === "number") - message.min = object.min; - else if (typeof object.min === "object") - message.min = new $util.LongBits(object.min.low >>> 0, object.min.high >>> 0).toNumber(true); + if ($util.Long) + (message.min = $util.Long.fromValue(object.min)).unsigned = true; + else if (typeof object.min === "string") + message.min = parseInt(object.min, 10); + else if (typeof object.min === "number") + message.min = object.min; + else if (typeof object.min === "object") + message.min = new $util.LongBits(object.min.low >>> 0, object.min.high >>> 0).toNumber(true); if (object.max != null) - if (typeof object.max === "object" ? object.max.low || object.max.high : Number(object.max) !== 0) - if ($util.Long) - (message.max = $util.Long.fromValue(object.max)).unsigned = true; - else if (typeof object.max === "string") - message.max = parseInt(object.max, 10); - else if (typeof object.max === "number") - message.max = object.max; - else if (typeof object.max === "object") - message.max = new $util.LongBits(object.max.low >>> 0, object.max.high >>> 0).toNumber(true); + if ($util.Long) + (message.max = $util.Long.fromValue(object.max)).unsigned = true; + else if (typeof object.max === "string") + message.max = parseInt(object.max, 10); + else if (typeof object.max === "number") + message.max = object.max; + else if (typeof object.max === "object") + message.max = new $util.LongBits(object.max.low >>> 0, object.max.high >>> 0).toNumber(true); return message; }; @@ -49126,7 +44097,7 @@ $root.ProtoSelection = (function() { object.max = options.longs === String ? "0" : 0; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -49135,7 +44106,7 @@ $root.ProtoSelection = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -49170,17 +44141,18 @@ $root.ProtoSelection = (function() { }; /** - * Gets the type url for ProtoSelection + * Gets the default type url for ProtoSelection * @function getTypeUrl * @memberof ProtoSelection * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSelection.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSelection"; + ProtoSelection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSelection"; }; return ProtoSelection; @@ -49199,7 +44171,6 @@ $root.ProtoSelectionEntry = (function() { * @property {string|null} [internalName] ProtoSelectionEntry internalName * @property {string|null} [name] ProtoSelectionEntry name * @property {boolean|null} [selected] ProtoSelectionEntry selected - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -49209,14 +44180,13 @@ $root.ProtoSelectionEntry = (function() { * @implements IProtoSelectionEntry * @constructor * @param {IProtoSelectionEntry=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoSelectionEntry(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -49316,9 +44286,6 @@ $root.ProtoSelectionEntry = (function() { writer.uint32(/* id 6, wireType 2 =*/50).string(message.name); if (message.selected != null && Object.hasOwnProperty.call(message, "selected")) writer.uint32(/* id 7, wireType 0 =*/56).bool(message.selected); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -49346,88 +44313,50 @@ $root.ProtoSelectionEntry = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoSelectionEntry.decode = function decode(reader, length, _end, _depth, _target) { + ProtoSelectionEntry.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoSelectionEntry(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSelectionEntry(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.internalName = value; - else - delete message.internalName; - continue; + message.internalName = reader.string(); + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 7: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.selected = value; - else - delete message.selected; - continue; + message.selected = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -49455,24 +44384,20 @@ $root.ProtoSelectionEntry = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoSelectionEntry.verify = function verify(message, _depth) { + ProtoSelectionEntry.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -49506,48 +44431,40 @@ $root.ProtoSelectionEntry = (function() { * @param {Object.} object Plain object * @returns {ProtoSelectionEntry} ProtoSelectionEntry */ - ProtoSelectionEntry.fromObject = function fromObject(object, _depth) { + ProtoSelectionEntry.fromObject = function fromObject(object) { if (object instanceof $root.ProtoSelectionEntry) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoSelectionEntry(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoSelectionEntry._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoSelectionEntry._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoSelectionEntry.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoSelectionEntry.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.internalName != null) - if (typeof object.internalName !== "string" || object.internalName.length) - message.internalName = String(object.internalName); + message.internalName = String(object.internalName); if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.selected != null) - if (object.selected) - message.selected = Boolean(object.selected); + message.selected = Boolean(object.selected); return message; }; @@ -49576,7 +44493,7 @@ $root.ProtoSelectionEntry = (function() { object.selected = false; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -49585,7 +44502,7 @@ $root.ProtoSelectionEntry = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -49610,17 +44527,18 @@ $root.ProtoSelectionEntry = (function() { }; /** - * Gets the type url for ProtoSelectionEntry + * Gets the default type url for ProtoSelectionEntry * @function getTypeUrl * @memberof ProtoSelectionEntry * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoSelectionEntry.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoSelectionEntry"; + ProtoSelectionEntry.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoSelectionEntry"; }; return ProtoSelectionEntry; @@ -49639,7 +44557,6 @@ $root.ProtoCondition = (function() { * @property {string|null} [code] ProtoCondition code * @property {boolean|null} [result] ProtoCondition result * @property {boolean|null} [regenerate] ProtoCondition regenerate - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -49649,14 +44566,13 @@ $root.ProtoCondition = (function() { * @implements IProtoCondition * @constructor * @param {IProtoCondition=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoCondition(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -49756,9 +44672,6 @@ $root.ProtoCondition = (function() { writer.uint32(/* id 6, wireType 0 =*/48).bool(message.result); if (message.regenerate != null && Object.hasOwnProperty.call(message, "regenerate")) writer.uint32(/* id 7, wireType 0 =*/56).bool(message.regenerate); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -49786,88 +44699,50 @@ $root.ProtoCondition = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoCondition.decode = function decode(reader, length, _end, _depth, _target) { + ProtoCondition.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoCondition(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCondition(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.code = value; - else - delete message.code; - continue; + message.code = reader.string(); + break; } case 6: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.result = value; - else - delete message.result; - continue; + message.result = reader.bool(); + break; } case 7: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.regenerate = value; - else - delete message.regenerate; - continue; + message.regenerate = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -49895,24 +44770,20 @@ $root.ProtoCondition = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoCondition.verify = function verify(message, _depth) { + ProtoCondition.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -49946,48 +44817,40 @@ $root.ProtoCondition = (function() { * @param {Object.} object Plain object * @returns {ProtoCondition} ProtoCondition */ - ProtoCondition.fromObject = function fromObject(object, _depth) { + ProtoCondition.fromObject = function fromObject(object) { if (object instanceof $root.ProtoCondition) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoCondition(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoCondition._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoCondition._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoCondition.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoCondition.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.code != null) - if (typeof object.code !== "string" || object.code.length) - message.code = String(object.code); + message.code = String(object.code); if (object.result != null) - if (object.result) - message.result = Boolean(object.result); + message.result = Boolean(object.result); if (object.regenerate != null) - if (object.regenerate) - message.regenerate = Boolean(object.regenerate); + message.regenerate = Boolean(object.regenerate); return message; }; @@ -50016,7 +44879,7 @@ $root.ProtoCondition = (function() { object.regenerate = false; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -50025,7 +44888,7 @@ $root.ProtoCondition = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -50050,17 +44913,18 @@ $root.ProtoCondition = (function() { }; /** - * Gets the type url for ProtoCondition + * Gets the default type url for ProtoCondition * @function getTypeUrl * @memberof ProtoCondition * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoCondition.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoCondition"; + ProtoCondition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoCondition"; }; return ProtoCondition; @@ -50077,7 +44941,6 @@ $root.ProtoPageCondition = (function() { * @property {string|null} [uuid] ProtoPageCondition uuid * @property {Array.|null} [comChannelUUIDs] ProtoPageCondition comChannelUUIDs * @property {string|null} [code] ProtoPageCondition code - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -50087,14 +44950,13 @@ $root.ProtoPageCondition = (function() { * @implements IProtoPageCondition * @constructor * @param {IProtoPageCondition=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoPageCondition(properties) { this._children = []; this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -50174,9 +45036,6 @@ $root.ProtoPageCondition = (function() { writer.uint32(/* id 4, wireType 2 =*/34).string(message.comChannelUUIDs[i]); if (message.code != null && Object.hasOwnProperty.call(message, "code")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.code); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -50204,70 +45063,42 @@ $root.ProtoPageCondition = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoPageCondition.decode = function decode(reader, length, _end, _depth, _target) { + ProtoPageCondition.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoPageCondition(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoPageCondition(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.code = value; - else - delete message.code; - continue; + message.code = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -50295,24 +45126,20 @@ $root.ProtoPageCondition = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoPageCondition.verify = function verify(message, _depth) { + ProtoPageCondition.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -50340,42 +45167,36 @@ $root.ProtoPageCondition = (function() { * @param {Object.} object Plain object * @returns {ProtoPageCondition} ProtoPageCondition */ - ProtoPageCondition.fromObject = function fromObject(object, _depth) { + ProtoPageCondition.fromObject = function fromObject(object) { if (object instanceof $root.ProtoPageCondition) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoPageCondition(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoPageCondition._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoPageCondition._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoPageCondition.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoPageCondition.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.code != null) - if (typeof object.code !== "string" || object.code.length) - message.code = String(object.code); + message.code = String(object.code); return message; }; @@ -50402,7 +45223,7 @@ $root.ProtoPageCondition = (function() { object.code = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -50411,7 +45232,7 @@ $root.ProtoPageCondition = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -50432,17 +45253,18 @@ $root.ProtoPageCondition = (function() { }; /** - * Gets the type url for ProtoPageCondition + * Gets the default type url for ProtoPageCondition * @function getTypeUrl * @memberof ProtoPageCondition * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoPageCondition.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoPageCondition"; + ProtoPageCondition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoPageCondition"; }; return ProtoPageCondition; @@ -50460,7 +45282,6 @@ $root.ProtoLocale = (function() { * @property {Array.|null} [comChannelUUIDs] ProtoLocale comChannelUUIDs * @property {Array.|null} [languageUUIDs] ProtoLocale languageUUIDs * @property {Array.|null} [regionUUIDs] ProtoLocale regionUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -50470,7 +45291,6 @@ $root.ProtoLocale = (function() { * @implements IProtoLocale * @constructor * @param {IProtoLocale=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoLocale(properties) { this._children = []; @@ -50479,7 +45299,7 @@ $root.ProtoLocale = (function() { this.regionUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -50571,9 +45391,6 @@ $root.ProtoLocale = (function() { if (message.regionUUIDs != null && message.regionUUIDs.length) for (var i = 0; i < message.regionUUIDs.length; ++i) writer.uint32(/* id 6, wireType 2 =*/50).string(message.regionUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -50601,77 +45418,50 @@ $root.ProtoLocale = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoLocale.decode = function decode(reader, length, _end, _depth, _target) { + ProtoLocale.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoLocale(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLocale(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; if (!(message._children && message._children.length)) message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); + break; } case 2: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 5: { - if (wireType !== 2) - break; if (!(message.languageUUIDs && message.languageUUIDs.length)) message.languageUUIDs = []; message.languageUUIDs.push(reader.string()); - continue; + break; } case 6: { - if (wireType !== 2) - break; if (!(message.regionUUIDs && message.regionUUIDs.length)) message.regionUUIDs = []; message.regionUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -50699,24 +45489,20 @@ $root.ProtoLocale = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoLocale.verify = function verify(message, _depth) { + ProtoLocale.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message._children != null && message.hasOwnProperty("_children")) { if (!Array.isArray(message._children)) return "_children: array expected"; for (var i = 0; i < message._children.length; ++i) { - var error = $root.ProtoDocumentElement.verify(message._children[i], _depth + 1); + var error = $root.ProtoDocumentElement.verify(message._children[i]); if (error) return "_children." + error; } } if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -50755,50 +45541,45 @@ $root.ProtoLocale = (function() { * @param {Object.} object Plain object * @returns {ProtoLocale} ProtoLocale */ - ProtoLocale.fromObject = function fromObject(object, _depth) { + ProtoLocale.fromObject = function fromObject(object) { if (object instanceof $root.ProtoLocale) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoLocale(); if (object._children) { if (!Array.isArray(object._children)) throw TypeError(".ProtoLocale._children: array expected"); - message._children = Array(object._children.length); + message._children = []; for (var i = 0; i < object._children.length; ++i) { if (typeof object._children[i] !== "object") throw TypeError(".ProtoLocale._children: object expected"); - message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i], _depth + 1); + message._children[i] = $root.ProtoDocumentElement.fromObject(object._children[i]); } } if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoLocale.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoLocale.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.languageUUIDs) { if (!Array.isArray(object.languageUUIDs)) throw TypeError(".ProtoLocale.languageUUIDs: array expected"); - message.languageUUIDs = Array(object.languageUUIDs.length); + message.languageUUIDs = []; for (var i = 0; i < object.languageUUIDs.length; ++i) message.languageUUIDs[i] = String(object.languageUUIDs[i]); } if (object.regionUUIDs) { if (!Array.isArray(object.regionUUIDs)) throw TypeError(".ProtoLocale.regionUUIDs: array expected"); - message.regionUUIDs = Array(object.regionUUIDs.length); + message.regionUUIDs = []; for (var i = 0; i < object.regionUUIDs.length; ++i) message.regionUUIDs[i] = String(object.regionUUIDs[i]); } @@ -50829,7 +45610,7 @@ $root.ProtoLocale = (function() { object.uuid = ""; } if (message._children && message._children.length) { - object._children = Array(message._children.length); + object._children = []; for (var j = 0; j < message._children.length; ++j) object._children[j] = $root.ProtoDocumentElement.toObject(message._children[j], options); } @@ -50838,17 +45619,17 @@ $root.ProtoLocale = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } if (message.languageUUIDs && message.languageUUIDs.length) { - object.languageUUIDs = Array(message.languageUUIDs.length); + object.languageUUIDs = []; for (var j = 0; j < message.languageUUIDs.length; ++j) object.languageUUIDs[j] = message.languageUUIDs[j]; } if (message.regionUUIDs && message.regionUUIDs.length) { - object.regionUUIDs = Array(message.regionUUIDs.length); + object.regionUUIDs = []; for (var j = 0; j < message.regionUUIDs.length; ++j) object.regionUUIDs[j] = message.regionUUIDs[j]; } @@ -50867,17 +45648,18 @@ $root.ProtoLocale = (function() { }; /** - * Gets the type url for ProtoLocale + * Gets the default type url for ProtoLocale * @function getTypeUrl * @memberof ProtoLocale * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoLocale.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoLocale"; + ProtoLocale.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoLocale"; }; return ProtoLocale; @@ -50896,7 +45678,6 @@ $root.ProtoTag = (function() { * @property {Array.|null} [params] ProtoTag params * @property {string|null} [nameCode] ProtoTag nameCode * @property {boolean|null} [codeMode] ProtoTag codeMode - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -50906,14 +45687,13 @@ $root.ProtoTag = (function() { * @implements IProtoTag * @constructor * @param {IProtoTag=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoTag(properties) { this.comChannelUUIDs = []; this.params = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -51013,9 +45793,6 @@ $root.ProtoTag = (function() { writer.uint32(/* id 6, wireType 2 =*/50).string(message.nameCode); if (message.codeMode != null && Object.hasOwnProperty.call(message, "codeMode")) writer.uint32(/* id 7, wireType 0 =*/56).bool(message.codeMode); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -51043,88 +45820,50 @@ $root.ProtoTag = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoTag.decode = function decode(reader, length, _end, _depth, _target) { + ProtoTag.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoTag(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTag(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.params && message.params.length)) message.params = []; message.params.push(reader.string()); - continue; + break; } case 6: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.nameCode = value; - else - delete message.nameCode; - continue; + message.nameCode = reader.string(); + break; } case 7: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.codeMode = value; - else - delete message.codeMode; - continue; + message.codeMode = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -51152,15 +45891,11 @@ $root.ProtoTag = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoTag.verify = function verify(message, _depth) { + ProtoTag.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -51201,45 +45936,37 @@ $root.ProtoTag = (function() { * @param {Object.} object Plain object * @returns {ProtoTag} ProtoTag */ - ProtoTag.fromObject = function fromObject(object, _depth) { + ProtoTag.fromObject = function fromObject(object) { if (object instanceof $root.ProtoTag) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoTag(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoTag.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoTag.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.params) { if (!Array.isArray(object.params)) throw TypeError(".ProtoTag.params: array expected"); - message.params = Array(object.params.length); + message.params = []; for (var i = 0; i < object.params.length; ++i) message.params[i] = String(object.params[i]); } if (object.nameCode != null) - if (typeof object.nameCode !== "string" || object.nameCode.length) - message.nameCode = String(object.nameCode); + message.nameCode = String(object.nameCode); if (object.codeMode != null) - if (object.codeMode) - message.codeMode = Boolean(object.codeMode); + message.codeMode = Boolean(object.codeMode); return message; }; @@ -51272,14 +45999,14 @@ $root.ProtoTag = (function() { if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.params && message.params.length) { - object.params = Array(message.params.length); + object.params = []; for (var j = 0; j < message.params.length; ++j) object.params[j] = message.params[j]; } @@ -51302,17 +46029,18 @@ $root.ProtoTag = (function() { }; /** - * Gets the type url for ProtoTag + * Gets the default type url for ProtoTag * @function getTypeUrl * @memberof ProtoTag * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoTag.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoTag"; + ProtoTag.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoTag"; }; return ProtoTag; @@ -51329,7 +46057,6 @@ $root.ProtoParagraphSetDefault = (function() { * @property {string|null} [paragraphFormatUUID] ProtoParagraphSetDefault paragraphFormatUUID * @property {string|null} [uuid] ProtoParagraphSetDefault uuid * @property {Array.|null} [comChannelUUIDs] ProtoParagraphSetDefault comChannelUUIDs - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -51339,13 +46066,12 @@ $root.ProtoParagraphSetDefault = (function() { * @implements IProtoParagraphSetDefault * @constructor * @param {IProtoParagraphSetDefault=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoParagraphSetDefault(properties) { this.comChannelUUIDs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -51424,9 +46150,6 @@ $root.ProtoParagraphSetDefault = (function() { if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) for (var i = 0; i < message.comChannelUUIDs.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.comChannelUUIDs[i]); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -51454,71 +46177,40 @@ $root.ProtoParagraphSetDefault = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoParagraphSetDefault.decode = function decode(reader, length, _end, _depth, _target) { + ProtoParagraphSetDefault.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoParagraphSetDefault(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoParagraphSetDefault(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.name = value; - else - delete message.name; - continue; + message.name = reader.string(); + break; } case 3: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.paragraphFormatUUID = value; - else - delete message.paragraphFormatUUID; - continue; + message.paragraphFormatUUID = reader.string(); + break; } case 4: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.uuid = value; - else - delete message.uuid; - continue; + message.uuid = reader.string(); + break; } case 5: { - if (wireType !== 2) - break; if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) message.comChannelUUIDs = []; message.comChannelUUIDs.push(reader.string()); - continue; + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -51546,15 +46238,11 @@ $root.ProtoParagraphSetDefault = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoParagraphSetDefault.verify = function verify(message, _depth) { + ProtoParagraphSetDefault.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } @@ -51585,32 +46273,25 @@ $root.ProtoParagraphSetDefault = (function() { * @param {Object.} object Plain object * @returns {ProtoParagraphSetDefault} ProtoParagraphSetDefault */ - ProtoParagraphSetDefault.fromObject = function fromObject(object, _depth) { + ProtoParagraphSetDefault.fromObject = function fromObject(object) { if (object instanceof $root.ProtoParagraphSetDefault) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoParagraphSetDefault(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoParagraphSetDefault.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.name != null) - if (typeof object.name !== "string" || object.name.length) - message.name = String(object.name); + message.name = String(object.name); if (object.paragraphFormatUUID != null) - if (typeof object.paragraphFormatUUID !== "string" || object.paragraphFormatUUID.length) - message.paragraphFormatUUID = String(object.paragraphFormatUUID); + message.paragraphFormatUUID = String(object.paragraphFormatUUID); if (object.uuid != null) - if (typeof object.uuid !== "string" || object.uuid.length) - message.uuid = String(object.uuid); + message.uuid = String(object.uuid); if (object.comChannelUUIDs) { if (!Array.isArray(object.comChannelUUIDs)) throw TypeError(".ProtoParagraphSetDefault.comChannelUUIDs: array expected"); - message.comChannelUUIDs = Array(object.comChannelUUIDs.length); + message.comChannelUUIDs = []; for (var i = 0; i < object.comChannelUUIDs.length; ++i) message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); } @@ -51647,7 +46328,7 @@ $root.ProtoParagraphSetDefault = (function() { if (message.uuid != null && message.hasOwnProperty("uuid")) object.uuid = message.uuid; if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = Array(message.comChannelUUIDs.length); + object.comChannelUUIDs = []; for (var j = 0; j < message.comChannelUUIDs.length; ++j) object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; } @@ -51666,17 +46347,18 @@ $root.ProtoParagraphSetDefault = (function() { }; /** - * Gets the type url for ProtoParagraphSetDefault + * Gets the default type url for ProtoParagraphSetDefault * @function getTypeUrl * @memberof ProtoParagraphSetDefault * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoParagraphSetDefault.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoParagraphSetDefault"; + ProtoParagraphSetDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoParagraphSetDefault"; }; return ProtoParagraphSetDefault; @@ -51701,7 +46383,6 @@ $root.ProtoBaseTextInputField = (function() { * @property {boolean|null} [pdfDisableScrolling] ProtoBaseTextInputField pdfDisableScrolling * @property {boolean|null} [pdfUseCombFormatting] ProtoBaseTextInputField pdfUseCombFormatting * @property {boolean|null} [pdfIsRichTextEnabled] ProtoBaseTextInputField pdfIsRichTextEnabled - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -51711,12 +46392,11 @@ $root.ProtoBaseTextInputField = (function() { * @implements IProtoBaseTextInputField * @constructor * @param {IProtoBaseTextInputField=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoBaseTextInputField(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -51874,9 +46554,6 @@ $root.ProtoBaseTextInputField = (function() { writer.uint32(/* id 12, wireType 0 =*/96).bool(message.pdfUseCombFormatting); if (message.pdfIsRichTextEnabled != null && Object.hasOwnProperty.call(message, "pdfIsRichTextEnabled")) writer.uint32(/* id 13, wireType 0 =*/104).bool(message.pdfIsRichTextEnabled); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -51904,138 +46581,70 @@ $root.ProtoBaseTextInputField = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoBaseTextInputField.decode = function decode(reader, length, _end, _depth, _target) { + ProtoBaseTextInputField.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoBaseTextInputField(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBaseTextInputField(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32(), undefined, _depth + 1, message.base); - continue; + message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.pdfSize = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.pdfSize); - continue; + message.pdfSize = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; - message.pdfInputHeight = $root.ProtoBoxedMeasure.decode(reader, reader.uint32(), undefined, _depth + 1, message.pdfInputHeight); - continue; + message.pdfInputHeight = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfIsReadOnly = value; - else - delete message.pdfIsReadOnly; - continue; + message.pdfIsReadOnly = reader.bool(); + break; } case 5: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfIsRequired = value; - else - delete message.pdfIsRequired; - continue; + message.pdfIsRequired = reader.bool(); + break; } case 6: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfIsNotExported = value; - else - delete message.pdfIsNotExported; - continue; + message.pdfIsNotExported = reader.bool(); + break; } case 7: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfIsMultiline = value; - else - delete message.pdfIsMultiline; - continue; + message.pdfIsMultiline = reader.bool(); + break; } case 8: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfIsPasswordField = value; - else - delete message.pdfIsPasswordField; - continue; + message.pdfIsPasswordField = reader.bool(); + break; } case 9: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfIsFileSelectionField = value; - else - delete message.pdfIsFileSelectionField; - continue; + message.pdfIsFileSelectionField = reader.bool(); + break; } case 10: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfDisableSpellCheck = value; - else - delete message.pdfDisableSpellCheck; - continue; + message.pdfDisableSpellCheck = reader.bool(); + break; } case 11: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfDisableScrolling = value; - else - delete message.pdfDisableScrolling; - continue; + message.pdfDisableScrolling = reader.bool(); + break; } case 12: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfUseCombFormatting = value; - else - delete message.pdfUseCombFormatting; - continue; + message.pdfUseCombFormatting = reader.bool(); + break; } case 13: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.pdfIsRichTextEnabled = value; - else - delete message.pdfIsRichTextEnabled; - continue; + message.pdfIsRichTextEnabled = reader.bool(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -52063,25 +46672,21 @@ $root.ProtoBaseTextInputField = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoBaseTextInputField.verify = function verify(message, _depth) { + ProtoBaseTextInputField.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.base != null && message.hasOwnProperty("base")) { - var error = $root.ProtoBaseInputField.verify(message.base, _depth + 1); + var error = $root.ProtoBaseInputField.verify(message.base); if (error) return "base." + error; } if (message.pdfSize != null && message.hasOwnProperty("pdfSize")) { - var error = $root.ProtoBoxedMeasure.verify(message.pdfSize, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.pdfSize); if (error) return "pdfSize." + error; } if (message.pdfInputHeight != null && message.hasOwnProperty("pdfInputHeight")) { - var error = $root.ProtoBoxedMeasure.verify(message.pdfInputHeight, _depth + 1); + var error = $root.ProtoBoxedMeasure.verify(message.pdfInputHeight); if (error) return "pdfInputHeight." + error; } @@ -52126,59 +46731,45 @@ $root.ProtoBaseTextInputField = (function() { * @param {Object.} object Plain object * @returns {ProtoBaseTextInputField} ProtoBaseTextInputField */ - ProtoBaseTextInputField.fromObject = function fromObject(object, _depth) { + ProtoBaseTextInputField.fromObject = function fromObject(object) { if (object instanceof $root.ProtoBaseTextInputField) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoBaseTextInputField(); if (object.base != null) { if (typeof object.base !== "object") throw TypeError(".ProtoBaseTextInputField.base: object expected"); - message.base = $root.ProtoBaseInputField.fromObject(object.base, _depth + 1); + message.base = $root.ProtoBaseInputField.fromObject(object.base); } if (object.pdfSize != null) { if (typeof object.pdfSize !== "object") throw TypeError(".ProtoBaseTextInputField.pdfSize: object expected"); - message.pdfSize = $root.ProtoBoxedMeasure.fromObject(object.pdfSize, _depth + 1); + message.pdfSize = $root.ProtoBoxedMeasure.fromObject(object.pdfSize); } if (object.pdfInputHeight != null) { if (typeof object.pdfInputHeight !== "object") throw TypeError(".ProtoBaseTextInputField.pdfInputHeight: object expected"); - message.pdfInputHeight = $root.ProtoBoxedMeasure.fromObject(object.pdfInputHeight, _depth + 1); + message.pdfInputHeight = $root.ProtoBoxedMeasure.fromObject(object.pdfInputHeight); } if (object.pdfIsReadOnly != null) - if (object.pdfIsReadOnly) - message.pdfIsReadOnly = Boolean(object.pdfIsReadOnly); + message.pdfIsReadOnly = Boolean(object.pdfIsReadOnly); if (object.pdfIsRequired != null) - if (object.pdfIsRequired) - message.pdfIsRequired = Boolean(object.pdfIsRequired); + message.pdfIsRequired = Boolean(object.pdfIsRequired); if (object.pdfIsNotExported != null) - if (object.pdfIsNotExported) - message.pdfIsNotExported = Boolean(object.pdfIsNotExported); + message.pdfIsNotExported = Boolean(object.pdfIsNotExported); if (object.pdfIsMultiline != null) - if (object.pdfIsMultiline) - message.pdfIsMultiline = Boolean(object.pdfIsMultiline); + message.pdfIsMultiline = Boolean(object.pdfIsMultiline); if (object.pdfIsPasswordField != null) - if (object.pdfIsPasswordField) - message.pdfIsPasswordField = Boolean(object.pdfIsPasswordField); + message.pdfIsPasswordField = Boolean(object.pdfIsPasswordField); if (object.pdfIsFileSelectionField != null) - if (object.pdfIsFileSelectionField) - message.pdfIsFileSelectionField = Boolean(object.pdfIsFileSelectionField); + message.pdfIsFileSelectionField = Boolean(object.pdfIsFileSelectionField); if (object.pdfDisableSpellCheck != null) - if (object.pdfDisableSpellCheck) - message.pdfDisableSpellCheck = Boolean(object.pdfDisableSpellCheck); + message.pdfDisableSpellCheck = Boolean(object.pdfDisableSpellCheck); if (object.pdfDisableScrolling != null) - if (object.pdfDisableScrolling) - message.pdfDisableScrolling = Boolean(object.pdfDisableScrolling); + message.pdfDisableScrolling = Boolean(object.pdfDisableScrolling); if (object.pdfUseCombFormatting != null) - if (object.pdfUseCombFormatting) - message.pdfUseCombFormatting = Boolean(object.pdfUseCombFormatting); + message.pdfUseCombFormatting = Boolean(object.pdfUseCombFormatting); if (object.pdfIsRichTextEnabled != null) - if (object.pdfIsRichTextEnabled) - message.pdfIsRichTextEnabled = Boolean(object.pdfIsRichTextEnabled); + message.pdfIsRichTextEnabled = Boolean(object.pdfIsRichTextEnabled); return message; }; @@ -52251,17 +46842,18 @@ $root.ProtoBaseTextInputField = (function() { }; /** - * Gets the type url for ProtoBaseTextInputField + * Gets the default type url for ProtoBaseTextInputField * @function getTypeUrl * @memberof ProtoBaseTextInputField * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoBaseTextInputField.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoBaseTextInputField"; + ProtoBaseTextInputField.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoBaseTextInputField"; }; return ProtoBaseTextInputField; @@ -52275,7 +46867,6 @@ $root.ProtoInputFieldText = (function() { * @interface IProtoInputFieldText * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldText parent * @property {IProtoBaseTextInputField|null} [base] ProtoInputFieldText base - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -52285,12 +46876,11 @@ $root.ProtoInputFieldText = (function() { * @implements IProtoInputFieldText * @constructor * @param {IProtoInputFieldText=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoInputFieldText(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -52338,9 +46928,6 @@ $root.ProtoInputFieldText = (function() { $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.base != null && Object.hasOwnProperty.call(message, "base")) $root.ProtoBaseTextInputField.encode(message.base, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -52368,42 +46955,26 @@ $root.ProtoInputFieldText = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoInputFieldText.decode = function decode(reader, length, _end, _depth, _target) { + ProtoInputFieldText.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoInputFieldText(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldText(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.base = $root.ProtoBaseTextInputField.decode(reader, reader.uint32(), undefined, _depth + 1, message.base); - continue; + message.base = $root.ProtoBaseTextInputField.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -52431,20 +47002,16 @@ $root.ProtoInputFieldText = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoInputFieldText.verify = function verify(message, _depth) { + ProtoInputFieldText.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.base != null && message.hasOwnProperty("base")) { - var error = $root.ProtoBaseTextInputField.verify(message.base, _depth + 1); + var error = $root.ProtoBaseTextInputField.verify(message.base); if (error) return "base." + error; } @@ -52459,23 +47026,19 @@ $root.ProtoInputFieldText = (function() { * @param {Object.} object Plain object * @returns {ProtoInputFieldText} ProtoInputFieldText */ - ProtoInputFieldText.fromObject = function fromObject(object, _depth) { + ProtoInputFieldText.fromObject = function fromObject(object) { if (object instanceof $root.ProtoInputFieldText) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoInputFieldText(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoInputFieldText.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.base != null) { if (typeof object.base !== "object") throw TypeError(".ProtoInputFieldText.base: object expected"); - message.base = $root.ProtoBaseTextInputField.fromObject(object.base, _depth + 1); + message.base = $root.ProtoBaseTextInputField.fromObject(object.base); } return message; }; @@ -52516,17 +47079,18 @@ $root.ProtoInputFieldText = (function() { }; /** - * Gets the type url for ProtoInputFieldText + * Gets the default type url for ProtoInputFieldText * @function getTypeUrl * @memberof ProtoInputFieldText * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoInputFieldText.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoInputFieldText"; + ProtoInputFieldText.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoInputFieldText"; }; return ProtoInputFieldText; @@ -52540,7 +47104,6 @@ $root.ProtoInputFieldDate = (function() { * @interface IProtoInputFieldDate * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldDate parent * @property {IProtoBaseTextInputField|null} [base] ProtoInputFieldDate base - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -52550,12 +47113,11 @@ $root.ProtoInputFieldDate = (function() { * @implements IProtoInputFieldDate * @constructor * @param {IProtoInputFieldDate=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoInputFieldDate(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -52603,9 +47165,6 @@ $root.ProtoInputFieldDate = (function() { $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.base != null && Object.hasOwnProperty.call(message, "base")) $root.ProtoBaseTextInputField.encode(message.base, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -52633,42 +47192,26 @@ $root.ProtoInputFieldDate = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoInputFieldDate.decode = function decode(reader, length, _end, _depth, _target) { + ProtoInputFieldDate.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoInputFieldDate(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldDate(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.base = $root.ProtoBaseTextInputField.decode(reader, reader.uint32(), undefined, _depth + 1, message.base); - continue; + message.base = $root.ProtoBaseTextInputField.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -52696,20 +47239,16 @@ $root.ProtoInputFieldDate = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoInputFieldDate.verify = function verify(message, _depth) { + ProtoInputFieldDate.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.base != null && message.hasOwnProperty("base")) { - var error = $root.ProtoBaseTextInputField.verify(message.base, _depth + 1); + var error = $root.ProtoBaseTextInputField.verify(message.base); if (error) return "base." + error; } @@ -52724,23 +47263,19 @@ $root.ProtoInputFieldDate = (function() { * @param {Object.} object Plain object * @returns {ProtoInputFieldDate} ProtoInputFieldDate */ - ProtoInputFieldDate.fromObject = function fromObject(object, _depth) { + ProtoInputFieldDate.fromObject = function fromObject(object) { if (object instanceof $root.ProtoInputFieldDate) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoInputFieldDate(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoInputFieldDate.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.base != null) { if (typeof object.base !== "object") throw TypeError(".ProtoInputFieldDate.base: object expected"); - message.base = $root.ProtoBaseTextInputField.fromObject(object.base, _depth + 1); + message.base = $root.ProtoBaseTextInputField.fromObject(object.base); } return message; }; @@ -52781,17 +47316,18 @@ $root.ProtoInputFieldDate = (function() { }; /** - * Gets the type url for ProtoInputFieldDate + * Gets the default type url for ProtoInputFieldDate * @function getTypeUrl * @memberof ProtoInputFieldDate * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoInputFieldDate.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoInputFieldDate"; + ProtoInputFieldDate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoInputFieldDate"; }; return ProtoInputFieldDate; @@ -52805,7 +47341,6 @@ $root.ProtoInputFieldCheckbox = (function() { * @interface IProtoInputFieldCheckbox * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldCheckbox parent * @property {IProtoBaseInputField|null} [base] ProtoInputFieldCheckbox base - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -52815,12 +47350,11 @@ $root.ProtoInputFieldCheckbox = (function() { * @implements IProtoInputFieldCheckbox * @constructor * @param {IProtoInputFieldCheckbox=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoInputFieldCheckbox(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -52868,9 +47402,6 @@ $root.ProtoInputFieldCheckbox = (function() { $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.base != null && Object.hasOwnProperty.call(message, "base")) $root.ProtoBaseInputField.encode(message.base, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -52898,42 +47429,26 @@ $root.ProtoInputFieldCheckbox = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoInputFieldCheckbox.decode = function decode(reader, length, _end, _depth, _target) { + ProtoInputFieldCheckbox.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoInputFieldCheckbox(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldCheckbox(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32(), undefined, _depth + 1, message.base); - continue; + message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -52961,20 +47476,16 @@ $root.ProtoInputFieldCheckbox = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoInputFieldCheckbox.verify = function verify(message, _depth) { + ProtoInputFieldCheckbox.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.base != null && message.hasOwnProperty("base")) { - var error = $root.ProtoBaseInputField.verify(message.base, _depth + 1); + var error = $root.ProtoBaseInputField.verify(message.base); if (error) return "base." + error; } @@ -52989,23 +47500,19 @@ $root.ProtoInputFieldCheckbox = (function() { * @param {Object.} object Plain object * @returns {ProtoInputFieldCheckbox} ProtoInputFieldCheckbox */ - ProtoInputFieldCheckbox.fromObject = function fromObject(object, _depth) { + ProtoInputFieldCheckbox.fromObject = function fromObject(object) { if (object instanceof $root.ProtoInputFieldCheckbox) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoInputFieldCheckbox(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoInputFieldCheckbox.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.base != null) { if (typeof object.base !== "object") throw TypeError(".ProtoInputFieldCheckbox.base: object expected"); - message.base = $root.ProtoBaseInputField.fromObject(object.base, _depth + 1); + message.base = $root.ProtoBaseInputField.fromObject(object.base); } return message; }; @@ -53046,17 +47553,18 @@ $root.ProtoInputFieldCheckbox = (function() { }; /** - * Gets the type url for ProtoInputFieldCheckbox + * Gets the default type url for ProtoInputFieldCheckbox * @function getTypeUrl * @memberof ProtoInputFieldCheckbox * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoInputFieldCheckbox.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoInputFieldCheckbox"; + ProtoInputFieldCheckbox.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoInputFieldCheckbox"; }; return ProtoInputFieldCheckbox; @@ -53070,7 +47578,6 @@ $root.ProtoInputFieldLabel = (function() { * @interface IProtoInputFieldLabel * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldLabel parent * @property {IProtoBaseTextInputField|null} [base] ProtoInputFieldLabel base - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -53080,12 +47587,11 @@ $root.ProtoInputFieldLabel = (function() { * @implements IProtoInputFieldLabel * @constructor * @param {IProtoInputFieldLabel=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoInputFieldLabel(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -53133,9 +47639,6 @@ $root.ProtoInputFieldLabel = (function() { $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.base != null && Object.hasOwnProperty.call(message, "base")) $root.ProtoBaseTextInputField.encode(message.base, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -53163,42 +47666,26 @@ $root.ProtoInputFieldLabel = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoInputFieldLabel.decode = function decode(reader, length, _end, _depth, _target) { + ProtoInputFieldLabel.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoInputFieldLabel(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldLabel(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.base = $root.ProtoBaseTextInputField.decode(reader, reader.uint32(), undefined, _depth + 1, message.base); - continue; + message.base = $root.ProtoBaseTextInputField.decode(reader, reader.uint32()); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -53226,20 +47713,16 @@ $root.ProtoInputFieldLabel = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoInputFieldLabel.verify = function verify(message, _depth) { + ProtoInputFieldLabel.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.base != null && message.hasOwnProperty("base")) { - var error = $root.ProtoBaseTextInputField.verify(message.base, _depth + 1); + var error = $root.ProtoBaseTextInputField.verify(message.base); if (error) return "base." + error; } @@ -53254,23 +47737,19 @@ $root.ProtoInputFieldLabel = (function() { * @param {Object.} object Plain object * @returns {ProtoInputFieldLabel} ProtoInputFieldLabel */ - ProtoInputFieldLabel.fromObject = function fromObject(object, _depth) { + ProtoInputFieldLabel.fromObject = function fromObject(object) { if (object instanceof $root.ProtoInputFieldLabel) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoInputFieldLabel(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoInputFieldLabel.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.base != null) { if (typeof object.base !== "object") throw TypeError(".ProtoInputFieldLabel.base: object expected"); - message.base = $root.ProtoBaseTextInputField.fromObject(object.base, _depth + 1); + message.base = $root.ProtoBaseTextInputField.fromObject(object.base); } return message; }; @@ -53311,17 +47790,18 @@ $root.ProtoInputFieldLabel = (function() { }; /** - * Gets the type url for ProtoInputFieldLabel + * Gets the default type url for ProtoInputFieldLabel * @function getTypeUrl * @memberof ProtoInputFieldLabel * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoInputFieldLabel.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoInputFieldLabel"; + ProtoInputFieldLabel.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoInputFieldLabel"; }; return ProtoInputFieldLabel; @@ -53338,7 +47818,6 @@ $root.ProtoInputFieldDropdown = (function() { * @property {Array.|null} [options] ProtoInputFieldDropdown options * @property {boolean|null} [bindOptionsCode] ProtoInputFieldDropdown bindOptionsCode * @property {string|null} [optionsCode] ProtoInputFieldDropdown optionsCode - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ /** @@ -53348,13 +47827,12 @@ $root.ProtoInputFieldDropdown = (function() { * @implements IProtoInputFieldDropdown * @constructor * @param {IProtoInputFieldDropdown=} [properties] Properties to set - * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function ProtoInputFieldDropdown(properties) { this.options = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null && keys[i] !== "__proto__") + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } @@ -53433,9 +47911,6 @@ $root.ProtoInputFieldDropdown = (function() { writer.uint32(/* id 4, wireType 0 =*/32).bool(message.bindOptionsCode); if (message.optionsCode != null && Object.hasOwnProperty.call(message, "optionsCode")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.optionsCode); - if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) - for (var i = 0; i < message.$unknowns.length; ++i) - writer.raw(message.$unknowns[i]); return writer; }; @@ -53463,68 +47938,40 @@ $root.ProtoInputFieldDropdown = (function() { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProtoInputFieldDropdown.decode = function decode(reader, length, _end, _depth, _target) { + ProtoInputFieldDropdown.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - if (_depth === undefined) - _depth = 0; - if (_depth > $Reader.recursionLimit) - throw Error("max depth exceeded"); - var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ProtoInputFieldDropdown(), value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldDropdown(); while (reader.pos < end) { - var start = reader.pos; - var tag = reader.tag(); - if (tag === _end) { - _end = undefined; - break; - } - var wireType = tag & 7; - switch (tag >>>= 3) { + var tag = reader.uint32(); + switch (tag >>> 3) { case 1: { - if (wireType !== 2) - break; - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32(), undefined, _depth + 1, message.parent); - continue; + message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); + break; } case 2: { - if (wireType !== 2) - break; - message.base = $root.ProtoBaseTextInputField.decode(reader, reader.uint32(), undefined, _depth + 1, message.base); - continue; + message.base = $root.ProtoBaseTextInputField.decode(reader, reader.uint32()); + break; } case 3: { - if (wireType !== 2) - break; if (!(message.options && message.options.length)) message.options = []; - message.options.push($root.ProtoOption.decode(reader, reader.uint32(), undefined, _depth + 1)); - continue; + message.options.push($root.ProtoOption.decode(reader, reader.uint32())); + break; } case 4: { - if (wireType !== 0) - break; - if (value = reader.bool()) - message.bindOptionsCode = value; - else - delete message.bindOptionsCode; - continue; + message.bindOptionsCode = reader.bool(); + break; } case 5: { - if (wireType !== 2) - break; - if ((value = reader.string()).length) - message.optionsCode = value; - else - delete message.optionsCode; - continue; + message.optionsCode = reader.string(); + break; } + default: + reader.skipType(tag & 7); + break; } - reader.skipType(wireType, _depth, tag); - $util.makeProp(message, "$unknowns", false); - (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - if (_end !== undefined) - throw Error("missing end group"); return message; }; @@ -53552,20 +47999,16 @@ $root.ProtoInputFieldDropdown = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProtoInputFieldDropdown.verify = function verify(message, _depth) { + ProtoInputFieldDropdown.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - return "max depth exceeded"; if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent, _depth + 1); + var error = $root.ProtoDocumentElement.verify(message.parent); if (error) return "parent." + error; } if (message.base != null && message.hasOwnProperty("base")) { - var error = $root.ProtoBaseTextInputField.verify(message.base, _depth + 1); + var error = $root.ProtoBaseTextInputField.verify(message.base); if (error) return "base." + error; } @@ -53573,7 +48016,7 @@ $root.ProtoInputFieldDropdown = (function() { if (!Array.isArray(message.options)) return "options: array expected"; for (var i = 0; i < message.options.length; ++i) { - var error = $root.ProtoOption.verify(message.options[i], _depth + 1); + var error = $root.ProtoOption.verify(message.options[i]); if (error) return "options." + error; } @@ -53595,40 +48038,34 @@ $root.ProtoInputFieldDropdown = (function() { * @param {Object.} object Plain object * @returns {ProtoInputFieldDropdown} ProtoInputFieldDropdown */ - ProtoInputFieldDropdown.fromObject = function fromObject(object, _depth) { + ProtoInputFieldDropdown.fromObject = function fromObject(object) { if (object instanceof $root.ProtoInputFieldDropdown) return object; - if (_depth === undefined) - _depth = 0; - if (_depth > $util.recursionLimit) - throw Error("max depth exceeded"); var message = new $root.ProtoInputFieldDropdown(); if (object.parent != null) { if (typeof object.parent !== "object") throw TypeError(".ProtoInputFieldDropdown.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent, _depth + 1); + message.parent = $root.ProtoDocumentElement.fromObject(object.parent); } if (object.base != null) { if (typeof object.base !== "object") throw TypeError(".ProtoInputFieldDropdown.base: object expected"); - message.base = $root.ProtoBaseTextInputField.fromObject(object.base, _depth + 1); + message.base = $root.ProtoBaseTextInputField.fromObject(object.base); } if (object.options) { if (!Array.isArray(object.options)) throw TypeError(".ProtoInputFieldDropdown.options: array expected"); - message.options = Array(object.options.length); + message.options = []; for (var i = 0; i < object.options.length; ++i) { if (typeof object.options[i] !== "object") throw TypeError(".ProtoInputFieldDropdown.options: object expected"); - message.options[i] = $root.ProtoOption.fromObject(object.options[i], _depth + 1); + message.options[i] = $root.ProtoOption.fromObject(object.options[i]); } } if (object.bindOptionsCode != null) - if (object.bindOptionsCode) - message.bindOptionsCode = Boolean(object.bindOptionsCode); + message.bindOptionsCode = Boolean(object.bindOptionsCode); if (object.optionsCode != null) - if (typeof object.optionsCode !== "string" || object.optionsCode.length) - message.optionsCode = String(object.optionsCode); + message.optionsCode = String(object.optionsCode); return message; }; @@ -53658,7 +48095,7 @@ $root.ProtoInputFieldDropdown = (function() { if (message.base != null && message.hasOwnProperty("base")) object.base = $root.ProtoBaseTextInputField.toObject(message.base, options); if (message.options && message.options.length) { - object.options = Array(message.options.length); + object.options = []; for (var j = 0; j < message.options.length; ++j) object.options[j] = $root.ProtoOption.toObject(message.options[j], options); } @@ -53681,17 +48118,18 @@ $root.ProtoInputFieldDropdown = (function() { }; /** - * Gets the type url for ProtoInputFieldDropdown + * Gets the default type url for ProtoInputFieldDropdown * @function getTypeUrl * @memberof ProtoInputFieldDropdown * @static - * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` - * @returns {string} The type url + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ - ProtoInputFieldDropdown.getTypeUrl = function getTypeUrl(prefix) { - if (prefix === undefined) - prefix = "type.googleapis.com"; - return prefix + "/ProtoInputFieldDropdown"; + ProtoInputFieldDropdown.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ProtoInputFieldDropdown"; }; return ProtoInputFieldDropdown; diff --git a/build/docframe.proto b/build/docframe.proto index 8784fa8..83e2e96 100644 --- a/build/docframe.proto +++ b/build/docframe.proto @@ -382,6 +382,7 @@ string paragraphFormatUUID = 4; string paragraphFormatInternalName = 5; string urlCode = 6; bool bindUrlCode = 7; +string uuid = 8; } enum ProtoNumberType { ARABIC = 0; @@ -499,6 +500,7 @@ string name = 2; repeated ProtoListLevelSetting listLevelSettings = 3; ProtoListLevelSetting defaultListLevelSetting = 4; repeated string comChannelUUIDs = 5; +string uuid = 6; } message ProtoBoxedListSetting { @@ -556,6 +558,7 @@ ProtoBoxedString preNamedString = 26; ProtoBoxedString postNamedString = 27; ProtoBoxedString semanticType = 28; repeated string comChannelUUIDs = 29; +string uuid = 30; } message ProtoSection { repeated ProtoDocumentElement _children = 1; @@ -571,6 +574,7 @@ ProtoDocumentElement parent = 1; ProtoMeasure space = 2; repeated string comChannelUUIDs = 3; +string uuid = 4; } message ProtoSpan { repeated ProtoDocumentElement _children = 1; @@ -605,6 +609,7 @@ ProtoDocumentElement parent = 1; ProtoTableSettings settings = 2; string configName = 3; repeated string comChannelUUIDs = 4; +string uuid = 5; } message ProtoTableSettings { @@ -646,6 +651,7 @@ ProtoDocumentElement parent = 1; ProtoTableContentGroupSettings settings = 2; string configName = 3; repeated string comChannelUUIDs = 4; +string uuid = 5; } message ProtoTableContentGroupSettings { @@ -674,6 +680,7 @@ string configName = 3; string rowHeader = 4; string rowFooter = 5; repeated string comChannelUUIDs = 6; +string uuid = 7; } message ProtoTableRowSettings { @@ -712,6 +719,7 @@ ProtoTableCellSettings settings = 2; string configName = 3; ProtoBoxedTableCellType cellType = 4; repeated string comChannelUUIDs = 5; +string uuid = 6; } message ProtoTableCellSettings { @@ -1193,26 +1201,31 @@ string htmlCode = 6; string textContent = 7; string textCode = 8; repeated string comChannelUUIDs = 9; +string uuid = 10; } message ProtoApplyProtoCDef { string cDefUuid = 1; repeated string comChannelUUIDs = 2; +string uuid = 3; } message ProtoApplyProtoPDef { string pDefUuid = 1; repeated string comChannelUUIDs = 2; +string uuid = 3; } message ProtoApplyPtConfig { string ptConfigUuid = 1; repeated string comChannelUUIDs = 2; +string uuid = 3; } message ProtoApplyUlConfig { string ulConfigUuid = 1; repeated string comChannelUUIDs = 2; +string uuid = 3; } @@ -1285,6 +1298,7 @@ repeated ProtoDocumentElement _children = 1; ProtoDocumentElement parent = 2; repeated string comChannelUUIDs = 3; +string uuid = 4; } message ProtoLoopEntry { repeated ProtoDocumentElement _children = 1; @@ -1316,6 +1330,7 @@ bool apply_immediate = 3; ProtoSubTotalPosition position = 4; ProtoMeasure height = 5; repeated string comChannelUUIDs = 6; +string uuid = 7; } message ProtoWsArea { @@ -1323,6 +1338,7 @@ repeated ProtoDocumentElement _children = 1; ProtoDocumentElement parent = 2; repeated string comChannelUUIDs = 3; +string uuid = 4; } message ProtoRule { ProtoMeasure xOffset = 1; @@ -1335,6 +1351,7 @@ ProtoRuleStyle style = 7; ProtoRuleMode mode = 8; ProtoRuleBoundaries boundaries = 9; repeated string comChannelUUIDs = 10; +string uuid = 11; } enum ProtoRuleMode { @@ -1349,12 +1366,14 @@ ProtoMeasure end = 2; message ProtoColorDef { ProtoColor color = 1; repeated string comChannelUUIDs = 2; +string uuid = 3; } message ProtoLayout { ProtoDocumentElement parent = 1; string name = 2; repeated string comChannelUUIDs = 3; +string uuid = 4; } message ProtoAdvancedIllustrationArea { repeated ProtoDocumentElement _children = 1; @@ -1377,6 +1396,7 @@ ProtoDocumentElement parent = 2; ProtoMeasure minFontSize = 3; ProtoMeasure maxFontSize = 4; repeated string comChannelUUIDs = 5; +string uuid = 6; } enum ProtoDoctypeOutputMode { DOCTYPE_OUTPUT_MODE_NOT_SET = 0; diff --git a/docframepb/docframe.pb.go b/docframepb/docframe.pb.go index 0c615ef..445bc00 100644 --- a/docframepb/docframe.pb.go +++ b/docframepb/docframe.pb.go @@ -4491,6 +4491,7 @@ type ProtoLink struct { ParagraphFormatInternalName string `protobuf:"bytes,5,opt,name=paragraphFormatInternalName,proto3" json:"paragraphFormatInternalName,omitempty"` UrlCode string `protobuf:"bytes,6,opt,name=urlCode,proto3" json:"urlCode,omitempty"` BindUrlCode bool `protobuf:"varint,7,opt,name=bindUrlCode,proto3" json:"bindUrlCode,omitempty"` + Uuid string `protobuf:"bytes,8,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4574,6 +4575,13 @@ func (x *ProtoLink) GetBindUrlCode() bool { return false } +func (x *ProtoLink) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoListLevelSetting struct { state protoimpl.MessageState `protogen:"open.v1"` ListSettingName string `protobuf:"bytes,1,opt,name=listSettingName,proto3" json:"listSettingName,omitempty"` @@ -5345,6 +5353,7 @@ type ProtoListSetting struct { ListLevelSettings []*ProtoListLevelSetting `protobuf:"bytes,3,rep,name=listLevelSettings,proto3" json:"listLevelSettings,omitempty"` DefaultListLevelSetting *ProtoListLevelSetting `protobuf:"bytes,4,opt,name=defaultListLevelSetting,proto3" json:"defaultListLevelSetting,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5414,6 +5423,13 @@ func (x *ProtoListSetting) GetComChannelUUIDs() []string { return nil } +func (x *ProtoListSetting) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoBoxedListSetting struct { state protoimpl.MessageState `protogen:"open.v1"` Value *ProtoListSetting `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` @@ -5689,6 +5705,7 @@ type ProtoParagraphFormat struct { PostNamedString *ProtoBoxedString `protobuf:"bytes,27,opt,name=postNamedString,proto3" json:"postNamedString,omitempty"` SemanticType *ProtoBoxedString `protobuf:"bytes,28,opt,name=semanticType,proto3" json:"semanticType,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,29,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,30,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5926,6 +5943,13 @@ func (x *ProtoParagraphFormat) GetComChannelUUIDs() []string { return nil } +func (x *ProtoParagraphFormat) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoSection struct { state protoimpl.MessageState `protogen:"open.v1"` XChildren []*ProtoDocumentElement `protobuf:"bytes,1,rep,name=_children,json=Children,proto3" json:"_children,omitempty"` @@ -6007,6 +6031,7 @@ type ProtoSpaceVertically struct { Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Space *ProtoMeasure `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,3,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6062,6 +6087,13 @@ func (x *ProtoSpaceVertically) GetComChannelUUIDs() []string { return nil } +func (x *ProtoSpaceVertically) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoSpan struct { state protoimpl.MessageState `protogen:"open.v1"` XChildren []*ProtoDocumentElement `protobuf:"bytes,1,rep,name=_children,json=Children,proto3" json:"_children,omitempty"` @@ -6292,6 +6324,7 @@ type ProtoTableConfig struct { Settings *ProtoTableSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` ConfigName string `protobuf:"bytes,3,opt,name=configName,proto3" json:"configName,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6354,6 +6387,13 @@ func (x *ProtoTableConfig) GetComChannelUUIDs() []string { return nil } +func (x *ProtoTableConfig) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoTableSettings struct { state protoimpl.MessageState `protogen:"open.v1"` XOffset *ProtoMeasure `protobuf:"bytes,1,opt,name=xOffset,proto3" json:"xOffset,omitempty"` @@ -6588,6 +6628,7 @@ type ProtoTableContentGroupConfig struct { Settings *ProtoTableContentGroupSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` ConfigName string `protobuf:"bytes,3,opt,name=configName,proto3" json:"configName,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6650,6 +6691,13 @@ func (x *ProtoTableContentGroupConfig) GetComChannelUUIDs() []string { return nil } +func (x *ProtoTableContentGroupConfig) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoTableContentGroupSettings struct { state protoimpl.MessageState `protogen:"open.v1"` ContentGroupType *ProtoBoxedTableContentGroupType `protobuf:"bytes,1,opt,name=contentGroupType,proto3" json:"contentGroupType,omitempty"` @@ -6810,6 +6858,7 @@ type ProtoTableRowConfig struct { RowHeader string `protobuf:"bytes,4,opt,name=rowHeader,proto3" json:"rowHeader,omitempty"` RowFooter string `protobuf:"bytes,5,opt,name=rowFooter,proto3" json:"rowFooter,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,6,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6886,6 +6935,13 @@ func (x *ProtoTableRowConfig) GetComChannelUUIDs() []string { return nil } +func (x *ProtoTableRowConfig) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoTableRowSettings struct { state protoimpl.MessageState `protogen:"open.v1"` MinHeight *ProtoMeasure `protobuf:"bytes,1,opt,name=minHeight,proto3" json:"minHeight,omitempty"` @@ -7105,6 +7161,7 @@ type ProtoTableCellConfig struct { ConfigName string `protobuf:"bytes,3,opt,name=configName,proto3" json:"configName,omitempty"` CellType *ProtoBoxedTableCellType `protobuf:"bytes,4,opt,name=cellType,proto3" json:"cellType,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7174,6 +7231,13 @@ func (x *ProtoTableCellConfig) GetComChannelUUIDs() []string { return nil } +func (x *ProtoTableCellConfig) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoTableCellSettings struct { state protoimpl.MessageState `protogen:"open.v1"` Width *ProtoMeasure `protobuf:"bytes,1,opt,name=width,proto3" json:"width,omitempty"` @@ -10371,6 +10435,7 @@ type ProtoFormatted struct { TextContent string `protobuf:"bytes,7,opt,name=textContent,proto3" json:"textContent,omitempty"` TextCode string `protobuf:"bytes,8,opt,name=textCode,proto3" json:"textCode,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,9,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,10,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10468,10 +10533,18 @@ func (x *ProtoFormatted) GetComChannelUUIDs() []string { return nil } +func (x *ProtoFormatted) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoApplyProtoCDef struct { state protoimpl.MessageState `protogen:"open.v1"` CDefUuid string `protobuf:"bytes,1,opt,name=cDefUuid,proto3" json:"cDefUuid,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,2,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10520,10 +10593,18 @@ func (x *ProtoApplyProtoCDef) GetComChannelUUIDs() []string { return nil } +func (x *ProtoApplyProtoCDef) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoApplyProtoPDef struct { state protoimpl.MessageState `protogen:"open.v1"` PDefUuid string `protobuf:"bytes,1,opt,name=pDefUuid,proto3" json:"pDefUuid,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,2,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10572,10 +10653,18 @@ func (x *ProtoApplyProtoPDef) GetComChannelUUIDs() []string { return nil } +func (x *ProtoApplyProtoPDef) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoApplyPtConfig struct { state protoimpl.MessageState `protogen:"open.v1"` PtConfigUuid string `protobuf:"bytes,1,opt,name=ptConfigUuid,proto3" json:"ptConfigUuid,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,2,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10624,10 +10713,18 @@ func (x *ProtoApplyPtConfig) GetComChannelUUIDs() []string { return nil } +func (x *ProtoApplyPtConfig) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoApplyUlConfig struct { state protoimpl.MessageState `protogen:"open.v1"` UlConfigUuid string `protobuf:"bytes,1,opt,name=ulConfigUuid,proto3" json:"ulConfigUuid,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,2,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10676,6 +10773,13 @@ func (x *ProtoApplyUlConfig) GetComChannelUUIDs() []string { return nil } +func (x *ProtoApplyUlConfig) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoCDef struct { state protoimpl.MessageState `protogen:"open.v1"` ColumSettings *ProtoColumnSettings `protobuf:"bytes,1,opt,name=columSettings,proto3" json:"columSettings,omitempty"` @@ -11161,6 +11265,7 @@ type ProtoCarryOver struct { XChildren []*ProtoDocumentElement `protobuf:"bytes,1,rep,name=_children,json=Children,proto3" json:"_children,omitempty"` Parent *ProtoDocumentElement `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,3,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -11216,6 +11321,13 @@ func (x *ProtoCarryOver) GetComChannelUUIDs() []string { return nil } +func (x *ProtoCarryOver) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoLoopEntry struct { state protoimpl.MessageState `protogen:"open.v1"` XChildren []*ProtoDocumentElement `protobuf:"bytes,1,rep,name=_children,json=Children,proto3" json:"_children,omitempty"` @@ -11384,6 +11496,7 @@ type ProtoSubTotal struct { Position ProtoSubTotalPosition `protobuf:"varint,4,opt,name=position,proto3,enum=ProtoSubTotalPosition" json:"position,omitempty"` Height *ProtoMeasure `protobuf:"bytes,5,opt,name=height,proto3" json:"height,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,6,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -11460,11 +11573,19 @@ func (x *ProtoSubTotal) GetComChannelUUIDs() []string { return nil } +func (x *ProtoSubTotal) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoWsArea struct { state protoimpl.MessageState `protogen:"open.v1"` XChildren []*ProtoDocumentElement `protobuf:"bytes,1,rep,name=_children,json=Children,proto3" json:"_children,omitempty"` Parent *ProtoDocumentElement `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,3,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -11520,6 +11641,13 @@ func (x *ProtoWsArea) GetComChannelUUIDs() []string { return nil } +func (x *ProtoWsArea) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoRule struct { state protoimpl.MessageState `protogen:"open.v1"` XOffset *ProtoMeasure `protobuf:"bytes,1,opt,name=xOffset,proto3" json:"xOffset,omitempty"` @@ -11532,6 +11660,7 @@ type ProtoRule struct { Mode ProtoRuleMode `protobuf:"varint,8,opt,name=mode,proto3,enum=ProtoRuleMode" json:"mode,omitempty"` Boundaries *ProtoRuleBoundaries `protobuf:"bytes,9,opt,name=boundaries,proto3" json:"boundaries,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,10,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,11,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -11636,6 +11765,13 @@ func (x *ProtoRule) GetComChannelUUIDs() []string { return nil } +func (x *ProtoRule) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoRuleBoundaries struct { state protoimpl.MessageState `protogen:"open.v1"` Start *ProtoMeasure `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` @@ -11692,6 +11828,7 @@ type ProtoColorDef struct { state protoimpl.MessageState `protogen:"open.v1"` Color *ProtoColor `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,2,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -11740,11 +11877,19 @@ func (x *ProtoColorDef) GetComChannelUUIDs() []string { return nil } +func (x *ProtoColorDef) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoLayout struct { state protoimpl.MessageState `protogen:"open.v1"` Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,3,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -11800,6 +11945,13 @@ func (x *ProtoLayout) GetComChannelUUIDs() []string { return nil } +func (x *ProtoLayout) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoAdvancedIllustrationArea struct { state protoimpl.MessageState `protogen:"open.v1"` XChildren []*ProtoDocumentElement `protobuf:"bytes,1,rep,name=_children,json=Children,proto3" json:"_children,omitempty"` @@ -11931,6 +12083,7 @@ type ProtoAdjustHorizontally struct { MinFontSize *ProtoMeasure `protobuf:"bytes,3,opt,name=minFontSize,proto3" json:"minFontSize,omitempty"` MaxFontSize *ProtoMeasure `protobuf:"bytes,4,opt,name=maxFontSize,proto3" json:"maxFontSize,omitempty"` ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` + Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -12000,6 +12153,13 @@ func (x *ProtoAdjustHorizontally) GetComChannelUUIDs() []string { return nil } +func (x *ProtoAdjustHorizontally) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + type ProtoDoctypeScript struct { state protoimpl.MessageState `protogen:"open.v1"` Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` @@ -13457,7 +13617,7 @@ const file_build_docframe_proto_rawDesc = "" + "\x1aProtoBranchDocumentElement\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\xab\x02\n" + + "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\xbf\x02\n" + "\tProtoLink\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12\x10\n" + "\x03url\x18\x02 \x01(\tR\x03url\x12(\n" + @@ -13465,7 +13625,8 @@ const file_build_docframe_proto_rawDesc = "" + "\x13paragraphFormatUUID\x18\x04 \x01(\tR\x13paragraphFormatUUID\x12@\n" + "\x1bparagraphFormatInternalName\x18\x05 \x01(\tR\x1bparagraphFormatInternalName\x12\x18\n" + "\aurlCode\x18\x06 \x01(\tR\aurlCode\x12 \n" + - "\vbindUrlCode\x18\a \x01(\bR\vbindUrlCode\"\x83\x05\n" + + "\vbindUrlCode\x18\a \x01(\bR\vbindUrlCode\x12\x12\n" + + "\x04uuid\x18\b \x01(\tR\x04uuid\"\x83\x05\n" + "\x15ProtoListLevelSetting\x12(\n" + "\x0flistSettingName\x18\x01 \x01(\tR\x0flistSettingName\x12-\n" + "\bfontSize\x18\x02 \x01(\v2\x11.ProtoBoxedUint32R\bfontSize\x12.\n" + @@ -13569,13 +13730,14 @@ const file_build_docframe_proto_rawDesc = "" + "fontFamily\x12#\n" + "\x04bold\x18\r \x01(\v2\x0f.ProtoBoxedBoolR\x04bold\x12'\n" + "\x06italic\x18\x0e \x01(\v2\x0f.ProtoBoxedBoolR\x06italic\x12\x1c\n" + - "\tcharacter\x18\x0f \x01(\tR\tcharacter\"\x97\x02\n" + + "\tcharacter\x18\x0f \x01(\tR\tcharacter\"\xab\x02\n" + "\x10ProtoListSetting\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12D\n" + "\x11listLevelSettings\x18\x03 \x03(\v2\x16.ProtoListLevelSettingR\x11listLevelSettings\x12P\n" + "\x17defaultListLevelSetting\x18\x04 \x01(\v2\x16.ProtoListLevelSettingR\x17defaultListLevelSetting\x12(\n" + - "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"X\n" + + "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x06 \x01(\tR\x04uuid\"X\n" + "\x15ProtoBoxedListSetting\x12'\n" + "\x05value\x18\x01 \x01(\v2\x11.ProtoListSettingR\x05value\x12\x16\n" + "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xa1\x02\n" + @@ -13595,7 +13757,7 @@ const file_build_docframe_proto_rawDesc = "" + "\toverwrite\x18\x04 \x01(\v2\x15.ProtoParagraphFormatR\toverwrite\x12(\n" + "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\x120\n" + "\x13paragraphFormatUUID\x18\x06 \x01(\tR\x13paragraphFormatUUID\x12\x12\n" + - "\x04uuid\x18\a \x01(\tR\x04uuid\"\xa6\f\n" + + "\x04uuid\x18\a \x01(\tR\x04uuid\"\xba\f\n" + "\x14ProtoParagraphFormat\x125\n" + "\n" + "baseFormat\x18\x01 \x01(\v2\x15.ProtoParagraphFormatR\n" + @@ -13632,17 +13794,19 @@ const file_build_docframe_proto_rawDesc = "" + "\x0epreNamedString\x18\x1a \x01(\v2\x11.ProtoBoxedStringR\x0epreNamedString\x12;\n" + "\x0fpostNamedString\x18\x1b \x01(\v2\x11.ProtoBoxedStringR\x0fpostNamedString\x125\n" + "\fsemanticType\x18\x1c \x01(\v2\x11.ProtoBoxedStringR\fsemanticType\x12(\n" + - "\x0fcomChannelUUIDs\x18\x1d \x03(\tR\x0fcomChannelUUIDs\"\xcb\x01\n" + + "\x0fcomChannelUUIDs\x18\x1d \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x1e \x01(\tR\x04uuid\"\xcb\x01\n" + "\fProtoSection\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + "\x04uuid\x18\x03 \x01(\tR\x04uuid\x12\x1a\n" + "\bcDefUuid\x18\x04 \x01(\tR\bcDefUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"\x94\x01\n" + + "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"\xa8\x01\n" + "\x14ProtoSpaceVertically\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12#\n" + "\x05space\x18\x02 \x01(\v2\r.ProtoMeasureR\x05space\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\xd1\x03\n" + + "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x04 \x01(\tR\x04uuid\"\xd1\x03\n" + "\tProtoSpan\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12#\n" + @@ -13667,14 +13831,15 @@ const file_build_docframe_proto_rawDesc = "" + "\bsubTotal\x18\x06 \x01(\v2\x05.NodeR\bsubTotal\x12(\n" + "\x0fcomChannelUUIDs\x18\a \x03(\tR\x0fcomChannelUUIDs\x12J\n" + "\x11elementProperties\x18\b \x01(\v2\x1c.ProtoTableElementPropertiesR\x11elementProperties\x12\x12\n" + - "\x04uuid\x18\t \x01(\tR\x04uuid\"\xbc\x01\n" + + "\x04uuid\x18\t \x01(\tR\x04uuid\"\xd0\x01\n" + "\x10ProtoTableConfig\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12/\n" + "\bsettings\x18\x02 \x01(\v2\x13.ProtoTableSettingsR\bsettings\x12\x1e\n" + "\n" + "configName\x18\x03 \x01(\tR\n" + "configName\x12(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\"\xeb\x02\n" + + "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x05 \x01(\tR\x04uuid\"\xeb\x02\n" + "\x12ProtoTableSettings\x12'\n" + "\axOffset\x18\x01 \x01(\v2\r.ProtoMeasureR\axOffset\x121\n" + "\vleftMeasure\x18\x02 \x01(\v2\x0f.ProtoBoxedBoolR\vleftMeasure\x12#\n" + @@ -13692,14 +13857,15 @@ const file_build_docframe_proto_rawDesc = "" + "\bsettings\x18\x03 \x01(\v2\x1f.ProtoTableContentGroupSettingsR\bsettings\x12(\n" + "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12J\n" + "\x11elementProperties\x18\x05 \x01(\v2\x1c.ProtoTableElementPropertiesR\x11elementProperties\x12\x12\n" + - "\x04uuid\x18\x06 \x01(\tR\x04uuid\"\xd4\x01\n" + + "\x04uuid\x18\x06 \x01(\tR\x04uuid\"\xe8\x01\n" + "\x1cProtoTableContentGroupConfig\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12;\n" + "\bsettings\x18\x02 \x01(\v2\x1f.ProtoTableContentGroupSettingsR\bsettings\x12\x1e\n" + "\n" + "configName\x18\x03 \x01(\tR\n" + "configName\x12(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\"\xc6\x01\n" + + "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x05 \x01(\tR\x04uuid\"\xc6\x01\n" + "\x1eProtoTableContentGroupSettings\x12L\n" + "\x10contentGroupType\x18\x01 \x01(\v2 .ProtoBoxedTableContentGroupTypeR\x10contentGroupType\x127\n" + "\x10backgroundColors\x18\x02 \x03(\v2\v.ProtoColorR\x10backgroundColors\x12\x1d\n" + @@ -13711,7 +13877,7 @@ const file_build_docframe_proto_rawDesc = "" + "\x0frowConfigNumber\x18\x04 \x01(\v2\x11.ProtoBoxedUint32R\x0frowConfigNumber\x12(\n" + "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\x12J\n" + "\x11elementProperties\x18\x06 \x01(\v2\x1c.ProtoTableElementPropertiesR\x11elementProperties\x12\x12\n" + - "\x04uuid\x18\a \x01(\tR\x04uuid\"\xfe\x01\n" + + "\x04uuid\x18\a \x01(\tR\x04uuid\"\x92\x02\n" + "\x13ProtoTableRowConfig\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x122\n" + "\bsettings\x18\x02 \x01(\v2\x16.ProtoTableRowSettingsR\bsettings\x12\x1e\n" + @@ -13720,7 +13886,8 @@ const file_build_docframe_proto_rawDesc = "" + "configName\x12\x1c\n" + "\trowHeader\x18\x04 \x01(\tR\trowHeader\x12\x1c\n" + "\trowFooter\x18\x05 \x01(\tR\trowFooter\x12(\n" + - "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\"c\n" + + "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\a \x01(\tR\x04uuid\"c\n" + "\x15ProtoTableRowSettings\x12+\n" + "\tminHeight\x18\x01 \x01(\v2\r.ProtoMeasureR\tminHeight\x12\x1d\n" + "\x02ws\x18\x02 \x01(\v2\r.ProtoTableWSR\x02ws\"\\\n" + @@ -13738,7 +13905,7 @@ const file_build_docframe_proto_rawDesc = "" + "\bmergedUp\x18\x06 \x01(\bR\bmergedUp\x12(\n" + "\x0fcomChannelUUIDs\x18\a \x03(\tR\x0fcomChannelUUIDs\x12J\n" + "\x11elementProperties\x18\b \x01(\v2\x1c.ProtoTableElementPropertiesR\x11elementProperties\x12\x12\n" + - "\x04uuid\x18\t \x01(\tR\x04uuid\"\xfa\x01\n" + + "\x04uuid\x18\t \x01(\tR\x04uuid\"\x8e\x02\n" + "\x14ProtoTableCellConfig\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x123\n" + "\bsettings\x18\x02 \x01(\v2\x17.ProtoTableCellSettingsR\bsettings\x12\x1e\n" + @@ -13746,7 +13913,8 @@ const file_build_docframe_proto_rawDesc = "" + "configName\x18\x03 \x01(\tR\n" + "configName\x124\n" + "\bcellType\x18\x04 \x01(\v2\x18.ProtoBoxedTableCellTypeR\bcellType\x12(\n" + - "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"\xdf\x03\n" + + "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x06 \x01(\tR\x04uuid\"\xdf\x03\n" + "\x16ProtoTableCellSettings\x12#\n" + "\x05width\x18\x01 \x01(\v2\r.ProtoMeasureR\x05width\x124\n" + "\x05align\x18\x02 \x01(\v2\x1e.ProtoBoxedHorizontalAlignmentR\x05align\x124\n" + @@ -14056,7 +14224,7 @@ const file_build_docframe_proto_rawDesc = "" + "formatUuid\x12;\n" + "\vspecialType\x18\x05 \x01(\x0e2\x19.ProtoVariableSpecialTypeR\vspecialType\x12\x12\n" + "\x04uuid\x18\x06 \x01(\tR\x04uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\a \x03(\tR\x0fcomChannelUUIDs\"\xd7\x02\n" + + "\x0fcomChannelUUIDs\x18\a \x03(\tR\x0fcomChannelUUIDs\"\xeb\x02\n" + "\x0eProtoFormatted\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12&\n" + "\x0edteditorSyntax\x18\x02 \x01(\bR\x0edteditorSyntax\x12&\n" + @@ -14066,19 +14234,25 @@ const file_build_docframe_proto_rawDesc = "" + "\bhtmlCode\x18\x06 \x01(\tR\bhtmlCode\x12 \n" + "\vtextContent\x18\a \x01(\tR\vtextContent\x12\x1a\n" + "\btextCode\x18\b \x01(\tR\btextCode\x12(\n" + - "\x0fcomChannelUUIDs\x18\t \x03(\tR\x0fcomChannelUUIDs\"[\n" + + "\x0fcomChannelUUIDs\x18\t \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\n" + + " \x01(\tR\x04uuid\"o\n" + "\x13ProtoApplyProtoCDef\x12\x1a\n" + "\bcDefUuid\x18\x01 \x01(\tR\bcDefUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"[\n" + + "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x03 \x01(\tR\x04uuid\"o\n" + "\x13ProtoApplyProtoPDef\x12\x1a\n" + "\bpDefUuid\x18\x01 \x01(\tR\bpDefUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"b\n" + + "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x03 \x01(\tR\x04uuid\"v\n" + "\x12ProtoApplyPtConfig\x12\"\n" + "\fptConfigUuid\x18\x01 \x01(\tR\fptConfigUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"b\n" + + "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x03 \x01(\tR\x04uuid\"v\n" + "\x12ProtoApplyUlConfig\x12\"\n" + "\fulConfigUuid\x18\x01 \x01(\tR\fulConfigUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"\x81\x02\n" + + "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x03 \x01(\tR\x04uuid\"\x81\x02\n" + "\tProtoCDef\x12:\n" + "\rcolumSettings\x18\x01 \x01(\v2\x14.ProtoColumnSettingsR\rcolumSettings\x12A\n" + "\x13applyToHeaderFooter\x18\x02 \x01(\v2\x0f.ProtoBoxedBoolR\x13applyToHeaderFooter\x127\n" + @@ -14121,11 +14295,12 @@ const file_build_docframe_proto_rawDesc = "" + "\x04left\x18\x03 \x01(\v2\x12.ProtoBoxedMeasureR\x04left\x12(\n" + "\x05right\x18\x04 \x01(\v2\x12.ProtoBoxedMeasureR\x05right\x12\x12\n" + "\x04uuid\x18\x05 \x01(\tR\x04uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\"\x9d\x01\n" + + "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\"\xb1\x01\n" + "\x0eProtoCarryOver\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\xdb\x01\n" + + "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x04 \x01(\tR\x04uuid\"\xdb\x01\n" + "\x0eProtoLoopEntry\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + @@ -14138,18 +14313,20 @@ const file_build_docframe_proto_rawDesc = "" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + "\x04path\x18\x03 \x01(\tR\x04path\x12\x12\n" + "\x04uuid\x18\x04 \x01(\tR\x04uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"\xa0\x02\n" + + "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"\xb4\x02\n" + "\rProtoSubTotal\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12'\n" + "\x0fapply_immediate\x18\x03 \x01(\bR\x0eapplyImmediate\x122\n" + "\bposition\x18\x04 \x01(\x0e2\x16.ProtoSubTotalPositionR\bposition\x12%\n" + "\x06height\x18\x05 \x01(\v2\r.ProtoMeasureR\x06height\x12(\n" + - "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\"\x9a\x01\n" + + "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\a \x01(\tR\x04uuid\"\xae\x01\n" + "\vProtoWsArea\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\x99\x03\n" + + "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x04 \x01(\tR\x04uuid\"\xad\x03\n" + "\tProtoRule\x12'\n" + "\axOffset\x18\x01 \x01(\v2\r.ProtoMeasureR\axOffset\x12'\n" + "\ayOffset\x18\x02 \x01(\v2\r.ProtoMeasureR\ayOffset\x12#\n" + @@ -14163,17 +14340,20 @@ const file_build_docframe_proto_rawDesc = "" + "boundaries\x18\t \x01(\v2\x14.ProtoRuleBoundariesR\n" + "boundaries\x12(\n" + "\x0fcomChannelUUIDs\x18\n" + - " \x03(\tR\x0fcomChannelUUIDs\"[\n" + + " \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\v \x01(\tR\x04uuid\"[\n" + "\x13ProtoRuleBoundaries\x12#\n" + "\x05start\x18\x01 \x01(\v2\r.ProtoMeasureR\x05start\x12\x1f\n" + - "\x03end\x18\x02 \x01(\v2\r.ProtoMeasureR\x03end\"\\\n" + + "\x03end\x18\x02 \x01(\v2\r.ProtoMeasureR\x03end\"p\n" + "\rProtoColorDef\x12!\n" + "\x05color\x18\x01 \x01(\v2\v.ProtoColorR\x05color\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"z\n" + + "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x03 \x01(\tR\x04uuid\"\x8e\x01\n" + "\vProtoLayout\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\xc6\x03\n" + + "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x04 \x01(\tR\x04uuid\"\xc6\x03\n" + "\x1dProtoAdvancedIllustrationArea\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + @@ -14186,13 +14366,14 @@ const file_build_docframe_proto_rawDesc = "" + "\btextFlow\x18\t \x01(\x0e2*.ProtoAdvancedIllustrationAreaTextFlowTypeR\btextFlow\x12\x1a\n" + "\brotation\x18\n" + " \x01(\x02R\brotation\x12(\n" + - "\x0fcomChannelUUIDs\x18\v \x03(\tR\x0fcomChannelUUIDs\"\x88\x02\n" + + "\x0fcomChannelUUIDs\x18\v \x03(\tR\x0fcomChannelUUIDs\"\x9c\x02\n" + "\x17ProtoAdjustHorizontally\x122\n" + "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12/\n" + "\vminFontSize\x18\x03 \x01(\v2\r.ProtoMeasureR\vminFontSize\x12/\n" + "\vmaxFontSize\x18\x04 \x01(\v2\r.ProtoMeasureR\vmaxFontSize\x12(\n" + - "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"\xd4\x01\n" + + "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + + "\x04uuid\x18\x06 \x01(\tR\x04uuid\"\xd4\x01\n" + "\x12ProtoDoctypeScript\x12-\n" + "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x18\n" + "\acontent\x18\x02 \x01(\tR\acontent\x127\n" + diff --git a/package.json b/package.json index f3dec21..97fd81f 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docframe-types", - "version": "0.8.2", + "version": "0.8.3", "description": "docframe-types contains type definitions for creating documents (e. g. using Deuterium)", "keywords": [ "formatting", diff --git a/src/DocumentElements/documentelements.adjust_horizontally.proto b/src/DocumentElements/documentelements.adjust_horizontally.proto index 7d2f000..3fa8953 100644 --- a/src/DocumentElements/documentelements.adjust_horizontally.proto +++ b/src/DocumentElements/documentelements.adjust_horizontally.proto @@ -7,4 +7,5 @@ message ProtoAdjustHorizontally { ProtoMeasure minFontSize = 3; ProtoMeasure maxFontSize = 4; repeated string comChannelUUIDs = 5; + string uuid = 6; } diff --git a/src/DocumentElements/documentelements.apply_cdef.proto b/src/DocumentElements/documentelements.apply_cdef.proto index 746f9c7..c18bbc8 100644 --- a/src/DocumentElements/documentelements.apply_cdef.proto +++ b/src/DocumentElements/documentelements.apply_cdef.proto @@ -2,4 +2,5 @@ message ProtoApplyProtoCDef { string cDefUuid = 1; repeated string comChannelUUIDs = 2; + string uuid = 3; } diff --git a/src/DocumentElements/documentelements.apply_pdef.proto b/src/DocumentElements/documentelements.apply_pdef.proto index 7a82e41..0f652c3 100644 --- a/src/DocumentElements/documentelements.apply_pdef.proto +++ b/src/DocumentElements/documentelements.apply_pdef.proto @@ -2,4 +2,5 @@ message ProtoApplyProtoPDef { string pDefUuid = 1; repeated string comChannelUUIDs = 2; + string uuid = 3; } diff --git a/src/DocumentElements/documentelements.apply_pt_config.proto b/src/DocumentElements/documentelements.apply_pt_config.proto index c89488f..d3ac4ab 100644 --- a/src/DocumentElements/documentelements.apply_pt_config.proto +++ b/src/DocumentElements/documentelements.apply_pt_config.proto @@ -2,4 +2,5 @@ message ProtoApplyPtConfig { string ptConfigUuid = 1; repeated string comChannelUUIDs = 2; + string uuid = 3; } diff --git a/src/DocumentElements/documentelements.apply_ul_config.proto b/src/DocumentElements/documentelements.apply_ul_config.proto index ba6607d..32ce109 100644 --- a/src/DocumentElements/documentelements.apply_ul_config.proto +++ b/src/DocumentElements/documentelements.apply_ul_config.proto @@ -2,4 +2,5 @@ message ProtoApplyUlConfig { string ulConfigUuid = 1; repeated string comChannelUUIDs = 2; + string uuid = 3; } diff --git a/src/DocumentElements/documentelements.carry_over.proto b/src/DocumentElements/documentelements.carry_over.proto index 2470b81..f9e49e7 100644 --- a/src/DocumentElements/documentelements.carry_over.proto +++ b/src/DocumentElements/documentelements.carry_over.proto @@ -5,4 +5,5 @@ message ProtoCarryOver { // extends BranchDocumentElement repeated string comChannelUUIDs = 3; + string uuid = 4; } diff --git a/src/DocumentElements/documentelements.color_def.proto b/src/DocumentElements/documentelements.color_def.proto index d6cb393..247131f 100644 --- a/src/DocumentElements/documentelements.color_def.proto +++ b/src/DocumentElements/documentelements.color_def.proto @@ -1,4 +1,5 @@ message ProtoColorDef { ProtoColor color = 1; repeated string comChannelUUIDs = 2; + string uuid = 3; } diff --git a/src/DocumentElements/documentelements.footer.proto b/src/DocumentElements/documentelements.footer.proto index d749869..7f8e7cc 100644 --- a/src/DocumentElements/documentelements.footer.proto +++ b/src/DocumentElements/documentelements.footer.proto @@ -1,4 +1,4 @@ -enum ProtoFooterMode { +enum ProtoFooterMode { FOOTER_MODE_APPEND_INITIAL = 0; FOOTER_MODE_APPEND = 1; FOOTER_MODE_EXTEND = 2; diff --git a/src/DocumentElements/documentelements.formatted.proto b/src/DocumentElements/documentelements.formatted.proto index b94dade..b6c2570 100644 --- a/src/DocumentElements/documentelements.formatted.proto +++ b/src/DocumentElements/documentelements.formatted.proto @@ -11,4 +11,5 @@ message ProtoFormatted { string textContent = 7; string textCode = 8; repeated string comChannelUUIDs = 9; + string uuid = 10; } diff --git a/src/DocumentElements/documentelements.layout.proto b/src/DocumentElements/documentelements.layout.proto index e49b428..38916af 100644 --- a/src/DocumentElements/documentelements.layout.proto +++ b/src/DocumentElements/documentelements.layout.proto @@ -4,4 +4,5 @@ message ProtoLayout { string name = 2; repeated string comChannelUUIDs = 3; + string uuid = 4; } diff --git a/src/DocumentElements/documentelements.link.proto b/src/DocumentElements/documentelements.link.proto index 98d4c4b..02cb961 100644 --- a/src/DocumentElements/documentelements.link.proto +++ b/src/DocumentElements/documentelements.link.proto @@ -9,4 +9,5 @@ message ProtoLink { string paragraphFormatInternalName = 5; string urlCode = 6; bool bindUrlCode = 7; + string uuid = 8; } diff --git a/src/DocumentElements/documentelements.list_setting.proto b/src/DocumentElements/documentelements.list_setting.proto index 9d7042f..e22f824 100644 --- a/src/DocumentElements/documentelements.list_setting.proto +++ b/src/DocumentElements/documentelements.list_setting.proto @@ -7,6 +7,7 @@ message ProtoListSetting { repeated ProtoListLevelSetting listLevelSettings = 3; ProtoListLevelSetting defaultListLevelSetting = 4; repeated string comChannelUUIDs = 5; + string uuid = 6; } // go-gen:ignore diff --git a/src/DocumentElements/documentelements.paragraph_format.proto b/src/DocumentElements/documentelements.paragraph_format.proto index 1a212a9..b65c7cd 100644 --- a/src/DocumentElements/documentelements.paragraph_format.proto +++ b/src/DocumentElements/documentelements.paragraph_format.proto @@ -28,4 +28,5 @@ message ProtoParagraphFormat { ProtoBoxedString postNamedString = 27; ProtoBoxedString semanticType = 28; repeated string comChannelUUIDs = 29; + string uuid = 30; } diff --git a/src/DocumentElements/documentelements.rule.proto b/src/DocumentElements/documentelements.rule.proto index 7a5b3be..2ab2091 100644 --- a/src/DocumentElements/documentelements.rule.proto +++ b/src/DocumentElements/documentelements.rule.proto @@ -19,6 +19,7 @@ message ProtoRule { // If the rule is a normal rule, this field is ignored. ProtoRuleBoundaries boundaries = 9; repeated string comChannelUUIDs = 10; + string uuid = 11; } enum ProtoRuleMode { diff --git a/src/DocumentElements/documentelements.space_vertically.proto b/src/DocumentElements/documentelements.space_vertically.proto index 18b0962..01f0b56 100644 --- a/src/DocumentElements/documentelements.space_vertically.proto +++ b/src/DocumentElements/documentelements.space_vertically.proto @@ -5,4 +5,5 @@ message ProtoSpaceVertically { ProtoMeasure space = 2; repeated string comChannelUUIDs = 3; + string uuid = 4; } diff --git a/src/DocumentElements/documentelements.sub_total.proto b/src/DocumentElements/documentelements.sub_total.proto index 5b32540..43b5937 100644 --- a/src/DocumentElements/documentelements.sub_total.proto +++ b/src/DocumentElements/documentelements.sub_total.proto @@ -13,5 +13,6 @@ message ProtoSubTotal { ProtoSubTotalPosition position = 4; ProtoMeasure height = 5; repeated string comChannelUUIDs = 6; + string uuid = 7; } diff --git a/src/DocumentElements/documentelements.table.proto b/src/DocumentElements/documentelements.table.proto index 41dfeef..550425d 100644 --- a/src/DocumentElements/documentelements.table.proto +++ b/src/DocumentElements/documentelements.table.proto @@ -22,6 +22,7 @@ message ProtoTableConfig { ProtoTableSettings settings = 2; string configName = 3; repeated string comChannelUUIDs = 4; + string uuid = 5; } // go-gen:ignore @@ -69,6 +70,7 @@ message ProtoTableContentGroupConfig { ProtoTableContentGroupSettings settings = 2; string configName = 3; repeated string comChannelUUIDs = 4; + string uuid = 5; } // go-gen:ignore @@ -102,6 +104,7 @@ message ProtoTableRowConfig { string rowHeader = 4; string rowFooter = 5; repeated string comChannelUUIDs = 6; + string uuid = 7; } // go-gen:ignore @@ -148,6 +151,7 @@ message ProtoTableCellConfig { string configName = 3; ProtoBoxedTableCellType cellType = 4; repeated string comChannelUUIDs = 5; + string uuid = 6; } // go-gen:ignore diff --git a/src/DocumentElements/documentelements.ws_area.proto b/src/DocumentElements/documentelements.ws_area.proto index 9fa6f6e..f31b8fc 100644 --- a/src/DocumentElements/documentelements.ws_area.proto +++ b/src/DocumentElements/documentelements.ws_area.proto @@ -5,4 +5,5 @@ message ProtoWsArea { // extends BranchDocumentElement repeated string comChannelUUIDs = 3; + string uuid = 4; }