diff --git a/.gitignore b/.gitignore index c6bba59..608b954 100644 --- a/.gitignore +++ b/.gitignore @@ -1,130 +1,2 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -.pnpm-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories +gen/ node_modules/ -jspm_packages/ - -# Snowpack dependency directory (https://snowpack.dev/) -web_modules/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional stylelint cache -.stylelintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variable files -.env -.env.development.local -.env.test.local -.env.production.local -.env.local - -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache - -# Next.js build output -.next -out - -# Nuxt.js build / generate output -.nuxt -dist - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# vuepress v2.x temp and cache directory -.temp -.cache - -# Docusaurus cache and generated files -.docusaurus - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port - -# Stores VSCode versions used for testing VSCode extensions -.vscode-test - -# yarn v2 -.yarn/cache -.yarn/unplugged -.yarn/build-state.yml -.yarn/install-state.gz -.pnp.* diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9614941 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "protoc": { + "options": ["-I=proto"] + } +} diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fb3a779 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +PROTO_FILES = $(shell find proto -name '*.proto') + +gen/document_elements/v1/message_generated.go: $(PROTO_FILES) + buf lint proto + buf generate proto + go run ./tools/proto_node_generator/proto_node_generator.go -proto-document-element-dir ./proto/document_element/v1 -proto-util-dir ./proto/util/v1 -destination-dir gen/document_element/v1/ + bunx barrelsby --directory gen --delete + bunx tsc -p tsconfig.json + +.PHONY: clean +clean: + rm -rf gen \ No newline at end of file diff --git a/buf.gen.yaml b/buf.gen.yaml new file mode 100644 index 0000000..216a199 --- /dev/null +++ b/buf.gen.yaml @@ -0,0 +1,19 @@ +version: v2 +managed: + enabled: true + override: + - file_option: go_package_prefix + value: github.com/documatrix/docframe-types/gen +inputs: + - directory: src +plugins: + - remote: buf.build/protocolbuffers/go:v1.36.8 + out: gen + opt: + - paths=source_relative + - remote: buf.build/protocolbuffers/csharp:v32.0 + out: gen + opt: + - base_namespace= + - remote: buf.build/bufbuild/es:v2.7.0 + out: gen diff --git a/build/Docframe.cs b/build/Docframe.cs deleted file mode 100644 index 7907ada..0000000 --- a/build/Docframe.cs +++ /dev/null @@ -1,51433 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: build/docframe.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Docframe { - - /// Holder for reflection information generated from build/docframe.proto - public static partial class DocframeReflection { - - #region Descriptor - /// File descriptor for build/docframe.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DocframeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRidWlsZC9kb2NmcmFtZS5wcm90byIvCg5Qcm90b0JveGVkQm9vbBINCgV2", - "YWx1ZRgBIAEoCBIOCgZpc051bGwYAiABKAgiMQoQUHJvdG9Cb3hlZERvdWJs", - "ZRINCgV2YWx1ZRgBIAEoARIOCgZpc051bGwYAiABKAgiMAoPUHJvdG9Cb3hl", - "ZEludDMyEg0KBXZhbHVlGAEgASgFEg4KBmlzTnVsbBgCIAEoCCIxChBQcm90", - "b0JveGVkVWludDMyEg0KBXZhbHVlGAEgASgNEg4KBmlzTnVsbBgCIAEoCCIx", - "ChBQcm90b0JveGVkU3RyaW5nEg0KBXZhbHVlGAEgASgJEg4KBmlzTnVsbBgC", - "IAEoCCJBChFQcm90b0JveGVkU1BCTW9kZRIcCgV2YWx1ZRgBIAEoDjINLlBy", - "b3RvU1BCTW9kZRIOCgZpc051bGwYAiABKAgiqAEKFlByb3RvU3RyaWtldGhy", - "b3VnaFNwZWMSHQoGd2VpZ2h0GAEgASgLMg0uUHJvdG9NZWFzdXJlEiEKBG1v", - "ZGUYAiABKA4yEy5Qcm90b1VuZGVybGluZU1vZGUSGgoFY29sb3IYAyABKAsy", - "Cy5Qcm90b0NvbG9yEhAKCG9mZnNldEVtGAQgASgFEh4KBXN0eWxlGAUgASgO", - "Mg8uUHJvdG9SdWxlU3R5bGUiVQobUHJvdG9Cb3hlZFN0cmlrZXRocm91Z2hT", - "cGVjEiYKBXZhbHVlGAEgASgLMhcuUHJvdG9TdHJpa2V0aHJvdWdoU3BlYxIO", - "CgZpc051bGwYAiABKAgiPwoMUHJvdG9NZWFzdXJlEg0KBXZhbHVlGAEgASgB", - "EiAKBW10eXBlGAIgASgOMhEuUHJvdG9NZWFzdXJlVHlwZSJBChFQcm90b0Jv", - "eGVkTWVhc3VyZRIcCgV2YWx1ZRgBIAEoCzINLlByb3RvTWVhc3VyZRIOCgZp", - "c051bGwYAiABKAgiiQEKEVByb3RvU2lkZU1lYXN1cmVzEhoKA3RvcBgBIAEo", - "CzINLlByb3RvTWVhc3VyZRIcCgVyaWdodBgCIAEoCzINLlByb3RvTWVhc3Vy", - "ZRIdCgZib3R0b20YAyABKAsyDS5Qcm90b01lYXN1cmUSGwoEbGVmdBgEIAEo", - "CzINLlByb3RvTWVhc3VyZSJ7Ci5Qcm90b0JveGVkQWR2YW5jZWRJbGx1c3Ry", - "YXRpb25BcmVhVGV4dEZsb3dUeXBlEjkKBXZhbHVlGAEgASgOMiouUHJvdG9B", - "ZHZhbmNlZElsbHVzdHJhdGlvbkFyZWFUZXh0Rmxvd1R5cGUSDgoGaXNOdWxs", - "GAIgASgIIpMBCipQcm90b0FkdmFuY2VkSWxsdXN0cmF0aW9uQXJlYUltYWdl", - "U2V0dGluZ3MSQQoIdGV4dEZsb3cYASABKAsyLy5Qcm90b0JveGVkQWR2YW5j", - "ZWRJbGx1c3RyYXRpb25BcmVhVGV4dEZsb3dUeXBlEiIKBm1hcmdpbhgCIAEo", - "CzISLlByb3RvU2lkZU1lYXN1cmVzIiUKCVByb3RvRm9udBIKCgJpZBgBIAEo", - "BRIMCgRuYW1lGAIgASgJIjsKDlByb3RvQm94ZWRGb250EhkKBXZhbHVlGAEg", - "ASgLMgouUHJvdG9Gb250Eg4KBmlzTnVsbBgCIAEoCCKZAQoKUHJvdG9Db2xv", - "chIfCgRuYW1lGAEgASgLMhEuUHJvdG9Cb3hlZFN0cmluZxIdCgR0eXBlGAIg", - "ASgOMg8uUHJvdG9Db2xvclR5cGUSCQoBchgDIAEoBRIJCgFnGAQgASgFEgkK", - "AWIYBSABKAUSCQoBYxgGIAEoAhIJCgFtGAcgASgCEgkKAXkYCCABKAISCQoB", - "axgJIAEoAiI9Cg9Qcm90b0JveGVkQ29sb3ISGgoFdmFsdWUYASABKAsyCy5Q", - "cm90b0NvbG9yEg4KBmlzTnVsbBgCIAEoCCJwCg1Qcm90b1JHQkNvbG9yEh8K", - "BG5hbWUYASABKAsyES5Qcm90b0JveGVkU3RyaW5nEh0KBHR5cGUYAiABKA4y", - "Dy5Qcm90b0NvbG9yVHlwZRIJCgFyGAMgASgFEgkKAWcYBCABKAUSCQoBYhgF", - "IAEoBSJ8Cg5Qcm90b0NNWUtDb2xvchIfCgRuYW1lGAEgASgLMhEuUHJvdG9C", - "b3hlZFN0cmluZxIdCgR0eXBlGAIgASgOMg8uUHJvdG9Db2xvclR5cGUSCQoB", - "YxgDIAEoAhIJCgFtGAQgASgCEgkKAXkYBSABKAISCQoBaxgGIAEoAiJZCh1Q", - "cm90b0JveGVkSG9yaXpvbnRhbEFsaWdubWVudBIoCgV2YWx1ZRgBIAEoDjIZ", - "LlByb3RvSG9yaXpvbnRhbEFsaWdubWVudBIOCgZpc051bGwYAiABKAgiVQob", - "UHJvdG9Cb3hlZFZlcnRpY2FsQWxpZ25tZW50EiYKBXZhbHVlGAEgASgOMhcu", - "UHJvdG9WZXJ0aWNhbEFsaWdubWVudBIOCgZpc051bGwYAiABKAgi4AEKFFBy", - "b3RvU3dpc3NRUkNyZWRpdG9yEhMKC2FkZHJlc3NUeXBlGAEgASgJEgwKBG5h", - "bWUYAiABKAkSEgoKcG9zdGFsQ29kZRgDIAEoCRIMCgR0b3duGAQgASgJEg8K", - "B2NvdW50cnkYBSABKAkSHAoUc3RyZWV0T3JBZGRyZXNzTGluZTEYBiABKAkS", - "JAocYnVpbGRpbmdOdW1iZXJPckFkZHJlc3NMaW5lMhgHIAEoCRIMCgRpYmFu", - "GAggASgJEg4KBmFtb3VudBgJIAEoCRIQCghjdXJyZW5jeRgKIAEoCSKfAgoT", - "UHJvdG9Td2lzc1FSRGViaXRvchITCgthZGRyZXNzVHlwZRgBIAEoCRIMCgRu", - "YW1lGAIgASgJEhIKCnBvc3RhbENvZGUYAyABKAkSDAoEdG93bhgEIAEoCRIP", - "Cgdjb3VudHJ5GAUgASgJEhwKFHN0cmVldE9yQWRkcmVzc0xpbmUxGAYgASgJ", - "EiQKHGJ1aWxkaW5nTnVtYmVyT3JBZGRyZXNzTGluZTIYByABKAkSHAoUcGF5", - "bWVudFJlZmVyZW5jZVR5cGUYCCABKAkSGAoQcGF5bWVudFJlZmVyZW5jZRgJ", - "IAEoCRIdChV1bnN0cnVjdHVyZWRSZWZlcmVuY2UYCiABKAkSFwoPYmlsbElu", - "Zm9ybWF0aW9uGAsgASgJImIKEFByb3RvU3dpc3NRUkRhdGESJwoIY3JlZGl0", - "b3IYASABKAsyFS5Qcm90b1N3aXNzUVJDcmVkaXRvchIlCgdkZWJpdG9yGAIg", - "ASgLMhQuUHJvdG9Td2lzc1FSRGViaXRvciKAAQoOUHJvdG9MaW5lYnJlYWsS", - "JQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSFwoPY29t", - "Q2hhbm5lbFVVSURzGAIgAygJEgwKBHV1aWQYAyABKAkSIAoFY291bnQYBCAB", - "KAsyES5Qcm90b0JveGVkVWludDMyIkgKC1Byb3RvQm9yZGVyEh0KBndlaWdo", - "dBgBIAEoCzINLlByb3RvTWVhc3VyZRIaCgVjb2xvchgCIAEoCzILLlByb3Rv", - "Q29sb3IihAEKEFByb3RvU2lkZUJvcmRlcnMSGQoDdG9wGAEgASgLMgwuUHJv", - "dG9Cb3JkZXISGwoFcmlnaHQYAiABKAsyDC5Qcm90b0JvcmRlchIcCgZib3R0", - "b20YAyABKAsyDC5Qcm90b0JvcmRlchIaCgRsZWZ0GAQgASgLMgwuUHJvdG9C", - "b3JkZXIiSwoWUHJvdG9Cb3hlZFBvc2l0aW9uTW9kZRIhCgV2YWx1ZRgBIAEo", - "DjISLlByb3RvUG9zaXRpb25Nb2RlEg4KBmlzTnVsbBgCIAEoCCLnAQoTUHJv", - "dG9Db2x1bW5TZXR0aW5ncxIhCgV3aWR0aBgBIAEoCzISLlByb3RvQm94ZWRN", - "ZWFzdXJlEiwKEGludGVyQ29sdW1uU3BhY2UYAiABKAsyEi5Qcm90b0JveGVk", - "TWVhc3VyZRIqCg5wb3NpdGlvbk9mZnNldBgDIAEoCzISLlByb3RvQm94ZWRN", - "ZWFzdXJlEigKDHBvc2l0aW9uTW9kZRgEIAEoDjISLlByb3RvUG9zaXRpb25N", - "b2RlEikKDW91dHNpZGVNYXJnaW4YBSABKAsyEi5Qcm90b0JveGVkTWVhc3Vy", - "ZSKKAgoRUHJvdG9HcmFwaGljU3RhdGUSHQoEYm9sZBgBIAEoCzIPLlByb3Rv", - "Qm94ZWRCb29sEh8KBml0YWxpYxgCIAEoCzIPLlByb3RvQm94ZWRCb29sEh8K", - "CmNvbG9yU3RhY2sYAyADKAsyCy5Qcm90b0NvbG9yEiIKCXN1YnNjcmlwdBgE", - "IAEoCzIPLlByb3RvQm94ZWRCb29sEiQKC3N1cGVyc2NyaXB0GAUgASgLMg8u", - "UHJvdG9Cb3hlZEJvb2wSIgoJdW5kZXJsaW5lGAYgASgLMg8uUHJvdG9Cb3hl", - "ZEJvb2wSJgoNc3RyaWtldGhyb3VnaBgHIAEoCzIPLlByb3RvQm94ZWRCb29s", - "IhEKD1Byb3RvSHRtbFBhcnNlciKkAQoSUHJvdG9VbmRlcmxpbmVTcGVjEh0K", - "BndlaWdodBgBIAEoCzINLlByb3RvTWVhc3VyZRIhCgRtb2RlGAIgASgOMhMu", - "UHJvdG9VbmRlcmxpbmVNb2RlEhoKBWNvbG9yGAMgASgLMgsuUHJvdG9Db2xv", - "chIQCghvZmZzZXRFbRgEIAEoBRIeCgVzdHlsZRgFIAEoDjIPLlByb3RvUnVs", - "ZVN0eWxlIk0KF1Byb3RvQm94ZWRVbmRlcmxpbmVTcGVjEiIKBXZhbHVlGAEg", - "ASgLMhMuUHJvdG9VbmRlcmxpbmVTcGVjEg4KBmlzTnVsbBgCIAEoCCKYAQoR", - "UHJvdG9Dcm9wU2V0dGluZ3MSHQoBeBgBIAEoCzISLlByb3RvQm94ZWRNZWFz", - "dXJlEh0KAXkYAiABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIhCgV3aWR0aBgD", - "IAEoCzISLlByb3RvQm94ZWRNZWFzdXJlEiIKBmhlaWdodBgEIAEoCzISLlBy", - "b3RvQm94ZWRNZWFzdXJlIikKEVByb3RvRmxpcFNldHRpbmdzEgkKAXgYASAB", - "KAgSCQoBeRgCIAEoCCIpCgtQcm90b09wdGlvbhILCgNrZXkYASABKAkSDQoF", - "dmFsdWUYAiABKAki7gEKE1Byb3RvQmFzZUlucHV0RmllbGQSDAoEbmFtZRgB", - "IAEoCRIMCgRtZXRhGAIgASgIEiAKBXZhbHVlGAMgASgLMhEuUHJvdG9Cb3hl", - "ZFN0cmluZxISCgpmb3JtYXRVVUlEGAQgASgJEhQKDGRhdGFUeXBlVVVJRBgF", - "IAEoCRIUCgxvbkNoYW5nZUNvZGUYBiABKAkSEwoLcGxhY2Vob2xkZXIYByAB", - "KAkSGAoQYmluZERlZmF1bHRWYWx1ZRgIIAEoCBIYChBkZWZhdWx0VmFsdWVD", - "b2RlGAkgASgJEhAKCHJlYWRvbmx5GAogASgIIlYKFFByb3RvRG9jdW1lbnRF", - "bGVtZW50EiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50", - "EhcKD2NvbUNoYW5uZWxVVUlEcxgCIAMoCSKGAQoaUHJvdG9CcmFuY2hEb2N1", - "bWVudEVsZW1lbnQSKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJvdG9Eb2N1bWVu", - "dEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1l", - "bnQSFwoPY29tQ2hhbm5lbFVVSURzGAMgAygJIlsKCVByb3RvTGluaxIoCglf", - "Y2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBILCgN1cmwY", - "AiABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAMgAygJItUDChVQcm90b0xpc3RM", - "ZXZlbFNldHRpbmcSFwoPbGlzdFNldHRpbmdOYW1lGAEgASgJEiMKCGZvbnRT", - "aXplGAIgASgLMhEuUHJvdG9Cb3hlZFVpbnQzMhIoCgR0eXBlGAMgASgOMhou", - "UHJvdG9MaXN0TGV2ZWxTZXR0aW5nVHlwZRINCgVsZXZlbBgEIAEoBRIOCgZw", - "cmVmaXgYBSABKAkSDgoGc3VmZml4GAYgASgJEiEKDWZpeEZvbnRGYW1pbHkY", - "ByABKAsyCi5Qcm90b0ZvbnQSDwoHZml4Qm9sZBgIIAEoCBIRCglmaXhJdGFs", - "aWMYCSABKAgSFgoOaW5kZW50aW9uV2lkdGgYCiABKAUSGgoFY29sb3IYCyAB", - "KAsyCy5Qcm90b0NvbG9yEhEKCWltYWdlTmFtZRgMIAEoCRIeCgpmb250RmFt", - "aWx5GA0gASgLMgouUHJvdG9Gb250Eh0KBGJvbGQYDiABKAsyDy5Qcm90b0Jv", - "eGVkQm9vbBIfCgZpdGFsaWMYDyABKAsyDy5Qcm90b0JveGVkQm9vbBIkCgpu", - "dW1iZXJUeXBlGBAgASgOMhAuUHJvdG9OdW1iZXJUeXBlEhEKCWNoYXJhY3Rl", - "chgRIAEoCSLBAgoaUHJvdG9JbWFnZUxpc3RMZXZlbFNldHRpbmcSFwoPbGlz", - "dFNldHRpbmdOYW1lGAEgASgJEiMKCGZvbnRTaXplGAIgASgLMhEuUHJvdG9C", - "b3hlZFVpbnQzMhIoCgR0eXBlGAMgASgOMhouUHJvdG9MaXN0TGV2ZWxTZXR0", - "aW5nVHlwZRINCgVsZXZlbBgEIAEoBRIOCgZwcmVmaXgYBSABKAkSDgoGc3Vm", - "Zml4GAYgASgJEiEKDWZpeEZvbnRGYW1pbHkYByABKAsyCi5Qcm90b0ZvbnQS", - "DwoHZml4Qm9sZBgIIAEoCBIRCglmaXhJdGFsaWMYCSABKAgSFgoOaW5kZW50", - "aW9uV2lkdGgYCiABKAUSGgoFY29sb3IYCyABKAsyCy5Qcm90b0NvbG9yEhEK", - "CWltYWdlTmFtZRgMIAEoCSKNAwoZUHJvdG9UZXh0TGlzdExldmVsU2V0dGlu", - "ZxIXCg9saXN0U2V0dGluZ05hbWUYASABKAkSIwoIZm9udFNpemUYAiABKAsy", - "ES5Qcm90b0JveGVkVWludDMyEigKBHR5cGUYAyABKA4yGi5Qcm90b0xpc3RM", - "ZXZlbFNldHRpbmdUeXBlEg0KBWxldmVsGAQgASgFEg4KBnByZWZpeBgFIAEo", - "CRIOCgZzdWZmaXgYBiABKAkSIQoNZml4Rm9udEZhbWlseRgHIAEoCzIKLlBy", - "b3RvRm9udBIPCgdmaXhCb2xkGAggASgIEhEKCWZpeEl0YWxpYxgJIAEoCBIW", - "Cg5pbmRlbnRpb25XaWR0aBgKIAEoBRIaCgVjb2xvchgLIAEoCzILLlByb3Rv", - "Q29sb3ISHgoKZm9udEZhbWlseRgMIAEoCzIKLlByb3RvRm9udBIdCgRib2xk", - "GA0gASgLMg8uUHJvdG9Cb3hlZEJvb2wSHwoGaXRhbGljGA4gASgLMg8uUHJv", - "dG9Cb3hlZEJvb2witQMKG1Byb3RvTnVtYmVyTGlzdExldmVsU2V0dGluZxIX", - "Cg9saXN0U2V0dGluZ05hbWUYASABKAkSIwoIZm9udFNpemUYAiABKAsyES5Q", - "cm90b0JveGVkVWludDMyEigKBHR5cGUYAyABKA4yGi5Qcm90b0xpc3RMZXZl", - "bFNldHRpbmdUeXBlEg0KBWxldmVsGAQgASgFEg4KBnByZWZpeBgFIAEoCRIO", - "CgZzdWZmaXgYBiABKAkSIQoNZml4Rm9udEZhbWlseRgHIAEoCzIKLlByb3Rv", - "Rm9udBIPCgdmaXhCb2xkGAggASgIEhEKCWZpeEl0YWxpYxgJIAEoCBIWCg5p", - "bmRlbnRpb25XaWR0aBgKIAEoBRIaCgVjb2xvchgLIAEoCzILLlByb3RvQ29s", - "b3ISHgoKZm9udEZhbWlseRgMIAEoCzIKLlByb3RvRm9udBIdCgRib2xkGA0g", - "ASgLMg8uUHJvdG9Cb3hlZEJvb2wSHwoGaXRhbGljGA4gASgLMg8uUHJvdG9C", - "b3hlZEJvb2wSJAoKbnVtYmVyVHlwZRgPIAEoDjIQLlByb3RvTnVtYmVyVHlw", - "ZSKmAwofUHJvdG9Vbm51bWJlcmVkTGlzdExldmVsU2V0dGluZxIXCg9saXN0", - "U2V0dGluZ05hbWUYASABKAkSIwoIZm9udFNpemUYAiABKAsyES5Qcm90b0Jv", - "eGVkVWludDMyEigKBHR5cGUYAyABKA4yGi5Qcm90b0xpc3RMZXZlbFNldHRp", - "bmdUeXBlEg0KBWxldmVsGAQgASgFEg4KBnByZWZpeBgFIAEoCRIOCgZzdWZm", - "aXgYBiABKAkSIQoNZml4Rm9udEZhbWlseRgHIAEoCzIKLlByb3RvRm9udBIP", - "CgdmaXhCb2xkGAggASgIEhEKCWZpeEl0YWxpYxgJIAEoCBIWCg5pbmRlbnRp", - "b25XaWR0aBgKIAEoBRIaCgVjb2xvchgLIAEoCzILLlByb3RvQ29sb3ISHgoK", - "Zm9udEZhbWlseRgMIAEoCzIKLlByb3RvRm9udBIdCgRib2xkGA0gASgLMg8u", - "UHJvdG9Cb3hlZEJvb2wSHwoGaXRhbGljGA4gASgLMg8uUHJvdG9Cb3hlZEJv", - "b2wSEQoJY2hhcmFjdGVyGA8gASgJIswBChBQcm90b0xpc3RTZXR0aW5nEiUK", - "BnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgwKBG5hbWUY", - "AiABKAkSMQoRbGlzdExldmVsU2V0dGluZ3MYAyADKAsyFi5Qcm90b0xpc3RM", - "ZXZlbFNldHRpbmcSNwoXZGVmYXVsdExpc3RMZXZlbFNldHRpbmcYBCABKAsy", - "Fi5Qcm90b0xpc3RMZXZlbFNldHRpbmcSFwoPY29tQ2hhbm5lbFVVSURzGAUg", - "AygJIkkKFVByb3RvQm94ZWRMaXN0U2V0dGluZxIgCgV2YWx1ZRgBIAEoCzIR", - "LlByb3RvTGlzdFNldHRpbmcSDgoGaXNOdWxsGAIgASgIItEBChBQcm90b05h", - "bWVkU3RyaW5nEigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRF", - "bGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50", - "EgwKBG5hbWUYAyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAQgAygJEgwKBHV1", - "aWQYBSABKAkSEwoLZGVzY3JpcHRpb24YBiABKAkSEAoIbmFtZUNvZGUYByAB", - "KAkSEAoIY29kZU1vZGUYCCABKAgi9gEKDlByb3RvUGFyYWdyYXBoEigKCV9j", - "aGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVu", - "dBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBmZvcm1hdBgDIAEo", - "CzIVLlByb3RvUGFyYWdyYXBoRm9ybWF0EigKCW92ZXJ3cml0ZRgEIAEoCzIV", - "LlByb3RvUGFyYWdyYXBoRm9ybWF0EhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMo", - "CRIbChNwYXJhZ3JhcGhGb3JtYXRVVUlEGAYgASgJEgwKBHV1aWQYByABKAki", - "rAkKFFByb3RvUGFyYWdyYXBoRm9ybWF0EikKCmJhc2VGb3JtYXQYASABKAsy", - "FS5Qcm90b1BhcmFncmFwaEZvcm1hdBIfCgRuYW1lGAIgASgLMhEuUHJvdG9C", - "b3hlZFN0cmluZxIgCgdkZWZhdWx0GAMgASgLMg8uUHJvdG9Cb3hlZEJvb2wS", - "HQoEZm9udBgEIAEoCzIPLlByb3RvQm94ZWRGb250Eh0KBGJvbGQYBSABKAsy", - "Dy5Qcm90b0JveGVkQm9vbBIfCgZpdGFsaWMYBiABKAsyDy5Qcm90b0JveGVk", - "Qm9vbBIjCglmb250Q29sb3IYByABKAsyEC5Qcm90b0JveGVkQ29sb3ISKwoJ", - "dW5kZXJsaW5lGAggASgLMhguUHJvdG9Cb3hlZFVuZGVybGluZVNwZWMSJAoI", - "Zm9udFNpemUYCSABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIqCg5jaGFyYWN0", - "ZXJXaWR0aBgKIAEoCzISLlByb3RvQm94ZWRNZWFzdXJlEiwKEGNoYXJhY3Rl", - "clNwYWNpbmcYCyABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIkCghsaW5lRmVl", - "ZBgMIAEoCzISLlByb3RvQm94ZWRNZWFzdXJlEjEKCWFsaWdubWVudBgNIAEo", - "CzIeLlByb3RvQm94ZWRIb3Jpem9udGFsQWxpZ25tZW50EioKDmluZGVudGlv", - "bldpZHRoGA4gASgLMhIuUHJvdG9Cb3hlZE1lYXN1cmUSKAoOaW5kZW50aW9u", - "TGV2ZWwYDyABKAsyEC5Qcm90b0JveGVkSW50MzISJgoKc3BhY2VBYm92ZRgQ", - "IAEoCzISLlByb3RvQm94ZWRNZWFzdXJlEiYKCnNwYWNlQmVsb3cYESABKAsy", - "Ei5Qcm90b0JveGVkTWVhc3VyZRImCgx3aWRvd1NldHRpbmcYEiABKAsyEC5Q", - "cm90b0JveGVkSW50MzISJwoNb3JwaGFuU2V0dGluZxgTIAEoCzIQLlByb3Rv", - "Qm94ZWRJbnQzMhInCg13aWRvd1ByaW9yaXR5GBQgASgLMhAuUHJvdG9Cb3hl", - "ZEludDMyEjMKDXN0cmlrZXRocm91Z2gYFSABKAsyHC5Qcm90b0JveGVkU3Ry", - "aWtldGhyb3VnaFNwZWMSMAoUc3VwZXJzY3JpcHRTdWJzY3JpcHQYFiABKAsy", - "Ei5Qcm90b0JveGVkU1BCTW9kZRIpCg9iYWNrZ3JvdW5kQ29sb3IYFyABKAsy", - "EC5Qcm90b0JveGVkQ29sb3ISKwoLbGlzdFNldHRpbmcYGCABKAsyFi5Qcm90", - "b0JveGVkTGlzdFNldHRpbmcSJAoLaHlwaGVuYXRpb24YGSABKAsyDy5Qcm90", - "b0JveGVkQm9vbBIpCg5wcmVOYW1lZFN0cmluZxgaIAEoCzIRLlByb3RvQm94", - "ZWRTdHJpbmcSKgoPcG9zdE5hbWVkU3RyaW5nGBsgASgLMhEuUHJvdG9Cb3hl", - "ZFN0cmluZxInCgxzZW1hbnRpY1R5cGUYHCABKAsyES5Qcm90b0JveGVkU3Ry", - "aW5nEhcKD2NvbUNoYW5uZWxVVUlEcxgdIAMoCSKYAQoMUHJvdG9TZWN0aW9u", - "EigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUK", - "BnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgwKBHV1aWQY", - "AyABKAkSEAoIY0RlZlV1aWQYBCABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAUg", - "AygJInQKFFByb3RvU3BhY2VWZXJ0aWNhbGx5EiUKBnBhcmVudBgBIAEoCzIV", - "LlByb3RvRG9jdW1lbnRFbGVtZW50EhwKBXNwYWNlGAIgASgLMg0uUHJvdG9N", - "ZWFzdXJlEhcKD2NvbUNoYW5uZWxVVUlEcxgDIAMoCSLnAgoJUHJvdG9TcGFu", - "EigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUK", - "BnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50Eh0KBGJvbGQY", - "AyABKAsyDy5Qcm90b0JveGVkQm9vbBIfCgZpdGFsaWMYBCABKAsyDy5Qcm90", - "b0JveGVkQm9vbBIaCgVjb2xvchgFIAEoCzILLlByb3RvQ29sb3ISIgoJc3Vi", - "c2NyaXB0GAYgASgLMg8uUHJvdG9Cb3hlZEJvb2wSJAoLc3VwZXJzY3JpcHQY", - "ByABKAsyDy5Qcm90b0JveGVkQm9vbBIiCgl1bmRlcmxpbmUYCCABKAsyDy5Q", - "cm90b0JveGVkQm9vbBImCg1zdHJpa2V0aHJvdWdoGAkgASgLMg8uUHJvdG9C", - "b3hlZEJvb2wSFwoPY29tQ2hhbm5lbFVVSURzGAogAygJIp0CCgpQcm90b1Rh", - "YmxlEigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50", - "EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKCHNl", - "dHRpbmdzGAMgASgLMhMuUHJvdG9UYWJsZVNldHRpbmdzEhIKCmNvbmZpZ05h", - "bWUYBCABKAkSGAoJY2FycnlPdmVyGAUgASgLMgUuTm9kZRIXCghzdWJUb3Rh", - "bBgGIAEoCzIFLk5vZGUSFwoPY29tQ2hhbm5lbFVVSURzGAcgAygJEjcKEWVs", - "ZW1lbnRQcm9wZXJ0aWVzGAggASgLMhwuUHJvdG9UYWJsZUVsZW1lbnRQcm9w", - "ZXJ0aWVzIo0BChBQcm90b1RhYmxlQ29uZmlnEiUKBnBhcmVudBgBIAEoCzIV", - "LlByb3RvRG9jdW1lbnRFbGVtZW50EiUKCHNldHRpbmdzGAIgASgLMhMuUHJv", - "dG9UYWJsZVNldHRpbmdzEhIKCmNvbmZpZ05hbWUYAyABKAkSFwoPY29tQ2hh", - "bm5lbFVVSURzGAQgAygJIrwBChJQcm90b1RhYmxlU2V0dGluZ3MSHgoHeE9m", - "ZnNldBgBIAEoCzINLlByb3RvTWVhc3VyZRIkCgtsZWZ0TWVhc3VyZRgCIAEo", - "CzIPLlByb3RvQm94ZWRCb29sEhwKBXdpZHRoGAMgASgLMg0uUHJvdG9NZWFz", - "dXJlEicKDHJlcGVhdEhlYWRlchgEIAEoCzIRLlByb3RvQm94ZWRVaW50MzIS", - "GQoCd3MYBSABKAsyDS5Qcm90b1RhYmxlV1MiXQofUHJvdG9Cb3hlZFRhYmxl", - "Q29udGVudEdyb3VwVHlwZRIqCgV2YWx1ZRgBIAEoDjIbLlByb3RvVGFibGVD", - "b250ZW50R3JvdXBUeXBlEg4KBmlzTnVsbBgCIAEoCCLuAQoWUHJvdG9UYWJs", - "ZUNvbnRlbnRHcm91cBIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3Vt", - "ZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxl", - "bWVudBIxCghzZXR0aW5ncxgDIAEoCzIfLlByb3RvVGFibGVDb250ZW50R3Jv", - "dXBTZXR0aW5ncxIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkSNwoRZWxlbWVu", - "dFByb3BlcnRpZXMYBSABKAsyHC5Qcm90b1RhYmxlRWxlbWVudFByb3BlcnRp", - "ZXMipQEKHFByb3RvVGFibGVDb250ZW50R3JvdXBDb25maWcSJQoGcGFyZW50", - "GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSMQoIc2V0dGluZ3MYAiAB", - "KAsyHy5Qcm90b1RhYmxlQ29udGVudEdyb3VwU2V0dGluZ3MSEgoKY29uZmln", - "TmFtZRgDIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBCADKAkingEKHlByb3Rv", - "VGFibGVDb250ZW50R3JvdXBTZXR0aW5ncxI6ChBjb250ZW50R3JvdXBUeXBl", - "GAEgASgLMiAuUHJvdG9Cb3hlZFRhYmxlQ29udGVudEdyb3VwVHlwZRIlChBi", - "YWNrZ3JvdW5kQ29sb3JzGAIgAygLMgsuUHJvdG9Db2xvchIZCgJ3cxgDIAEo", - "CzINLlByb3RvVGFibGVXUyKIAgoNUHJvdG9UYWJsZVJvdxIoCglfY2hpbGRy", - "ZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiAB", - "KAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIoCghzZXR0aW5ncxgDIAEoCzIW", - "LlByb3RvVGFibGVSb3dTZXR0aW5ncxIqCg9yb3dDb25maWdOdW1iZXIYBCAB", - "KAsyES5Qcm90b0JveGVkVWludDMyEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMo", - "CRI3ChFlbGVtZW50UHJvcGVydGllcxgGIAEoCzIcLlByb3RvVGFibGVFbGVt", - "ZW50UHJvcGVydGllcyK5AQoTUHJvdG9UYWJsZVJvd0NvbmZpZxIlCgZwYXJl", - "bnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIoCghzZXR0aW5ncxgC", - "IAEoCzIWLlByb3RvVGFibGVSb3dTZXR0aW5ncxISCgpjb25maWdOYW1lGAMg", - "ASgJEhEKCXJvd0hlYWRlchgEIAEoCRIRCglyb3dGb290ZXIYBSABKAkSFwoP", - "Y29tQ2hhbm5lbFVVSURzGAYgAygJIlQKFVByb3RvVGFibGVSb3dTZXR0aW5n", - "cxIgCgltaW5IZWlnaHQYASABKAsyDS5Qcm90b01lYXN1cmUSGQoCd3MYAiAB", - "KAsyDS5Qcm90b1RhYmxlV1MiTQoXUHJvdG9Cb3hlZFRhYmxlQ2VsbFR5cGUS", - "IgoFdmFsdWUYASABKA4yEy5Qcm90b1RhYmxlQ2VsbFR5cGUSDgoGaXNOdWxs", - "GAIgASgIIrECCg5Qcm90b1RhYmxlQ2VsbBIoCglfY2hpbGRyZW4YASADKAsy", - "FS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90", - "b0RvY3VtZW50RWxlbWVudBIpCghzZXR0aW5ncxgDIAEoCzIXLlByb3RvVGFi", - "bGVDZWxsU2V0dGluZ3MSKwoQY2VsbENvbmZpZ051bWJlchgEIAEoCzIRLlBy", - "b3RvQm94ZWRVaW50MzISEgoKbWVyZ2VkTGVmdBgFIAEoCBIQCghtZXJnZWRV", - "cBgGIAEoCBIXCg9jb21DaGFubmVsVVVJRHMYByADKAkSNwoRZWxlbWVudFBy", - "b3BlcnRpZXMYCCABKAsyHC5Qcm90b1RhYmxlRWxlbWVudFByb3BlcnRpZXMi", - "wQEKFFByb3RvVGFibGVDZWxsQ29uZmlnEiUKBnBhcmVudBgBIAEoCzIVLlBy", - "b3RvRG9jdW1lbnRFbGVtZW50EikKCHNldHRpbmdzGAIgASgLMhcuUHJvdG9U", - "YWJsZUNlbGxTZXR0aW5ncxISCgpjb25maWdOYW1lGAMgASgJEioKCGNlbGxU", - "eXBlGAQgASgLMhguUHJvdG9Cb3hlZFRhYmxlQ2VsbFR5cGUSFwoPY29tQ2hh", - "bm5lbFVVSURzGAUgAygJIv0CChZQcm90b1RhYmxlQ2VsbFNldHRpbmdzEhwK", - "BXdpZHRoGAEgASgLMg0uUHJvdG9NZWFzdXJlEi0KBWFsaWduGAIgASgLMh4u", - "UHJvdG9Cb3hlZEhvcml6b250YWxBbGlnbm1lbnQSLAoGdmFsaWduGAMgASgL", - "MhwuUHJvdG9Cb3hlZFZlcnRpY2FsQWxpZ25tZW50EiQKD2JhY2tncm91bmRD", - "b2xvchgEIAEoCzILLlByb3RvQ29sb3ISIwoHcGFkZGluZxgFIAEoCzISLlBy", - "b3RvU2lkZU1lYXN1cmVzEiEKBmJvcmRlchgGIAEoCzIRLlByb3RvU2lkZUJv", - "cmRlcnMSIgoGbWFyZ2luGAcgASgLMhIuUHJvdG9TaWRlTWVhc3VyZXMSIwoI", - "cm90YXRpb24YCCABKAsyES5Qcm90b0JveGVkRG91YmxlEjEKFmRlZmF1bHRQ", - "YXJhZ3JhcGhGb3JtYXQYCSABKAsyES5Qcm90b0JveGVkU3RyaW5nIk8KDFBy", - "b3RvVGFibGVXUxIWCg5taW5MaW5lc0JlZm9yZRgBIAEoDRIVCg1taW5MaW5l", - "c0FmdGVyGAIgASgNEhAKCHByaW9yaXR5GAMgASgNIqkXChtQcm90b1RhYmxl", - "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", - "ASgJIlwKCVByb3RvVGV4dBIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3Vt", - "ZW50RWxlbWVudBIPCgdjb250ZW50GAIgASgJEhcKD2NvbUNoYW5uZWxVVUlE", - "cxgDIAMoCSKKAwoMUHJvdG9CYXJjb2RlEh8KBHR5cGUYASABKA4yES5Qcm90", - "b0JhcmNvZGVUeXBlEhgKAXgYAiABKAsyDS5Qcm90b01lYXN1cmUSGAoBeRgD", - "IAEoCzINLlByb3RvTWVhc3VyZRIxCg5yZWZlcmVuY2VQb2ludBgEIAEoDjIZ", - "LlByb3RvSW1hZ2VSZWZlcmVuY2VQb2ludBIQCghyb3RhdGlvbhgFIAEoAhIc", - "CgV3aWR0aBgGIAEoCzINLlByb3RvTWVhc3VyZRIdCgZoZWlnaHQYByABKAsy", - "DS5Qcm90b01lYXN1cmUSHgoHcGFkZGluZxgIIAEoCzINLlByb3RvTWVhc3Vy", - "ZRIMCgRkYXRhGAkgASgJEhgKEHBvc2l0aW9uQWJzb2x1dGUYCiABKAgSFwoP", - "Y29tQ2hhbm5lbFVVSURzGAsgAygJEgwKBHV1aWQYDCABKAkSDAoEY29kZRgN", - "IAEoCRImCgtzd2lzc1FSRGF0YRgOIAEoCzIRLlByb3RvU3dpc3NRUkRhdGEi", - "UwoTUHJvdG9Ccmlja1JlZmVyZW5jZRISCgppbnRlcm5OYW1lGAEgASgJEg8K", - "B3ZlcnNpb24YAiABKA0SFwoPY29tQ2hhbm5lbFVVSURzGAMgAygJIsQBCgpQ", - "cm90b0JyaWNrEigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRF", - "bGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50", - "EgoKAmlkGAMgASgEEhIKCmludGVybk5hbWUYBCABKAkSDAoEdXVpZBgFIAEo", - "CRIQCghlZGl0YWJsZRgGIAEoCBIXCg9jb21DaGFubmVsVVVJRHMYByADKAkS", - "DAoEbmFtZRgIIAEoCSLyAQoNUHJvdG9UZW1wbGF0ZRIoCglfY2hpbGRyZW4Y", - "ASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsy", - "FS5Qcm90b0RvY3VtZW50RWxlbWVudBIXCg9jb21DaGFubmVsVVVJRHMYAyAD", - "KAkSDAoEdXVpZBgEIAEoCRIpCg9jb2x1bW5CYWxhbmNpbmcYBSABKA4yEC5D", - "b2x1bW5CYWxhbmNpbmcSKAoMc2VtYW50aWNUeXBlGAYgASgOMhIuUHJvdG9T", - "ZW1hbnRpY1R5cGUSFAoMdGVtcGxhdGVVdWlkGAcgASgJIqUBCgtQcm90b0hl", - "YWRlchIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVu", - "dBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgR1", - "dWlkGAMgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgEIAMoCRIeCgRtb2RlGAUg", - "ASgOMhAuUHJvdG9IZWFkZXJNb2RlIqUBCgtQcm90b0Zvb3RlchIoCglfY2hp", - "bGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQY", - "AiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgR1dWlkGAMgASgJEhcK", - "D2NvbUNoYW5uZWxVVUlEcxgEIAMoCRIeCgRtb2RlGAUgASgOMhAuUHJvdG9G", - "b290ZXJNb2RlIvYUCgROb2RlEhcKCGNoaWxkcmVuGAEgAygLMgUuTm9kZRIp", - "CgxsaXN0X3NldHRpbmcYAiABKAsyES5Qcm90b0xpc3RTZXR0aW5nSAASIgoI", - "Y29sb3JEZWYYAyABKAsyDi5Qcm90b0NvbG9yRGVmSAASHAoFYnJpY2sYBCAB", - "KAsyCy5Qcm90b0JyaWNrSAASIgoIdGVtcGxhdGUYBSABKAsyDi5Qcm90b1Rl", - "bXBsYXRlSAASJAoJZm9ybWF0dGVkGAYgASgLMg8uUHJvdG9Gb3JtYXR0ZWRI", - "ABIcCgVpbWFnZRgHIAEoCzILLlByb3RvSW1hZ2VIABIxChBwYXJhZ3JhcGhf", - "Zm9ybWF0GAggASgLMhUuUHJvdG9QYXJhZ3JhcGhGb3JtYXRIABIlCgp0ZXh0", - "X2JyaWNrGAkgASgLMg8uUHJvdG9UZXh0QnJpY2tIABIaCgR0ZXh0GAogASgL", - "MgouUHJvdG9UZXh0SAASJAoJbGluZWJyZWFrGAsgASgLMg8uUHJvdG9MaW5l", - "YnJlYWtIABIxChBzcGFjZV92ZXJ0aWNhbGx5GAwgASgLMhUuUHJvdG9TcGFj", - "ZVZlcnRpY2FsbHlIABIeCgZmb290ZXIYDSABKAsyDC5Qcm90b0Zvb3RlckgA", - "Eh4KBmhlYWRlchgOIAEoCzIMLlByb3RvSGVhZGVySAASHAoFdGFibGUYDyAB", - "KAsyCy5Qcm90b1RhYmxlSAASIwoJdGFibGVfcm93GBAgASgLMg4uUHJvdG9U", - "YWJsZVJvd0gAEiUKCnRhYmxlX2NlbGwYESABKAsyDy5Qcm90b1RhYmxlQ2Vs", - "bEgAEhsKBWNfZGVmGBIgASgLMgouUHJvdG9DRGVmSAASGwoFcF9kZWYYEyAB", - "KAsyCi5Qcm90b1BEZWZIABIrCgthcHBseV9jX2RlZhgUIAEoCzIULlByb3Rv", - "QXBwbHlQcm90b0NEZWZIABIrCgthcHBseV9wX2RlZhgVIAEoCzIULlByb3Rv", - "QXBwbHlQcm90b1BEZWZIABIuCg9hcHBseV9wdF9jb25maWcYFiABKAsyEy5Q", - "cm90b0FwcGx5UHRDb25maWdIABIuCg9hcHBseV91bF9jb25maWcYFyABKAsy", - "Ey5Qcm90b0FwcGx5VWxDb25maWdIABIjCglwdF9jb25maWcYGCABKAsyDi5Q", - "cm90b1B0Q29uZmlnSAASIwoJdWxfY29uZmlnGBkgASgLMg4uUHJvdG9VbENv", - "bmZpZ0gAEiEKCG5ld19wYWdlGBogASgLMg0uUHJvdG9OZXdQYWdlSAASIgoI", - "dmFyaWFibGUYGyABKAsyDi5Qcm90b1ZhcmlhYmxlSAASKQoMbmFtZWRfc3Ry", - "aW5nGBwgASgLMhEuUHJvdG9OYW1lZFN0cmluZ0gAEiQKCXBhcmFncmFwaBge", - "IAEoCzIPLlByb3RvUGFyYWdyYXBoSAASIAoHc2VjdGlvbhgfIAEoCzINLlBy", - "b3RvU2VjdGlvbkgAEhoKBHNwYW4YICABKAsyCi5Qcm90b1NwYW5IABIaCgRs", - "aW5rGCEgASgLMgouUHJvdG9MaW5rSAASJAoJZGlyZWN0b3J5GCIgASgLMg8u", - "UHJvdG9EaXJlY3RvcnlIABI2ChN0YWJsZV9jb250ZW50X2dyb3VwGCMgASgL", - "MhcuUHJvdG9UYWJsZUNvbnRlbnRHcm91cEgAEikKDHRhYmxlX2NvbmZpZxgk", - "IAEoCzIRLlByb3RvVGFibGVDb25maWdIABIyChF0YWJsZV9jZWxsX2NvbmZp", - "ZxglIAEoCzIVLlByb3RvVGFibGVDZWxsQ29uZmlnSAASMAoQdGFibGVfcm93", - "X2NvbmZpZxgmIAEoCzIULlByb3RvVGFibGVSb3dDb25maWdIABJDChp0YWJs", - "ZV9jb250ZW50X2dyb3VwX2NvbmZpZxgnIAEoCzIdLlByb3RvVGFibGVDb250", - "ZW50R3JvdXBDb25maWdIABIvCg9icmlja19yZWZlcmVuY2UYKCABKAsyFC5Q", - "cm90b0JyaWNrUmVmZXJlbmNlSAASKAoLaW5kZW50YXRpb24YNyABKAsyES5Q", - "cm90b0luZGVudGF0aW9uSAASIAoHYmFyY29kZRg4IAEoCzINLlByb3RvQmFy", - "Y29kZUgAEh8KB3dzX2FyZWEYOSABKAsyDC5Qcm90b1dzQXJlYUgAEiUKCmNh", - "cnJ5X292ZXIYOiABKAsyDy5Qcm90b0NhcnJ5T3ZlckgAEiMKCXN1Yl90b3Rh", - "bBg7IAEoCzIOLlByb3RvU3ViVG90YWxIABIaCgRsb29wGDwgASgLMgouUHJv", - "dG9Mb29wSAASJQoKbG9vcF9lbnRyeRg9IAEoCzIPLlByb3RvTG9vcEVudHJ5", - "SAASGgoEcnVsZRg+IAEoCzIKLlByb3RvUnVsZUgAEh4KBmxheW91dBg/IAEo", - "CzIMLlByb3RvTGF5b3V0SAASRAoaYWR2YW5jZWRfaWxsdXN0cmF0aW9uX2Fy", - "ZWEYQCABKAsyHi5Qcm90b0FkdmFuY2VkSWxsdXN0cmF0aW9uQXJlYUgAEjcK", - "E2FkanVzdF9ob3Jpem9udGFsbHkYQSABKAsyGC5Qcm90b0FkanVzdEhvcml6", - "b250YWxseUgAEiwKDWRvY3R5cGVTY3JpcHQYQiABKAsyEy5Qcm90b0RvY3R5", - "cGVTY3JpcHRIABIiCghkbVNjcmlwdBhDIAEoCzIOLlByb3RvRG1TY3JpcHRI", - "ABIxChBkeW5hbWljX3RlbXBsYXRlGEQgASgLMhUuUHJvdG9EeW5hbWljVGVt", - "cGxhdGVIABIkCglzZWxlY3Rpb24YRSABKAsyDy5Qcm90b1NlbGVjdGlvbkgA", - "Ei8KD3NlbGVjdGlvbl9lbnRyeRhGIAEoCzIULlByb3RvU2VsZWN0aW9uRW50", - "cnlIABIkCgljb25kaXRpb24YRyABKAsyDy5Qcm90b0NvbmRpdGlvbkgAEi0K", - "DnBhZ2VfY29uZGl0aW9uGEggASgLMhMuUHJvdG9QYWdlQ29uZGl0aW9uSAAS", - "HgoGbG9jYWxlGEkgASgLMgwuUHJvdG9Mb2NhbGVIABIYCgN0YWcYSiABKAsy", - "CS5Qcm90b1RhZ0gAEjoKFXBhcmFncmFwaF9zZXRfZGVmYXVsdBhLIAEoCzIZ", - "LlByb3RvUGFyYWdyYXBoU2V0RGVmYXVsdEgAEjAKEGlucHV0X2ZpZWxkX3Rl", - "eHQYTCABKAsyFC5Qcm90b0lucHV0RmllbGRUZXh0SAASMAoQaW5wdXRfZmll", - "bGRfZGF0ZRhNIAEoCzIULlByb3RvSW5wdXRGaWVsZERhdGVIABI4ChRpbnB1", - "dF9maWVsZF9jaGVja2JveBhOIAEoCzIYLlByb3RvSW5wdXRGaWVsZENoZWNr", - "Ym94SAASMgoRaW5wdXRfZmllbGRfbGFiZWwYTyABKAsyFS5Qcm90b0lucHV0", - "RmllbGRMYWJlbEgAEjgKFGlucHV0X2ZpZWxkX2Ryb3Bkb3duGFAgASgLMhgu", - "UHJvdG9JbnB1dEZpZWxkRHJvcGRvd25IAEIICgZvYmplY3Qi0QYKClByb3Rv", - "SW1hZ2USJQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQS", - "CwoDYWx0GAIgASgJEgwKBG5hbWUYAyABKAkSCwoDc3JjGAQgASgJEhAKCGZp", - "bGVuYW1lGAUgASgJEiAKBXNjYWxlGAYgASgLMhEuUHJvdG9Cb3hlZERvdWJs", - "ZRImCgtjb2x1bW5TY2FsZRgHIAEoCzIRLlByb3RvQm94ZWREb3VibGUSIQoF", - "d2lkdGgYCCABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIiCgZoZWlnaHQYCSAB", - "KAsyEi5Qcm90b0JveGVkTWVhc3VyZRIdCgF4GAogASgLMhIuUHJvdG9Cb3hl", - "ZE1lYXN1cmUSHQoBeRgLIAEoCzISLlByb3RvQm94ZWRNZWFzdXJlEikKEHBv", - "c2l0aW9uQWJzb2x1dGUYDCABKAsyDy5Qcm90b0JveGVkQm9vbBIQCghyb3Rh", - "dGlvbhgNIAEoARIoCgxmbGlwU2V0dGluZ3MYDiABKAsyEi5Qcm90b0ZsaXBT", - "ZXR0aW5ncxIoCgxjcm9wU2V0dGluZ3MYDyABKAsyEi5Qcm90b0Nyb3BTZXR0", - "aW5ncxI4CgNhaWEYECABKAsyKy5Qcm90b0FkdmFuY2VkSWxsdXN0cmF0aW9u", - "QXJlYUltYWdlU2V0dGluZ3MSDAoEdXVpZBgRIAEoCRIxCg5yZWZlcmVuY2VQ", - "b2ludBgSIAEoDjIZLlByb3RvSW1hZ2VSZWZlcmVuY2VQb2ludBIRCgloeXBl", - "cmxpbmsYEyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGBQgAygJEjAKEGltYWdl", - "Q29udGVudFR5cGUYFSABKA4yFi5Qcm90b0ltYWdlQ29udGVudFR5cGUSFAoM", - "aW1hZ2VDb250ZW50GBYgASgJEicKCXNjYWxlVHlwZRgXIAEoDjIULlByb3Rv", - "SW1hZ2VTY2FsZVR5cGUSIQoGdWFNb2RlGBggASgOMhEuUHJvdG9JbWFnZVVB", - "TW9kZRIVCg11YURlc2NyaXB0aW9uGBkgASgJEjAKF2xlZnRCb3JkZXJJc0xl", - "ZnRNZWFzdXJlGBogASgLMg8uUHJvdG9Cb3hlZEJvb2wi0gEKDlByb3RvRGly", - "ZWN0b3J5EigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVt", - "ZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgwK", - "BHV1aWQYAyABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAQgAygJEigKDHNlbWFu", - "dGljVHlwZRgFIAEoDjISLlByb3RvU2VtYW50aWNUeXBlEhAKCGVkaXRhYmxl", - "GAYgASgIEgwKBG5hbWUYByABKAkitAEKDlByb3RvVGV4dEJyaWNrEigKCV9j", - "aGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVu", - "dBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgwKBHV1aWQYAyABKAkS", - "CgoCaWQYBCABKAQSFwoPY29tQ2hhbm5lbFVVSURzGAUgAygJEhAKCGVkaXRh", - "YmxlGAYgASgIEgwKBG5hbWUYByABKAkiwAEKDVByb3RvVmFyaWFibGUSJQoG", - "cGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQSDAoEcGF0aBgC", - "IAEoCRIPCgdjb250ZW50GAMgASgJEhIKCmZvcm1hdFV1aWQYBCABKAkSLgoL", - "c3BlY2lhbFR5cGUYBSABKA4yGS5Qcm90b1ZhcmlhYmxlU3BlY2lhbFR5cGUS", - "DAoEdXVpZBgGIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYByADKAki4wEKDlBy", - "b3RvRm9ybWF0dGVkEiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRF", - "bGVtZW50EhYKDmR0ZWRpdG9yU3ludGF4GAIgASgIEhYKDmRvY3R5cGVDb250", - "ZW50GAMgASgJEhMKC2RvY3R5cGVDb2RlGAQgASgJEhMKC2h0bWxDb250ZW50", - "GAUgASgJEhAKCGh0bWxDb2RlGAYgASgJEhMKC3RleHRDb250ZW50GAcgASgJ", - "EhAKCHRleHRDb2RlGAggASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgJIAMoCSJA", - "ChNQcm90b0FwcGx5UHJvdG9DRGVmEhAKCGNEZWZVdWlkGAEgASgJEhcKD2Nv", - "bUNoYW5uZWxVVUlEcxgCIAMoCSJAChNQcm90b0FwcGx5UHJvdG9QRGVmEhAK", - "CHBEZWZVdWlkGAEgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgCIAMoCSJDChJQ", - "cm90b0FwcGx5UHRDb25maWcSFAoMcHRDb25maWdVdWlkGAEgASgJEhcKD2Nv", - "bUNoYW5uZWxVVUlEcxgCIAMoCSJDChJQcm90b0FwcGx5VWxDb25maWcSFAoM", - "dWxDb25maWdVdWlkGAEgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgCIAMoCSK2", - "AQoJUHJvdG9DRGVmEisKDWNvbHVtU2V0dGluZ3MYASABKAsyFC5Qcm90b0Nv", - "bHVtblNldHRpbmdzEiwKE2FwcGx5VG9IZWFkZXJGb290ZXIYAiABKAsyDy5Q", - "cm90b0JveGVkQm9vbBInCg5hcHBseUltbWVkaWF0ZRgDIAEoCzIPLlByb3Rv", - "Qm94ZWRCb29sEgwKBFV1aWQYBCABKAkSFwoPY29tQ2hhbm5lbFVVSURzGAUg", - "AygJIoABCglQcm90b1BEZWYSJQoJcGFnZVdpZHRoGAEgASgLMhIuUHJvdG9C", - "b3hlZE1lYXN1cmUSJQoJcGFnZURlcHRoGAIgASgLMhIuUHJvdG9Cb3hlZE1l", - "YXN1cmUSDAoEVXVpZBgDIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYBCADKAki", - "1AEKDVByb3RvUHRDb25maWcSIgoGaGVpZ2h0GAEgASgLMhIuUHJvdG9Cb3hl", - "ZE1lYXN1cmUSJAoIbGluZUZlZWQYAiABKAsyEi5Qcm90b0JveGVkTWVhc3Vy", - "ZRIqCg5jaGFyYWN0ZXJXaWR0aBgDIAEoCzISLlByb3RvQm94ZWRNZWFzdXJl", - "EiYKCnNwYWNlV2lkdGgYBCABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIMCgRV", - "dWlkGAUgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgGIAMoCSJZCg1Qcm90b1Vs", - "Q29uZmlnEiEKBG1vZGUYASABKA4yEy5Qcm90b1VuZGVybGluZU1vZGUSDAoE", - "VXVpZBgCIAEoCRIXCg9jb21DaGFubmVsVVVJRHMYAyADKAki7wEKDFByb3Rv", - "TmV3UGFnZRIMCgR1dWlkGAEgASgJEhUKDXBhcGVyVHJheVV1aWQYAiABKAkS", - "FwoPcGFwZXJUcmF5TnVtYmVyGAMgASgNEhIKCnBhcGVyQ291bnQYBCABKA0S", - "IAoIcGFnZU1vZGUYBSABKA4yDi5Qcm90b1BhZ2VNb2RlEi4KD3BhZ2VPcmll", - "bnRhdGlvbhgGIAEoDjIVLlByb3RvUGFnZU9yaWVudGF0aW9uEhAKCHBEZWZV", - "dWlkGAcgASgJEhAKCGNEZWZVdWlkGAggASgJEhcKD2NvbUNoYW5uZWxVVUlE", - "cxgJIAMoCSLPAQoQUHJvdG9JbmRlbnRhdGlvbhIoCglfY2hpbGRyZW4YASAD", - "KAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Q", - "cm90b0RvY3VtZW50RWxlbWVudBIgCgRsZWZ0GAMgASgLMhIuUHJvdG9Cb3hl", - "ZE1lYXN1cmUSIQoFcmlnaHQYBCABKAsyEi5Qcm90b0JveGVkTWVhc3VyZRIM", - "CgR1dWlkGAUgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgGIAMoCSJ6Cg5Qcm90", - "b0NhcnJ5T3ZlchIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50", - "RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVu", - "dBIXCg9jb21DaGFubmVsVVVJRHMYAyADKAkipQEKDlByb3RvTG9vcEVudHJ5", - "EigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUK", - "BnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgwKBHBhdGgY", - "AyABKAkSDQoFaW5kZXgYBCABKAQSDAoEdXVpZBgFIAEoCRIXCg9jb21DaGFu", - "bmVsVVVJRHMYBiADKAkikQEKCVByb3RvTG9vcBIoCglfY2hpbGRyZW4YASAD", - "KAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Q", - "cm90b0RvY3VtZW50RWxlbWVudBIMCgRwYXRoGAMgASgJEgwKBHV1aWQYBCAB", - "KAkSFwoPY29tQ2hhbm5lbFVVSURzGAUgAygJItsBCg1Qcm90b1N1YlRvdGFs", - "EigKCV9jaGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUK", - "BnBhcmVudBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EhcKD2FwcGx5", - "X2ltbWVkaWF0ZRgDIAEoCBIoCghwb3NpdGlvbhgEIAEoDjIWLlByb3RvU3Vi", - "VG90YWxQb3NpdGlvbhIdCgZoZWlnaHQYBSABKAsyDS5Qcm90b01lYXN1cmUS", - "FwoPY29tQ2hhbm5lbFVVSURzGAYgAygJIncKC1Byb3RvV3NBcmVhEigKCV9j", - "aGlsZHJlbhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVu", - "dBgCIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EhcKD2NvbUNoYW5uZWxV", - "VUlEcxgDIAMoCSK6AgoJUHJvdG9SdWxlEh4KB3hPZmZzZXQYASABKAsyDS5Q", - "cm90b01lYXN1cmUSHgoHeU9mZnNldBgCIAEoCzINLlByb3RvTWVhc3VyZRIc", - "CgV3aWR0aBgDIAEoCzINLlByb3RvTWVhc3VyZRIgCgl0aGlja25lc3MYBCAB", - "KAsyDS5Qcm90b01lYXN1cmUSEAoIcm90YXRpb24YBSABKAESGgoFY29sb3IY", - "BiABKAsyCy5Qcm90b0NvbG9yEh4KBXN0eWxlGAcgASgOMg8uUHJvdG9SdWxl", - "U3R5bGUSHAoEbW9kZRgIIAEoDjIOLlByb3RvUnVsZU1vZGUSKAoKYm91bmRh", - "cmllcxgJIAEoCzIULlByb3RvUnVsZUJvdW5kYXJpZXMSFwoPY29tQ2hhbm5l", - "bFVVSURzGAogAygJIk8KE1Byb3RvUnVsZUJvdW5kYXJpZXMSHAoFc3RhcnQY", - "ASABKAsyDS5Qcm90b01lYXN1cmUSGgoDZW5kGAIgASgLMg0uUHJvdG9NZWFz", - "dXJlIkQKDVByb3RvQ29sb3JEZWYSGgoFY29sb3IYASABKAsyCy5Qcm90b0Nv", - "bG9yEhcKD2NvbUNoYW5uZWxVVUlEcxgCIAMoCSJbCgtQcm90b0xheW91dBIl", - "CgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgRuYW1l", - "GAIgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgDIAMoCSLqAgodUHJvdG9BZHZh", - "bmNlZElsbHVzdHJhdGlvbkFyZWESKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJv", - "dG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1", - "bWVudEVsZW1lbnQSDAoEdXVpZBgDIAEoCRIQCghhYnNvbHV0ZRgEIAEoCBIc", - "CgV3aWR0aBgFIAEoCzINLlByb3RvTWVhc3VyZRIdCgZoZWlnaHQYBiABKAsy", - "DS5Qcm90b01lYXN1cmUSGAoBeBgHIAEoCzINLlByb3RvTWVhc3VyZRIYCgF5", - "GAggASgLMg0uUHJvdG9NZWFzdXJlEjwKCHRleHRGbG93GAkgASgOMiouUHJv", - "dG9BZHZhbmNlZElsbHVzdHJhdGlvbkFyZWFUZXh0Rmxvd1R5cGUSEAoIcm90", - "YXRpb24YCiABKAISFwoPY29tQ2hhbm5lbFVVSURzGAsgAygJIssBChdQcm90", - "b0FkanVzdEhvcml6b250YWxseRIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90", - "b0RvY3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3Vt", - "ZW50RWxlbWVudBIiCgttaW5Gb250U2l6ZRgDIAEoCzINLlByb3RvTWVhc3Vy", - "ZRIiCgttYXhGb250U2l6ZRgEIAEoCzINLlByb3RvTWVhc3VyZRIXCg9jb21D", - "aGFubmVsVVVJRHMYBSADKAkioAEKElByb3RvRG9jdHlwZVNjcmlwdBIlCgZw", - "YXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIPCgdjb250ZW50", - "GAIgASgJEisKCm91dHB1dE1vZGUYAyABKA4yFy5Qcm90b0RvY3R5cGVPdXRw", - "dXRNb2RlEhcKD2NvbUNoYW5uZWxVVUlEcxgEIAMoCRIMCgR1dWlkGAUgASgJ", - "Im4KDVByb3RvRG1TY3JpcHQSJQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1", - "bWVudEVsZW1lbnQSDwoHY29udGVudBgCIAEoCRIXCg9jb21DaGFubmVsVVVJ", - "RHMYAyADKAkSDAoEdXVpZBgEIAEoCSJ0ChRQcm90b0R5bmFtaWNUZW1wbGF0", - "ZRIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgR1", - "dWlkGAIgASgJEg4KBnNjcmlwdBgDIAEoCRIXCg9jb21DaGFubmVsVVVJRHMY", - "BCADKAki1QEKDlByb3RvU2VsZWN0aW9uEigKCV9jaGlsZHJlbhgBIAMoCzIV", - "LlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEoCzIVLlByb3Rv", - "RG9jdW1lbnRFbGVtZW50EgwKBHV1aWQYAyABKAkSFwoPY29tQ2hhbm5lbFVV", - "SURzGAQgAygJEhQKDGludGVybmFsTmFtZRgFIAEoCRIMCgRuYW1lGAYgASgJ", - "Eg0KBW11bHRpGAcgASgIEgsKA21pbhgIIAEoBBILCgNtYXgYCSABKAQiwwEK", - "E1Byb3RvU2VsZWN0aW9uRW50cnkSKAoJX2NoaWxkcmVuGAEgAygLMhUuUHJv", - "dG9Eb2N1bWVudEVsZW1lbnQSJQoGcGFyZW50GAIgASgLMhUuUHJvdG9Eb2N1", - "bWVudEVsZW1lbnQSDAoEdXVpZBgDIAEoCRIXCg9jb21DaGFubmVsVVVJRHMY", - "BCADKAkSFAoMaW50ZXJuYWxOYW1lGAUgASgJEgwKBG5hbWUYBiABKAkSEAoI", - "c2VsZWN0ZWQYByABKAgiugEKDlByb3RvQ29uZGl0aW9uEigKCV9jaGlsZHJl", - "bhgBIAMoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EiUKBnBhcmVudBgCIAEo", - "CzIVLlByb3RvRG9jdW1lbnRFbGVtZW50EgwKBHV1aWQYAyABKAkSFwoPY29t", - "Q2hhbm5lbFVVSURzGAQgAygJEgwKBGNvZGUYBSABKAkSDgoGcmVzdWx0GAYg", - "ASgIEhIKCnJlZ2VuZXJhdGUYByABKAgimgEKElByb3RvUGFnZUNvbmRpdGlv", - "bhIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIl", - "CgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIMCgR1dWlk", - "GAMgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgEIAMoCRIMCgRjb2RlGAUgASgJ", - "IrEBCgtQcm90b0xvY2FsZRIoCglfY2hpbGRyZW4YASADKAsyFS5Qcm90b0Rv", - "Y3VtZW50RWxlbWVudBIlCgZwYXJlbnQYAiABKAsyFS5Qcm90b0RvY3VtZW50", - "RWxlbWVudBIMCgR1dWlkGAMgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgEIAMo", - "CRIVCg1sYW5ndWFnZVVVSURzGAUgAygJEhMKC3JlZ2lvblVVSURzGAYgAygJ", - "IpoBCghQcm90b1RhZxIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50", - "RWxlbWVudBIMCgRuYW1lGAIgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgDIAMo", - "CRIMCgR1dWlkGAQgASgJEg4KBnBhcmFtcxgFIAMoCRIQCghuYW1lQ29kZRgG", - "IAEoCRIQCghjb2RlTW9kZRgHIAEoCCKTAQoYUHJvdG9QYXJhZ3JhcGhTZXRE", - "ZWZhdWx0EiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVtZW50", - "EgwKBG5hbWUYAiABKAkSGwoTcGFyYWdyYXBoRm9ybWF0VVVJRBgDIAEoCRIM", - "CgR1dWlkGAQgASgJEhcKD2NvbUNoYW5uZWxVVUlEcxgFIAMoCSL5AQoTUHJv", - "dG9JbnB1dEZpZWxkVGV4dBIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3Vt", - "ZW50RWxlbWVudBIiCgRiYXNlGAIgASgLMhQuUHJvdG9CYXNlSW5wdXRGaWVs", - "ZBIzChVwZGZfcHJpbnRpbmdfYmVoYXZpb3IYAyABKA4yFC5QREZQcmludGlu", - "Z0JlaGF2aW9yEiQKCHBkZl9zaXplGAQgASgLMhIuUHJvdG9Cb3hlZE1lYXN1", - "cmUSFQoNcGRmX2Zvcm1fbmFtZRgFIAEoCRIXCg9jb21DaGFubmVsVVVJRHMY", - "BiADKAkSDAoEdXVpZBgHIAEoCSKHAQoTUHJvdG9JbnB1dEZpZWxkRGF0ZRIl", - "CgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3VtZW50RWxlbWVudBIiCgRiYXNl", - "GAIgASgLMhQuUHJvdG9CYXNlSW5wdXRGaWVsZBIXCg9jb21DaGFubmVsVVVJ", - "RHMYAyADKAkSDAoEdXVpZBgEIAEoCSKLAQoXUHJvdG9JbnB1dEZpZWxkQ2hl", - "Y2tib3gSJQoGcGFyZW50GAEgASgLMhUuUHJvdG9Eb2N1bWVudEVsZW1lbnQS", - "IgoEYmFzZRgCIAEoCzIULlByb3RvQmFzZUlucHV0RmllbGQSFwoPY29tQ2hh", - "bm5lbFVVSURzGAMgAygJEgwKBHV1aWQYBCABKAkiiAEKFFByb3RvSW5wdXRG", - "aWVsZExhYmVsEiUKBnBhcmVudBgBIAEoCzIVLlByb3RvRG9jdW1lbnRFbGVt", - "ZW50EiIKBGJhc2UYAiABKAsyFC5Qcm90b0Jhc2VJbnB1dEZpZWxkEhcKD2Nv", - "bUNoYW5uZWxVVUlEcxgDIAMoCRIMCgR1dWlkGAQgASgJItgBChdQcm90b0lu", - "cHV0RmllbGREcm9wZG93bhIlCgZwYXJlbnQYASABKAsyFS5Qcm90b0RvY3Vt", - "ZW50RWxlbWVudBIiCgRiYXNlGAIgASgLMhQuUHJvdG9CYXNlSW5wdXRGaWVs", - "ZBIdCgdvcHRpb25zGAMgAygLMgwuUHJvdG9PcHRpb24SFwoPYmluZE9wdGlv", - "bnNDb2RlGAQgASgIEhMKC29wdGlvbnNDb2RlGAUgASgJEhcKD2NvbUNoYW5u", - "ZWxVVUlEcxgGIAMoCRIMCgR1dWlkGAcgASgJKjgKDFByb3RvU1BCTW9kZRII", - "CgROT05FEAASDwoLU1VQRVJTQ1JJUFQQARINCglTVUJTQ1JJUFQQAir5AQoO", - "UHJvdG9SdWxlU3R5bGUSFAoQRFVNTVlfUlVMRV9TVFlMRRAAEgkKBVNPTElE", - "EAESEgoOU1BBUlNFX1NIQURJTkcQAhISCg5NRURJVU1fU0hBRElORxADEhEK", - "DURFTlNFX1NIQURJTkcQBBIQCgxMSUdIVF9ET1RURUQQBRIRCg1NRURJVU1f", - "RE9UVEVEEAYSEAoMSEVBVllfRE9UVEVEEAcSEAoMTElHSFRfREFTSEVEEAgS", - "EQoNTUVESVVNX0RBU0hFRBAJEhAKDEhFQVZZX0RBU0hFRBAKEhAKDERBU0hf", - "UEFUVEVSThALEgsKBkRPVUJMRRD+ASpHChBQcm90b01lYXN1cmVUeXBlEgYK", - "AlBUEAASBgoCQ00QARIGCgJNTRACEgYKAklOEAMSCwoHUEVSQ0VOVBAEEgYK", - "AlBYEAUqewopUHJvdG9BZHZhbmNlZElsbHVzdHJhdGlvbkFyZWFUZXh0Rmxv", - "d1R5cGUSFQoRRE9fTk9UX1VTRV9BVF9BTEwQABIKCgZBUk9VTkQQARILCgdO", - "T19GTE9XEAISDgoKRk9SRUdST1VORBADEg4KCkJBQ0tHUk9VTkQQBCo5Cg5Q", - "cm90b0NvbG9yVHlwZRIUChBEVU1NWV9DT0xPUl9UWVBFEAASBwoDUkdCEAMS", - "CAoEQ01ZSxAEKpIBChhQcm90b0hvcml6b250YWxBbGlnbm1lbnQSDgoKQUxJ", - "R05fTEVGVBAAEhAKDEFMSUdOX0NFTlRFUhABEg8KC0FMSUdOX1JJR0hUEAIS", - "EQoNQUxJR05fSlVTVElGWRADEhYKEkFMSUdOX0ZVTExfSlVTVElGWRAEEhgK", - "FEFMSUdOX0NFTlRFUl9PTl9QQUdFEAUqOQoWUHJvdG9WZXJ0aWNhbEFsaWdu", - "bWVudBIHCgNUT1AQABIKCgZNSURETEUQARIKCgZCT1RUT00QAiqDAQoQUHJv", - "dG9CYXJjb2RlVHlwZRIKCgZQREY0MTcQABIOCgpEQVRBTUFUUklYEAESCQoF", - "QkMxMjgQAhIGCgJRUhADEgcKA0lURhAEEggKBEVBTjgQBRIJCgVFQU4xMxAG", - "EgoKBkNPREUzORAHEgsKB1NXSVNTUVIQCBIJCgVBWlRFQxAJKlIKEVByb3Rv", - "UG9zaXRpb25Nb2RlEgoKBkNFTlRFUhAAEggKBExFRlQQARIJCgVGT0xJTxAC", - "EgkKBVJJR0hUEAMSEQoNUkVWRVJTRV9GT0xJTxAEKo4BChJQcm90b1VuZGVy", - "bGluZU1vZGUSGAoURFVNTVlfVU5ERVJMSU5FX01PREUQABITCg9XT1JEU19O", - "T19CTEFOS1MQARIUChBXT1JEU19BTkRfQkxBTktTEAISGAoUQ0hBUkFDVEVS", - "U19OT19CTEFOS1MQAxIZChVDSEFSQUNURVJTX0FORF9CTEFOS1MQBCq5AQoY", - "UHJvdG9JbWFnZVJlZmVyZW5jZVBvaW50Eh8KG1JFRl9QT0lOVF9ET19OT1Rf", - "VVNFX0FUX0FMTBAAEhkKFVJFRl9QT0lOVF9CT1RUT01fTEVGVBABEhYKElJF", - "Rl9QT0lOVF9UT1BfTEVGVBACEhQKEFJFRl9QT0lOVF9DRU5URVIQAxIaChZS", - "RUZfUE9JTlRfQk9UVE9NX1JJR0hUEAQSFwoTUkVGX1BPSU5UX1RPUF9SSUdI", - "VBAFKokBChFQcm90b1NlbWFudGljVHlwZRIWChJTRU1BTlRJQ19UWVBFX05P", - "TkUQABIWChJTRU1BTlRJQ19UWVBFX1BBUlQQARIVChFTRU1BTlRJQ19UWVBF", - "X0FSVBACEhYKElNFTUFOVElDX1RZUEVfU0VDVBADEhUKEVNFTUFOVElDX1RZ", - "UEVfRElWEAQqeQoTUERGUHJpbnRpbmdCZWhhdmlvchIfChtQREZfUFJJTlRJ", - "TkdfQkVIQVZJT1JfSU5QVVQQABIeChpQREZfUFJJTlRJTkdfQkVIQVZJT1Jf", - "VEVYVBABEiEKHVBERl9QUklOVElOR19CRUhBVklPUl9JTkhFUklUEAIqhgEK", - "C0luaGVyaXRhbmNlEhcKE0lOSEVSSVRBTkNFX0lOSEVSSVQQABIUChBJTkhF", - "UklUQU5DRV9DT0RFEAESGQoVSU5IRVJJVEFOQ0VfQklORF9DT0RFEAISFgoS", - "SU5IRVJJVEFOQ0VfU1RBVElDEAMSFQoRSU5IRVJJVEFOQ0VfUkVTRVQQBCpv", - "Cg9Qcm90b051bWJlclR5cGUSCgoGQVJBQklDEAASEQoNUk9NX1VQUEVSQ0FT", - "RRABEhEKDVJPTV9MT1dFUkNBU0UQAhIUChBMRVRURVJfVVBQRVJDQVNFEAMS", - "FAoQTEVUVEVSX0xPV0VSQ0FTRRAEKkMKGVByb3RvTGlzdExldmVsU2V0dGlu", - "Z1R5cGUSDgoKVU5OVU1CRVJFRBAAEgsKB05VTUVSSUMQARIJCgVJTUFHRRAC", - "Kk4KGlByb3RvVGFibGVDb250ZW50R3JvdXBUeXBlEgoKBkhFQURFUhAAEggK", - "BEJPRFkQARIKCgZGT09URVIQAhIOCgpTVUJfSEVBREVSEAMqXwoSUHJvdG9U", - "YWJsZUNlbGxUeXBlEhMKD1RBQkxFX0NFTExfQk9EWRAAEhkKFVRBQkxFX0NF", - "TExfUk9XX0hFQURFUhABEhkKFVRBQkxFX0NFTExfUk9XX0ZPT1RFUhACKjIK", - "D0NvbHVtbkJhbGFuY2luZxIQCgxOT19CQUxBTkNJTkcQABINCglCQUxBTkNJ", - "TkcQASp6Cg9Qcm90b0hlYWRlck1vZGUSHgoaSEVBREVSX01PREVfQVBQRU5E", - "X0lOSVRJQUwQABIWChJIRUFERVJfTU9ERV9BUFBFTkQQARIWChJIRUFERVJf", - "TU9ERV9FWFRFTkQQAhIXChNIRUFERVJfTU9ERV9SRVBMQUNFEAMqegoPUHJv", - "dG9Gb290ZXJNb2RlEh4KGkZPT1RFUl9NT0RFX0FQUEVORF9JTklUSUFMEAAS", - "FgoSRk9PVEVSX01PREVfQVBQRU5EEAESFgoSRk9PVEVSX01PREVfRVhURU5E", - "EAISFwoTRk9PVEVSX01PREVfUkVQTEFDRRADKocSCghOb2RlVHlwZRIsCihE", - "T0NVTUVOVF9FTEVNRU5UX0JSQU5DSF9ET0NVTUVOVF9FTEVNRU5UEAASJAog", - "RE9DVU1FTlRfRUxFTUVOVF9CUklDS19SRUZFUkVOQ0UQARIaChZET0NVTUVO", - "VF9FTEVNRU5UX0JSSUNLEAISJQohRE9DVU1FTlRfRUxFTUVOVF9ET0NVTUVO", - "VF9FTEVNRU5UEAMSHgoaRE9DVU1FTlRfRUxFTUVOVF9MSU5FQlJFQUsQBBIh", - "Ch1ET0NVTUVOVF9FTEVNRU5UX0xJU1RfU0VUVElORxAGEiUKIURPQ1VNRU5U", - "X0VMRU1FTlRfUEFSQUdSQVBIX0ZPUk1BVBAHEh4KGkRPQ1VNRU5UX0VMRU1F", - "TlRfUEFSQUdSQVBIEAgSHAoYRE9DVU1FTlRfRUxFTUVOVF9TRUNUSU9OEAkS", - "GQoVRE9DVU1FTlRfRUxFTUVOVF9TUEFOEAoSGgoWRE9DVU1FTlRfRUxFTUVO", - "VF9UQUJMRRALEh8KG0RPQ1VNRU5UX0VMRU1FTlRfVEFCTEVfQ0VMTBAMEh4K", - "GkRPQ1VNRU5UX0VMRU1FTlRfVEFCTEVfUk9XEA0SHQoZRE9DVU1FTlRfRUxF", - "TUVOVF9URU1QTEFURRAPEhkKFURPQ1VNRU5UX0VMRU1FTlRfVEVYVBAQEh4K", - "GkRPQ1VNRU5UX0VMRU1FTlRfQ09MT1JfREVGEBMSGgoWRE9DVU1FTlRfRUxF", - "TUVOVF9JTUFHRRAeEiEKHURPQ1VNRU5UX0VMRU1FTlRfTkFNRURfU1RSSU5H", - "ECISKAokRE9DVU1FTlRfRUxFTUVOVF9UQUJMRV9DT05URU5UX0dST1VQECMS", - "IQodRE9DVU1FTlRfRUxFTUVOVF9UQUJMRV9DT05GSUcQJBImCiJET0NVTUVO", - "VF9FTEVNRU5UX1RBQkxFX0NFTExfQ09ORklHECUSJQohRE9DVU1FTlRfRUxF", - "TUVOVF9UQUJMRV9ST1dfQ09ORklHECYSLworRE9DVU1FTlRfRUxFTUVOVF9U", - "QUJMRV9DT05URU5UX0dST1VQX0NPTkZJRxAnEhkKFURPQ1VNRU5UX0VMRU1F", - "TlRfTElOSxAoEh4KGkRPQ1VNRU5UX0VMRU1FTlRfRElSRUNUT1JZECkSHwob", - "RE9DVU1FTlRfRUxFTUVOVF9URVhUX0JSSUNLECoSHQoZRE9DVU1FTlRfRUxF", - "TUVOVF9WQVJJQUJMRRAsEiUKIURPQ1VNRU5UX0VMRU1FTlRfU1BBQ0VfVkVS", - "VElDQUxMWRAtEh4KGkRPQ1VNRU5UX0VMRU1FTlRfRk9STUFUVEVEEC4SIAoc", - "RE9DVU1FTlRfRUxFTUVOVF9BUFBMWV9DX0RFRhAvEiAKHERPQ1VNRU5UX0VM", - "RU1FTlRfQVBQTFlfUF9ERUYQMBIkCiBET0NVTUVOVF9FTEVNRU5UX0FQUExZ", - "X1BUX0NPTkZJRxAxEiQKIERPQ1VNRU5UX0VMRU1FTlRfQVBQTFlfVUxfQ09O", - "RklHEDISGgoWRE9DVU1FTlRfRUxFTUVOVF9DX0RFRhAzEhoKFkRPQ1VNRU5U", - "X0VMRU1FTlRfUF9ERUYQNBIeChpET0NVTUVOVF9FTEVNRU5UX1BUX0NPTkZJ", - "RxA1Eh4KGkRPQ1VNRU5UX0VMRU1FTlRfVUxfQ09ORklHEDYSHQoZRE9DVU1F", - "TlRfRUxFTUVOVF9ORVdfUEFHRRA3EhsKF0RPQ1VNRU5UX0VMRU1FTlRfSEVB", - "REVSEDgSGwoXRE9DVU1FTlRfRUxFTUVOVF9GT09URVIQORIgChxET0NVTUVO", - "VF9FTEVNRU5UX0lOREVOVEFUSU9OEDwSHAoYRE9DVU1FTlRfRUxFTUVOVF9C", - "QVJDT0RFED0SHAoYRE9DVU1FTlRfRUxFTUVOVF9XU19BUkVBED4SHwobRE9D", - "VU1FTlRfRUxFTUVOVF9DQVJSWV9PVkVSED8SHgoaRE9DVU1FTlRfRUxFTUVO", - "VF9TVUJfVE9UQUwQQBIZChVET0NVTUVOVF9FTEVNRU5UX0xPT1AQQRIfChtE", - "T0NVTUVOVF9FTEVNRU5UX0xPT1BfRU5UUlkQQhIZChVET0NVTUVOVF9FTEVN", - "RU5UX1JVTEUQQxInCiNET0NVTUVOVF9FTEVNRU5UX0xJU1RfTEVWRUxfU0VU", - "VElORxBEEhsKF0RPQ1VNRU5UX0VMRU1FTlRfTEFZT1VUEEUSLworRE9DVU1F", - "TlRfRUxFTUVOVF9BRFZBTkNFRF9JTExVU1RSQVRJT05fQVJFQRBGEigKJERP", - "Q1VNRU5UX0VMRU1FTlRfQURKVVNUX0hPUklaT05UQUxMWRBHEiMKH0RPQ1VN", - "RU5UX0VMRU1FTlRfRE9DVFlQRV9TQ1JJUFQQSBIeChpET0NVTUVOVF9FTEVN", - "RU5UX0RNX1NDUklQVBBJEiUKIURPQ1VNRU5UX0VMRU1FTlRfRFlOQU1JQ19U", - "RU1QTEFURRBKEh4KGkRPQ1VNRU5UX0VMRU1FTlRfU0VMRUNUSU9OEEsSJAog", - "RE9DVU1FTlRfRUxFTUVOVF9TRUxFQ1RJT05fRU5UUlkQTBIeChpET0NVTUVO", - "VF9FTEVNRU5UX0NPTkRJVElPThBNEiMKH0RPQ1VNRU5UX0VMRU1FTlRfUEFH", - "RV9DT05ESVRJT04QThIbChdET0NVTUVOVF9FTEVNRU5UX0xPQ0FMRRBPEhgK", - "FERPQ1VNRU5UX0VMRU1FTlRfVEFHEFASKgomRE9DVU1FTlRfRUxFTUVOVF9Q", - "QVJBR1JBUEhfU0VUX0RFRkFVTFQQURIlCiFET0NVTUVOVF9FTEVNRU5UX0lO", - "UFVUX0ZJRUxEX1RFWFQQUhIlCiFET0NVTUVOVF9FTEVNRU5UX0lOUFVUX0ZJ", - "RUxEX0RBVEUQUxIpCiVET0NVTUVOVF9FTEVNRU5UX0lOUFVUX0ZJRUxEX0NI", - "RUNLQk9YEFQSJgoiRE9DVU1FTlRfRUxFTUVOVF9JTlBVVF9GSUVMRF9MQUJF", - "TBBVEikKJURPQ1VNRU5UX0VMRU1FTlRfSU5QVVRfRklFTERfRFJPUERPV04Q", - "ViqkAQoTUHJvdG9JbWFnZVNjYWxlVHlwZRImCiJJTUFHRV9TQ0FMRV9UWVBF", - "X0RPX05PVF9VU0VfQVRfQUxMEAASHQoZSU1BR0VfU0NBTEVfVFlQRV9SRUxB", - "VElWRRABEh0KGUlNQUdFX1NDQUxFX1RZUEVfQUJTT0xVVEUQAhInCiNJTUFH", - "RV9TQ0FMRV9UWVBFX1JFTEFUSVZFX1RPX0NPTFVNThADKooBChBQcm90b0lt", - "YWdlVUFNb2RlEiMKH0lNQUdFX1VBX01PREVfRE9fTk9UX1VTRV9BVF9BTEwQ", - "ABIbChdJTUFHRV9VQV9NT0RFX0lOSEVSSVRFRBABEhgKFElNQUdFX1VBX01P", - "REVfU0lNUExFEAISGgoWSU1BR0VfVUFfTU9ERV9BRFZBTkNFRBADKssBChVQ", - "cm90b0ltYWdlQ29udGVudFR5cGUSJwojSU1BR0VfQ09OVEVOVF9VVUlEX1JF", - "RkVSRU5DRV9JTkxJTkUQABImCiJJTUFHRV9DT05URU5UX1VVSURfUkVGRVJF", - "TkNFX0xPQ0FMEAESJwojSU1BR0VfQ09OVEVOVF9VVUlEX1JFRkVSRU5DRV9H", - "TE9CQUwQAhIaChZJTUFHRV9DT05URU5UX0RNU0NSSVBUEAMSHAoYSU1BR0Vf", - "Q09OVEVOVF9JTUFHRV9EQVRBEAQqxAEKGFByb3RvVmFyaWFibGVTcGVjaWFs", - "VHlwZRIPCgtOT1RfU1BFQ0lBTBAAEhAKDFRBQkxFX05VTUJFUhABEhIKDkRP", - "Q19QQUdFX0NPVU5UEAISEAoMRE9DX0NVUl9QQUdFEAMSDAoIQ1VSX1BBR0UQ", - "BBIOCgpQQUdFX0NPVU5UEAUSDQoJUFJFVl9QQUdFEAYSEAoMU0VDVElPTl9Q", - "QUdFEAcSDgoKVVBEQVRFRF9BVBAIEhAKDEdFTkVSQVRFRF9BVBAJKkgKDVBy", - "b3RvUGFnZU1vZGUSDQoJTkVYVF9QQUdFEAASEwoPTkVYVF9SRUNUT19QQUdF", - "EAESEwoPTkVYVF9WRVJTT19QQUdFEAIqawoUUHJvdG9QYWdlT3JpZW50YXRp", - "b24SCQoFVU5TRVQQABIMCghQT1JUUkFJVBABEg0KCUxBTkRTQ0FQRRACEhQK", - "EElOVkVSU0VfUE9SVFJBSVQQAxIVChFJTlZFUlNFX0xBTkRTQ0FQRRAEKk4K", - "FVByb3RvU3ViVG90YWxQb3NpdGlvbhIZChVQT1NJVElPTl9BQk9WRV9GT09U", - "RVIQABIaChZQT1NJVElPTl9CRUxPV19DT05URU5UEAEqKQoNUHJvdG9SdWxl", - "TW9kZRIKCgZOT1JNQUwQABIMCghCT1VOREFSWRABKlAKFlByb3RvRG9jdHlw", - "ZU91dHB1dE1vZGUSHwobRE9DVFlQRV9PVVRQVVRfTU9ERV9OT1RfU0VUEAAS", - "CwoHRE9DVFlQRRABEggKBEpTT04QAkILqgIIRG9jZnJhbWViBnByb3RvMw==")); - 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.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[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedBool), global::Docframe.ProtoBoxedBool.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedDouble), global::Docframe.ProtoBoxedDouble.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedInt32), global::Docframe.ProtoBoxedInt32.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedUint32), global::Docframe.ProtoBoxedUint32.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedString), global::Docframe.ProtoBoxedString.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedSPBMode), global::Docframe.ProtoBoxedSPBMode.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoStrikethroughSpec), global::Docframe.ProtoStrikethroughSpec.Parser, new[]{ "Weight", "Mode", "Color", "OffsetEm", "Style" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedStrikethroughSpec), global::Docframe.ProtoBoxedStrikethroughSpec.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoMeasure), global::Docframe.ProtoMeasure.Parser, new[]{ "Value", "Mtype" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedMeasure), global::Docframe.ProtoBoxedMeasure.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSideMeasures), global::Docframe.ProtoSideMeasures.Parser, new[]{ "Top", "Right", "Bottom", "Left" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedAdvancedIllustrationAreaTextFlowType), global::Docframe.ProtoBoxedAdvancedIllustrationAreaTextFlowType.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoAdvancedIllustrationAreaImageSettings), global::Docframe.ProtoAdvancedIllustrationAreaImageSettings.Parser, new[]{ "TextFlow", "Margin" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoFont), global::Docframe.ProtoFont.Parser, new[]{ "Id", "Name" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedFont), global::Docframe.ProtoBoxedFont.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoColor), global::Docframe.ProtoColor.Parser, new[]{ "Name", "Type", "R", "G", "B", "C", "M", "Y", "K" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedColor), global::Docframe.ProtoBoxedColor.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoRGBColor), global::Docframe.ProtoRGBColor.Parser, new[]{ "Name", "Type", "R", "G", "B" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoCMYKColor), global::Docframe.ProtoCMYKColor.Parser, new[]{ "Name", "Type", "C", "M", "Y", "K" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedHorizontalAlignment), global::Docframe.ProtoBoxedHorizontalAlignment.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedVerticalAlignment), global::Docframe.ProtoBoxedVerticalAlignment.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSwissQRCreditor), global::Docframe.ProtoSwissQRCreditor.Parser, new[]{ "AddressType", "Name", "PostalCode", "Town", "Country", "StreetOrAddressLine1", "BuildingNumberOrAddressLine2", "Iban", "Amount", "Currency" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSwissQRDebitor), global::Docframe.ProtoSwissQRDebitor.Parser, new[]{ "AddressType", "Name", "PostalCode", "Town", "Country", "StreetOrAddressLine1", "BuildingNumberOrAddressLine2", "PaymentReferenceType", "PaymentReference", "UnstructuredReference", "BillInformation" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSwissQRData), global::Docframe.ProtoSwissQRData.Parser, new[]{ "Creditor", "Debitor" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoLinebreak), global::Docframe.ProtoLinebreak.Parser, new[]{ "Parent", "ComChannelUUIDs", "Uuid", "Count" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBorder), global::Docframe.ProtoBorder.Parser, new[]{ "Weight", "Color" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSideBorders), global::Docframe.ProtoSideBorders.Parser, new[]{ "Top", "Right", "Bottom", "Left" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedPositionMode), global::Docframe.ProtoBoxedPositionMode.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoColumnSettings), global::Docframe.ProtoColumnSettings.Parser, new[]{ "Width", "InterColumnSpace", "PositionOffset", "PositionMode", "OutsideMargin" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoGraphicState), global::Docframe.ProtoGraphicState.Parser, new[]{ "Bold", "Italic", "ColorStack", "Subscript", "Superscript", "Underline", "Strikethrough" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoHtmlParser), global::Docframe.ProtoHtmlParser.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoUnderlineSpec), global::Docframe.ProtoUnderlineSpec.Parser, new[]{ "Weight", "Mode", "Color", "OffsetEm", "Style" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBoxedUnderlineSpec), global::Docframe.ProtoBoxedUnderlineSpec.Parser, new[]{ "Value", "IsNull" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoCropSettings), global::Docframe.ProtoCropSettings.Parser, new[]{ "X", "Y", "Width", "Height" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoFlipSettings), global::Docframe.ProtoFlipSettings.Parser, new[]{ "X", "Y" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoOption), global::Docframe.ProtoOption.Parser, new[]{ "Key", "Value" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBaseInputField), global::Docframe.ProtoBaseInputField.Parser, new[]{ "Name", "Meta", "Value", "FormatUUID", "DataTypeUUID", "OnChangeCode", "Placeholder", "BindDefaultValue", "DefaultValueCode", "Readonly" }, 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" }, 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.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.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.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" }, 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.ProtoTableSettings), global::Docframe.ProtoTableSettings.Parser, new[]{ "XOffset", "LeftMeasure", "Width", "RepeatHeader", "Ws" }, 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" }, 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.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" }, 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.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" }, 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.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" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoText), global::Docframe.ProtoText.Parser, new[]{ "Parent", "Content", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBarcode), global::Docframe.ProtoBarcode.Parser, new[]{ "Type", "X", "Y", "ReferencePoint", "Rotation", "Width", "Height", "Padding", "Data", "PositionAbsolute", "ComChannelUUIDs", "Uuid", "Code", "SwissQRData" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBrickReference), global::Docframe.ProtoBrickReference.Parser, new[]{ "InternName", "Version", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoBrick), global::Docframe.ProtoBrick.Parser, new[]{ "Children", "Parent", "Id", "InternName", "Uuid", "Editable", "ComChannelUUIDs", "Name" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTemplate), global::Docframe.ProtoTemplate.Parser, new[]{ "Children", "Parent", "ComChannelUUIDs", "Uuid", "ColumnBalancing", "SemanticType", "TemplateUuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoHeader), global::Docframe.ProtoHeader.Parser, new[]{ "Children", "Parent", "Uuid", "ComChannelUUIDs", "Mode" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoFooter), global::Docframe.ProtoFooter.Parser, new[]{ "Children", "Parent", "Uuid", "ComChannelUUIDs", "Mode" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.Node), global::Docframe.Node.Parser, new[]{ "Children", "ListSetting", "ColorDef", "Brick", "Template", "Formatted", "Image", "ParagraphFormat", "TextBrick", "Text", "Linebreak", "SpaceVertically", "Footer", "Header", "Table", "TableRow", "TableCell", "CDef", "PDef", "ApplyCDef", "ApplyPDef", "ApplyPtConfig", "ApplyUlConfig", "PtConfig", "UlConfig", "NewPage", "Variable", "NamedString", "Paragraph", "Section", "Span", "Link", "Directory", "TableContentGroup", "TableConfig", "TableCellConfig", "TableRowConfig", "TableContentGroupConfig", "BrickReference", "Indentation", "Barcode", "WsArea", "CarryOver", "SubTotal", "Loop", "LoopEntry", "Rule", "Layout", "AdvancedIllustrationArea", "AdjustHorizontally", "DoctypeScript", "DmScript", "DynamicTemplate", "Selection", "SelectionEntry", "Condition", "PageCondition", "Locale", "Tag", "ParagraphSetDefault", "InputFieldText", "InputFieldDate", "InputFieldCheckbox", "InputFieldLabel", "InputFieldDropdown" }, new[]{ "Object" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoImage), global::Docframe.ProtoImage.Parser, new[]{ "Parent", "Alt", "Name", "Src", "Filename", "Scale", "ColumnScale", "Width", "Height", "X", "Y", "PositionAbsolute", "Rotation", "FlipSettings", "CropSettings", "Aia", "Uuid", "ReferencePoint", "Hyperlink", "ComChannelUUIDs", "ImageContentType", "ImageContent", "ScaleType", "UaMode", "UaDescription", "LeftBorderIsLeftMeasure" }, null, null, null, null), - 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.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.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.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.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.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), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSelection), global::Docframe.ProtoSelection.Parser, new[]{ "Children", "Parent", "Uuid", "ComChannelUUIDs", "InternalName", "Name", "Multi", "Min", "Max" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoSelectionEntry), global::Docframe.ProtoSelectionEntry.Parser, new[]{ "Children", "Parent", "Uuid", "ComChannelUUIDs", "InternalName", "Name", "Selected" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoCondition), global::Docframe.ProtoCondition.Parser, new[]{ "Children", "Parent", "Uuid", "ComChannelUUIDs", "Code", "Result", "Regenerate" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoPageCondition), global::Docframe.ProtoPageCondition.Parser, new[]{ "Children", "Parent", "Uuid", "ComChannelUUIDs", "Code" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoLocale), global::Docframe.ProtoLocale.Parser, new[]{ "Children", "Parent", "Uuid", "ComChannelUUIDs", "LanguageUUIDs", "RegionUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoTag), global::Docframe.ProtoTag.Parser, new[]{ "Parent", "Name", "ComChannelUUIDs", "Uuid", "Params", "NameCode", "CodeMode" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoParagraphSetDefault), global::Docframe.ProtoParagraphSetDefault.Parser, new[]{ "Parent", "Name", "ParagraphFormatUUID", "Uuid", "ComChannelUUIDs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoInputFieldText), global::Docframe.ProtoInputFieldText.Parser, new[]{ "Parent", "Base", "PdfPrintingBehavior", "PdfSize", "PdfFormName", "ComChannelUUIDs", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoInputFieldDate), global::Docframe.ProtoInputFieldDate.Parser, new[]{ "Parent", "Base", "ComChannelUUIDs", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoInputFieldCheckbox), global::Docframe.ProtoInputFieldCheckbox.Parser, new[]{ "Parent", "Base", "ComChannelUUIDs", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoInputFieldLabel), global::Docframe.ProtoInputFieldLabel.Parser, new[]{ "Parent", "Base", "ComChannelUUIDs", "Uuid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Docframe.ProtoInputFieldDropdown), global::Docframe.ProtoInputFieldDropdown.Parser, new[]{ "Parent", "Base", "Options", "BindOptionsCode", "OptionsCode", "ComChannelUUIDs", "Uuid" }, null, null, null, null) - })); - } - #endregion - - } - #region Enums - public enum ProtoSPBMode { - [pbr::OriginalName("NONE")] None = 0, - [pbr::OriginalName("SUPERSCRIPT")] Superscript = 1, - [pbr::OriginalName("SUBSCRIPT")] Subscript = 2, - } - - public enum ProtoRuleStyle { - /// - /// dummy is needed here, because otherwise protoc command produces error - /// - [pbr::OriginalName("DUMMY_RULE_STYLE")] DummyRuleStyle = 0, - [pbr::OriginalName("SOLID")] Solid = 1, - [pbr::OriginalName("SPARSE_SHADING")] SparseShading = 2, - [pbr::OriginalName("MEDIUM_SHADING")] MediumShading = 3, - [pbr::OriginalName("DENSE_SHADING")] DenseShading = 4, - [pbr::OriginalName("LIGHT_DOTTED")] LightDotted = 5, - [pbr::OriginalName("MEDIUM_DOTTED")] MediumDotted = 6, - [pbr::OriginalName("HEAVY_DOTTED")] HeavyDotted = 7, - [pbr::OriginalName("LIGHT_DASHED")] LightDashed = 8, - [pbr::OriginalName("MEDIUM_DASHED")] MediumDashed = 9, - [pbr::OriginalName("HEAVY_DASHED")] HeavyDashed = 10, - [pbr::OriginalName("DASH_PATTERN")] DashPattern = 11, - [pbr::OriginalName("DOUBLE")] Double = 254, - } - - public enum ProtoMeasureType { - [pbr::OriginalName("PT")] Pt = 0, - [pbr::OriginalName("CM")] Cm = 1, - [pbr::OriginalName("MM")] Mm = 2, - [pbr::OriginalName("IN")] In = 3, - [pbr::OriginalName("PERCENT")] Percent = 4, - [pbr::OriginalName("PX")] Px = 5, - } - - public enum ProtoAdvancedIllustrationAreaTextFlowType { - [pbr::OriginalName("DO_NOT_USE_AT_ALL")] DoNotUseAtAll = 0, - [pbr::OriginalName("AROUND")] Around = 1, - [pbr::OriginalName("NO_FLOW")] NoFlow = 2, - [pbr::OriginalName("FOREGROUND")] Foreground = 3, - [pbr::OriginalName("BACKGROUND")] Background = 4, - } - - public enum ProtoColorType { - /// - /// dummy is needed here, because otherwise protoc command produces error - /// - [pbr::OriginalName("DUMMY_COLOR_TYPE")] DummyColorType = 0, - [pbr::OriginalName("RGB")] Rgb = 3, - [pbr::OriginalName("CMYK")] Cmyk = 4, - } - - public enum ProtoHorizontalAlignment { - [pbr::OriginalName("ALIGN_LEFT")] AlignLeft = 0, - [pbr::OriginalName("ALIGN_CENTER")] AlignCenter = 1, - [pbr::OriginalName("ALIGN_RIGHT")] AlignRight = 2, - [pbr::OriginalName("ALIGN_JUSTIFY")] AlignJustify = 3, - [pbr::OriginalName("ALIGN_FULL_JUSTIFY")] AlignFullJustify = 4, - [pbr::OriginalName("ALIGN_CENTER_ON_PAGE")] AlignCenterOnPage = 5, - } - - public enum ProtoVerticalAlignment { - [pbr::OriginalName("TOP")] Top = 0, - [pbr::OriginalName("MIDDLE")] Middle = 1, - [pbr::OriginalName("BOTTOM")] Bottom = 2, - } - - public enum ProtoBarcodeType { - [pbr::OriginalName("PDF417")] Pdf417 = 0, - [pbr::OriginalName("DATAMATRIX")] Datamatrix = 1, - [pbr::OriginalName("BC128")] Bc128 = 2, - [pbr::OriginalName("QR")] Qr = 3, - [pbr::OriginalName("ITF")] Itf = 4, - [pbr::OriginalName("EAN8")] Ean8 = 5, - [pbr::OriginalName("EAN13")] Ean13 = 6, - [pbr::OriginalName("CODE39")] Code39 = 7, - [pbr::OriginalName("SWISSQR")] Swissqr = 8, - [pbr::OriginalName("AZTEC")] Aztec = 9, - } - - public enum ProtoPositionMode { - [pbr::OriginalName("CENTER")] Center = 0, - [pbr::OriginalName("LEFT")] Left = 1, - [pbr::OriginalName("FOLIO")] Folio = 2, - [pbr::OriginalName("RIGHT")] Right = 3, - [pbr::OriginalName("REVERSE_FOLIO")] ReverseFolio = 4, - } - - public enum ProtoUnderlineMode { - /// - /// dummy is needed here, because otherwise protoc command produces error - /// - [pbr::OriginalName("DUMMY_UNDERLINE_MODE")] DummyUnderlineMode = 0, - [pbr::OriginalName("WORDS_NO_BLANKS")] WordsNoBlanks = 1, - [pbr::OriginalName("WORDS_AND_BLANKS")] WordsAndBlanks = 2, - [pbr::OriginalName("CHARACTERS_NO_BLANKS")] CharactersNoBlanks = 3, - [pbr::OriginalName("CHARACTERS_AND_BLANKS")] CharactersAndBlanks = 4, - } - - public enum ProtoImageReferencePoint { - [pbr::OriginalName("REF_POINT_DO_NOT_USE_AT_ALL")] RefPointDoNotUseAtAll = 0, - [pbr::OriginalName("REF_POINT_BOTTOM_LEFT")] RefPointBottomLeft = 1, - [pbr::OriginalName("REF_POINT_TOP_LEFT")] RefPointTopLeft = 2, - [pbr::OriginalName("REF_POINT_CENTER")] RefPointCenter = 3, - [pbr::OriginalName("REF_POINT_BOTTOM_RIGHT")] RefPointBottomRight = 4, - [pbr::OriginalName("REF_POINT_TOP_RIGHT")] RefPointTopRight = 5, - } - - public enum ProtoSemanticType { - [pbr::OriginalName("SEMANTIC_TYPE_NONE")] SemanticTypeNone = 0, - [pbr::OriginalName("SEMANTIC_TYPE_PART")] SemanticTypePart = 1, - [pbr::OriginalName("SEMANTIC_TYPE_ART")] SemanticTypeArt = 2, - [pbr::OriginalName("SEMANTIC_TYPE_SECT")] SemanticTypeSect = 3, - [pbr::OriginalName("SEMANTIC_TYPE_DIV")] SemanticTypeDiv = 4, - } - - public enum PDFPrintingBehavior { - [pbr::OriginalName("PDF_PRINTING_BEHAVIOR_INPUT")] Input = 0, - [pbr::OriginalName("PDF_PRINTING_BEHAVIOR_TEXT")] Text = 1, - [pbr::OriginalName("PDF_PRINTING_BEHAVIOR_INHERIT")] Inherit = 2, - } - - public enum Inheritance { - [pbr::OriginalName("INHERITANCE_INHERIT")] Inherit = 0, - [pbr::OriginalName("INHERITANCE_CODE")] Code = 1, - [pbr::OriginalName("INHERITANCE_BIND_CODE")] BindCode = 2, - [pbr::OriginalName("INHERITANCE_STATIC")] Static = 3, - [pbr::OriginalName("INHERITANCE_RESET")] Reset = 4, - } - - public enum ProtoNumberType { - [pbr::OriginalName("ARABIC")] Arabic = 0, - [pbr::OriginalName("ROM_UPPERCASE")] RomUppercase = 1, - [pbr::OriginalName("ROM_LOWERCASE")] RomLowercase = 2, - [pbr::OriginalName("LETTER_UPPERCASE")] LetterUppercase = 3, - [pbr::OriginalName("LETTER_LOWERCASE")] LetterLowercase = 4, - } - - public enum ProtoListLevelSettingType { - [pbr::OriginalName("UNNUMBERED")] Unnumbered = 0, - [pbr::OriginalName("NUMERIC")] Numeric = 1, - [pbr::OriginalName("IMAGE")] Image = 2, - } - - public enum ProtoTableContentGroupType { - [pbr::OriginalName("HEADER")] Header = 0, - [pbr::OriginalName("BODY")] Body = 1, - [pbr::OriginalName("FOOTER")] Footer = 2, - [pbr::OriginalName("SUB_HEADER")] SubHeader = 3, - } - - public enum ProtoTableCellType { - [pbr::OriginalName("TABLE_CELL_BODY")] TableCellBody = 0, - [pbr::OriginalName("TABLE_CELL_ROW_HEADER")] TableCellRowHeader = 1, - [pbr::OriginalName("TABLE_CELL_ROW_FOOTER")] TableCellRowFooter = 2, - } - - public enum ColumnBalancing { - [pbr::OriginalName("NO_BALANCING")] NoBalancing = 0, - [pbr::OriginalName("BALANCING")] Balancing = 1, - } - - public enum ProtoHeaderMode { - [pbr::OriginalName("HEADER_MODE_APPEND_INITIAL")] HeaderModeAppendInitial = 0, - [pbr::OriginalName("HEADER_MODE_APPEND")] HeaderModeAppend = 1, - [pbr::OriginalName("HEADER_MODE_EXTEND")] HeaderModeExtend = 2, - [pbr::OriginalName("HEADER_MODE_REPLACE")] HeaderModeReplace = 3, - } - - public enum ProtoFooterMode { - [pbr::OriginalName("FOOTER_MODE_APPEND_INITIAL")] FooterModeAppendInitial = 0, - [pbr::OriginalName("FOOTER_MODE_APPEND")] FooterModeAppend = 1, - [pbr::OriginalName("FOOTER_MODE_EXTEND")] FooterModeExtend = 2, - [pbr::OriginalName("FOOTER_MODE_REPLACE")] FooterModeReplace = 3, - } - - public enum NodeType { - [pbr::OriginalName("DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT")] DocumentElementBranchDocumentElement = 0, - [pbr::OriginalName("DOCUMENT_ELEMENT_BRICK_REFERENCE")] DocumentElementBrickReference = 1, - [pbr::OriginalName("DOCUMENT_ELEMENT_BRICK")] DocumentElementBrick = 2, - [pbr::OriginalName("DOCUMENT_ELEMENT_DOCUMENT_ELEMENT")] DocumentElementDocumentElement = 3, - [pbr::OriginalName("DOCUMENT_ELEMENT_LINEBREAK")] DocumentElementLinebreak = 4, - [pbr::OriginalName("DOCUMENT_ELEMENT_LIST_SETTING")] DocumentElementListSetting = 6, - [pbr::OriginalName("DOCUMENT_ELEMENT_PARAGRAPH_FORMAT")] DocumentElementParagraphFormat = 7, - [pbr::OriginalName("DOCUMENT_ELEMENT_PARAGRAPH")] DocumentElementParagraph = 8, - [pbr::OriginalName("DOCUMENT_ELEMENT_SECTION")] DocumentElementSection = 9, - [pbr::OriginalName("DOCUMENT_ELEMENT_SPAN")] DocumentElementSpan = 10, - [pbr::OriginalName("DOCUMENT_ELEMENT_TABLE")] DocumentElementTable = 11, - [pbr::OriginalName("DOCUMENT_ELEMENT_TABLE_CELL")] DocumentElementTableCell = 12, - [pbr::OriginalName("DOCUMENT_ELEMENT_TABLE_ROW")] DocumentElementTableRow = 13, - [pbr::OriginalName("DOCUMENT_ELEMENT_TEMPLATE")] DocumentElementTemplate = 15, - [pbr::OriginalName("DOCUMENT_ELEMENT_TEXT")] DocumentElementText = 16, - [pbr::OriginalName("DOCUMENT_ELEMENT_COLOR_DEF")] DocumentElementColorDef = 19, - [pbr::OriginalName("DOCUMENT_ELEMENT_IMAGE")] DocumentElementImage = 30, - [pbr::OriginalName("DOCUMENT_ELEMENT_NAMED_STRING")] DocumentElementNamedString = 34, - [pbr::OriginalName("DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP")] DocumentElementTableContentGroup = 35, - [pbr::OriginalName("DOCUMENT_ELEMENT_TABLE_CONFIG")] DocumentElementTableConfig = 36, - [pbr::OriginalName("DOCUMENT_ELEMENT_TABLE_CELL_CONFIG")] DocumentElementTableCellConfig = 37, - [pbr::OriginalName("DOCUMENT_ELEMENT_TABLE_ROW_CONFIG")] DocumentElementTableRowConfig = 38, - [pbr::OriginalName("DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG")] DocumentElementTableContentGroupConfig = 39, - [pbr::OriginalName("DOCUMENT_ELEMENT_LINK")] DocumentElementLink = 40, - [pbr::OriginalName("DOCUMENT_ELEMENT_DIRECTORY")] DocumentElementDirectory = 41, - [pbr::OriginalName("DOCUMENT_ELEMENT_TEXT_BRICK")] DocumentElementTextBrick = 42, - [pbr::OriginalName("DOCUMENT_ELEMENT_VARIABLE")] DocumentElementVariable = 44, - [pbr::OriginalName("DOCUMENT_ELEMENT_SPACE_VERTICALLY")] DocumentElementSpaceVertically = 45, - [pbr::OriginalName("DOCUMENT_ELEMENT_FORMATTED")] DocumentElementFormatted = 46, - [pbr::OriginalName("DOCUMENT_ELEMENT_APPLY_C_DEF")] DocumentElementApplyCDef = 47, - [pbr::OriginalName("DOCUMENT_ELEMENT_APPLY_P_DEF")] DocumentElementApplyPDef = 48, - [pbr::OriginalName("DOCUMENT_ELEMENT_APPLY_PT_CONFIG")] DocumentElementApplyPtConfig = 49, - [pbr::OriginalName("DOCUMENT_ELEMENT_APPLY_UL_CONFIG")] DocumentElementApplyUlConfig = 50, - [pbr::OriginalName("DOCUMENT_ELEMENT_C_DEF")] DocumentElementCDef = 51, - [pbr::OriginalName("DOCUMENT_ELEMENT_P_DEF")] DocumentElementPDef = 52, - [pbr::OriginalName("DOCUMENT_ELEMENT_PT_CONFIG")] DocumentElementPtConfig = 53, - [pbr::OriginalName("DOCUMENT_ELEMENT_UL_CONFIG")] DocumentElementUlConfig = 54, - [pbr::OriginalName("DOCUMENT_ELEMENT_NEW_PAGE")] DocumentElementNewPage = 55, - [pbr::OriginalName("DOCUMENT_ELEMENT_HEADER")] DocumentElementHeader = 56, - [pbr::OriginalName("DOCUMENT_ELEMENT_FOOTER")] DocumentElementFooter = 57, - [pbr::OriginalName("DOCUMENT_ELEMENT_INDENTATION")] DocumentElementIndentation = 60, - [pbr::OriginalName("DOCUMENT_ELEMENT_BARCODE")] DocumentElementBarcode = 61, - [pbr::OriginalName("DOCUMENT_ELEMENT_WS_AREA")] DocumentElementWsArea = 62, - [pbr::OriginalName("DOCUMENT_ELEMENT_CARRY_OVER")] DocumentElementCarryOver = 63, - [pbr::OriginalName("DOCUMENT_ELEMENT_SUB_TOTAL")] DocumentElementSubTotal = 64, - [pbr::OriginalName("DOCUMENT_ELEMENT_LOOP")] DocumentElementLoop = 65, - [pbr::OriginalName("DOCUMENT_ELEMENT_LOOP_ENTRY")] DocumentElementLoopEntry = 66, - [pbr::OriginalName("DOCUMENT_ELEMENT_RULE")] DocumentElementRule = 67, - [pbr::OriginalName("DOCUMENT_ELEMENT_LIST_LEVEL_SETTING")] DocumentElementListLevelSetting = 68, - [pbr::OriginalName("DOCUMENT_ELEMENT_LAYOUT")] DocumentElementLayout = 69, - [pbr::OriginalName("DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA")] DocumentElementAdvancedIllustrationArea = 70, - [pbr::OriginalName("DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY")] DocumentElementAdjustHorizontally = 71, - [pbr::OriginalName("DOCUMENT_ELEMENT_DOCTYPE_SCRIPT")] DocumentElementDoctypeScript = 72, - [pbr::OriginalName("DOCUMENT_ELEMENT_DM_SCRIPT")] DocumentElementDmScript = 73, - [pbr::OriginalName("DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE")] DocumentElementDynamicTemplate = 74, - [pbr::OriginalName("DOCUMENT_ELEMENT_SELECTION")] DocumentElementSelection = 75, - [pbr::OriginalName("DOCUMENT_ELEMENT_SELECTION_ENTRY")] DocumentElementSelectionEntry = 76, - [pbr::OriginalName("DOCUMENT_ELEMENT_CONDITION")] DocumentElementCondition = 77, - [pbr::OriginalName("DOCUMENT_ELEMENT_PAGE_CONDITION")] DocumentElementPageCondition = 78, - [pbr::OriginalName("DOCUMENT_ELEMENT_LOCALE")] DocumentElementLocale = 79, - [pbr::OriginalName("DOCUMENT_ELEMENT_TAG")] DocumentElementTag = 80, - [pbr::OriginalName("DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT")] DocumentElementParagraphSetDefault = 81, - [pbr::OriginalName("DOCUMENT_ELEMENT_INPUT_FIELD_TEXT")] DocumentElementInputFieldText = 82, - [pbr::OriginalName("DOCUMENT_ELEMENT_INPUT_FIELD_DATE")] DocumentElementInputFieldDate = 83, - [pbr::OriginalName("DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX")] DocumentElementInputFieldCheckbox = 84, - [pbr::OriginalName("DOCUMENT_ELEMENT_INPUT_FIELD_LABEL")] DocumentElementInputFieldLabel = 85, - [pbr::OriginalName("DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN")] DocumentElementInputFieldDropdown = 86, - } - - public enum ProtoImageScaleType { - [pbr::OriginalName("IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL")] ImageScaleTypeDoNotUseAtAll = 0, - [pbr::OriginalName("IMAGE_SCALE_TYPE_RELATIVE")] ImageScaleTypeRelative = 1, - [pbr::OriginalName("IMAGE_SCALE_TYPE_ABSOLUTE")] ImageScaleTypeAbsolute = 2, - [pbr::OriginalName("IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN")] ImageScaleTypeRelativeToColumn = 3, - } - - public enum ProtoImageUAMode { - [pbr::OriginalName("IMAGE_UA_MODE_DO_NOT_USE_AT_ALL")] ImageUaModeDoNotUseAtAll = 0, - [pbr::OriginalName("IMAGE_UA_MODE_INHERITED")] ImageUaModeInherited = 1, - [pbr::OriginalName("IMAGE_UA_MODE_SIMPLE")] ImageUaModeSimple = 2, - [pbr::OriginalName("IMAGE_UA_MODE_ADVANCED")] ImageUaModeAdvanced = 3, - } - - public enum ProtoImageContentType { - [pbr::OriginalName("IMAGE_CONTENT_UUID_REFERENCE_INLINE")] ImageContentUuidReferenceInline = 0, - [pbr::OriginalName("IMAGE_CONTENT_UUID_REFERENCE_LOCAL")] ImageContentUuidReferenceLocal = 1, - [pbr::OriginalName("IMAGE_CONTENT_UUID_REFERENCE_GLOBAL")] ImageContentUuidReferenceGlobal = 2, - [pbr::OriginalName("IMAGE_CONTENT_DMSCRIPT")] ImageContentDmscript = 3, - [pbr::OriginalName("IMAGE_CONTENT_IMAGE_DATA")] ImageContentImageData = 4, - } - - public enum ProtoVariableSpecialType { - [pbr::OriginalName("NOT_SPECIAL")] NotSpecial = 0, - [pbr::OriginalName("TABLE_NUMBER")] TableNumber = 1, - [pbr::OriginalName("DOC_PAGE_COUNT")] DocPageCount = 2, - [pbr::OriginalName("DOC_CUR_PAGE")] DocCurPage = 3, - [pbr::OriginalName("CUR_PAGE")] CurPage = 4, - [pbr::OriginalName("PAGE_COUNT")] PageCount = 5, - [pbr::OriginalName("PREV_PAGE")] PrevPage = 6, - [pbr::OriginalName("SECTION_PAGE")] SectionPage = 7, - [pbr::OriginalName("UPDATED_AT")] UpdatedAt = 8, - [pbr::OriginalName("GENERATED_AT")] GeneratedAt = 9, - } - - public enum ProtoPageMode { - [pbr::OriginalName("NEXT_PAGE")] NextPage = 0, - [pbr::OriginalName("NEXT_RECTO_PAGE")] NextRectoPage = 1, - [pbr::OriginalName("NEXT_VERSO_PAGE")] NextVersoPage = 2, - } - - public enum ProtoPageOrientation { - [pbr::OriginalName("UNSET")] Unset = 0, - [pbr::OriginalName("PORTRAIT")] Portrait = 1, - [pbr::OriginalName("LANDSCAPE")] Landscape = 2, - [pbr::OriginalName("INVERSE_PORTRAIT")] InversePortrait = 3, - [pbr::OriginalName("INVERSE_LANDSCAPE")] InverseLandscape = 4, - } - - public enum ProtoSubTotalPosition { - [pbr::OriginalName("POSITION_ABOVE_FOOTER")] PositionAboveFooter = 0, - [pbr::OriginalName("POSITION_BELOW_CONTENT")] PositionBelowContent = 1, - } - - public enum ProtoRuleMode { - [pbr::OriginalName("NORMAL")] Normal = 0, - [pbr::OriginalName("BOUNDARY")] Boundary = 1, - } - - public enum ProtoDoctypeOutputMode { - [pbr::OriginalName("DOCTYPE_OUTPUT_MODE_NOT_SET")] DoctypeOutputModeNotSet = 0, - [pbr::OriginalName("DOCTYPE")] Doctype = 1, - [pbr::OriginalName("JSON")] Json = 2, - } - - #endregion - - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedBool : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedBool()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedBool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedBool(ProtoBoxedBool other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedBool Clone() { - return new ProtoBoxedBool(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private bool value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedBool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedBool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != false) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != false) { - output.WriteRawTag(8); - output.WriteBool(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != false) { - output.WriteRawTag(8); - output.WriteBool(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != false) { - size += 1 + 1; - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedBool other) { - if (other == null) { - return; - } - if (other.Value != false) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = input.ReadBool(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = input.ReadBool(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedDouble : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedDouble()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[1]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedDouble() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedDouble(ProtoBoxedDouble other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedDouble Clone() { - return new ProtoBoxedDouble(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private double value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedDouble); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedDouble other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Value, other.Value)) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != 0D) { - output.WriteRawTag(9); - output.WriteDouble(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != 0D) { - output.WriteRawTag(9); - output.WriteDouble(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != 0D) { - size += 1 + 8; - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedDouble other) { - if (other == null) { - return; - } - if (other.Value != 0D) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 9: { - Value = input.ReadDouble(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 9: { - Value = input.ReadDouble(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedInt32 : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedInt32()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[2]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedInt32() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedInt32(ProtoBoxedInt32 other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedInt32 Clone() { - return new ProtoBoxedInt32(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private int value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedInt32); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedInt32 other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != 0) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != 0) { - output.WriteRawTag(8); - output.WriteInt32(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != 0) { - output.WriteRawTag(8); - output.WriteInt32(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedInt32 other) { - if (other == null) { - return; - } - if (other.Value != 0) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = input.ReadInt32(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = input.ReadInt32(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedUint32 : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedUint32()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[3]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedUint32() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedUint32(ProtoBoxedUint32 other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedUint32 Clone() { - return new ProtoBoxedUint32(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private uint value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedUint32); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedUint32 other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != 0) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != 0) { - output.WriteRawTag(8); - output.WriteUInt32(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != 0) { - output.WriteRawTag(8); - output.WriteUInt32(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedUint32 other) { - if (other == null) { - return; - } - if (other.Value != 0) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = input.ReadUInt32(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = input.ReadUInt32(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedString : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedString()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[4]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedString() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedString(ProtoBoxedString other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedString Clone() { - return new ProtoBoxedString(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private string value_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Value { - get { return value_; } - set { - value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedString); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedString other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value.Length != 0) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedString other) { - if (other == null) { - return; - } - if (other.Value.Length != 0) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Value = input.ReadString(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Value = input.ReadString(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedSPBMode : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedSPBMode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[5]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedSPBMode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedSPBMode(ProtoBoxedSPBMode other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedSPBMode Clone() { - return new ProtoBoxedSPBMode(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoSPBMode value_ = global::Docframe.ProtoSPBMode.None; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSPBMode Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedSPBMode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedSPBMode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != global::Docframe.ProtoSPBMode.None) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != global::Docframe.ProtoSPBMode.None) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != global::Docframe.ProtoSPBMode.None) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != global::Docframe.ProtoSPBMode.None) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedSPBMode other) { - if (other == null) { - return; - } - if (other.Value != global::Docframe.ProtoSPBMode.None) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = (global::Docframe.ProtoSPBMode) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = (global::Docframe.ProtoSPBMode) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoStrikethroughSpec : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoStrikethroughSpec()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[6]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoStrikethroughSpec() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoStrikethroughSpec(ProtoStrikethroughSpec other) : this() { - weight_ = other.weight_ != null ? other.weight_.Clone() : null; - mode_ = other.mode_; - color_ = other.color_ != null ? other.color_.Clone() : null; - offsetEm_ = other.offsetEm_; - style_ = other.style_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoStrikethroughSpec Clone() { - return new ProtoStrikethroughSpec(this); - } - - /// Field number for the "weight" field. - public const int WeightFieldNumber = 1; - private global::Docframe.ProtoMeasure weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// Field number for the "mode" field. - public const int ModeFieldNumber = 2; - private global::Docframe.ProtoUnderlineMode mode_ = global::Docframe.ProtoUnderlineMode.DummyUnderlineMode; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoUnderlineMode Mode { - get { return mode_; } - set { - mode_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 3; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "offsetEm" field. - public const int OffsetEmFieldNumber = 4; - private int offsetEm_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OffsetEm { - get { return offsetEm_; } - set { - offsetEm_ = value; - } - } - - /// Field number for the "style" field. - public const int StyleFieldNumber = 5; - private global::Docframe.ProtoRuleStyle style_ = global::Docframe.ProtoRuleStyle.DummyRuleStyle; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoRuleStyle Style { - get { return style_; } - set { - style_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoStrikethroughSpec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoStrikethroughSpec other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Weight, other.Weight)) return false; - if (Mode != other.Mode) return false; - if (!object.Equals(Color, other.Color)) return false; - if (OffsetEm != other.OffsetEm) return false; - if (Style != other.Style) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (weight_ != null) hash ^= Weight.GetHashCode(); - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) hash ^= Mode.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (OffsetEm != 0) hash ^= OffsetEm.GetHashCode(); - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) hash ^= Style.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (weight_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Weight); - } - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - output.WriteRawTag(16); - output.WriteEnum((int) Mode); - } - if (color_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Color); - } - if (OffsetEm != 0) { - output.WriteRawTag(32); - output.WriteInt32(OffsetEm); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - output.WriteRawTag(40); - output.WriteEnum((int) Style); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (weight_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Weight); - } - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - output.WriteRawTag(16); - output.WriteEnum((int) Mode); - } - if (color_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Color); - } - if (OffsetEm != 0) { - output.WriteRawTag(32); - output.WriteInt32(OffsetEm); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - output.WriteRawTag(40); - output.WriteEnum((int) Style); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (weight_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Weight); - } - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (OffsetEm != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OffsetEm); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Style); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoStrikethroughSpec other) { - if (other == null) { - return; - } - if (other.weight_ != null) { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - Weight.MergeFrom(other.Weight); - } - if (other.Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - Mode = other.Mode; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.OffsetEm != 0) { - OffsetEm = other.OffsetEm; - } - if (other.Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - Style = other.Style; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Weight); - break; - } - case 16: { - Mode = (global::Docframe.ProtoUnderlineMode) input.ReadEnum(); - break; - } - case 26: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 32: { - OffsetEm = input.ReadInt32(); - break; - } - case 40: { - Style = (global::Docframe.ProtoRuleStyle) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Weight); - break; - } - case 16: { - Mode = (global::Docframe.ProtoUnderlineMode) input.ReadEnum(); - break; - } - case 26: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 32: { - OffsetEm = input.ReadInt32(); - break; - } - case 40: { - Style = (global::Docframe.ProtoRuleStyle) input.ReadEnum(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedStrikethroughSpec : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedStrikethroughSpec()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[7]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedStrikethroughSpec() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedStrikethroughSpec(ProtoBoxedStrikethroughSpec other) : this() { - value_ = other.value_ != null ? other.value_.Clone() : null; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedStrikethroughSpec Clone() { - return new ProtoBoxedStrikethroughSpec(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoStrikethroughSpec value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoStrikethroughSpec Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedStrikethroughSpec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedStrikethroughSpec other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Value, other.Value)) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (value_ != null) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedStrikethroughSpec other) { - if (other == null) { - return; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Docframe.ProtoStrikethroughSpec(); - } - Value.MergeFrom(other.Value); - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoStrikethroughSpec(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoStrikethroughSpec(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoMeasure : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoMeasure()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[8]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoMeasure() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoMeasure(ProtoMeasure other) : this() { - value_ = other.value_; - mtype_ = other.mtype_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoMeasure Clone() { - return new ProtoMeasure(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private double value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "mtype" field. - public const int MtypeFieldNumber = 2; - private global::Docframe.ProtoMeasureType mtype_ = global::Docframe.ProtoMeasureType.Pt; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasureType Mtype { - get { return mtype_; } - set { - mtype_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoMeasure); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoMeasure other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Value, other.Value)) return false; - if (Mtype != other.Mtype) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value); - if (Mtype != global::Docframe.ProtoMeasureType.Pt) hash ^= Mtype.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != 0D) { - output.WriteRawTag(9); - output.WriteDouble(Value); - } - if (Mtype != global::Docframe.ProtoMeasureType.Pt) { - output.WriteRawTag(16); - output.WriteEnum((int) Mtype); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != 0D) { - output.WriteRawTag(9); - output.WriteDouble(Value); - } - if (Mtype != global::Docframe.ProtoMeasureType.Pt) { - output.WriteRawTag(16); - output.WriteEnum((int) Mtype); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != 0D) { - size += 1 + 8; - } - if (Mtype != global::Docframe.ProtoMeasureType.Pt) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mtype); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoMeasure other) { - if (other == null) { - return; - } - if (other.Value != 0D) { - Value = other.Value; - } - if (other.Mtype != global::Docframe.ProtoMeasureType.Pt) { - Mtype = other.Mtype; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 9: { - Value = input.ReadDouble(); - break; - } - case 16: { - Mtype = (global::Docframe.ProtoMeasureType) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 9: { - Value = input.ReadDouble(); - break; - } - case 16: { - Mtype = (global::Docframe.ProtoMeasureType) input.ReadEnum(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedMeasure : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedMeasure()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[9]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedMeasure() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedMeasure(ProtoBoxedMeasure other) : this() { - value_ = other.value_ != null ? other.value_.Clone() : null; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedMeasure Clone() { - return new ProtoBoxedMeasure(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoMeasure value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedMeasure); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedMeasure other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Value, other.Value)) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (value_ != null) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedMeasure other) { - if (other == null) { - return; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Docframe.ProtoMeasure(); - } - Value.MergeFrom(other.Value); - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSideMeasures : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSideMeasures()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[10]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSideMeasures() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSideMeasures(ProtoSideMeasures other) : this() { - top_ = other.top_ != null ? other.top_.Clone() : null; - right_ = other.right_ != null ? other.right_.Clone() : null; - bottom_ = other.bottom_ != null ? other.bottom_.Clone() : null; - left_ = other.left_ != null ? other.left_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSideMeasures Clone() { - return new ProtoSideMeasures(this); - } - - /// Field number for the "top" field. - public const int TopFieldNumber = 1; - private global::Docframe.ProtoMeasure top_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Top { - get { return top_; } - set { - top_ = value; - } - } - - /// Field number for the "right" field. - public const int RightFieldNumber = 2; - private global::Docframe.ProtoMeasure right_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Right { - get { return right_; } - set { - right_ = value; - } - } - - /// Field number for the "bottom" field. - public const int BottomFieldNumber = 3; - private global::Docframe.ProtoMeasure bottom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Bottom { - get { return bottom_; } - set { - bottom_ = value; - } - } - - /// Field number for the "left" field. - public const int LeftFieldNumber = 4; - private global::Docframe.ProtoMeasure left_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Left { - get { return left_; } - set { - left_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSideMeasures); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSideMeasures other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Top, other.Top)) return false; - if (!object.Equals(Right, other.Right)) return false; - if (!object.Equals(Bottom, other.Bottom)) return false; - if (!object.Equals(Left, other.Left)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (top_ != null) hash ^= Top.GetHashCode(); - if (right_ != null) hash ^= Right.GetHashCode(); - if (bottom_ != null) hash ^= Bottom.GetHashCode(); - if (left_ != null) hash ^= Left.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (top_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Top); - } - if (right_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Right); - } - if (bottom_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Bottom); - } - if (left_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Left); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (top_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Top); - } - if (right_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Right); - } - if (bottom_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Bottom); - } - if (left_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Left); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (top_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Top); - } - if (right_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Right); - } - if (bottom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bottom); - } - if (left_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Left); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSideMeasures other) { - if (other == null) { - return; - } - if (other.top_ != null) { - if (top_ == null) { - Top = new global::Docframe.ProtoMeasure(); - } - Top.MergeFrom(other.Top); - } - if (other.right_ != null) { - if (right_ == null) { - Right = new global::Docframe.ProtoMeasure(); - } - Right.MergeFrom(other.Right); - } - if (other.bottom_ != null) { - if (bottom_ == null) { - Bottom = new global::Docframe.ProtoMeasure(); - } - Bottom.MergeFrom(other.Bottom); - } - if (other.left_ != null) { - if (left_ == null) { - Left = new global::Docframe.ProtoMeasure(); - } - Left.MergeFrom(other.Left); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (top_ == null) { - Top = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Top); - break; - } - case 18: { - if (right_ == null) { - Right = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Right); - break; - } - case 26: { - if (bottom_ == null) { - Bottom = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Bottom); - break; - } - case 34: { - if (left_ == null) { - Left = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Left); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (top_ == null) { - Top = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Top); - break; - } - case 18: { - if (right_ == null) { - Right = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Right); - break; - } - case 26: { - if (bottom_ == null) { - Bottom = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Bottom); - break; - } - case 34: { - if (left_ == null) { - Left = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Left); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedAdvancedIllustrationAreaTextFlowType : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedAdvancedIllustrationAreaTextFlowType()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[11]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedAdvancedIllustrationAreaTextFlowType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedAdvancedIllustrationAreaTextFlowType(ProtoBoxedAdvancedIllustrationAreaTextFlowType other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedAdvancedIllustrationAreaTextFlowType Clone() { - return new ProtoBoxedAdvancedIllustrationAreaTextFlowType(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType value_ = global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedAdvancedIllustrationAreaTextFlowType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedAdvancedIllustrationAreaTextFlowType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedAdvancedIllustrationAreaTextFlowType other) { - if (other == null) { - return; - } - if (other.Value != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = (global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = (global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoAdvancedIllustrationAreaImageSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoAdvancedIllustrationAreaImageSettings()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[12]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdvancedIllustrationAreaImageSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdvancedIllustrationAreaImageSettings(ProtoAdvancedIllustrationAreaImageSettings other) : this() { - textFlow_ = other.textFlow_ != null ? other.textFlow_.Clone() : null; - margin_ = other.margin_ != null ? other.margin_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdvancedIllustrationAreaImageSettings Clone() { - return new ProtoAdvancedIllustrationAreaImageSettings(this); - } - - /// Field number for the "textFlow" field. - public const int TextFlowFieldNumber = 1; - private global::Docframe.ProtoBoxedAdvancedIllustrationAreaTextFlowType textFlow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedAdvancedIllustrationAreaTextFlowType TextFlow { - get { return textFlow_; } - set { - textFlow_ = value; - } - } - - /// Field number for the "margin" field. - public const int MarginFieldNumber = 2; - private global::Docframe.ProtoSideMeasures margin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSideMeasures Margin { - get { return margin_; } - set { - margin_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoAdvancedIllustrationAreaImageSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoAdvancedIllustrationAreaImageSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(TextFlow, other.TextFlow)) return false; - if (!object.Equals(Margin, other.Margin)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (textFlow_ != null) hash ^= TextFlow.GetHashCode(); - if (margin_ != null) hash ^= Margin.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (textFlow_ != null) { - output.WriteRawTag(10); - output.WriteMessage(TextFlow); - } - if (margin_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Margin); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (textFlow_ != null) { - output.WriteRawTag(10); - output.WriteMessage(TextFlow); - } - if (margin_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Margin); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (textFlow_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TextFlow); - } - if (margin_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Margin); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoAdvancedIllustrationAreaImageSettings other) { - if (other == null) { - return; - } - if (other.textFlow_ != null) { - if (textFlow_ == null) { - TextFlow = new global::Docframe.ProtoBoxedAdvancedIllustrationAreaTextFlowType(); - } - TextFlow.MergeFrom(other.TextFlow); - } - if (other.margin_ != null) { - if (margin_ == null) { - Margin = new global::Docframe.ProtoSideMeasures(); - } - Margin.MergeFrom(other.Margin); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (textFlow_ == null) { - TextFlow = new global::Docframe.ProtoBoxedAdvancedIllustrationAreaTextFlowType(); - } - input.ReadMessage(TextFlow); - break; - } - case 18: { - if (margin_ == null) { - Margin = new global::Docframe.ProtoSideMeasures(); - } - input.ReadMessage(Margin); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (textFlow_ == null) { - TextFlow = new global::Docframe.ProtoBoxedAdvancedIllustrationAreaTextFlowType(); - } - input.ReadMessage(TextFlow); - break; - } - case 18: { - if (margin_ == null) { - Margin = new global::Docframe.ProtoSideMeasures(); - } - input.ReadMessage(Margin); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoFont : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoFont()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[13]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFont() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFont(ProtoFont other) : this() { - id_ = other.id_; - name_ = other.name_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFont Clone() { - return new ProtoFont(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } - set { - id_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoFont); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoFont other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Name != other.Name) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoFont other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Id = input.ReadInt32(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Id = input.ReadInt32(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedFont : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedFont()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[14]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedFont() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedFont(ProtoBoxedFont other) : this() { - value_ = other.value_ != null ? other.value_.Clone() : null; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedFont Clone() { - return new ProtoBoxedFont(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoFont value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedFont); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedFont other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Value, other.Value)) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (value_ != null) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedFont other) { - if (other == null) { - return; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Docframe.ProtoFont(); - } - Value.MergeFrom(other.Value); - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoFont(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoFont(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoColor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoColor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[15]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColor(ProtoColor other) : this() { - name_ = other.name_ != null ? other.name_.Clone() : null; - type_ = other.type_; - r_ = other.r_; - g_ = other.g_; - b_ = other.b_; - c_ = other.c_; - m_ = other.m_; - y_ = other.y_; - k_ = other.k_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColor Clone() { - return new ProtoColor(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - private global::Docframe.ProtoBoxedString name_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString Name { - get { return name_; } - set { - name_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 2; - private global::Docframe.ProtoColorType type_ = global::Docframe.ProtoColorType.DummyColorType; - /// - /// set to RGB or CMYK - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColorType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "r" field. - public const int RFieldNumber = 3; - private int r_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int R { - get { return r_; } - set { - r_ = value; - } - } - - /// Field number for the "g" field. - public const int GFieldNumber = 4; - private int g_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int G { - get { return g_; } - set { - g_ = value; - } - } - - /// Field number for the "b" field. - public const int BFieldNumber = 5; - private int b_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int B { - get { return b_; } - set { - b_ = value; - } - } - - /// Field number for the "c" field. - public const int CFieldNumber = 6; - private float c_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float C { - get { return c_; } - set { - c_ = value; - } - } - - /// Field number for the "m" field. - public const int MFieldNumber = 7; - private float m_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float M { - get { return m_; } - set { - m_ = value; - } - } - - /// Field number for the "y" field. - public const int YFieldNumber = 8; - private float y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Y { - get { return y_; } - set { - y_ = value; - } - } - - /// Field number for the "k" field. - public const int KFieldNumber = 9; - private float k_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float K { - get { return k_; } - set { - k_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoColor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoColor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Name, other.Name)) return false; - if (Type != other.Type) return false; - if (R != other.R) return false; - if (G != other.G) return false; - if (B != other.B) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(C, other.C)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(M, other.M)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(K, other.K)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (name_ != null) hash ^= Name.GetHashCode(); - if (Type != global::Docframe.ProtoColorType.DummyColorType) hash ^= Type.GetHashCode(); - if (R != 0) hash ^= R.GetHashCode(); - if (G != 0) hash ^= G.GetHashCode(); - if (B != 0) hash ^= B.GetHashCode(); - if (C != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(C); - if (M != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(M); - if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); - if (K != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(K); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (name_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - output.WriteRawTag(16); - output.WriteEnum((int) Type); - } - if (R != 0) { - output.WriteRawTag(24); - output.WriteInt32(R); - } - if (G != 0) { - output.WriteRawTag(32); - output.WriteInt32(G); - } - if (B != 0) { - output.WriteRawTag(40); - output.WriteInt32(B); - } - if (C != 0F) { - output.WriteRawTag(53); - output.WriteFloat(C); - } - if (M != 0F) { - output.WriteRawTag(61); - output.WriteFloat(M); - } - if (Y != 0F) { - output.WriteRawTag(69); - output.WriteFloat(Y); - } - if (K != 0F) { - output.WriteRawTag(77); - output.WriteFloat(K); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (name_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - output.WriteRawTag(16); - output.WriteEnum((int) Type); - } - if (R != 0) { - output.WriteRawTag(24); - output.WriteInt32(R); - } - if (G != 0) { - output.WriteRawTag(32); - output.WriteInt32(G); - } - if (B != 0) { - output.WriteRawTag(40); - output.WriteInt32(B); - } - if (C != 0F) { - output.WriteRawTag(53); - output.WriteFloat(C); - } - if (M != 0F) { - output.WriteRawTag(61); - output.WriteFloat(M); - } - if (Y != 0F) { - output.WriteRawTag(69); - output.WriteFloat(Y); - } - if (K != 0F) { - output.WriteRawTag(77); - output.WriteFloat(K); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (name_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (R != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(R); - } - if (G != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(G); - } - if (B != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(B); - } - if (C != 0F) { - size += 1 + 4; - } - if (M != 0F) { - size += 1 + 4; - } - if (Y != 0F) { - size += 1 + 4; - } - if (K != 0F) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoColor other) { - if (other == null) { - return; - } - if (other.name_ != null) { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - Name.MergeFrom(other.Name); - } - if (other.Type != global::Docframe.ProtoColorType.DummyColorType) { - Type = other.Type; - } - if (other.R != 0) { - R = other.R; - } - if (other.G != 0) { - G = other.G; - } - if (other.B != 0) { - B = other.B; - } - if (other.C != 0F) { - C = other.C; - } - if (other.M != 0F) { - M = other.M; - } - if (other.Y != 0F) { - Y = other.Y; - } - if (other.K != 0F) { - K = other.K; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Name); - break; - } - case 16: { - Type = (global::Docframe.ProtoColorType) input.ReadEnum(); - break; - } - case 24: { - R = input.ReadInt32(); - break; - } - case 32: { - G = input.ReadInt32(); - break; - } - case 40: { - B = input.ReadInt32(); - break; - } - case 53: { - C = input.ReadFloat(); - break; - } - case 61: { - M = input.ReadFloat(); - break; - } - case 69: { - Y = input.ReadFloat(); - break; - } - case 77: { - K = input.ReadFloat(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Name); - break; - } - case 16: { - Type = (global::Docframe.ProtoColorType) input.ReadEnum(); - break; - } - case 24: { - R = input.ReadInt32(); - break; - } - case 32: { - G = input.ReadInt32(); - break; - } - case 40: { - B = input.ReadInt32(); - break; - } - case 53: { - C = input.ReadFloat(); - break; - } - case 61: { - M = input.ReadFloat(); - break; - } - case 69: { - Y = input.ReadFloat(); - break; - } - case 77: { - K = input.ReadFloat(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedColor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedColor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[16]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedColor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedColor(ProtoBoxedColor other) : this() { - value_ = other.value_ != null ? other.value_.Clone() : null; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedColor Clone() { - return new ProtoBoxedColor(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoColor value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedColor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedColor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Value, other.Value)) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (value_ != null) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedColor other) { - if (other == null) { - return; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Docframe.ProtoColor(); - } - Value.MergeFrom(other.Value); - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoRGBColor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoRGBColor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[17]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRGBColor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRGBColor(ProtoRGBColor other) : this() { - name_ = other.name_ != null ? other.name_.Clone() : null; - type_ = other.type_; - r_ = other.r_; - g_ = other.g_; - b_ = other.b_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRGBColor Clone() { - return new ProtoRGBColor(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - private global::Docframe.ProtoBoxedString name_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString Name { - get { return name_; } - set { - name_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 2; - private global::Docframe.ProtoColorType type_ = global::Docframe.ProtoColorType.DummyColorType; - /// - /// set to RGB - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColorType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "r" field. - public const int RFieldNumber = 3; - private int r_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int R { - get { return r_; } - set { - r_ = value; - } - } - - /// Field number for the "g" field. - public const int GFieldNumber = 4; - private int g_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int G { - get { return g_; } - set { - g_ = value; - } - } - - /// Field number for the "b" field. - public const int BFieldNumber = 5; - private int b_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int B { - get { return b_; } - set { - b_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoRGBColor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoRGBColor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Name, other.Name)) return false; - if (Type != other.Type) return false; - if (R != other.R) return false; - if (G != other.G) return false; - if (B != other.B) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (name_ != null) hash ^= Name.GetHashCode(); - if (Type != global::Docframe.ProtoColorType.DummyColorType) hash ^= Type.GetHashCode(); - if (R != 0) hash ^= R.GetHashCode(); - if (G != 0) hash ^= G.GetHashCode(); - if (B != 0) hash ^= B.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (name_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - output.WriteRawTag(16); - output.WriteEnum((int) Type); - } - if (R != 0) { - output.WriteRawTag(24); - output.WriteInt32(R); - } - if (G != 0) { - output.WriteRawTag(32); - output.WriteInt32(G); - } - if (B != 0) { - output.WriteRawTag(40); - output.WriteInt32(B); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (name_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - output.WriteRawTag(16); - output.WriteEnum((int) Type); - } - if (R != 0) { - output.WriteRawTag(24); - output.WriteInt32(R); - } - if (G != 0) { - output.WriteRawTag(32); - output.WriteInt32(G); - } - if (B != 0) { - output.WriteRawTag(40); - output.WriteInt32(B); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (name_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (R != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(R); - } - if (G != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(G); - } - if (B != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(B); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoRGBColor other) { - if (other == null) { - return; - } - if (other.name_ != null) { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - Name.MergeFrom(other.Name); - } - if (other.Type != global::Docframe.ProtoColorType.DummyColorType) { - Type = other.Type; - } - if (other.R != 0) { - R = other.R; - } - if (other.G != 0) { - G = other.G; - } - if (other.B != 0) { - B = other.B; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Name); - break; - } - case 16: { - Type = (global::Docframe.ProtoColorType) input.ReadEnum(); - break; - } - case 24: { - R = input.ReadInt32(); - break; - } - case 32: { - G = input.ReadInt32(); - break; - } - case 40: { - B = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Name); - break; - } - case 16: { - Type = (global::Docframe.ProtoColorType) input.ReadEnum(); - break; - } - case 24: { - R = input.ReadInt32(); - break; - } - case 32: { - G = input.ReadInt32(); - break; - } - case 40: { - B = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoCMYKColor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoCMYKColor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[18]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCMYKColor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCMYKColor(ProtoCMYKColor other) : this() { - name_ = other.name_ != null ? other.name_.Clone() : null; - type_ = other.type_; - c_ = other.c_; - m_ = other.m_; - y_ = other.y_; - k_ = other.k_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCMYKColor Clone() { - return new ProtoCMYKColor(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - private global::Docframe.ProtoBoxedString name_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString Name { - get { return name_; } - set { - name_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 2; - private global::Docframe.ProtoColorType type_ = global::Docframe.ProtoColorType.DummyColorType; - /// - /// set to CMYK - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColorType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "c" field. - public const int CFieldNumber = 3; - private float c_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float C { - get { return c_; } - set { - c_ = value; - } - } - - /// Field number for the "m" field. - public const int MFieldNumber = 4; - private float m_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float M { - get { return m_; } - set { - m_ = value; - } - } - - /// Field number for the "y" field. - public const int YFieldNumber = 5; - private float y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Y { - get { return y_; } - set { - y_ = value; - } - } - - /// Field number for the "k" field. - public const int KFieldNumber = 6; - private float k_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float K { - get { return k_; } - set { - k_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoCMYKColor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoCMYKColor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Name, other.Name)) return false; - if (Type != other.Type) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(C, other.C)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(M, other.M)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(K, other.K)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (name_ != null) hash ^= Name.GetHashCode(); - if (Type != global::Docframe.ProtoColorType.DummyColorType) hash ^= Type.GetHashCode(); - if (C != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(C); - if (M != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(M); - if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); - if (K != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(K); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (name_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - output.WriteRawTag(16); - output.WriteEnum((int) Type); - } - if (C != 0F) { - output.WriteRawTag(29); - output.WriteFloat(C); - } - if (M != 0F) { - output.WriteRawTag(37); - output.WriteFloat(M); - } - if (Y != 0F) { - output.WriteRawTag(45); - output.WriteFloat(Y); - } - if (K != 0F) { - output.WriteRawTag(53); - output.WriteFloat(K); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (name_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - output.WriteRawTag(16); - output.WriteEnum((int) Type); - } - if (C != 0F) { - output.WriteRawTag(29); - output.WriteFloat(C); - } - if (M != 0F) { - output.WriteRawTag(37); - output.WriteFloat(M); - } - if (Y != 0F) { - output.WriteRawTag(45); - output.WriteFloat(Y); - } - if (K != 0F) { - output.WriteRawTag(53); - output.WriteFloat(K); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (name_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Name); - } - if (Type != global::Docframe.ProtoColorType.DummyColorType) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (C != 0F) { - size += 1 + 4; - } - if (M != 0F) { - size += 1 + 4; - } - if (Y != 0F) { - size += 1 + 4; - } - if (K != 0F) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoCMYKColor other) { - if (other == null) { - return; - } - if (other.name_ != null) { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - Name.MergeFrom(other.Name); - } - if (other.Type != global::Docframe.ProtoColorType.DummyColorType) { - Type = other.Type; - } - if (other.C != 0F) { - C = other.C; - } - if (other.M != 0F) { - M = other.M; - } - if (other.Y != 0F) { - Y = other.Y; - } - if (other.K != 0F) { - K = other.K; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Name); - break; - } - case 16: { - Type = (global::Docframe.ProtoColorType) input.ReadEnum(); - break; - } - case 29: { - C = input.ReadFloat(); - break; - } - case 37: { - M = input.ReadFloat(); - break; - } - case 45: { - Y = input.ReadFloat(); - break; - } - case 53: { - K = input.ReadFloat(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Name); - break; - } - case 16: { - Type = (global::Docframe.ProtoColorType) input.ReadEnum(); - break; - } - case 29: { - C = input.ReadFloat(); - break; - } - case 37: { - M = input.ReadFloat(); - break; - } - case 45: { - Y = input.ReadFloat(); - break; - } - case 53: { - K = input.ReadFloat(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedHorizontalAlignment : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedHorizontalAlignment()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[19]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedHorizontalAlignment() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedHorizontalAlignment(ProtoBoxedHorizontalAlignment other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedHorizontalAlignment Clone() { - return new ProtoBoxedHorizontalAlignment(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoHorizontalAlignment value_ = global::Docframe.ProtoHorizontalAlignment.AlignLeft; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoHorizontalAlignment Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedHorizontalAlignment); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedHorizontalAlignment other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != global::Docframe.ProtoHorizontalAlignment.AlignLeft) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != global::Docframe.ProtoHorizontalAlignment.AlignLeft) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != global::Docframe.ProtoHorizontalAlignment.AlignLeft) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != global::Docframe.ProtoHorizontalAlignment.AlignLeft) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedHorizontalAlignment other) { - if (other == null) { - return; - } - if (other.Value != global::Docframe.ProtoHorizontalAlignment.AlignLeft) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = (global::Docframe.ProtoHorizontalAlignment) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = (global::Docframe.ProtoHorizontalAlignment) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedVerticalAlignment : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedVerticalAlignment()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[20]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedVerticalAlignment() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedVerticalAlignment(ProtoBoxedVerticalAlignment other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedVerticalAlignment Clone() { - return new ProtoBoxedVerticalAlignment(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoVerticalAlignment value_ = global::Docframe.ProtoVerticalAlignment.Top; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoVerticalAlignment Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedVerticalAlignment); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedVerticalAlignment other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != global::Docframe.ProtoVerticalAlignment.Top) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != global::Docframe.ProtoVerticalAlignment.Top) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != global::Docframe.ProtoVerticalAlignment.Top) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != global::Docframe.ProtoVerticalAlignment.Top) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedVerticalAlignment other) { - if (other == null) { - return; - } - if (other.Value != global::Docframe.ProtoVerticalAlignment.Top) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = (global::Docframe.ProtoVerticalAlignment) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = (global::Docframe.ProtoVerticalAlignment) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSwissQRCreditor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSwissQRCreditor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[21]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRCreditor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRCreditor(ProtoSwissQRCreditor other) : this() { - addressType_ = other.addressType_; - name_ = other.name_; - postalCode_ = other.postalCode_; - town_ = other.town_; - country_ = other.country_; - streetOrAddressLine1_ = other.streetOrAddressLine1_; - buildingNumberOrAddressLine2_ = other.buildingNumberOrAddressLine2_; - iban_ = other.iban_; - amount_ = other.amount_; - currency_ = other.currency_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRCreditor Clone() { - return new ProtoSwissQRCreditor(this); - } - - /// Field number for the "addressType" field. - public const int AddressTypeFieldNumber = 1; - private string addressType_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AddressType { - get { return addressType_; } - set { - addressType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "postalCode" field. - public const int PostalCodeFieldNumber = 3; - private string postalCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PostalCode { - get { return postalCode_; } - set { - postalCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "town" field. - public const int TownFieldNumber = 4; - private string town_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Town { - get { return town_; } - set { - town_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "country" field. - public const int CountryFieldNumber = 5; - private string country_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Country { - get { return country_; } - set { - country_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "streetOrAddressLine1" field. - public const int StreetOrAddressLine1FieldNumber = 6; - private string streetOrAddressLine1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StreetOrAddressLine1 { - get { return streetOrAddressLine1_; } - set { - streetOrAddressLine1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "buildingNumberOrAddressLine2" field. - public const int BuildingNumberOrAddressLine2FieldNumber = 7; - private string buildingNumberOrAddressLine2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BuildingNumberOrAddressLine2 { - get { return buildingNumberOrAddressLine2_; } - set { - buildingNumberOrAddressLine2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "iban" field. - public const int IbanFieldNumber = 8; - private string iban_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Iban { - get { return iban_; } - set { - iban_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "amount" field. - public const int AmountFieldNumber = 9; - private string amount_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Amount { - get { return amount_; } - set { - amount_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "currency" field. - public const int CurrencyFieldNumber = 10; - private string currency_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Currency { - get { return currency_; } - set { - currency_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSwissQRCreditor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSwissQRCreditor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (AddressType != other.AddressType) return false; - if (Name != other.Name) return false; - if (PostalCode != other.PostalCode) return false; - if (Town != other.Town) return false; - if (Country != other.Country) return false; - if (StreetOrAddressLine1 != other.StreetOrAddressLine1) return false; - if (BuildingNumberOrAddressLine2 != other.BuildingNumberOrAddressLine2) return false; - if (Iban != other.Iban) return false; - if (Amount != other.Amount) return false; - if (Currency != other.Currency) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (AddressType.Length != 0) hash ^= AddressType.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (PostalCode.Length != 0) hash ^= PostalCode.GetHashCode(); - if (Town.Length != 0) hash ^= Town.GetHashCode(); - if (Country.Length != 0) hash ^= Country.GetHashCode(); - if (StreetOrAddressLine1.Length != 0) hash ^= StreetOrAddressLine1.GetHashCode(); - if (BuildingNumberOrAddressLine2.Length != 0) hash ^= BuildingNumberOrAddressLine2.GetHashCode(); - if (Iban.Length != 0) hash ^= Iban.GetHashCode(); - if (Amount.Length != 0) hash ^= Amount.GetHashCode(); - if (Currency.Length != 0) hash ^= Currency.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (AddressType.Length != 0) { - output.WriteRawTag(10); - output.WriteString(AddressType); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (PostalCode.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PostalCode); - } - if (Town.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Town); - } - if (Country.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Country); - } - if (StreetOrAddressLine1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(StreetOrAddressLine1); - } - if (BuildingNumberOrAddressLine2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(BuildingNumberOrAddressLine2); - } - if (Iban.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Iban); - } - if (Amount.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Amount); - } - if (Currency.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Currency); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AddressType.Length != 0) { - output.WriteRawTag(10); - output.WriteString(AddressType); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (PostalCode.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PostalCode); - } - if (Town.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Town); - } - if (Country.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Country); - } - if (StreetOrAddressLine1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(StreetOrAddressLine1); - } - if (BuildingNumberOrAddressLine2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(BuildingNumberOrAddressLine2); - } - if (Iban.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Iban); - } - if (Amount.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Amount); - } - if (Currency.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Currency); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (AddressType.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AddressType); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (PostalCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PostalCode); - } - if (Town.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Town); - } - if (Country.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Country); - } - if (StreetOrAddressLine1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StreetOrAddressLine1); - } - if (BuildingNumberOrAddressLine2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BuildingNumberOrAddressLine2); - } - if (Iban.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Iban); - } - if (Amount.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Amount); - } - if (Currency.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Currency); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSwissQRCreditor other) { - if (other == null) { - return; - } - if (other.AddressType.Length != 0) { - AddressType = other.AddressType; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.PostalCode.Length != 0) { - PostalCode = other.PostalCode; - } - if (other.Town.Length != 0) { - Town = other.Town; - } - if (other.Country.Length != 0) { - Country = other.Country; - } - if (other.StreetOrAddressLine1.Length != 0) { - StreetOrAddressLine1 = other.StreetOrAddressLine1; - } - if (other.BuildingNumberOrAddressLine2.Length != 0) { - BuildingNumberOrAddressLine2 = other.BuildingNumberOrAddressLine2; - } - if (other.Iban.Length != 0) { - Iban = other.Iban; - } - if (other.Amount.Length != 0) { - Amount = other.Amount; - } - if (other.Currency.Length != 0) { - Currency = other.Currency; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - AddressType = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - PostalCode = input.ReadString(); - break; - } - case 34: { - Town = input.ReadString(); - break; - } - case 42: { - Country = input.ReadString(); - break; - } - case 50: { - StreetOrAddressLine1 = input.ReadString(); - break; - } - case 58: { - BuildingNumberOrAddressLine2 = input.ReadString(); - break; - } - case 66: { - Iban = input.ReadString(); - break; - } - case 74: { - Amount = input.ReadString(); - break; - } - case 82: { - Currency = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - AddressType = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - PostalCode = input.ReadString(); - break; - } - case 34: { - Town = input.ReadString(); - break; - } - case 42: { - Country = input.ReadString(); - break; - } - case 50: { - StreetOrAddressLine1 = input.ReadString(); - break; - } - case 58: { - BuildingNumberOrAddressLine2 = input.ReadString(); - break; - } - case 66: { - Iban = input.ReadString(); - break; - } - case 74: { - Amount = input.ReadString(); - break; - } - case 82: { - Currency = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSwissQRDebitor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSwissQRDebitor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[22]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRDebitor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRDebitor(ProtoSwissQRDebitor other) : this() { - addressType_ = other.addressType_; - name_ = other.name_; - postalCode_ = other.postalCode_; - town_ = other.town_; - country_ = other.country_; - streetOrAddressLine1_ = other.streetOrAddressLine1_; - buildingNumberOrAddressLine2_ = other.buildingNumberOrAddressLine2_; - paymentReferenceType_ = other.paymentReferenceType_; - paymentReference_ = other.paymentReference_; - unstructuredReference_ = other.unstructuredReference_; - billInformation_ = other.billInformation_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRDebitor Clone() { - return new ProtoSwissQRDebitor(this); - } - - /// Field number for the "addressType" field. - public const int AddressTypeFieldNumber = 1; - private string addressType_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AddressType { - get { return addressType_; } - set { - addressType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "postalCode" field. - public const int PostalCodeFieldNumber = 3; - private string postalCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PostalCode { - get { return postalCode_; } - set { - postalCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "town" field. - public const int TownFieldNumber = 4; - private string town_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Town { - get { return town_; } - set { - town_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "country" field. - public const int CountryFieldNumber = 5; - private string country_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Country { - get { return country_; } - set { - country_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "streetOrAddressLine1" field. - public const int StreetOrAddressLine1FieldNumber = 6; - private string streetOrAddressLine1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StreetOrAddressLine1 { - get { return streetOrAddressLine1_; } - set { - streetOrAddressLine1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "buildingNumberOrAddressLine2" field. - public const int BuildingNumberOrAddressLine2FieldNumber = 7; - private string buildingNumberOrAddressLine2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BuildingNumberOrAddressLine2 { - get { return buildingNumberOrAddressLine2_; } - set { - buildingNumberOrAddressLine2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "paymentReferenceType" field. - public const int PaymentReferenceTypeFieldNumber = 8; - private string paymentReferenceType_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PaymentReferenceType { - get { return paymentReferenceType_; } - set { - paymentReferenceType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "paymentReference" field. - public const int PaymentReferenceFieldNumber = 9; - private string paymentReference_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PaymentReference { - get { return paymentReference_; } - set { - paymentReference_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "unstructuredReference" field. - public const int UnstructuredReferenceFieldNumber = 10; - private string unstructuredReference_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UnstructuredReference { - get { return unstructuredReference_; } - set { - unstructuredReference_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "billInformation" field. - public const int BillInformationFieldNumber = 11; - private string billInformation_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BillInformation { - get { return billInformation_; } - set { - billInformation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSwissQRDebitor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSwissQRDebitor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (AddressType != other.AddressType) return false; - if (Name != other.Name) return false; - if (PostalCode != other.PostalCode) return false; - if (Town != other.Town) return false; - if (Country != other.Country) return false; - if (StreetOrAddressLine1 != other.StreetOrAddressLine1) return false; - if (BuildingNumberOrAddressLine2 != other.BuildingNumberOrAddressLine2) return false; - if (PaymentReferenceType != other.PaymentReferenceType) return false; - if (PaymentReference != other.PaymentReference) return false; - if (UnstructuredReference != other.UnstructuredReference) return false; - if (BillInformation != other.BillInformation) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (AddressType.Length != 0) hash ^= AddressType.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (PostalCode.Length != 0) hash ^= PostalCode.GetHashCode(); - if (Town.Length != 0) hash ^= Town.GetHashCode(); - if (Country.Length != 0) hash ^= Country.GetHashCode(); - if (StreetOrAddressLine1.Length != 0) hash ^= StreetOrAddressLine1.GetHashCode(); - if (BuildingNumberOrAddressLine2.Length != 0) hash ^= BuildingNumberOrAddressLine2.GetHashCode(); - if (PaymentReferenceType.Length != 0) hash ^= PaymentReferenceType.GetHashCode(); - if (PaymentReference.Length != 0) hash ^= PaymentReference.GetHashCode(); - if (UnstructuredReference.Length != 0) hash ^= UnstructuredReference.GetHashCode(); - if (BillInformation.Length != 0) hash ^= BillInformation.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (AddressType.Length != 0) { - output.WriteRawTag(10); - output.WriteString(AddressType); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (PostalCode.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PostalCode); - } - if (Town.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Town); - } - if (Country.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Country); - } - if (StreetOrAddressLine1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(StreetOrAddressLine1); - } - if (BuildingNumberOrAddressLine2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(BuildingNumberOrAddressLine2); - } - if (PaymentReferenceType.Length != 0) { - output.WriteRawTag(66); - output.WriteString(PaymentReferenceType); - } - if (PaymentReference.Length != 0) { - output.WriteRawTag(74); - output.WriteString(PaymentReference); - } - if (UnstructuredReference.Length != 0) { - output.WriteRawTag(82); - output.WriteString(UnstructuredReference); - } - if (BillInformation.Length != 0) { - output.WriteRawTag(90); - output.WriteString(BillInformation); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AddressType.Length != 0) { - output.WriteRawTag(10); - output.WriteString(AddressType); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (PostalCode.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PostalCode); - } - if (Town.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Town); - } - if (Country.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Country); - } - if (StreetOrAddressLine1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(StreetOrAddressLine1); - } - if (BuildingNumberOrAddressLine2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(BuildingNumberOrAddressLine2); - } - if (PaymentReferenceType.Length != 0) { - output.WriteRawTag(66); - output.WriteString(PaymentReferenceType); - } - if (PaymentReference.Length != 0) { - output.WriteRawTag(74); - output.WriteString(PaymentReference); - } - if (UnstructuredReference.Length != 0) { - output.WriteRawTag(82); - output.WriteString(UnstructuredReference); - } - if (BillInformation.Length != 0) { - output.WriteRawTag(90); - output.WriteString(BillInformation); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (AddressType.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AddressType); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (PostalCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PostalCode); - } - if (Town.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Town); - } - if (Country.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Country); - } - if (StreetOrAddressLine1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StreetOrAddressLine1); - } - if (BuildingNumberOrAddressLine2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BuildingNumberOrAddressLine2); - } - if (PaymentReferenceType.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PaymentReferenceType); - } - if (PaymentReference.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PaymentReference); - } - if (UnstructuredReference.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UnstructuredReference); - } - if (BillInformation.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BillInformation); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSwissQRDebitor other) { - if (other == null) { - return; - } - if (other.AddressType.Length != 0) { - AddressType = other.AddressType; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.PostalCode.Length != 0) { - PostalCode = other.PostalCode; - } - if (other.Town.Length != 0) { - Town = other.Town; - } - if (other.Country.Length != 0) { - Country = other.Country; - } - if (other.StreetOrAddressLine1.Length != 0) { - StreetOrAddressLine1 = other.StreetOrAddressLine1; - } - if (other.BuildingNumberOrAddressLine2.Length != 0) { - BuildingNumberOrAddressLine2 = other.BuildingNumberOrAddressLine2; - } - if (other.PaymentReferenceType.Length != 0) { - PaymentReferenceType = other.PaymentReferenceType; - } - if (other.PaymentReference.Length != 0) { - PaymentReference = other.PaymentReference; - } - if (other.UnstructuredReference.Length != 0) { - UnstructuredReference = other.UnstructuredReference; - } - if (other.BillInformation.Length != 0) { - BillInformation = other.BillInformation; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - AddressType = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - PostalCode = input.ReadString(); - break; - } - case 34: { - Town = input.ReadString(); - break; - } - case 42: { - Country = input.ReadString(); - break; - } - case 50: { - StreetOrAddressLine1 = input.ReadString(); - break; - } - case 58: { - BuildingNumberOrAddressLine2 = input.ReadString(); - break; - } - case 66: { - PaymentReferenceType = input.ReadString(); - break; - } - case 74: { - PaymentReference = input.ReadString(); - break; - } - case 82: { - UnstructuredReference = input.ReadString(); - break; - } - case 90: { - BillInformation = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - AddressType = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - PostalCode = input.ReadString(); - break; - } - case 34: { - Town = input.ReadString(); - break; - } - case 42: { - Country = input.ReadString(); - break; - } - case 50: { - StreetOrAddressLine1 = input.ReadString(); - break; - } - case 58: { - BuildingNumberOrAddressLine2 = input.ReadString(); - break; - } - case 66: { - PaymentReferenceType = input.ReadString(); - break; - } - case 74: { - PaymentReference = input.ReadString(); - break; - } - case 82: { - UnstructuredReference = input.ReadString(); - break; - } - case 90: { - BillInformation = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSwissQRData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSwissQRData()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[23]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRData(ProtoSwissQRData other) : this() { - creditor_ = other.creditor_ != null ? other.creditor_.Clone() : null; - debitor_ = other.debitor_ != null ? other.debitor_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSwissQRData Clone() { - return new ProtoSwissQRData(this); - } - - /// Field number for the "creditor" field. - public const int CreditorFieldNumber = 1; - private global::Docframe.ProtoSwissQRCreditor creditor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSwissQRCreditor Creditor { - get { return creditor_; } - set { - creditor_ = value; - } - } - - /// Field number for the "debitor" field. - public const int DebitorFieldNumber = 2; - private global::Docframe.ProtoSwissQRDebitor debitor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSwissQRDebitor Debitor { - get { return debitor_; } - set { - debitor_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSwissQRData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSwissQRData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Creditor, other.Creditor)) return false; - if (!object.Equals(Debitor, other.Debitor)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (creditor_ != null) hash ^= Creditor.GetHashCode(); - if (debitor_ != null) hash ^= Debitor.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (creditor_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Creditor); - } - if (debitor_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Debitor); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (creditor_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Creditor); - } - if (debitor_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Debitor); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (creditor_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Creditor); - } - if (debitor_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Debitor); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSwissQRData other) { - if (other == null) { - return; - } - if (other.creditor_ != null) { - if (creditor_ == null) { - Creditor = new global::Docframe.ProtoSwissQRCreditor(); - } - Creditor.MergeFrom(other.Creditor); - } - if (other.debitor_ != null) { - if (debitor_ == null) { - Debitor = new global::Docframe.ProtoSwissQRDebitor(); - } - Debitor.MergeFrom(other.Debitor); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (creditor_ == null) { - Creditor = new global::Docframe.ProtoSwissQRCreditor(); - } - input.ReadMessage(Creditor); - break; - } - case 18: { - if (debitor_ == null) { - Debitor = new global::Docframe.ProtoSwissQRDebitor(); - } - input.ReadMessage(Debitor); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (creditor_ == null) { - Creditor = new global::Docframe.ProtoSwissQRCreditor(); - } - input.ReadMessage(Creditor); - break; - } - case 18: { - if (debitor_ == null) { - Debitor = new global::Docframe.ProtoSwissQRDebitor(); - } - input.ReadMessage(Debitor); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoLinebreak : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoLinebreak()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[24]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLinebreak() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLinebreak(ProtoLinebreak other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - count_ = other.count_ != null ? other.count_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLinebreak Clone() { - return new ProtoLinebreak(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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"); - } - } - - /// Field number for the "count" field. - public const int CountFieldNumber = 4; - private global::Docframe.ProtoBoxedUint32 count_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 Count { - get { return count_; } - set { - count_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoLinebreak); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoLinebreak other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - if (!object.Equals(Count, other.Count)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (count_ != null) hash ^= Count.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - if (count_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Count); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - if (count_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Count); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (count_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoLinebreak other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.count_ != null) { - if (count_ == null) { - Count = new global::Docframe.ProtoBoxedUint32(); - } - Count.MergeFrom(other.Count); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - if (count_ == null) { - Count = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(Count); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - if (count_ == null) { - Count = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(Count); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBorder : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBorder()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[25]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBorder() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBorder(ProtoBorder other) : this() { - weight_ = other.weight_ != null ? other.weight_.Clone() : null; - color_ = other.color_ != null ? other.color_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBorder Clone() { - return new ProtoBorder(this); - } - - /// Field number for the "weight" field. - public const int WeightFieldNumber = 1; - private global::Docframe.ProtoMeasure weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 2; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBorder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBorder other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Weight, other.Weight)) return false; - if (!object.Equals(Color, other.Color)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (weight_ != null) hash ^= Weight.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (weight_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Weight); - } - if (color_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Color); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (weight_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Weight); - } - if (color_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Color); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (weight_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Weight); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBorder other) { - if (other == null) { - return; - } - if (other.weight_ != null) { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - Weight.MergeFrom(other.Weight); - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Weight); - break; - } - case 18: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Weight); - break; - } - case 18: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSideBorders : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSideBorders()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[26]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSideBorders() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSideBorders(ProtoSideBorders other) : this() { - top_ = other.top_ != null ? other.top_.Clone() : null; - right_ = other.right_ != null ? other.right_.Clone() : null; - bottom_ = other.bottom_ != null ? other.bottom_.Clone() : null; - left_ = other.left_ != null ? other.left_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSideBorders Clone() { - return new ProtoSideBorders(this); - } - - /// Field number for the "top" field. - public const int TopFieldNumber = 1; - private global::Docframe.ProtoBorder top_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBorder Top { - get { return top_; } - set { - top_ = value; - } - } - - /// Field number for the "right" field. - public const int RightFieldNumber = 2; - private global::Docframe.ProtoBorder right_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBorder Right { - get { return right_; } - set { - right_ = value; - } - } - - /// Field number for the "bottom" field. - public const int BottomFieldNumber = 3; - private global::Docframe.ProtoBorder bottom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBorder Bottom { - get { return bottom_; } - set { - bottom_ = value; - } - } - - /// Field number for the "left" field. - public const int LeftFieldNumber = 4; - private global::Docframe.ProtoBorder left_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBorder Left { - get { return left_; } - set { - left_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSideBorders); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSideBorders other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Top, other.Top)) return false; - if (!object.Equals(Right, other.Right)) return false; - if (!object.Equals(Bottom, other.Bottom)) return false; - if (!object.Equals(Left, other.Left)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (top_ != null) hash ^= Top.GetHashCode(); - if (right_ != null) hash ^= Right.GetHashCode(); - if (bottom_ != null) hash ^= Bottom.GetHashCode(); - if (left_ != null) hash ^= Left.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (top_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Top); - } - if (right_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Right); - } - if (bottom_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Bottom); - } - if (left_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Left); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (top_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Top); - } - if (right_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Right); - } - if (bottom_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Bottom); - } - if (left_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Left); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (top_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Top); - } - if (right_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Right); - } - if (bottom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bottom); - } - if (left_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Left); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSideBorders other) { - if (other == null) { - return; - } - if (other.top_ != null) { - if (top_ == null) { - Top = new global::Docframe.ProtoBorder(); - } - Top.MergeFrom(other.Top); - } - if (other.right_ != null) { - if (right_ == null) { - Right = new global::Docframe.ProtoBorder(); - } - Right.MergeFrom(other.Right); - } - if (other.bottom_ != null) { - if (bottom_ == null) { - Bottom = new global::Docframe.ProtoBorder(); - } - Bottom.MergeFrom(other.Bottom); - } - if (other.left_ != null) { - if (left_ == null) { - Left = new global::Docframe.ProtoBorder(); - } - Left.MergeFrom(other.Left); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (top_ == null) { - Top = new global::Docframe.ProtoBorder(); - } - input.ReadMessage(Top); - break; - } - case 18: { - if (right_ == null) { - Right = new global::Docframe.ProtoBorder(); - } - input.ReadMessage(Right); - break; - } - case 26: { - if (bottom_ == null) { - Bottom = new global::Docframe.ProtoBorder(); - } - input.ReadMessage(Bottom); - break; - } - case 34: { - if (left_ == null) { - Left = new global::Docframe.ProtoBorder(); - } - input.ReadMessage(Left); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (top_ == null) { - Top = new global::Docframe.ProtoBorder(); - } - input.ReadMessage(Top); - break; - } - case 18: { - if (right_ == null) { - Right = new global::Docframe.ProtoBorder(); - } - input.ReadMessage(Right); - break; - } - case 26: { - if (bottom_ == null) { - Bottom = new global::Docframe.ProtoBorder(); - } - input.ReadMessage(Bottom); - break; - } - case 34: { - if (left_ == null) { - Left = new global::Docframe.ProtoBorder(); - } - input.ReadMessage(Left); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedPositionMode : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedPositionMode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[27]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedPositionMode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedPositionMode(ProtoBoxedPositionMode other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedPositionMode Clone() { - return new ProtoBoxedPositionMode(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoPositionMode value_ = global::Docframe.ProtoPositionMode.Center; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoPositionMode Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedPositionMode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedPositionMode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != global::Docframe.ProtoPositionMode.Center) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != global::Docframe.ProtoPositionMode.Center) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != global::Docframe.ProtoPositionMode.Center) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != global::Docframe.ProtoPositionMode.Center) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedPositionMode other) { - if (other == null) { - return; - } - if (other.Value != global::Docframe.ProtoPositionMode.Center) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = (global::Docframe.ProtoPositionMode) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = (global::Docframe.ProtoPositionMode) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoColumnSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoColumnSettings()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[28]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColumnSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColumnSettings(ProtoColumnSettings other) : this() { - width_ = other.width_ != null ? other.width_.Clone() : null; - interColumnSpace_ = other.interColumnSpace_ != null ? other.interColumnSpace_.Clone() : null; - positionOffset_ = other.positionOffset_ != null ? other.positionOffset_.Clone() : null; - positionMode_ = other.positionMode_; - outsideMargin_ = other.outsideMargin_ != null ? other.outsideMargin_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColumnSettings Clone() { - return new ProtoColumnSettings(this); - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 1; - private global::Docframe.ProtoBoxedMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "interColumnSpace" field. - public const int InterColumnSpaceFieldNumber = 2; - private global::Docframe.ProtoBoxedMeasure interColumnSpace_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure InterColumnSpace { - get { return interColumnSpace_; } - set { - interColumnSpace_ = value; - } - } - - /// Field number for the "positionOffset" field. - public const int PositionOffsetFieldNumber = 3; - private global::Docframe.ProtoBoxedMeasure positionOffset_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure PositionOffset { - get { return positionOffset_; } - set { - positionOffset_ = value; - } - } - - /// Field number for the "positionMode" field. - public const int PositionModeFieldNumber = 4; - private global::Docframe.ProtoPositionMode positionMode_ = global::Docframe.ProtoPositionMode.Center; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoPositionMode PositionMode { - get { return positionMode_; } - set { - positionMode_ = value; - } - } - - /// Field number for the "outsideMargin" field. - public const int OutsideMarginFieldNumber = 5; - private global::Docframe.ProtoBoxedMeasure outsideMargin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure OutsideMargin { - get { return outsideMargin_; } - set { - outsideMargin_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoColumnSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoColumnSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Width, other.Width)) return false; - if (!object.Equals(InterColumnSpace, other.InterColumnSpace)) return false; - if (!object.Equals(PositionOffset, other.PositionOffset)) return false; - if (PositionMode != other.PositionMode) return false; - if (!object.Equals(OutsideMargin, other.OutsideMargin)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (width_ != null) hash ^= Width.GetHashCode(); - if (interColumnSpace_ != null) hash ^= InterColumnSpace.GetHashCode(); - if (positionOffset_ != null) hash ^= PositionOffset.GetHashCode(); - if (PositionMode != global::Docframe.ProtoPositionMode.Center) hash ^= PositionMode.GetHashCode(); - if (outsideMargin_ != null) hash ^= OutsideMargin.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (width_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Width); - } - if (interColumnSpace_ != null) { - output.WriteRawTag(18); - output.WriteMessage(InterColumnSpace); - } - if (positionOffset_ != null) { - output.WriteRawTag(26); - output.WriteMessage(PositionOffset); - } - if (PositionMode != global::Docframe.ProtoPositionMode.Center) { - output.WriteRawTag(32); - output.WriteEnum((int) PositionMode); - } - if (outsideMargin_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OutsideMargin); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (width_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Width); - } - if (interColumnSpace_ != null) { - output.WriteRawTag(18); - output.WriteMessage(InterColumnSpace); - } - if (positionOffset_ != null) { - output.WriteRawTag(26); - output.WriteMessage(PositionOffset); - } - if (PositionMode != global::Docframe.ProtoPositionMode.Center) { - output.WriteRawTag(32); - output.WriteEnum((int) PositionMode); - } - if (outsideMargin_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OutsideMargin); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (interColumnSpace_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(InterColumnSpace); - } - if (positionOffset_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionOffset); - } - if (PositionMode != global::Docframe.ProtoPositionMode.Center) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PositionMode); - } - if (outsideMargin_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutsideMargin); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoColumnSettings other) { - if (other == null) { - return; - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.interColumnSpace_ != null) { - if (interColumnSpace_ == null) { - InterColumnSpace = new global::Docframe.ProtoBoxedMeasure(); - } - InterColumnSpace.MergeFrom(other.InterColumnSpace); - } - if (other.positionOffset_ != null) { - if (positionOffset_ == null) { - PositionOffset = new global::Docframe.ProtoBoxedMeasure(); - } - PositionOffset.MergeFrom(other.PositionOffset); - } - if (other.PositionMode != global::Docframe.ProtoPositionMode.Center) { - PositionMode = other.PositionMode; - } - if (other.outsideMargin_ != null) { - if (outsideMargin_ == null) { - OutsideMargin = new global::Docframe.ProtoBoxedMeasure(); - } - OutsideMargin.MergeFrom(other.OutsideMargin); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Width); - break; - } - case 18: { - if (interColumnSpace_ == null) { - InterColumnSpace = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(InterColumnSpace); - break; - } - case 26: { - if (positionOffset_ == null) { - PositionOffset = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(PositionOffset); - break; - } - case 32: { - PositionMode = (global::Docframe.ProtoPositionMode) input.ReadEnum(); - break; - } - case 42: { - if (outsideMargin_ == null) { - OutsideMargin = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(OutsideMargin); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Width); - break; - } - case 18: { - if (interColumnSpace_ == null) { - InterColumnSpace = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(InterColumnSpace); - break; - } - case 26: { - if (positionOffset_ == null) { - PositionOffset = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(PositionOffset); - break; - } - case 32: { - PositionMode = (global::Docframe.ProtoPositionMode) input.ReadEnum(); - break; - } - case 42: { - if (outsideMargin_ == null) { - OutsideMargin = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(OutsideMargin); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoGraphicState : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoGraphicState()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[29]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoGraphicState() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoGraphicState(ProtoGraphicState other) : this() { - bold_ = other.bold_ != null ? other.bold_.Clone() : null; - italic_ = other.italic_ != null ? other.italic_.Clone() : null; - colorStack_ = other.colorStack_.Clone(); - subscript_ = other.subscript_ != null ? other.subscript_.Clone() : null; - superscript_ = other.superscript_ != null ? other.superscript_.Clone() : null; - underline_ = other.underline_ != null ? other.underline_.Clone() : null; - strikethrough_ = other.strikethrough_ != null ? other.strikethrough_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoGraphicState Clone() { - return new ProtoGraphicState(this); - } - - /// Field number for the "bold" field. - public const int BoldFieldNumber = 1; - private global::Docframe.ProtoBoxedBool bold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Bold { - get { return bold_; } - set { - bold_ = value; - } - } - - /// Field number for the "italic" field. - public const int ItalicFieldNumber = 2; - private global::Docframe.ProtoBoxedBool italic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Italic { - get { return italic_; } - set { - italic_ = value; - } - } - - /// Field number for the "colorStack" field. - public const int ColorStackFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_colorStack_codec - = pb::FieldCodec.ForMessage(26, global::Docframe.ProtoColor.Parser); - private readonly pbc::RepeatedField colorStack_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ColorStack { - get { return colorStack_; } - } - - /// Field number for the "subscript" field. - public const int SubscriptFieldNumber = 4; - private global::Docframe.ProtoBoxedBool subscript_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Subscript { - get { return subscript_; } - set { - subscript_ = value; - } - } - - /// Field number for the "superscript" field. - public const int SuperscriptFieldNumber = 5; - private global::Docframe.ProtoBoxedBool superscript_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Superscript { - get { return superscript_; } - set { - superscript_ = value; - } - } - - /// Field number for the "underline" field. - public const int UnderlineFieldNumber = 6; - private global::Docframe.ProtoBoxedBool underline_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Underline { - get { return underline_; } - set { - underline_ = value; - } - } - - /// Field number for the "strikethrough" field. - public const int StrikethroughFieldNumber = 7; - private global::Docframe.ProtoBoxedBool strikethrough_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Strikethrough { - get { return strikethrough_; } - set { - strikethrough_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoGraphicState); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoGraphicState other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Bold, other.Bold)) return false; - if (!object.Equals(Italic, other.Italic)) return false; - if(!colorStack_.Equals(other.colorStack_)) return false; - if (!object.Equals(Subscript, other.Subscript)) return false; - if (!object.Equals(Superscript, other.Superscript)) return false; - if (!object.Equals(Underline, other.Underline)) return false; - if (!object.Equals(Strikethrough, other.Strikethrough)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (bold_ != null) hash ^= Bold.GetHashCode(); - if (italic_ != null) hash ^= Italic.GetHashCode(); - hash ^= colorStack_.GetHashCode(); - if (subscript_ != null) hash ^= Subscript.GetHashCode(); - if (superscript_ != null) hash ^= Superscript.GetHashCode(); - if (underline_ != null) hash ^= Underline.GetHashCode(); - if (strikethrough_ != null) hash ^= Strikethrough.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (bold_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Italic); - } - colorStack_.WriteTo(output, _repeated_colorStack_codec); - if (subscript_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Subscript); - } - if (superscript_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Superscript); - } - if (underline_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Underline); - } - if (strikethrough_ != null) { - output.WriteRawTag(58); - output.WriteMessage(Strikethrough); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (bold_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Italic); - } - colorStack_.WriteTo(ref output, _repeated_colorStack_codec); - if (subscript_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Subscript); - } - if (superscript_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Superscript); - } - if (underline_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Underline); - } - if (strikethrough_ != null) { - output.WriteRawTag(58); - output.WriteMessage(Strikethrough); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (bold_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bold); - } - if (italic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Italic); - } - size += colorStack_.CalculateSize(_repeated_colorStack_codec); - if (subscript_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Subscript); - } - if (superscript_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Superscript); - } - if (underline_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Underline); - } - if (strikethrough_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Strikethrough); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoGraphicState other) { - if (other == null) { - return; - } - if (other.bold_ != null) { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - Bold.MergeFrom(other.Bold); - } - if (other.italic_ != null) { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - Italic.MergeFrom(other.Italic); - } - colorStack_.Add(other.colorStack_); - if (other.subscript_ != null) { - if (subscript_ == null) { - Subscript = new global::Docframe.ProtoBoxedBool(); - } - Subscript.MergeFrom(other.Subscript); - } - if (other.superscript_ != null) { - if (superscript_ == null) { - Superscript = new global::Docframe.ProtoBoxedBool(); - } - Superscript.MergeFrom(other.Superscript); - } - if (other.underline_ != null) { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedBool(); - } - Underline.MergeFrom(other.Underline); - } - if (other.strikethrough_ != null) { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedBool(); - } - Strikethrough.MergeFrom(other.Strikethrough); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 18: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 26: { - colorStack_.AddEntriesFrom(input, _repeated_colorStack_codec); - break; - } - case 34: { - if (subscript_ == null) { - Subscript = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Subscript); - break; - } - case 42: { - if (superscript_ == null) { - Superscript = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Superscript); - break; - } - case 50: { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Underline); - break; - } - case 58: { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Strikethrough); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 18: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 26: { - colorStack_.AddEntriesFrom(ref input, _repeated_colorStack_codec); - break; - } - case 34: { - if (subscript_ == null) { - Subscript = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Subscript); - break; - } - case 42: { - if (superscript_ == null) { - Superscript = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Superscript); - break; - } - case 50: { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Underline); - break; - } - case 58: { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Strikethrough); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoHtmlParser : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoHtmlParser()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[30]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoHtmlParser() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoHtmlParser(ProtoHtmlParser other) : this() { - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoHtmlParser Clone() { - return new ProtoHtmlParser(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoHtmlParser); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoHtmlParser other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoHtmlParser other) { - if (other == null) { - return; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoUnderlineSpec : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoUnderlineSpec()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[31]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUnderlineSpec() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUnderlineSpec(ProtoUnderlineSpec other) : this() { - weight_ = other.weight_ != null ? other.weight_.Clone() : null; - mode_ = other.mode_; - color_ = other.color_ != null ? other.color_.Clone() : null; - offsetEm_ = other.offsetEm_; - style_ = other.style_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUnderlineSpec Clone() { - return new ProtoUnderlineSpec(this); - } - - /// Field number for the "weight" field. - public const int WeightFieldNumber = 1; - private global::Docframe.ProtoMeasure weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// Field number for the "mode" field. - public const int ModeFieldNumber = 2; - private global::Docframe.ProtoUnderlineMode mode_ = global::Docframe.ProtoUnderlineMode.DummyUnderlineMode; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoUnderlineMode Mode { - get { return mode_; } - set { - mode_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 3; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "offsetEm" field. - public const int OffsetEmFieldNumber = 4; - private int offsetEm_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OffsetEm { - get { return offsetEm_; } - set { - offsetEm_ = value; - } - } - - /// Field number for the "style" field. - public const int StyleFieldNumber = 5; - private global::Docframe.ProtoRuleStyle style_ = global::Docframe.ProtoRuleStyle.DummyRuleStyle; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoRuleStyle Style { - get { return style_; } - set { - style_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoUnderlineSpec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoUnderlineSpec other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Weight, other.Weight)) return false; - if (Mode != other.Mode) return false; - if (!object.Equals(Color, other.Color)) return false; - if (OffsetEm != other.OffsetEm) return false; - if (Style != other.Style) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (weight_ != null) hash ^= Weight.GetHashCode(); - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) hash ^= Mode.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (OffsetEm != 0) hash ^= OffsetEm.GetHashCode(); - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) hash ^= Style.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (weight_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Weight); - } - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - output.WriteRawTag(16); - output.WriteEnum((int) Mode); - } - if (color_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Color); - } - if (OffsetEm != 0) { - output.WriteRawTag(32); - output.WriteInt32(OffsetEm); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - output.WriteRawTag(40); - output.WriteEnum((int) Style); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (weight_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Weight); - } - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - output.WriteRawTag(16); - output.WriteEnum((int) Mode); - } - if (color_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Color); - } - if (OffsetEm != 0) { - output.WriteRawTag(32); - output.WriteInt32(OffsetEm); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - output.WriteRawTag(40); - output.WriteEnum((int) Style); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (weight_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Weight); - } - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (OffsetEm != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OffsetEm); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Style); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoUnderlineSpec other) { - if (other == null) { - return; - } - if (other.weight_ != null) { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - Weight.MergeFrom(other.Weight); - } - if (other.Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - Mode = other.Mode; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.OffsetEm != 0) { - OffsetEm = other.OffsetEm; - } - if (other.Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - Style = other.Style; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Weight); - break; - } - case 16: { - Mode = (global::Docframe.ProtoUnderlineMode) input.ReadEnum(); - break; - } - case 26: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 32: { - OffsetEm = input.ReadInt32(); - break; - } - case 40: { - Style = (global::Docframe.ProtoRuleStyle) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (weight_ == null) { - Weight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Weight); - break; - } - case 16: { - Mode = (global::Docframe.ProtoUnderlineMode) input.ReadEnum(); - break; - } - case 26: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 32: { - OffsetEm = input.ReadInt32(); - break; - } - case 40: { - Style = (global::Docframe.ProtoRuleStyle) input.ReadEnum(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedUnderlineSpec : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedUnderlineSpec()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[32]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedUnderlineSpec() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedUnderlineSpec(ProtoBoxedUnderlineSpec other) : this() { - value_ = other.value_ != null ? other.value_.Clone() : null; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedUnderlineSpec Clone() { - return new ProtoBoxedUnderlineSpec(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoUnderlineSpec value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoUnderlineSpec Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedUnderlineSpec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedUnderlineSpec other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Value, other.Value)) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (value_ != null) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedUnderlineSpec other) { - if (other == null) { - return; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Docframe.ProtoUnderlineSpec(); - } - Value.MergeFrom(other.Value); - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoUnderlineSpec(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoUnderlineSpec(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoCropSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoCropSettings()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[33]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCropSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCropSettings(ProtoCropSettings other) : this() { - x_ = other.x_ != null ? other.x_.Clone() : null; - y_ = other.y_ != null ? other.y_.Clone() : null; - width_ = other.width_ != null ? other.width_.Clone() : null; - height_ = other.height_ != null ? other.height_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCropSettings Clone() { - return new ProtoCropSettings(this); - } - - /// Field number for the "x" field. - public const int XFieldNumber = 1; - private global::Docframe.ProtoBoxedMeasure x_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure X { - get { return x_; } - set { - x_ = value; - } - } - - /// Field number for the "y" field. - public const int YFieldNumber = 2; - private global::Docframe.ProtoBoxedMeasure y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Y { - get { return y_; } - set { - y_ = value; - } - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 3; - private global::Docframe.ProtoBoxedMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "height" field. - public const int HeightFieldNumber = 4; - private global::Docframe.ProtoBoxedMeasure height_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Height { - get { return height_; } - set { - height_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoCropSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoCropSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(X, other.X)) return false; - if (!object.Equals(Y, other.Y)) return false; - if (!object.Equals(Width, other.Width)) return false; - if (!object.Equals(Height, other.Height)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (x_ != null) hash ^= X.GetHashCode(); - if (y_ != null) hash ^= Y.GetHashCode(); - if (width_ != null) hash ^= Width.GetHashCode(); - if (height_ != null) hash ^= Height.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (x_ != null) { - output.WriteRawTag(10); - output.WriteMessage(X); - } - if (y_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Y); - } - if (width_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Width); - } - if (height_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Height); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (x_ != null) { - output.WriteRawTag(10); - output.WriteMessage(X); - } - if (y_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Y); - } - if (width_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Width); - } - if (height_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Height); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (x_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(X); - } - if (y_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Y); - } - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (height_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoCropSettings other) { - if (other == null) { - return; - } - if (other.x_ != null) { - if (x_ == null) { - X = new global::Docframe.ProtoBoxedMeasure(); - } - X.MergeFrom(other.X); - } - if (other.y_ != null) { - if (y_ == null) { - Y = new global::Docframe.ProtoBoxedMeasure(); - } - Y.MergeFrom(other.Y); - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.height_ != null) { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - Height.MergeFrom(other.Height); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (x_ == null) { - X = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(X); - break; - } - case 18: { - if (y_ == null) { - Y = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Y); - break; - } - case 26: { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Width); - break; - } - case 34: { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Height); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (x_ == null) { - X = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(X); - break; - } - case 18: { - if (y_ == null) { - Y = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Y); - break; - } - case 26: { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Width); - break; - } - case 34: { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Height); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoFlipSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoFlipSettings()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[34]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFlipSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFlipSettings(ProtoFlipSettings other) : this() { - x_ = other.x_; - y_ = other.y_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFlipSettings Clone() { - return new ProtoFlipSettings(this); - } - - /// Field number for the "x" field. - public const int XFieldNumber = 1; - private bool x_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool X { - get { return x_; } - set { - x_ = value; - } - } - - /// Field number for the "y" field. - public const int YFieldNumber = 2; - private bool y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Y { - get { return y_; } - set { - y_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoFlipSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoFlipSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (X != other.X) return false; - if (Y != other.Y) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (X != false) hash ^= X.GetHashCode(); - if (Y != false) hash ^= Y.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (X != false) { - output.WriteRawTag(8); - output.WriteBool(X); - } - if (Y != false) { - output.WriteRawTag(16); - output.WriteBool(Y); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (X != false) { - output.WriteRawTag(8); - output.WriteBool(X); - } - if (Y != false) { - output.WriteRawTag(16); - output.WriteBool(Y); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (X != false) { - size += 1 + 1; - } - if (Y != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoFlipSettings other) { - if (other == null) { - return; - } - if (other.X != false) { - X = other.X; - } - if (other.Y != false) { - Y = other.Y; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - X = input.ReadBool(); - break; - } - case 16: { - Y = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - X = input.ReadBool(); - break; - } - case 16: { - Y = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoOption : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoOption()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[35]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoOption() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoOption(ProtoOption other) : this() { - key_ = other.key_; - value_ = other.value_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoOption Clone() { - return new ProtoOption(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private string key_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Key { - get { return key_; } - set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private string value_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Value { - get { return value_; } - set { - value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoOption); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoOption other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Key != other.Key) return false; - if (Value != other.Value) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Key.Length != 0) hash ^= Key.GetHashCode(); - if (Value.Length != 0) hash ^= Value.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (Value.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Value); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (Value.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Value); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); - } - if (Value.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoOption other) { - if (other == null) { - return; - } - if (other.Key.Length != 0) { - Key = other.Key; - } - if (other.Value.Length != 0) { - Value = other.Value; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - Value = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - Value = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBaseInputField : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBaseInputField()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[36]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBaseInputField() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBaseInputField(ProtoBaseInputField other) : this() { - name_ = other.name_; - meta_ = other.meta_; - value_ = other.value_ != null ? other.value_.Clone() : null; - formatUUID_ = other.formatUUID_; - dataTypeUUID_ = other.dataTypeUUID_; - onChangeCode_ = other.onChangeCode_; - placeholder_ = other.placeholder_; - bindDefaultValue_ = other.bindDefaultValue_; - defaultValueCode_ = other.defaultValueCode_; - readonly_ = other.readonly_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBaseInputField Clone() { - return new ProtoBaseInputField(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "meta" field. - public const int MetaFieldNumber = 2; - private bool meta_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Meta { - get { return meta_; } - set { - meta_ = value; - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 3; - private global::Docframe.ProtoBoxedString value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "formatUUID" field. - public const int FormatUUIDFieldNumber = 4; - private string formatUUID_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FormatUUID { - get { return formatUUID_; } - set { - formatUUID_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "dataTypeUUID" field. - public const int DataTypeUUIDFieldNumber = 5; - private string dataTypeUUID_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DataTypeUUID { - get { return dataTypeUUID_; } - set { - dataTypeUUID_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "onChangeCode" field. - public const int OnChangeCodeFieldNumber = 6; - private string onChangeCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OnChangeCode { - get { return onChangeCode_; } - set { - onChangeCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "placeholder" field. - public const int PlaceholderFieldNumber = 7; - private string placeholder_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Placeholder { - get { return placeholder_; } - set { - placeholder_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bindDefaultValue" field. - public const int BindDefaultValueFieldNumber = 8; - private bool bindDefaultValue_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool BindDefaultValue { - get { return bindDefaultValue_; } - set { - bindDefaultValue_ = value; - } - } - - /// Field number for the "defaultValueCode" field. - public const int DefaultValueCodeFieldNumber = 9; - private string defaultValueCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DefaultValueCode { - get { return defaultValueCode_; } - set { - defaultValueCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "readonly" field. - public const int ReadonlyFieldNumber = 10; - private bool readonly_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Readonly { - get { return readonly_; } - set { - readonly_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBaseInputField); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBaseInputField other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Name != other.Name) return false; - if (Meta != other.Meta) return false; - if (!object.Equals(Value, other.Value)) return false; - if (FormatUUID != other.FormatUUID) return false; - if (DataTypeUUID != other.DataTypeUUID) return false; - if (OnChangeCode != other.OnChangeCode) return false; - if (Placeholder != other.Placeholder) return false; - if (BindDefaultValue != other.BindDefaultValue) return false; - if (DefaultValueCode != other.DefaultValueCode) return false; - if (Readonly != other.Readonly) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Meta != false) hash ^= Meta.GetHashCode(); - if (value_ != null) hash ^= Value.GetHashCode(); - if (FormatUUID.Length != 0) hash ^= FormatUUID.GetHashCode(); - if (DataTypeUUID.Length != 0) hash ^= DataTypeUUID.GetHashCode(); - if (OnChangeCode.Length != 0) hash ^= OnChangeCode.GetHashCode(); - if (Placeholder.Length != 0) hash ^= Placeholder.GetHashCode(); - if (BindDefaultValue != false) hash ^= BindDefaultValue.GetHashCode(); - if (DefaultValueCode.Length != 0) hash ^= DefaultValueCode.GetHashCode(); - if (Readonly != false) hash ^= Readonly.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (Meta != false) { - output.WriteRawTag(16); - output.WriteBool(Meta); - } - if (value_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Value); - } - if (FormatUUID.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FormatUUID); - } - if (DataTypeUUID.Length != 0) { - output.WriteRawTag(42); - output.WriteString(DataTypeUUID); - } - if (OnChangeCode.Length != 0) { - output.WriteRawTag(50); - output.WriteString(OnChangeCode); - } - if (Placeholder.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Placeholder); - } - if (BindDefaultValue != false) { - output.WriteRawTag(64); - output.WriteBool(BindDefaultValue); - } - if (DefaultValueCode.Length != 0) { - output.WriteRawTag(74); - output.WriteString(DefaultValueCode); - } - if (Readonly != false) { - output.WriteRawTag(80); - output.WriteBool(Readonly); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (Meta != false) { - output.WriteRawTag(16); - output.WriteBool(Meta); - } - if (value_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Value); - } - if (FormatUUID.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FormatUUID); - } - if (DataTypeUUID.Length != 0) { - output.WriteRawTag(42); - output.WriteString(DataTypeUUID); - } - if (OnChangeCode.Length != 0) { - output.WriteRawTag(50); - output.WriteString(OnChangeCode); - } - if (Placeholder.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Placeholder); - } - if (BindDefaultValue != false) { - output.WriteRawTag(64); - output.WriteBool(BindDefaultValue); - } - if (DefaultValueCode.Length != 0) { - output.WriteRawTag(74); - output.WriteString(DefaultValueCode); - } - if (Readonly != false) { - output.WriteRawTag(80); - output.WriteBool(Readonly); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Meta != false) { - size += 1 + 1; - } - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (FormatUUID.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FormatUUID); - } - if (DataTypeUUID.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DataTypeUUID); - } - if (OnChangeCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OnChangeCode); - } - if (Placeholder.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Placeholder); - } - if (BindDefaultValue != false) { - size += 1 + 1; - } - if (DefaultValueCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValueCode); - } - if (Readonly != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBaseInputField other) { - if (other == null) { - return; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Meta != false) { - Meta = other.Meta; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Docframe.ProtoBoxedString(); - } - Value.MergeFrom(other.Value); - } - if (other.FormatUUID.Length != 0) { - FormatUUID = other.FormatUUID; - } - if (other.DataTypeUUID.Length != 0) { - DataTypeUUID = other.DataTypeUUID; - } - if (other.OnChangeCode.Length != 0) { - OnChangeCode = other.OnChangeCode; - } - if (other.Placeholder.Length != 0) { - Placeholder = other.Placeholder; - } - if (other.BindDefaultValue != false) { - BindDefaultValue = other.BindDefaultValue; - } - if (other.DefaultValueCode.Length != 0) { - DefaultValueCode = other.DefaultValueCode; - } - if (other.Readonly != false) { - Readonly = other.Readonly; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 16: { - Meta = input.ReadBool(); - break; - } - case 26: { - if (value_ == null) { - Value = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Value); - break; - } - case 34: { - FormatUUID = input.ReadString(); - break; - } - case 42: { - DataTypeUUID = input.ReadString(); - break; - } - case 50: { - OnChangeCode = input.ReadString(); - break; - } - case 58: { - Placeholder = input.ReadString(); - break; - } - case 64: { - BindDefaultValue = input.ReadBool(); - break; - } - case 74: { - DefaultValueCode = input.ReadString(); - break; - } - case 80: { - Readonly = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 16: { - Meta = input.ReadBool(); - break; - } - case 26: { - if (value_ == null) { - Value = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Value); - break; - } - case 34: { - FormatUUID = input.ReadString(); - break; - } - case 42: { - DataTypeUUID = input.ReadString(); - break; - } - case 50: { - OnChangeCode = input.ReadString(); - break; - } - case 58: { - Placeholder = input.ReadString(); - break; - } - case 64: { - BindDefaultValue = input.ReadBool(); - break; - } - case 74: { - DefaultValueCode = input.ReadString(); - break; - } - case 80: { - Readonly = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoDocumentElement : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoDocumentElement()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[37]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDocumentElement() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDocumentElement(ProtoDocumentElement other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDocumentElement Clone() { - return new ProtoDocumentElement(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoDocumentElement); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoDocumentElement other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoDocumentElement other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBranchDocumentElement : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBranchDocumentElement()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[38]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBranchDocumentElement() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBranchDocumentElement(ProtoBranchDocumentElement other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBranchDocumentElement Clone() { - return new ProtoBranchDocumentElement(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBranchDocumentElement); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBranchDocumentElement other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBranchDocumentElement other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoLink : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoLink()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[39]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLink() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLink(ProtoLink other) : this() { - Children_ = other.Children_.Clone(); - url_ = other.url_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLink Clone() { - return new ProtoLink(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "url" field. - public const int UrlFieldNumber = 2; - private string url_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Url { - get { return url_; } - set { - url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoLink); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoLink other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (Url != other.Url) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (Url.Length != 0) hash ^= Url.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (Url.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Url); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (Url.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Url); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (Url.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoLink other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.Url.Length != 0) { - Url = other.Url; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - Url = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - Url = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoListLevelSetting : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoListLevelSetting()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[40]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoListLevelSetting() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoListLevelSetting(ProtoListLevelSetting other) : this() { - listSettingName_ = other.listSettingName_; - fontSize_ = other.fontSize_ != null ? other.fontSize_.Clone() : null; - type_ = other.type_; - level_ = other.level_; - prefix_ = other.prefix_; - suffix_ = other.suffix_; - fixFontFamily_ = other.fixFontFamily_ != null ? other.fixFontFamily_.Clone() : null; - fixBold_ = other.fixBold_; - fixItalic_ = other.fixItalic_; - indentionWidth_ = other.indentionWidth_; - color_ = other.color_ != null ? other.color_.Clone() : null; - imageName_ = other.imageName_; - fontFamily_ = other.fontFamily_ != null ? other.fontFamily_.Clone() : null; - bold_ = other.bold_ != null ? other.bold_.Clone() : null; - italic_ = other.italic_ != null ? other.italic_.Clone() : null; - numberType_ = other.numberType_; - character_ = other.character_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoListLevelSetting Clone() { - return new ProtoListLevelSetting(this); - } - - /// Field number for the "listSettingName" field. - public const int ListSettingNameFieldNumber = 1; - private string listSettingName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListSettingName { - get { return listSettingName_; } - set { - listSettingName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fontSize" field. - public const int FontSizeFieldNumber = 2; - private global::Docframe.ProtoBoxedUint32 fontSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 FontSize { - get { return fontSize_; } - set { - fontSize_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 3; - private global::Docframe.ProtoListLevelSettingType type_ = global::Docframe.ProtoListLevelSettingType.Unnumbered; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoListLevelSettingType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "level" field. - public const int LevelFieldNumber = 4; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } - } - - /// Field number for the "prefix" field. - public const int PrefixFieldNumber = 5; - private string prefix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Prefix { - get { return prefix_; } - set { - prefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "suffix" field. - public const int SuffixFieldNumber = 6; - private string suffix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Suffix { - get { return suffix_; } - set { - suffix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fixFontFamily" field. - public const int FixFontFamilyFieldNumber = 7; - private global::Docframe.ProtoFont fixFontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FixFontFamily { - get { return fixFontFamily_; } - set { - fixFontFamily_ = value; - } - } - - /// Field number for the "fixBold" field. - public const int FixBoldFieldNumber = 8; - private bool fixBold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixBold { - get { return fixBold_; } - set { - fixBold_ = value; - } - } - - /// Field number for the "fixItalic" field. - public const int FixItalicFieldNumber = 9; - private bool fixItalic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixItalic { - get { return fixItalic_; } - set { - fixItalic_ = value; - } - } - - /// Field number for the "indentionWidth" field. - public const int IndentionWidthFieldNumber = 10; - private int indentionWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndentionWidth { - get { return indentionWidth_; } - set { - indentionWidth_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 11; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "imageName" field. - public const int ImageNameFieldNumber = 12; - private string imageName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ImageName { - get { return imageName_; } - set { - imageName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fontFamily" field. - public const int FontFamilyFieldNumber = 13; - private global::Docframe.ProtoFont fontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FontFamily { - get { return fontFamily_; } - set { - fontFamily_ = value; - } - } - - /// Field number for the "bold" field. - public const int BoldFieldNumber = 14; - private global::Docframe.ProtoBoxedBool bold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Bold { - get { return bold_; } - set { - bold_ = value; - } - } - - /// Field number for the "italic" field. - public const int ItalicFieldNumber = 15; - private global::Docframe.ProtoBoxedBool italic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Italic { - get { return italic_; } - set { - italic_ = value; - } - } - - /// Field number for the "numberType" field. - public const int NumberTypeFieldNumber = 16; - private global::Docframe.ProtoNumberType numberType_ = global::Docframe.ProtoNumberType.Arabic; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoNumberType NumberType { - get { return numberType_; } - set { - numberType_ = value; - } - } - - /// Field number for the "character" field. - public const int CharacterFieldNumber = 17; - private string character_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Character { - get { return character_; } - set { - character_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoListLevelSetting); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoListLevelSetting other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ListSettingName != other.ListSettingName) return false; - if (!object.Equals(FontSize, other.FontSize)) return false; - if (Type != other.Type) return false; - if (Level != other.Level) return false; - if (Prefix != other.Prefix) return false; - if (Suffix != other.Suffix) return false; - if (!object.Equals(FixFontFamily, other.FixFontFamily)) return false; - if (FixBold != other.FixBold) return false; - if (FixItalic != other.FixItalic) return false; - if (IndentionWidth != other.IndentionWidth) return false; - if (!object.Equals(Color, other.Color)) return false; - if (ImageName != other.ImageName) return false; - if (!object.Equals(FontFamily, other.FontFamily)) return false; - if (!object.Equals(Bold, other.Bold)) return false; - if (!object.Equals(Italic, other.Italic)) return false; - if (NumberType != other.NumberType) return false; - if (Character != other.Character) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (ListSettingName.Length != 0) hash ^= ListSettingName.GetHashCode(); - if (fontSize_ != null) hash ^= FontSize.GetHashCode(); - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) hash ^= Type.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - if (Prefix.Length != 0) hash ^= Prefix.GetHashCode(); - if (Suffix.Length != 0) hash ^= Suffix.GetHashCode(); - if (fixFontFamily_ != null) hash ^= FixFontFamily.GetHashCode(); - if (FixBold != false) hash ^= FixBold.GetHashCode(); - if (FixItalic != false) hash ^= FixItalic.GetHashCode(); - if (IndentionWidth != 0) hash ^= IndentionWidth.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (ImageName.Length != 0) hash ^= ImageName.GetHashCode(); - if (fontFamily_ != null) hash ^= FontFamily.GetHashCode(); - if (bold_ != null) hash ^= Bold.GetHashCode(); - if (italic_ != null) hash ^= Italic.GetHashCode(); - if (NumberType != global::Docframe.ProtoNumberType.Arabic) hash ^= NumberType.GetHashCode(); - if (Character.Length != 0) hash ^= Character.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (ImageName.Length != 0) { - output.WriteRawTag(98); - output.WriteString(ImageName); - } - if (fontFamily_ != null) { - output.WriteRawTag(106); - output.WriteMessage(FontFamily); - } - if (bold_ != null) { - output.WriteRawTag(114); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(122); - output.WriteMessage(Italic); - } - if (NumberType != global::Docframe.ProtoNumberType.Arabic) { - output.WriteRawTag(128, 1); - output.WriteEnum((int) NumberType); - } - if (Character.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Character); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (ImageName.Length != 0) { - output.WriteRawTag(98); - output.WriteString(ImageName); - } - if (fontFamily_ != null) { - output.WriteRawTag(106); - output.WriteMessage(FontFamily); - } - if (bold_ != null) { - output.WriteRawTag(114); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(122); - output.WriteMessage(Italic); - } - if (NumberType != global::Docframe.ProtoNumberType.Arabic) { - output.WriteRawTag(128, 1); - output.WriteEnum((int) NumberType); - } - if (Character.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Character); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (ListSettingName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListSettingName); - } - if (fontSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (Prefix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Prefix); - } - if (Suffix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Suffix); - } - if (fixFontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FixFontFamily); - } - if (FixBold != false) { - size += 1 + 1; - } - if (FixItalic != false) { - size += 1 + 1; - } - if (IndentionWidth != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndentionWidth); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (ImageName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ImageName); - } - if (fontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontFamily); - } - if (bold_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bold); - } - if (italic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Italic); - } - if (NumberType != global::Docframe.ProtoNumberType.Arabic) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) NumberType); - } - if (Character.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Character); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoListLevelSetting other) { - if (other == null) { - return; - } - if (other.ListSettingName.Length != 0) { - ListSettingName = other.ListSettingName; - } - if (other.fontSize_ != null) { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - FontSize.MergeFrom(other.FontSize); - } - if (other.Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - Type = other.Type; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.Prefix.Length != 0) { - Prefix = other.Prefix; - } - if (other.Suffix.Length != 0) { - Suffix = other.Suffix; - } - if (other.fixFontFamily_ != null) { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - FixFontFamily.MergeFrom(other.FixFontFamily); - } - if (other.FixBold != false) { - FixBold = other.FixBold; - } - if (other.FixItalic != false) { - FixItalic = other.FixItalic; - } - if (other.IndentionWidth != 0) { - IndentionWidth = other.IndentionWidth; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.ImageName.Length != 0) { - ImageName = other.ImageName; - } - if (other.fontFamily_ != null) { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - FontFamily.MergeFrom(other.FontFamily); - } - if (other.bold_ != null) { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - Bold.MergeFrom(other.Bold); - } - if (other.italic_ != null) { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - Italic.MergeFrom(other.Italic); - } - if (other.NumberType != global::Docframe.ProtoNumberType.Arabic) { - NumberType = other.NumberType; - } - if (other.Character.Length != 0) { - Character = other.Character; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - ImageName = input.ReadString(); - break; - } - case 106: { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FontFamily); - break; - } - case 114: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 122: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 128: { - NumberType = (global::Docframe.ProtoNumberType) input.ReadEnum(); - break; - } - case 138: { - Character = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - ImageName = input.ReadString(); - break; - } - case 106: { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FontFamily); - break; - } - case 114: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 122: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 128: { - NumberType = (global::Docframe.ProtoNumberType) input.ReadEnum(); - break; - } - case 138: { - Character = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoImageListLevelSetting : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoImageListLevelSetting()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[41]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoImageListLevelSetting() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoImageListLevelSetting(ProtoImageListLevelSetting other) : this() { - listSettingName_ = other.listSettingName_; - fontSize_ = other.fontSize_ != null ? other.fontSize_.Clone() : null; - type_ = other.type_; - level_ = other.level_; - prefix_ = other.prefix_; - suffix_ = other.suffix_; - fixFontFamily_ = other.fixFontFamily_ != null ? other.fixFontFamily_.Clone() : null; - fixBold_ = other.fixBold_; - fixItalic_ = other.fixItalic_; - indentionWidth_ = other.indentionWidth_; - color_ = other.color_ != null ? other.color_.Clone() : null; - imageName_ = other.imageName_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoImageListLevelSetting Clone() { - return new ProtoImageListLevelSetting(this); - } - - /// Field number for the "listSettingName" field. - public const int ListSettingNameFieldNumber = 1; - private string listSettingName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListSettingName { - get { return listSettingName_; } - set { - listSettingName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fontSize" field. - public const int FontSizeFieldNumber = 2; - private global::Docframe.ProtoBoxedUint32 fontSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 FontSize { - get { return fontSize_; } - set { - fontSize_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 3; - private global::Docframe.ProtoListLevelSettingType type_ = global::Docframe.ProtoListLevelSettingType.Unnumbered; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoListLevelSettingType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "level" field. - public const int LevelFieldNumber = 4; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } - } - - /// Field number for the "prefix" field. - public const int PrefixFieldNumber = 5; - private string prefix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Prefix { - get { return prefix_; } - set { - prefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "suffix" field. - public const int SuffixFieldNumber = 6; - private string suffix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Suffix { - get { return suffix_; } - set { - suffix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fixFontFamily" field. - public const int FixFontFamilyFieldNumber = 7; - private global::Docframe.ProtoFont fixFontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FixFontFamily { - get { return fixFontFamily_; } - set { - fixFontFamily_ = value; - } - } - - /// Field number for the "fixBold" field. - public const int FixBoldFieldNumber = 8; - private bool fixBold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixBold { - get { return fixBold_; } - set { - fixBold_ = value; - } - } - - /// Field number for the "fixItalic" field. - public const int FixItalicFieldNumber = 9; - private bool fixItalic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixItalic { - get { return fixItalic_; } - set { - fixItalic_ = value; - } - } - - /// Field number for the "indentionWidth" field. - public const int IndentionWidthFieldNumber = 10; - private int indentionWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndentionWidth { - get { return indentionWidth_; } - set { - indentionWidth_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 11; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "imageName" field. - public const int ImageNameFieldNumber = 12; - private string imageName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ImageName { - get { return imageName_; } - set { - imageName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoImageListLevelSetting); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoImageListLevelSetting other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ListSettingName != other.ListSettingName) return false; - if (!object.Equals(FontSize, other.FontSize)) return false; - if (Type != other.Type) return false; - if (Level != other.Level) return false; - if (Prefix != other.Prefix) return false; - if (Suffix != other.Suffix) return false; - if (!object.Equals(FixFontFamily, other.FixFontFamily)) return false; - if (FixBold != other.FixBold) return false; - if (FixItalic != other.FixItalic) return false; - if (IndentionWidth != other.IndentionWidth) return false; - if (!object.Equals(Color, other.Color)) return false; - if (ImageName != other.ImageName) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (ListSettingName.Length != 0) hash ^= ListSettingName.GetHashCode(); - if (fontSize_ != null) hash ^= FontSize.GetHashCode(); - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) hash ^= Type.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - if (Prefix.Length != 0) hash ^= Prefix.GetHashCode(); - if (Suffix.Length != 0) hash ^= Suffix.GetHashCode(); - if (fixFontFamily_ != null) hash ^= FixFontFamily.GetHashCode(); - if (FixBold != false) hash ^= FixBold.GetHashCode(); - if (FixItalic != false) hash ^= FixItalic.GetHashCode(); - if (IndentionWidth != 0) hash ^= IndentionWidth.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (ImageName.Length != 0) hash ^= ImageName.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (ImageName.Length != 0) { - output.WriteRawTag(98); - output.WriteString(ImageName); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (ImageName.Length != 0) { - output.WriteRawTag(98); - output.WriteString(ImageName); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (ListSettingName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListSettingName); - } - if (fontSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (Prefix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Prefix); - } - if (Suffix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Suffix); - } - if (fixFontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FixFontFamily); - } - if (FixBold != false) { - size += 1 + 1; - } - if (FixItalic != false) { - size += 1 + 1; - } - if (IndentionWidth != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndentionWidth); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (ImageName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ImageName); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoImageListLevelSetting other) { - if (other == null) { - return; - } - if (other.ListSettingName.Length != 0) { - ListSettingName = other.ListSettingName; - } - if (other.fontSize_ != null) { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - FontSize.MergeFrom(other.FontSize); - } - if (other.Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - Type = other.Type; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.Prefix.Length != 0) { - Prefix = other.Prefix; - } - if (other.Suffix.Length != 0) { - Suffix = other.Suffix; - } - if (other.fixFontFamily_ != null) { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - FixFontFamily.MergeFrom(other.FixFontFamily); - } - if (other.FixBold != false) { - FixBold = other.FixBold; - } - if (other.FixItalic != false) { - FixItalic = other.FixItalic; - } - if (other.IndentionWidth != 0) { - IndentionWidth = other.IndentionWidth; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.ImageName.Length != 0) { - ImageName = other.ImageName; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - ImageName = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - ImageName = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTextListLevelSetting : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTextListLevelSetting()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[42]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTextListLevelSetting() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTextListLevelSetting(ProtoTextListLevelSetting other) : this() { - listSettingName_ = other.listSettingName_; - fontSize_ = other.fontSize_ != null ? other.fontSize_.Clone() : null; - type_ = other.type_; - level_ = other.level_; - prefix_ = other.prefix_; - suffix_ = other.suffix_; - fixFontFamily_ = other.fixFontFamily_ != null ? other.fixFontFamily_.Clone() : null; - fixBold_ = other.fixBold_; - fixItalic_ = other.fixItalic_; - indentionWidth_ = other.indentionWidth_; - color_ = other.color_ != null ? other.color_.Clone() : null; - fontFamily_ = other.fontFamily_ != null ? other.fontFamily_.Clone() : null; - bold_ = other.bold_ != null ? other.bold_.Clone() : null; - italic_ = other.italic_ != null ? other.italic_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTextListLevelSetting Clone() { - return new ProtoTextListLevelSetting(this); - } - - /// Field number for the "listSettingName" field. - public const int ListSettingNameFieldNumber = 1; - private string listSettingName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListSettingName { - get { return listSettingName_; } - set { - listSettingName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fontSize" field. - public const int FontSizeFieldNumber = 2; - private global::Docframe.ProtoBoxedUint32 fontSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 FontSize { - get { return fontSize_; } - set { - fontSize_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 3; - private global::Docframe.ProtoListLevelSettingType type_ = global::Docframe.ProtoListLevelSettingType.Unnumbered; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoListLevelSettingType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "level" field. - public const int LevelFieldNumber = 4; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } - } - - /// Field number for the "prefix" field. - public const int PrefixFieldNumber = 5; - private string prefix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Prefix { - get { return prefix_; } - set { - prefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "suffix" field. - public const int SuffixFieldNumber = 6; - private string suffix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Suffix { - get { return suffix_; } - set { - suffix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fixFontFamily" field. - public const int FixFontFamilyFieldNumber = 7; - private global::Docframe.ProtoFont fixFontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FixFontFamily { - get { return fixFontFamily_; } - set { - fixFontFamily_ = value; - } - } - - /// Field number for the "fixBold" field. - public const int FixBoldFieldNumber = 8; - private bool fixBold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixBold { - get { return fixBold_; } - set { - fixBold_ = value; - } - } - - /// Field number for the "fixItalic" field. - public const int FixItalicFieldNumber = 9; - private bool fixItalic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixItalic { - get { return fixItalic_; } - set { - fixItalic_ = value; - } - } - - /// Field number for the "indentionWidth" field. - public const int IndentionWidthFieldNumber = 10; - private int indentionWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndentionWidth { - get { return indentionWidth_; } - set { - indentionWidth_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 11; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "fontFamily" field. - public const int FontFamilyFieldNumber = 12; - private global::Docframe.ProtoFont fontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FontFamily { - get { return fontFamily_; } - set { - fontFamily_ = value; - } - } - - /// Field number for the "bold" field. - public const int BoldFieldNumber = 13; - private global::Docframe.ProtoBoxedBool bold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Bold { - get { return bold_; } - set { - bold_ = value; - } - } - - /// Field number for the "italic" field. - public const int ItalicFieldNumber = 14; - private global::Docframe.ProtoBoxedBool italic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Italic { - get { return italic_; } - set { - italic_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTextListLevelSetting); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTextListLevelSetting other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ListSettingName != other.ListSettingName) return false; - if (!object.Equals(FontSize, other.FontSize)) return false; - if (Type != other.Type) return false; - if (Level != other.Level) return false; - if (Prefix != other.Prefix) return false; - if (Suffix != other.Suffix) return false; - if (!object.Equals(FixFontFamily, other.FixFontFamily)) return false; - if (FixBold != other.FixBold) return false; - if (FixItalic != other.FixItalic) return false; - if (IndentionWidth != other.IndentionWidth) return false; - if (!object.Equals(Color, other.Color)) return false; - if (!object.Equals(FontFamily, other.FontFamily)) return false; - if (!object.Equals(Bold, other.Bold)) return false; - if (!object.Equals(Italic, other.Italic)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (ListSettingName.Length != 0) hash ^= ListSettingName.GetHashCode(); - if (fontSize_ != null) hash ^= FontSize.GetHashCode(); - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) hash ^= Type.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - if (Prefix.Length != 0) hash ^= Prefix.GetHashCode(); - if (Suffix.Length != 0) hash ^= Suffix.GetHashCode(); - if (fixFontFamily_ != null) hash ^= FixFontFamily.GetHashCode(); - if (FixBold != false) hash ^= FixBold.GetHashCode(); - if (FixItalic != false) hash ^= FixItalic.GetHashCode(); - if (IndentionWidth != 0) hash ^= IndentionWidth.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (fontFamily_ != null) hash ^= FontFamily.GetHashCode(); - if (bold_ != null) hash ^= Bold.GetHashCode(); - if (italic_ != null) hash ^= Italic.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (fontFamily_ != null) { - output.WriteRawTag(98); - output.WriteMessage(FontFamily); - } - if (bold_ != null) { - output.WriteRawTag(106); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(114); - output.WriteMessage(Italic); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (fontFamily_ != null) { - output.WriteRawTag(98); - output.WriteMessage(FontFamily); - } - if (bold_ != null) { - output.WriteRawTag(106); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(114); - output.WriteMessage(Italic); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (ListSettingName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListSettingName); - } - if (fontSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (Prefix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Prefix); - } - if (Suffix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Suffix); - } - if (fixFontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FixFontFamily); - } - if (FixBold != false) { - size += 1 + 1; - } - if (FixItalic != false) { - size += 1 + 1; - } - if (IndentionWidth != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndentionWidth); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (fontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontFamily); - } - if (bold_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bold); - } - if (italic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Italic); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTextListLevelSetting other) { - if (other == null) { - return; - } - if (other.ListSettingName.Length != 0) { - ListSettingName = other.ListSettingName; - } - if (other.fontSize_ != null) { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - FontSize.MergeFrom(other.FontSize); - } - if (other.Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - Type = other.Type; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.Prefix.Length != 0) { - Prefix = other.Prefix; - } - if (other.Suffix.Length != 0) { - Suffix = other.Suffix; - } - if (other.fixFontFamily_ != null) { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - FixFontFamily.MergeFrom(other.FixFontFamily); - } - if (other.FixBold != false) { - FixBold = other.FixBold; - } - if (other.FixItalic != false) { - FixItalic = other.FixItalic; - } - if (other.IndentionWidth != 0) { - IndentionWidth = other.IndentionWidth; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.fontFamily_ != null) { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - FontFamily.MergeFrom(other.FontFamily); - } - if (other.bold_ != null) { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - Bold.MergeFrom(other.Bold); - } - if (other.italic_ != null) { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - Italic.MergeFrom(other.Italic); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FontFamily); - break; - } - case 106: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 114: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FontFamily); - break; - } - case 106: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 114: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoNumberListLevelSetting : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoNumberListLevelSetting()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[43]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNumberListLevelSetting() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNumberListLevelSetting(ProtoNumberListLevelSetting other) : this() { - listSettingName_ = other.listSettingName_; - fontSize_ = other.fontSize_ != null ? other.fontSize_.Clone() : null; - type_ = other.type_; - level_ = other.level_; - prefix_ = other.prefix_; - suffix_ = other.suffix_; - fixFontFamily_ = other.fixFontFamily_ != null ? other.fixFontFamily_.Clone() : null; - fixBold_ = other.fixBold_; - fixItalic_ = other.fixItalic_; - indentionWidth_ = other.indentionWidth_; - color_ = other.color_ != null ? other.color_.Clone() : null; - fontFamily_ = other.fontFamily_ != null ? other.fontFamily_.Clone() : null; - bold_ = other.bold_ != null ? other.bold_.Clone() : null; - italic_ = other.italic_ != null ? other.italic_.Clone() : null; - numberType_ = other.numberType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNumberListLevelSetting Clone() { - return new ProtoNumberListLevelSetting(this); - } - - /// Field number for the "listSettingName" field. - public const int ListSettingNameFieldNumber = 1; - private string listSettingName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListSettingName { - get { return listSettingName_; } - set { - listSettingName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fontSize" field. - public const int FontSizeFieldNumber = 2; - private global::Docframe.ProtoBoxedUint32 fontSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 FontSize { - get { return fontSize_; } - set { - fontSize_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 3; - private global::Docframe.ProtoListLevelSettingType type_ = global::Docframe.ProtoListLevelSettingType.Unnumbered; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoListLevelSettingType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "level" field. - public const int LevelFieldNumber = 4; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } - } - - /// Field number for the "prefix" field. - public const int PrefixFieldNumber = 5; - private string prefix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Prefix { - get { return prefix_; } - set { - prefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "suffix" field. - public const int SuffixFieldNumber = 6; - private string suffix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Suffix { - get { return suffix_; } - set { - suffix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fixFontFamily" field. - public const int FixFontFamilyFieldNumber = 7; - private global::Docframe.ProtoFont fixFontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FixFontFamily { - get { return fixFontFamily_; } - set { - fixFontFamily_ = value; - } - } - - /// Field number for the "fixBold" field. - public const int FixBoldFieldNumber = 8; - private bool fixBold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixBold { - get { return fixBold_; } - set { - fixBold_ = value; - } - } - - /// Field number for the "fixItalic" field. - public const int FixItalicFieldNumber = 9; - private bool fixItalic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixItalic { - get { return fixItalic_; } - set { - fixItalic_ = value; - } - } - - /// Field number for the "indentionWidth" field. - public const int IndentionWidthFieldNumber = 10; - private int indentionWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndentionWidth { - get { return indentionWidth_; } - set { - indentionWidth_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 11; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "fontFamily" field. - public const int FontFamilyFieldNumber = 12; - private global::Docframe.ProtoFont fontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FontFamily { - get { return fontFamily_; } - set { - fontFamily_ = value; - } - } - - /// Field number for the "bold" field. - public const int BoldFieldNumber = 13; - private global::Docframe.ProtoBoxedBool bold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Bold { - get { return bold_; } - set { - bold_ = value; - } - } - - /// Field number for the "italic" field. - public const int ItalicFieldNumber = 14; - private global::Docframe.ProtoBoxedBool italic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Italic { - get { return italic_; } - set { - italic_ = value; - } - } - - /// Field number for the "numberType" field. - public const int NumberTypeFieldNumber = 15; - private global::Docframe.ProtoNumberType numberType_ = global::Docframe.ProtoNumberType.Arabic; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoNumberType NumberType { - get { return numberType_; } - set { - numberType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoNumberListLevelSetting); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoNumberListLevelSetting other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ListSettingName != other.ListSettingName) return false; - if (!object.Equals(FontSize, other.FontSize)) return false; - if (Type != other.Type) return false; - if (Level != other.Level) return false; - if (Prefix != other.Prefix) return false; - if (Suffix != other.Suffix) return false; - if (!object.Equals(FixFontFamily, other.FixFontFamily)) return false; - if (FixBold != other.FixBold) return false; - if (FixItalic != other.FixItalic) return false; - if (IndentionWidth != other.IndentionWidth) return false; - if (!object.Equals(Color, other.Color)) return false; - if (!object.Equals(FontFamily, other.FontFamily)) return false; - if (!object.Equals(Bold, other.Bold)) return false; - if (!object.Equals(Italic, other.Italic)) return false; - if (NumberType != other.NumberType) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (ListSettingName.Length != 0) hash ^= ListSettingName.GetHashCode(); - if (fontSize_ != null) hash ^= FontSize.GetHashCode(); - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) hash ^= Type.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - if (Prefix.Length != 0) hash ^= Prefix.GetHashCode(); - if (Suffix.Length != 0) hash ^= Suffix.GetHashCode(); - if (fixFontFamily_ != null) hash ^= FixFontFamily.GetHashCode(); - if (FixBold != false) hash ^= FixBold.GetHashCode(); - if (FixItalic != false) hash ^= FixItalic.GetHashCode(); - if (IndentionWidth != 0) hash ^= IndentionWidth.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (fontFamily_ != null) hash ^= FontFamily.GetHashCode(); - if (bold_ != null) hash ^= Bold.GetHashCode(); - if (italic_ != null) hash ^= Italic.GetHashCode(); - if (NumberType != global::Docframe.ProtoNumberType.Arabic) hash ^= NumberType.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (fontFamily_ != null) { - output.WriteRawTag(98); - output.WriteMessage(FontFamily); - } - if (bold_ != null) { - output.WriteRawTag(106); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(114); - output.WriteMessage(Italic); - } - if (NumberType != global::Docframe.ProtoNumberType.Arabic) { - output.WriteRawTag(120); - output.WriteEnum((int) NumberType); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (fontFamily_ != null) { - output.WriteRawTag(98); - output.WriteMessage(FontFamily); - } - if (bold_ != null) { - output.WriteRawTag(106); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(114); - output.WriteMessage(Italic); - } - if (NumberType != global::Docframe.ProtoNumberType.Arabic) { - output.WriteRawTag(120); - output.WriteEnum((int) NumberType); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (ListSettingName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListSettingName); - } - if (fontSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (Prefix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Prefix); - } - if (Suffix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Suffix); - } - if (fixFontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FixFontFamily); - } - if (FixBold != false) { - size += 1 + 1; - } - if (FixItalic != false) { - size += 1 + 1; - } - if (IndentionWidth != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndentionWidth); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (fontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontFamily); - } - if (bold_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bold); - } - if (italic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Italic); - } - if (NumberType != global::Docframe.ProtoNumberType.Arabic) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NumberType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoNumberListLevelSetting other) { - if (other == null) { - return; - } - if (other.ListSettingName.Length != 0) { - ListSettingName = other.ListSettingName; - } - if (other.fontSize_ != null) { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - FontSize.MergeFrom(other.FontSize); - } - if (other.Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - Type = other.Type; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.Prefix.Length != 0) { - Prefix = other.Prefix; - } - if (other.Suffix.Length != 0) { - Suffix = other.Suffix; - } - if (other.fixFontFamily_ != null) { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - FixFontFamily.MergeFrom(other.FixFontFamily); - } - if (other.FixBold != false) { - FixBold = other.FixBold; - } - if (other.FixItalic != false) { - FixItalic = other.FixItalic; - } - if (other.IndentionWidth != 0) { - IndentionWidth = other.IndentionWidth; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.fontFamily_ != null) { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - FontFamily.MergeFrom(other.FontFamily); - } - if (other.bold_ != null) { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - Bold.MergeFrom(other.Bold); - } - if (other.italic_ != null) { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - Italic.MergeFrom(other.Italic); - } - if (other.NumberType != global::Docframe.ProtoNumberType.Arabic) { - NumberType = other.NumberType; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FontFamily); - break; - } - case 106: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 114: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 120: { - NumberType = (global::Docframe.ProtoNumberType) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FontFamily); - break; - } - case 106: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 114: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 120: { - NumberType = (global::Docframe.ProtoNumberType) input.ReadEnum(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoUnnumberedListLevelSetting : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoUnnumberedListLevelSetting()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[44]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUnnumberedListLevelSetting() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUnnumberedListLevelSetting(ProtoUnnumberedListLevelSetting other) : this() { - listSettingName_ = other.listSettingName_; - fontSize_ = other.fontSize_ != null ? other.fontSize_.Clone() : null; - type_ = other.type_; - level_ = other.level_; - prefix_ = other.prefix_; - suffix_ = other.suffix_; - fixFontFamily_ = other.fixFontFamily_ != null ? other.fixFontFamily_.Clone() : null; - fixBold_ = other.fixBold_; - fixItalic_ = other.fixItalic_; - indentionWidth_ = other.indentionWidth_; - color_ = other.color_ != null ? other.color_.Clone() : null; - fontFamily_ = other.fontFamily_ != null ? other.fontFamily_.Clone() : null; - bold_ = other.bold_ != null ? other.bold_.Clone() : null; - italic_ = other.italic_ != null ? other.italic_.Clone() : null; - character_ = other.character_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUnnumberedListLevelSetting Clone() { - return new ProtoUnnumberedListLevelSetting(this); - } - - /// Field number for the "listSettingName" field. - public const int ListSettingNameFieldNumber = 1; - private string listSettingName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListSettingName { - get { return listSettingName_; } - set { - listSettingName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fontSize" field. - public const int FontSizeFieldNumber = 2; - private global::Docframe.ProtoBoxedUint32 fontSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 FontSize { - get { return fontSize_; } - set { - fontSize_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 3; - private global::Docframe.ProtoListLevelSettingType type_ = global::Docframe.ProtoListLevelSettingType.Unnumbered; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoListLevelSettingType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "level" field. - public const int LevelFieldNumber = 4; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } - } - - /// Field number for the "prefix" field. - public const int PrefixFieldNumber = 5; - private string prefix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Prefix { - get { return prefix_; } - set { - prefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "suffix" field. - public const int SuffixFieldNumber = 6; - private string suffix_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Suffix { - get { return suffix_; } - set { - suffix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fixFontFamily" field. - public const int FixFontFamilyFieldNumber = 7; - private global::Docframe.ProtoFont fixFontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FixFontFamily { - get { return fixFontFamily_; } - set { - fixFontFamily_ = value; - } - } - - /// Field number for the "fixBold" field. - public const int FixBoldFieldNumber = 8; - private bool fixBold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixBold { - get { return fixBold_; } - set { - fixBold_ = value; - } - } - - /// Field number for the "fixItalic" field. - public const int FixItalicFieldNumber = 9; - private bool fixItalic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixItalic { - get { return fixItalic_; } - set { - fixItalic_ = value; - } - } - - /// Field number for the "indentionWidth" field. - public const int IndentionWidthFieldNumber = 10; - private int indentionWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndentionWidth { - get { return indentionWidth_; } - set { - indentionWidth_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 11; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "fontFamily" field. - public const int FontFamilyFieldNumber = 12; - private global::Docframe.ProtoFont fontFamily_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFont FontFamily { - get { return fontFamily_; } - set { - fontFamily_ = value; - } - } - - /// Field number for the "bold" field. - public const int BoldFieldNumber = 13; - private global::Docframe.ProtoBoxedBool bold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Bold { - get { return bold_; } - set { - bold_ = value; - } - } - - /// Field number for the "italic" field. - public const int ItalicFieldNumber = 14; - private global::Docframe.ProtoBoxedBool italic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Italic { - get { return italic_; } - set { - italic_ = value; - } - } - - /// Field number for the "character" field. - public const int CharacterFieldNumber = 15; - private string character_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Character { - get { return character_; } - set { - character_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoUnnumberedListLevelSetting); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoUnnumberedListLevelSetting other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ListSettingName != other.ListSettingName) return false; - if (!object.Equals(FontSize, other.FontSize)) return false; - if (Type != other.Type) return false; - if (Level != other.Level) return false; - if (Prefix != other.Prefix) return false; - if (Suffix != other.Suffix) return false; - if (!object.Equals(FixFontFamily, other.FixFontFamily)) return false; - if (FixBold != other.FixBold) return false; - if (FixItalic != other.FixItalic) return false; - if (IndentionWidth != other.IndentionWidth) return false; - if (!object.Equals(Color, other.Color)) return false; - if (!object.Equals(FontFamily, other.FontFamily)) return false; - if (!object.Equals(Bold, other.Bold)) return false; - if (!object.Equals(Italic, other.Italic)) return false; - if (Character != other.Character) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (ListSettingName.Length != 0) hash ^= ListSettingName.GetHashCode(); - if (fontSize_ != null) hash ^= FontSize.GetHashCode(); - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) hash ^= Type.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - if (Prefix.Length != 0) hash ^= Prefix.GetHashCode(); - if (Suffix.Length != 0) hash ^= Suffix.GetHashCode(); - if (fixFontFamily_ != null) hash ^= FixFontFamily.GetHashCode(); - if (FixBold != false) hash ^= FixBold.GetHashCode(); - if (FixItalic != false) hash ^= FixItalic.GetHashCode(); - if (IndentionWidth != 0) hash ^= IndentionWidth.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (fontFamily_ != null) hash ^= FontFamily.GetHashCode(); - if (bold_ != null) hash ^= Bold.GetHashCode(); - if (italic_ != null) hash ^= Italic.GetHashCode(); - if (Character.Length != 0) hash ^= Character.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (fontFamily_ != null) { - output.WriteRawTag(98); - output.WriteMessage(FontFamily); - } - if (bold_ != null) { - output.WriteRawTag(106); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(114); - output.WriteMessage(Italic); - } - if (Character.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Character); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ListSettingName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ListSettingName); - } - if (fontSize_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - output.WriteRawTag(24); - output.WriteEnum((int) Type); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Prefix.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Prefix); - } - if (Suffix.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Suffix); - } - if (fixFontFamily_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FixFontFamily); - } - if (FixBold != false) { - output.WriteRawTag(64); - output.WriteBool(FixBold); - } - if (FixItalic != false) { - output.WriteRawTag(72); - output.WriteBool(FixItalic); - } - if (IndentionWidth != 0) { - output.WriteRawTag(80); - output.WriteInt32(IndentionWidth); - } - if (color_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Color); - } - if (fontFamily_ != null) { - output.WriteRawTag(98); - output.WriteMessage(FontFamily); - } - if (bold_ != null) { - output.WriteRawTag(106); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(114); - output.WriteMessage(Italic); - } - if (Character.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Character); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (ListSettingName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListSettingName); - } - if (fontSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontSize); - } - if (Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (Prefix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Prefix); - } - if (Suffix.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Suffix); - } - if (fixFontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FixFontFamily); - } - if (FixBold != false) { - size += 1 + 1; - } - if (FixItalic != false) { - size += 1 + 1; - } - if (IndentionWidth != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndentionWidth); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (fontFamily_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontFamily); - } - if (bold_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bold); - } - if (italic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Italic); - } - if (Character.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Character); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoUnnumberedListLevelSetting other) { - if (other == null) { - return; - } - if (other.ListSettingName.Length != 0) { - ListSettingName = other.ListSettingName; - } - if (other.fontSize_ != null) { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - FontSize.MergeFrom(other.FontSize); - } - if (other.Type != global::Docframe.ProtoListLevelSettingType.Unnumbered) { - Type = other.Type; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.Prefix.Length != 0) { - Prefix = other.Prefix; - } - if (other.Suffix.Length != 0) { - Suffix = other.Suffix; - } - if (other.fixFontFamily_ != null) { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - FixFontFamily.MergeFrom(other.FixFontFamily); - } - if (other.FixBold != false) { - FixBold = other.FixBold; - } - if (other.FixItalic != false) { - FixItalic = other.FixItalic; - } - if (other.IndentionWidth != 0) { - IndentionWidth = other.IndentionWidth; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.fontFamily_ != null) { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - FontFamily.MergeFrom(other.FontFamily); - } - if (other.bold_ != null) { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - Bold.MergeFrom(other.Bold); - } - if (other.italic_ != null) { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - Italic.MergeFrom(other.Italic); - } - if (other.Character.Length != 0) { - Character = other.Character; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FontFamily); - break; - } - case 106: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 114: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 122: { - Character = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - ListSettingName = input.ReadString(); - break; - } - case 18: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(FontSize); - break; - } - case 24: { - Type = (global::Docframe.ProtoListLevelSettingType) input.ReadEnum(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 42: { - Prefix = input.ReadString(); - break; - } - case 50: { - Suffix = input.ReadString(); - break; - } - case 58: { - if (fixFontFamily_ == null) { - FixFontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FixFontFamily); - break; - } - case 64: { - FixBold = input.ReadBool(); - break; - } - case 72: { - FixItalic = input.ReadBool(); - break; - } - case 80: { - IndentionWidth = input.ReadInt32(); - break; - } - case 90: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 98: { - if (fontFamily_ == null) { - FontFamily = new global::Docframe.ProtoFont(); - } - input.ReadMessage(FontFamily); - break; - } - case 106: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 114: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 122: { - Character = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoListSetting : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoListSetting()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[45]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoListSetting() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoListSetting(ProtoListSetting other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - name_ = other.name_; - listLevelSettings_ = other.listLevelSettings_.Clone(); - defaultListLevelSetting_ = other.defaultListLevelSetting_ != null ? other.defaultListLevelSetting_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoListSetting Clone() { - return new ProtoListSetting(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "listLevelSettings" field. - public const int ListLevelSettingsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_listLevelSettings_codec - = pb::FieldCodec.ForMessage(26, global::Docframe.ProtoListLevelSetting.Parser); - private readonly pbc::RepeatedField listLevelSettings_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ListLevelSettings { - get { return listLevelSettings_; } - } - - /// Field number for the "defaultListLevelSetting" field. - public const int DefaultListLevelSettingFieldNumber = 4; - private global::Docframe.ProtoListLevelSetting defaultListLevelSetting_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoListLevelSetting DefaultListLevelSetting { - get { return defaultListLevelSetting_; } - set { - defaultListLevelSetting_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoListSetting); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoListSetting other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Name != other.Name) return false; - if(!listLevelSettings_.Equals(other.listLevelSettings_)) return false; - if (!object.Equals(DefaultListLevelSetting, other.DefaultListLevelSetting)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - hash ^= listLevelSettings_.GetHashCode(); - if (defaultListLevelSetting_ != null) hash ^= DefaultListLevelSetting.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - listLevelSettings_.WriteTo(output, _repeated_listLevelSettings_codec); - if (defaultListLevelSetting_ != null) { - output.WriteRawTag(34); - output.WriteMessage(DefaultListLevelSetting); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - listLevelSettings_.WriteTo(ref output, _repeated_listLevelSettings_codec); - if (defaultListLevelSetting_ != null) { - output.WriteRawTag(34); - output.WriteMessage(DefaultListLevelSetting); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - size += listLevelSettings_.CalculateSize(_repeated_listLevelSettings_codec); - if (defaultListLevelSetting_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(DefaultListLevelSetting); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoListSetting other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Name.Length != 0) { - Name = other.Name; - } - listLevelSettings_.Add(other.listLevelSettings_); - if (other.defaultListLevelSetting_ != null) { - if (defaultListLevelSetting_ == null) { - DefaultListLevelSetting = new global::Docframe.ProtoListLevelSetting(); - } - DefaultListLevelSetting.MergeFrom(other.DefaultListLevelSetting); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - listLevelSettings_.AddEntriesFrom(input, _repeated_listLevelSettings_codec); - break; - } - case 34: { - if (defaultListLevelSetting_ == null) { - DefaultListLevelSetting = new global::Docframe.ProtoListLevelSetting(); - } - input.ReadMessage(DefaultListLevelSetting); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - listLevelSettings_.AddEntriesFrom(ref input, _repeated_listLevelSettings_codec); - break; - } - case 34: { - if (defaultListLevelSetting_ == null) { - DefaultListLevelSetting = new global::Docframe.ProtoListLevelSetting(); - } - input.ReadMessage(DefaultListLevelSetting); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedListSetting : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedListSetting()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[46]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedListSetting() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedListSetting(ProtoBoxedListSetting other) : this() { - value_ = other.value_ != null ? other.value_.Clone() : null; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedListSetting Clone() { - return new ProtoBoxedListSetting(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoListSetting value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoListSetting Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedListSetting); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedListSetting other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Value, other.Value)) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (value_ != null) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (value_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedListSetting other) { - if (other == null) { - return; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Docframe.ProtoListSetting(); - } - Value.MergeFrom(other.Value); - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoListSetting(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (value_ == null) { - Value = new global::Docframe.ProtoListSetting(); - } - input.ReadMessage(Value); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoNamedString : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoNamedString()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[47]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNamedString() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNamedString(ProtoNamedString other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - name_ = other.name_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - description_ = other.description_; - nameCode_ = other.nameCode_; - codeMode_ = other.codeMode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNamedString Clone() { - return new ProtoNamedString(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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"); - } - } - - /// Field number for the "description" field. - public const int DescriptionFieldNumber = 6; - private string description_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Description { - get { return description_; } - set { - description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "nameCode" field. - public const int NameCodeFieldNumber = 7; - private string nameCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NameCode { - get { return nameCode_; } - set { - nameCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "codeMode" field. - public const int CodeModeFieldNumber = 8; - private bool codeMode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool CodeMode { - get { return codeMode_; } - set { - codeMode_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoNamedString); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoNamedString other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - 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; - if (Description != other.Description) return false; - if (NameCode != other.NameCode) return false; - if (CodeMode != other.CodeMode) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.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 (Description.Length != 0) hash ^= Description.GetHashCode(); - if (NameCode.Length != 0) hash ^= NameCode.GetHashCode(); - if (CodeMode != false) hash ^= CodeMode.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - if (Description.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Description); - } - if (NameCode.Length != 0) { - output.WriteRawTag(58); - output.WriteString(NameCode); - } - if (CodeMode != false) { - output.WriteRawTag(64); - output.WriteBool(CodeMode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - if (Description.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Description); - } - if (NameCode.Length != 0) { - output.WriteRawTag(58); - output.WriteString(NameCode); - } - if (CodeMode != false) { - output.WriteRawTag(64); - output.WriteBool(CodeMode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (Description.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); - } - if (NameCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NameCode); - } - if (CodeMode != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoNamedString other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Name.Length != 0) { - Name = other.Name; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.Description.Length != 0) { - Description = other.Description; - } - if (other.NameCode.Length != 0) { - NameCode = other.NameCode; - } - if (other.CodeMode != false) { - CodeMode = other.CodeMode; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 50: { - Description = input.ReadString(); - break; - } - case 58: { - NameCode = input.ReadString(); - break; - } - case 64: { - CodeMode = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 50: { - Description = input.ReadString(); - break; - } - case 58: { - NameCode = input.ReadString(); - break; - } - case 64: { - CodeMode = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoParagraph : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoParagraph()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[48]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraph() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraph(ProtoParagraph other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - format_ = other.format_ != null ? other.format_.Clone() : null; - overwrite_ = other.overwrite_ != null ? other.overwrite_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - paragraphFormatUUID_ = other.paragraphFormatUUID_; - uuid_ = other.uuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraph Clone() { - return new ProtoParagraph(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "format" field. - public const int FormatFieldNumber = 3; - private global::Docframe.ProtoParagraphFormat format_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoParagraphFormat Format { - get { return format_; } - set { - format_ = value; - } - } - - /// Field number for the "overwrite" field. - public const int OverwriteFieldNumber = 4; - private global::Docframe.ProtoParagraphFormat overwrite_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoParagraphFormat Overwrite { - get { return overwrite_; } - set { - overwrite_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "paragraphFormatUUID" field. - public const int ParagraphFormatUUIDFieldNumber = 6; - private string paragraphFormatUUID_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParagraphFormatUUID { - get { return paragraphFormatUUID_; } - set { - paragraphFormatUUID_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// 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) { - return Equals(other as ProtoParagraph); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoParagraph other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Format, other.Format)) return false; - if (!object.Equals(Overwrite, other.Overwrite)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (ParagraphFormatUUID != other.ParagraphFormatUUID) return false; - if (Uuid != other.Uuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (format_ != null) hash ^= Format.GetHashCode(); - if (overwrite_ != null) hash ^= Overwrite.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (ParagraphFormatUUID.Length != 0) hash ^= ParagraphFormatUUID.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (format_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Format); - } - if (overwrite_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Overwrite); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (ParagraphFormatUUID.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ParagraphFormatUUID); - } - if (Uuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (format_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Format); - } - if (overwrite_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Overwrite); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (ParagraphFormatUUID.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ParagraphFormatUUID); - } - if (Uuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (format_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Format); - } - if (overwrite_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Overwrite); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (ParagraphFormatUUID.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParagraphFormatUUID); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoParagraph other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.format_ != null) { - if (format_ == null) { - Format = new global::Docframe.ProtoParagraphFormat(); - } - Format.MergeFrom(other.Format); - } - if (other.overwrite_ != null) { - if (overwrite_ == null) { - Overwrite = new global::Docframe.ProtoParagraphFormat(); - } - Overwrite.MergeFrom(other.Overwrite); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.ParagraphFormatUUID.Length != 0) { - ParagraphFormatUUID = other.ParagraphFormatUUID; - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (format_ == null) { - Format = new global::Docframe.ProtoParagraphFormat(); - } - input.ReadMessage(Format); - break; - } - case 34: { - if (overwrite_ == null) { - Overwrite = new global::Docframe.ProtoParagraphFormat(); - } - input.ReadMessage(Overwrite); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 50: { - ParagraphFormatUUID = input.ReadString(); - break; - } - case 58: { - Uuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (format_ == null) { - Format = new global::Docframe.ProtoParagraphFormat(); - } - input.ReadMessage(Format); - break; - } - case 34: { - if (overwrite_ == null) { - Overwrite = new global::Docframe.ProtoParagraphFormat(); - } - input.ReadMessage(Overwrite); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 50: { - ParagraphFormatUUID = input.ReadString(); - break; - } - case 58: { - Uuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoParagraphFormat : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoParagraphFormat()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[49]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraphFormat() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraphFormat(ProtoParagraphFormat other) : this() { - baseFormat_ = other.baseFormat_ != null ? other.baseFormat_.Clone() : null; - name_ = other.name_ != null ? other.name_.Clone() : null; - default_ = other.default_ != null ? other.default_.Clone() : null; - font_ = other.font_ != null ? other.font_.Clone() : null; - bold_ = other.bold_ != null ? other.bold_.Clone() : null; - italic_ = other.italic_ != null ? other.italic_.Clone() : null; - fontColor_ = other.fontColor_ != null ? other.fontColor_.Clone() : null; - underline_ = other.underline_ != null ? other.underline_.Clone() : null; - fontSize_ = other.fontSize_ != null ? other.fontSize_.Clone() : null; - characterWidth_ = other.characterWidth_ != null ? other.characterWidth_.Clone() : null; - characterSpacing_ = other.characterSpacing_ != null ? other.characterSpacing_.Clone() : null; - lineFeed_ = other.lineFeed_ != null ? other.lineFeed_.Clone() : null; - alignment_ = other.alignment_ != null ? other.alignment_.Clone() : null; - indentionWidth_ = other.indentionWidth_ != null ? other.indentionWidth_.Clone() : null; - indentionLevel_ = other.indentionLevel_ != null ? other.indentionLevel_.Clone() : null; - spaceAbove_ = other.spaceAbove_ != null ? other.spaceAbove_.Clone() : null; - spaceBelow_ = other.spaceBelow_ != null ? other.spaceBelow_.Clone() : null; - widowSetting_ = other.widowSetting_ != null ? other.widowSetting_.Clone() : null; - orphanSetting_ = other.orphanSetting_ != null ? other.orphanSetting_.Clone() : null; - widowPriority_ = other.widowPriority_ != null ? other.widowPriority_.Clone() : null; - strikethrough_ = other.strikethrough_ != null ? other.strikethrough_.Clone() : null; - superscriptSubscript_ = other.superscriptSubscript_ != null ? other.superscriptSubscript_.Clone() : null; - backgroundColor_ = other.backgroundColor_ != null ? other.backgroundColor_.Clone() : null; - listSetting_ = other.listSetting_ != null ? other.listSetting_.Clone() : null; - hyphenation_ = other.hyphenation_ != null ? other.hyphenation_.Clone() : null; - preNamedString_ = other.preNamedString_ != null ? other.preNamedString_.Clone() : null; - postNamedString_ = other.postNamedString_ != null ? other.postNamedString_.Clone() : null; - semanticType_ = other.semanticType_ != null ? other.semanticType_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraphFormat Clone() { - return new ProtoParagraphFormat(this); - } - - /// Field number for the "baseFormat" field. - public const int BaseFormatFieldNumber = 1; - private global::Docframe.ProtoParagraphFormat baseFormat_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoParagraphFormat BaseFormat { - get { return baseFormat_; } - set { - baseFormat_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private global::Docframe.ProtoBoxedString name_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString Name { - get { return name_; } - set { - name_ = value; - } - } - - /// Field number for the "default" field. - public const int DefaultFieldNumber = 3; - private global::Docframe.ProtoBoxedBool default_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Default { - get { return default_; } - set { - default_ = value; - } - } - - /// Field number for the "font" field. - public const int FontFieldNumber = 4; - private global::Docframe.ProtoBoxedFont font_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedFont Font { - get { return font_; } - set { - font_ = value; - } - } - - /// Field number for the "bold" field. - public const int BoldFieldNumber = 5; - private global::Docframe.ProtoBoxedBool bold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Bold { - get { return bold_; } - set { - bold_ = value; - } - } - - /// Field number for the "italic" field. - public const int ItalicFieldNumber = 6; - private global::Docframe.ProtoBoxedBool italic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Italic { - get { return italic_; } - set { - italic_ = value; - } - } - - /// Field number for the "fontColor" field. - public const int FontColorFieldNumber = 7; - private global::Docframe.ProtoBoxedColor fontColor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedColor FontColor { - get { return fontColor_; } - set { - fontColor_ = value; - } - } - - /// Field number for the "underline" field. - public const int UnderlineFieldNumber = 8; - private global::Docframe.ProtoBoxedUnderlineSpec underline_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUnderlineSpec Underline { - get { return underline_; } - set { - underline_ = value; - } - } - - /// Field number for the "fontSize" field. - public const int FontSizeFieldNumber = 9; - private global::Docframe.ProtoBoxedMeasure fontSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure FontSize { - get { return fontSize_; } - set { - fontSize_ = value; - } - } - - /// Field number for the "characterWidth" field. - public const int CharacterWidthFieldNumber = 10; - private global::Docframe.ProtoBoxedMeasure characterWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure CharacterWidth { - get { return characterWidth_; } - set { - characterWidth_ = value; - } - } - - /// Field number for the "characterSpacing" field. - public const int CharacterSpacingFieldNumber = 11; - private global::Docframe.ProtoBoxedMeasure characterSpacing_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure CharacterSpacing { - get { return characterSpacing_; } - set { - characterSpacing_ = value; - } - } - - /// Field number for the "lineFeed" field. - public const int LineFeedFieldNumber = 12; - private global::Docframe.ProtoBoxedMeasure lineFeed_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure LineFeed { - get { return lineFeed_; } - set { - lineFeed_ = value; - } - } - - /// Field number for the "alignment" field. - public const int AlignmentFieldNumber = 13; - private global::Docframe.ProtoBoxedHorizontalAlignment alignment_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedHorizontalAlignment Alignment { - get { return alignment_; } - set { - alignment_ = value; - } - } - - /// Field number for the "indentionWidth" field. - public const int IndentionWidthFieldNumber = 14; - private global::Docframe.ProtoBoxedMeasure indentionWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure IndentionWidth { - get { return indentionWidth_; } - set { - indentionWidth_ = value; - } - } - - /// Field number for the "indentionLevel" field. - public const int IndentionLevelFieldNumber = 15; - private global::Docframe.ProtoBoxedInt32 indentionLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedInt32 IndentionLevel { - get { return indentionLevel_; } - set { - indentionLevel_ = value; - } - } - - /// Field number for the "spaceAbove" field. - public const int SpaceAboveFieldNumber = 16; - private global::Docframe.ProtoBoxedMeasure spaceAbove_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure SpaceAbove { - get { return spaceAbove_; } - set { - spaceAbove_ = value; - } - } - - /// Field number for the "spaceBelow" field. - public const int SpaceBelowFieldNumber = 17; - private global::Docframe.ProtoBoxedMeasure spaceBelow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure SpaceBelow { - get { return spaceBelow_; } - set { - spaceBelow_ = value; - } - } - - /// Field number for the "widowSetting" field. - public const int WidowSettingFieldNumber = 18; - private global::Docframe.ProtoBoxedInt32 widowSetting_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedInt32 WidowSetting { - get { return widowSetting_; } - set { - widowSetting_ = value; - } - } - - /// Field number for the "orphanSetting" field. - public const int OrphanSettingFieldNumber = 19; - private global::Docframe.ProtoBoxedInt32 orphanSetting_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedInt32 OrphanSetting { - get { return orphanSetting_; } - set { - orphanSetting_ = value; - } - } - - /// Field number for the "widowPriority" field. - public const int WidowPriorityFieldNumber = 20; - private global::Docframe.ProtoBoxedInt32 widowPriority_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedInt32 WidowPriority { - get { return widowPriority_; } - set { - widowPriority_ = value; - } - } - - /// Field number for the "strikethrough" field. - public const int StrikethroughFieldNumber = 21; - private global::Docframe.ProtoBoxedStrikethroughSpec strikethrough_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedStrikethroughSpec Strikethrough { - get { return strikethrough_; } - set { - strikethrough_ = value; - } - } - - /// Field number for the "superscriptSubscript" field. - public const int SuperscriptSubscriptFieldNumber = 22; - private global::Docframe.ProtoBoxedSPBMode superscriptSubscript_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedSPBMode SuperscriptSubscript { - get { return superscriptSubscript_; } - set { - superscriptSubscript_ = value; - } - } - - /// Field number for the "backgroundColor" field. - public const int BackgroundColorFieldNumber = 23; - private global::Docframe.ProtoBoxedColor backgroundColor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedColor BackgroundColor { - get { return backgroundColor_; } - set { - backgroundColor_ = value; - } - } - - /// Field number for the "listSetting" field. - public const int ListSettingFieldNumber = 24; - private global::Docframe.ProtoBoxedListSetting listSetting_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedListSetting ListSetting { - get { return listSetting_; } - set { - listSetting_ = value; - } - } - - /// Field number for the "hyphenation" field. - public const int HyphenationFieldNumber = 25; - private global::Docframe.ProtoBoxedBool hyphenation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Hyphenation { - get { return hyphenation_; } - set { - hyphenation_ = value; - } - } - - /// Field number for the "preNamedString" field. - public const int PreNamedStringFieldNumber = 26; - private global::Docframe.ProtoBoxedString preNamedString_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString PreNamedString { - get { return preNamedString_; } - set { - preNamedString_ = value; - } - } - - /// Field number for the "postNamedString" field. - public const int PostNamedStringFieldNumber = 27; - private global::Docframe.ProtoBoxedString postNamedString_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString PostNamedString { - get { return postNamedString_; } - set { - postNamedString_ = value; - } - } - - /// Field number for the "semanticType" field. - public const int SemanticTypeFieldNumber = 28; - private global::Docframe.ProtoBoxedString semanticType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString SemanticType { - get { return semanticType_; } - set { - semanticType_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 29; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(234); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoParagraphFormat); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoParagraphFormat other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(BaseFormat, other.BaseFormat)) return false; - if (!object.Equals(Name, other.Name)) return false; - if (!object.Equals(Default, other.Default)) return false; - if (!object.Equals(Font, other.Font)) return false; - if (!object.Equals(Bold, other.Bold)) return false; - if (!object.Equals(Italic, other.Italic)) return false; - if (!object.Equals(FontColor, other.FontColor)) return false; - if (!object.Equals(Underline, other.Underline)) return false; - if (!object.Equals(FontSize, other.FontSize)) return false; - if (!object.Equals(CharacterWidth, other.CharacterWidth)) return false; - if (!object.Equals(CharacterSpacing, other.CharacterSpacing)) return false; - if (!object.Equals(LineFeed, other.LineFeed)) return false; - if (!object.Equals(Alignment, other.Alignment)) return false; - if (!object.Equals(IndentionWidth, other.IndentionWidth)) return false; - if (!object.Equals(IndentionLevel, other.IndentionLevel)) return false; - if (!object.Equals(SpaceAbove, other.SpaceAbove)) return false; - if (!object.Equals(SpaceBelow, other.SpaceBelow)) return false; - if (!object.Equals(WidowSetting, other.WidowSetting)) return false; - if (!object.Equals(OrphanSetting, other.OrphanSetting)) return false; - if (!object.Equals(WidowPriority, other.WidowPriority)) return false; - if (!object.Equals(Strikethrough, other.Strikethrough)) return false; - if (!object.Equals(SuperscriptSubscript, other.SuperscriptSubscript)) return false; - if (!object.Equals(BackgroundColor, other.BackgroundColor)) return false; - if (!object.Equals(ListSetting, other.ListSetting)) return false; - if (!object.Equals(Hyphenation, other.Hyphenation)) return false; - if (!object.Equals(PreNamedString, other.PreNamedString)) return false; - if (!object.Equals(PostNamedString, other.PostNamedString)) return false; - if (!object.Equals(SemanticType, other.SemanticType)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (baseFormat_ != null) hash ^= BaseFormat.GetHashCode(); - if (name_ != null) hash ^= Name.GetHashCode(); - if (default_ != null) hash ^= Default.GetHashCode(); - if (font_ != null) hash ^= Font.GetHashCode(); - if (bold_ != null) hash ^= Bold.GetHashCode(); - if (italic_ != null) hash ^= Italic.GetHashCode(); - if (fontColor_ != null) hash ^= FontColor.GetHashCode(); - if (underline_ != null) hash ^= Underline.GetHashCode(); - if (fontSize_ != null) hash ^= FontSize.GetHashCode(); - if (characterWidth_ != null) hash ^= CharacterWidth.GetHashCode(); - if (characterSpacing_ != null) hash ^= CharacterSpacing.GetHashCode(); - if (lineFeed_ != null) hash ^= LineFeed.GetHashCode(); - if (alignment_ != null) hash ^= Alignment.GetHashCode(); - if (indentionWidth_ != null) hash ^= IndentionWidth.GetHashCode(); - if (indentionLevel_ != null) hash ^= IndentionLevel.GetHashCode(); - if (spaceAbove_ != null) hash ^= SpaceAbove.GetHashCode(); - if (spaceBelow_ != null) hash ^= SpaceBelow.GetHashCode(); - if (widowSetting_ != null) hash ^= WidowSetting.GetHashCode(); - if (orphanSetting_ != null) hash ^= OrphanSetting.GetHashCode(); - if (widowPriority_ != null) hash ^= WidowPriority.GetHashCode(); - if (strikethrough_ != null) hash ^= Strikethrough.GetHashCode(); - if (superscriptSubscript_ != null) hash ^= SuperscriptSubscript.GetHashCode(); - if (backgroundColor_ != null) hash ^= BackgroundColor.GetHashCode(); - if (listSetting_ != null) hash ^= ListSetting.GetHashCode(); - if (hyphenation_ != null) hash ^= Hyphenation.GetHashCode(); - if (preNamedString_ != null) hash ^= PreNamedString.GetHashCode(); - if (postNamedString_ != null) hash ^= PostNamedString.GetHashCode(); - if (semanticType_ != null) hash ^= SemanticType.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (baseFormat_ != null) { - output.WriteRawTag(10); - output.WriteMessage(BaseFormat); - } - if (name_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Name); - } - if (default_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Default); - } - if (font_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Font); - } - if (bold_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Italic); - } - if (fontColor_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FontColor); - } - if (underline_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Underline); - } - if (fontSize_ != null) { - output.WriteRawTag(74); - output.WriteMessage(FontSize); - } - if (characterWidth_ != null) { - output.WriteRawTag(82); - output.WriteMessage(CharacterWidth); - } - if (characterSpacing_ != null) { - output.WriteRawTag(90); - output.WriteMessage(CharacterSpacing); - } - if (lineFeed_ != null) { - output.WriteRawTag(98); - output.WriteMessage(LineFeed); - } - if (alignment_ != null) { - output.WriteRawTag(106); - output.WriteMessage(Alignment); - } - if (indentionWidth_ != null) { - output.WriteRawTag(114); - output.WriteMessage(IndentionWidth); - } - if (indentionLevel_ != null) { - output.WriteRawTag(122); - output.WriteMessage(IndentionLevel); - } - if (spaceAbove_ != null) { - output.WriteRawTag(130, 1); - output.WriteMessage(SpaceAbove); - } - if (spaceBelow_ != null) { - output.WriteRawTag(138, 1); - output.WriteMessage(SpaceBelow); - } - if (widowSetting_ != null) { - output.WriteRawTag(146, 1); - output.WriteMessage(WidowSetting); - } - if (orphanSetting_ != null) { - output.WriteRawTag(154, 1); - output.WriteMessage(OrphanSetting); - } - if (widowPriority_ != null) { - output.WriteRawTag(162, 1); - output.WriteMessage(WidowPriority); - } - if (strikethrough_ != null) { - output.WriteRawTag(170, 1); - output.WriteMessage(Strikethrough); - } - if (superscriptSubscript_ != null) { - output.WriteRawTag(178, 1); - output.WriteMessage(SuperscriptSubscript); - } - if (backgroundColor_ != null) { - output.WriteRawTag(186, 1); - output.WriteMessage(BackgroundColor); - } - if (listSetting_ != null) { - output.WriteRawTag(194, 1); - output.WriteMessage(ListSetting); - } - if (hyphenation_ != null) { - output.WriteRawTag(202, 1); - output.WriteMessage(Hyphenation); - } - if (preNamedString_ != null) { - output.WriteRawTag(210, 1); - output.WriteMessage(PreNamedString); - } - if (postNamedString_ != null) { - output.WriteRawTag(218, 1); - output.WriteMessage(PostNamedString); - } - if (semanticType_ != null) { - output.WriteRawTag(226, 1); - output.WriteMessage(SemanticType); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (baseFormat_ != null) { - output.WriteRawTag(10); - output.WriteMessage(BaseFormat); - } - if (name_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Name); - } - if (default_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Default); - } - if (font_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Font); - } - if (bold_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Italic); - } - if (fontColor_ != null) { - output.WriteRawTag(58); - output.WriteMessage(FontColor); - } - if (underline_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Underline); - } - if (fontSize_ != null) { - output.WriteRawTag(74); - output.WriteMessage(FontSize); - } - if (characterWidth_ != null) { - output.WriteRawTag(82); - output.WriteMessage(CharacterWidth); - } - if (characterSpacing_ != null) { - output.WriteRawTag(90); - output.WriteMessage(CharacterSpacing); - } - if (lineFeed_ != null) { - output.WriteRawTag(98); - output.WriteMessage(LineFeed); - } - if (alignment_ != null) { - output.WriteRawTag(106); - output.WriteMessage(Alignment); - } - if (indentionWidth_ != null) { - output.WriteRawTag(114); - output.WriteMessage(IndentionWidth); - } - if (indentionLevel_ != null) { - output.WriteRawTag(122); - output.WriteMessage(IndentionLevel); - } - if (spaceAbove_ != null) { - output.WriteRawTag(130, 1); - output.WriteMessage(SpaceAbove); - } - if (spaceBelow_ != null) { - output.WriteRawTag(138, 1); - output.WriteMessage(SpaceBelow); - } - if (widowSetting_ != null) { - output.WriteRawTag(146, 1); - output.WriteMessage(WidowSetting); - } - if (orphanSetting_ != null) { - output.WriteRawTag(154, 1); - output.WriteMessage(OrphanSetting); - } - if (widowPriority_ != null) { - output.WriteRawTag(162, 1); - output.WriteMessage(WidowPriority); - } - if (strikethrough_ != null) { - output.WriteRawTag(170, 1); - output.WriteMessage(Strikethrough); - } - if (superscriptSubscript_ != null) { - output.WriteRawTag(178, 1); - output.WriteMessage(SuperscriptSubscript); - } - if (backgroundColor_ != null) { - output.WriteRawTag(186, 1); - output.WriteMessage(BackgroundColor); - } - if (listSetting_ != null) { - output.WriteRawTag(194, 1); - output.WriteMessage(ListSetting); - } - if (hyphenation_ != null) { - output.WriteRawTag(202, 1); - output.WriteMessage(Hyphenation); - } - if (preNamedString_ != null) { - output.WriteRawTag(210, 1); - output.WriteMessage(PreNamedString); - } - if (postNamedString_ != null) { - output.WriteRawTag(218, 1); - output.WriteMessage(PostNamedString); - } - if (semanticType_ != null) { - output.WriteRawTag(226, 1); - output.WriteMessage(SemanticType); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (baseFormat_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseFormat); - } - if (name_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Name); - } - if (default_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Default); - } - if (font_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Font); - } - if (bold_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bold); - } - if (italic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Italic); - } - if (fontColor_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontColor); - } - if (underline_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Underline); - } - if (fontSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FontSize); - } - if (characterWidth_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(CharacterWidth); - } - if (characterSpacing_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(CharacterSpacing); - } - if (lineFeed_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(LineFeed); - } - if (alignment_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Alignment); - } - if (indentionWidth_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndentionWidth); - } - if (indentionLevel_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndentionLevel); - } - if (spaceAbove_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SpaceAbove); - } - if (spaceBelow_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SpaceBelow); - } - if (widowSetting_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(WidowSetting); - } - if (orphanSetting_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(OrphanSetting); - } - if (widowPriority_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(WidowPriority); - } - if (strikethrough_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Strikethrough); - } - if (superscriptSubscript_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SuperscriptSubscript); - } - if (backgroundColor_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BackgroundColor); - } - if (listSetting_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ListSetting); - } - if (hyphenation_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Hyphenation); - } - if (preNamedString_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PreNamedString); - } - if (postNamedString_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PostNamedString); - } - if (semanticType_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SemanticType); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoParagraphFormat other) { - if (other == null) { - return; - } - if (other.baseFormat_ != null) { - if (baseFormat_ == null) { - BaseFormat = new global::Docframe.ProtoParagraphFormat(); - } - BaseFormat.MergeFrom(other.BaseFormat); - } - if (other.name_ != null) { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - Name.MergeFrom(other.Name); - } - if (other.default_ != null) { - if (default_ == null) { - Default = new global::Docframe.ProtoBoxedBool(); - } - Default.MergeFrom(other.Default); - } - if (other.font_ != null) { - if (font_ == null) { - Font = new global::Docframe.ProtoBoxedFont(); - } - Font.MergeFrom(other.Font); - } - if (other.bold_ != null) { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - Bold.MergeFrom(other.Bold); - } - if (other.italic_ != null) { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - Italic.MergeFrom(other.Italic); - } - if (other.fontColor_ != null) { - if (fontColor_ == null) { - FontColor = new global::Docframe.ProtoBoxedColor(); - } - FontColor.MergeFrom(other.FontColor); - } - if (other.underline_ != null) { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedUnderlineSpec(); - } - Underline.MergeFrom(other.Underline); - } - if (other.fontSize_ != null) { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedMeasure(); - } - FontSize.MergeFrom(other.FontSize); - } - if (other.characterWidth_ != null) { - if (characterWidth_ == null) { - CharacterWidth = new global::Docframe.ProtoBoxedMeasure(); - } - CharacterWidth.MergeFrom(other.CharacterWidth); - } - if (other.characterSpacing_ != null) { - if (characterSpacing_ == null) { - CharacterSpacing = new global::Docframe.ProtoBoxedMeasure(); - } - CharacterSpacing.MergeFrom(other.CharacterSpacing); - } - if (other.lineFeed_ != null) { - if (lineFeed_ == null) { - LineFeed = new global::Docframe.ProtoBoxedMeasure(); - } - LineFeed.MergeFrom(other.LineFeed); - } - if (other.alignment_ != null) { - if (alignment_ == null) { - Alignment = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - Alignment.MergeFrom(other.Alignment); - } - if (other.indentionWidth_ != null) { - if (indentionWidth_ == null) { - IndentionWidth = new global::Docframe.ProtoBoxedMeasure(); - } - IndentionWidth.MergeFrom(other.IndentionWidth); - } - if (other.indentionLevel_ != null) { - if (indentionLevel_ == null) { - IndentionLevel = new global::Docframe.ProtoBoxedInt32(); - } - IndentionLevel.MergeFrom(other.IndentionLevel); - } - if (other.spaceAbove_ != null) { - if (spaceAbove_ == null) { - SpaceAbove = new global::Docframe.ProtoBoxedMeasure(); - } - SpaceAbove.MergeFrom(other.SpaceAbove); - } - if (other.spaceBelow_ != null) { - if (spaceBelow_ == null) { - SpaceBelow = new global::Docframe.ProtoBoxedMeasure(); - } - SpaceBelow.MergeFrom(other.SpaceBelow); - } - if (other.widowSetting_ != null) { - if (widowSetting_ == null) { - WidowSetting = new global::Docframe.ProtoBoxedInt32(); - } - WidowSetting.MergeFrom(other.WidowSetting); - } - if (other.orphanSetting_ != null) { - if (orphanSetting_ == null) { - OrphanSetting = new global::Docframe.ProtoBoxedInt32(); - } - OrphanSetting.MergeFrom(other.OrphanSetting); - } - if (other.widowPriority_ != null) { - if (widowPriority_ == null) { - WidowPriority = new global::Docframe.ProtoBoxedInt32(); - } - WidowPriority.MergeFrom(other.WidowPriority); - } - if (other.strikethrough_ != null) { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedStrikethroughSpec(); - } - Strikethrough.MergeFrom(other.Strikethrough); - } - if (other.superscriptSubscript_ != null) { - if (superscriptSubscript_ == null) { - SuperscriptSubscript = new global::Docframe.ProtoBoxedSPBMode(); - } - SuperscriptSubscript.MergeFrom(other.SuperscriptSubscript); - } - if (other.backgroundColor_ != null) { - if (backgroundColor_ == null) { - BackgroundColor = new global::Docframe.ProtoBoxedColor(); - } - BackgroundColor.MergeFrom(other.BackgroundColor); - } - if (other.listSetting_ != null) { - if (listSetting_ == null) { - ListSetting = new global::Docframe.ProtoBoxedListSetting(); - } - ListSetting.MergeFrom(other.ListSetting); - } - if (other.hyphenation_ != null) { - if (hyphenation_ == null) { - Hyphenation = new global::Docframe.ProtoBoxedBool(); - } - Hyphenation.MergeFrom(other.Hyphenation); - } - if (other.preNamedString_ != null) { - if (preNamedString_ == null) { - PreNamedString = new global::Docframe.ProtoBoxedString(); - } - PreNamedString.MergeFrom(other.PreNamedString); - } - if (other.postNamedString_ != null) { - if (postNamedString_ == null) { - PostNamedString = new global::Docframe.ProtoBoxedString(); - } - PostNamedString.MergeFrom(other.PostNamedString); - } - if (other.semanticType_ != null) { - if (semanticType_ == null) { - SemanticType = new global::Docframe.ProtoBoxedString(); - } - SemanticType.MergeFrom(other.SemanticType); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (baseFormat_ == null) { - BaseFormat = new global::Docframe.ProtoParagraphFormat(); - } - input.ReadMessage(BaseFormat); - break; - } - case 18: { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Name); - break; - } - case 26: { - if (default_ == null) { - Default = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Default); - break; - } - case 34: { - if (font_ == null) { - Font = new global::Docframe.ProtoBoxedFont(); - } - input.ReadMessage(Font); - break; - } - case 42: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 50: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 58: { - if (fontColor_ == null) { - FontColor = new global::Docframe.ProtoBoxedColor(); - } - input.ReadMessage(FontColor); - break; - } - case 66: { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedUnderlineSpec(); - } - input.ReadMessage(Underline); - break; - } - case 74: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(FontSize); - break; - } - case 82: { - if (characterWidth_ == null) { - CharacterWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(CharacterWidth); - break; - } - case 90: { - if (characterSpacing_ == null) { - CharacterSpacing = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(CharacterSpacing); - break; - } - case 98: { - if (lineFeed_ == null) { - LineFeed = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(LineFeed); - break; - } - case 106: { - if (alignment_ == null) { - Alignment = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - input.ReadMessage(Alignment); - break; - } - case 114: { - if (indentionWidth_ == null) { - IndentionWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(IndentionWidth); - break; - } - case 122: { - if (indentionLevel_ == null) { - IndentionLevel = new global::Docframe.ProtoBoxedInt32(); - } - input.ReadMessage(IndentionLevel); - break; - } - case 130: { - if (spaceAbove_ == null) { - SpaceAbove = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(SpaceAbove); - break; - } - case 138: { - if (spaceBelow_ == null) { - SpaceBelow = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(SpaceBelow); - break; - } - case 146: { - if (widowSetting_ == null) { - WidowSetting = new global::Docframe.ProtoBoxedInt32(); - } - input.ReadMessage(WidowSetting); - break; - } - case 154: { - if (orphanSetting_ == null) { - OrphanSetting = new global::Docframe.ProtoBoxedInt32(); - } - input.ReadMessage(OrphanSetting); - break; - } - case 162: { - if (widowPriority_ == null) { - WidowPriority = new global::Docframe.ProtoBoxedInt32(); - } - input.ReadMessage(WidowPriority); - break; - } - case 170: { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedStrikethroughSpec(); - } - input.ReadMessage(Strikethrough); - break; - } - case 178: { - if (superscriptSubscript_ == null) { - SuperscriptSubscript = new global::Docframe.ProtoBoxedSPBMode(); - } - input.ReadMessage(SuperscriptSubscript); - break; - } - case 186: { - if (backgroundColor_ == null) { - BackgroundColor = new global::Docframe.ProtoBoxedColor(); - } - input.ReadMessage(BackgroundColor); - break; - } - case 194: { - if (listSetting_ == null) { - ListSetting = new global::Docframe.ProtoBoxedListSetting(); - } - input.ReadMessage(ListSetting); - break; - } - case 202: { - if (hyphenation_ == null) { - Hyphenation = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Hyphenation); - break; - } - case 210: { - if (preNamedString_ == null) { - PreNamedString = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(PreNamedString); - break; - } - case 218: { - if (postNamedString_ == null) { - PostNamedString = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(PostNamedString); - break; - } - case 226: { - if (semanticType_ == null) { - SemanticType = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(SemanticType); - break; - } - case 234: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (baseFormat_ == null) { - BaseFormat = new global::Docframe.ProtoParagraphFormat(); - } - input.ReadMessage(BaseFormat); - break; - } - case 18: { - if (name_ == null) { - Name = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(Name); - break; - } - case 26: { - if (default_ == null) { - Default = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Default); - break; - } - case 34: { - if (font_ == null) { - Font = new global::Docframe.ProtoBoxedFont(); - } - input.ReadMessage(Font); - break; - } - case 42: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 50: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 58: { - if (fontColor_ == null) { - FontColor = new global::Docframe.ProtoBoxedColor(); - } - input.ReadMessage(FontColor); - break; - } - case 66: { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedUnderlineSpec(); - } - input.ReadMessage(Underline); - break; - } - case 74: { - if (fontSize_ == null) { - FontSize = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(FontSize); - break; - } - case 82: { - if (characterWidth_ == null) { - CharacterWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(CharacterWidth); - break; - } - case 90: { - if (characterSpacing_ == null) { - CharacterSpacing = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(CharacterSpacing); - break; - } - case 98: { - if (lineFeed_ == null) { - LineFeed = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(LineFeed); - break; - } - case 106: { - if (alignment_ == null) { - Alignment = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - input.ReadMessage(Alignment); - break; - } - case 114: { - if (indentionWidth_ == null) { - IndentionWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(IndentionWidth); - break; - } - case 122: { - if (indentionLevel_ == null) { - IndentionLevel = new global::Docframe.ProtoBoxedInt32(); - } - input.ReadMessage(IndentionLevel); - break; - } - case 130: { - if (spaceAbove_ == null) { - SpaceAbove = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(SpaceAbove); - break; - } - case 138: { - if (spaceBelow_ == null) { - SpaceBelow = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(SpaceBelow); - break; - } - case 146: { - if (widowSetting_ == null) { - WidowSetting = new global::Docframe.ProtoBoxedInt32(); - } - input.ReadMessage(WidowSetting); - break; - } - case 154: { - if (orphanSetting_ == null) { - OrphanSetting = new global::Docframe.ProtoBoxedInt32(); - } - input.ReadMessage(OrphanSetting); - break; - } - case 162: { - if (widowPriority_ == null) { - WidowPriority = new global::Docframe.ProtoBoxedInt32(); - } - input.ReadMessage(WidowPriority); - break; - } - case 170: { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedStrikethroughSpec(); - } - input.ReadMessage(Strikethrough); - break; - } - case 178: { - if (superscriptSubscript_ == null) { - SuperscriptSubscript = new global::Docframe.ProtoBoxedSPBMode(); - } - input.ReadMessage(SuperscriptSubscript); - break; - } - case 186: { - if (backgroundColor_ == null) { - BackgroundColor = new global::Docframe.ProtoBoxedColor(); - } - input.ReadMessage(BackgroundColor); - break; - } - case 194: { - if (listSetting_ == null) { - ListSetting = new global::Docframe.ProtoBoxedListSetting(); - } - input.ReadMessage(ListSetting); - break; - } - case 202: { - if (hyphenation_ == null) { - Hyphenation = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Hyphenation); - break; - } - case 210: { - if (preNamedString_ == null) { - PreNamedString = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(PreNamedString); - break; - } - case 218: { - if (postNamedString_ == null) { - PostNamedString = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(PostNamedString); - break; - } - case 226: { - if (semanticType_ == null) { - SemanticType = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(SemanticType); - break; - } - case 234: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSection : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSection()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[50]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSection() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSection(ProtoSection other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - cDefUuid_ = other.cDefUuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSection Clone() { - return new ProtoSection(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "cDefUuid" field. - public const int CDefUuidFieldNumber = 4; - private string cDefUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CDefUuid { - get { return cDefUuid_; } - set { - cDefUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSection); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSection other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if (CDefUuid != other.CDefUuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (CDefUuid.Length != 0) hash ^= CDefUuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - if (CDefUuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(CDefUuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - if (CDefUuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(CDefUuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (CDefUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CDefUuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSection other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.CDefUuid.Length != 0) { - CDefUuid = other.CDefUuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - CDefUuid = input.ReadString(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - CDefUuid = input.ReadString(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSpaceVertically : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSpaceVertically()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[51]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSpaceVertically() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - 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(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSpaceVertically Clone() { - return new ProtoSpaceVertically(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "space" field. - public const int SpaceFieldNumber = 2; - private global::Docframe.ProtoMeasure space_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Space { - get { return space_; } - set { - space_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSpaceVertically); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSpaceVertically other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Space, other.Space)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (space_ != null) hash ^= Space.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (space_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Space); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (space_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Space); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (space_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Space); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSpaceVertically other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.space_ != null) { - if (space_ == null) { - Space = new global::Docframe.ProtoMeasure(); - } - Space.MergeFrom(other.Space); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (space_ == null) { - Space = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Space); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (space_ == null) { - Space = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Space); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSpan : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSpan()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[52]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSpan() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSpan(ProtoSpan other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - bold_ = other.bold_ != null ? other.bold_.Clone() : null; - italic_ = other.italic_ != null ? other.italic_.Clone() : null; - color_ = other.color_ != null ? other.color_.Clone() : null; - subscript_ = other.subscript_ != null ? other.subscript_.Clone() : null; - superscript_ = other.superscript_ != null ? other.superscript_.Clone() : null; - underline_ = other.underline_ != null ? other.underline_.Clone() : null; - strikethrough_ = other.strikethrough_ != null ? other.strikethrough_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSpan Clone() { - return new ProtoSpan(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "bold" field. - public const int BoldFieldNumber = 3; - private global::Docframe.ProtoBoxedBool bold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Bold { - get { return bold_; } - set { - bold_ = value; - } - } - - /// Field number for the "italic" field. - public const int ItalicFieldNumber = 4; - private global::Docframe.ProtoBoxedBool italic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Italic { - get { return italic_; } - set { - italic_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 5; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "subscript" field. - public const int SubscriptFieldNumber = 6; - private global::Docframe.ProtoBoxedBool subscript_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Subscript { - get { return subscript_; } - set { - subscript_ = value; - } - } - - /// Field number for the "superscript" field. - public const int SuperscriptFieldNumber = 7; - private global::Docframe.ProtoBoxedBool superscript_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Superscript { - get { return superscript_; } - set { - superscript_ = value; - } - } - - /// Field number for the "underline" field. - public const int UnderlineFieldNumber = 8; - private global::Docframe.ProtoBoxedBool underline_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Underline { - get { return underline_; } - set { - underline_ = value; - } - } - - /// Field number for the "strikethrough" field. - public const int StrikethroughFieldNumber = 9; - private global::Docframe.ProtoBoxedBool strikethrough_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool Strikethrough { - get { return strikethrough_; } - set { - strikethrough_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 10; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(82); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSpan); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSpan other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Bold, other.Bold)) return false; - if (!object.Equals(Italic, other.Italic)) return false; - if (!object.Equals(Color, other.Color)) return false; - if (!object.Equals(Subscript, other.Subscript)) return false; - if (!object.Equals(Superscript, other.Superscript)) return false; - if (!object.Equals(Underline, other.Underline)) return false; - if (!object.Equals(Strikethrough, other.Strikethrough)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (bold_ != null) hash ^= Bold.GetHashCode(); - if (italic_ != null) hash ^= Italic.GetHashCode(); - if (color_ != null) hash ^= Color.GetHashCode(); - if (subscript_ != null) hash ^= Subscript.GetHashCode(); - if (superscript_ != null) hash ^= Superscript.GetHashCode(); - if (underline_ != null) hash ^= Underline.GetHashCode(); - if (strikethrough_ != null) hash ^= Strikethrough.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (bold_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Italic); - } - if (color_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Color); - } - if (subscript_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Subscript); - } - if (superscript_ != null) { - output.WriteRawTag(58); - output.WriteMessage(Superscript); - } - if (underline_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Underline); - } - if (strikethrough_ != null) { - output.WriteRawTag(74); - output.WriteMessage(Strikethrough); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (bold_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Bold); - } - if (italic_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Italic); - } - if (color_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Color); - } - if (subscript_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Subscript); - } - if (superscript_ != null) { - output.WriteRawTag(58); - output.WriteMessage(Superscript); - } - if (underline_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Underline); - } - if (strikethrough_ != null) { - output.WriteRawTag(74); - output.WriteMessage(Strikethrough); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (bold_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bold); - } - if (italic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Italic); - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (subscript_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Subscript); - } - if (superscript_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Superscript); - } - if (underline_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Underline); - } - if (strikethrough_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Strikethrough); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSpan other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.bold_ != null) { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - Bold.MergeFrom(other.Bold); - } - if (other.italic_ != null) { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - Italic.MergeFrom(other.Italic); - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.subscript_ != null) { - if (subscript_ == null) { - Subscript = new global::Docframe.ProtoBoxedBool(); - } - Subscript.MergeFrom(other.Subscript); - } - if (other.superscript_ != null) { - if (superscript_ == null) { - Superscript = new global::Docframe.ProtoBoxedBool(); - } - Superscript.MergeFrom(other.Superscript); - } - if (other.underline_ != null) { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedBool(); - } - Underline.MergeFrom(other.Underline); - } - if (other.strikethrough_ != null) { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedBool(); - } - Strikethrough.MergeFrom(other.Strikethrough); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 34: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 42: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 50: { - if (subscript_ == null) { - Subscript = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Subscript); - break; - } - case 58: { - if (superscript_ == null) { - Superscript = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Superscript); - break; - } - case 66: { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Underline); - break; - } - case 74: { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Strikethrough); - break; - } - case 82: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (bold_ == null) { - Bold = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Bold); - break; - } - case 34: { - if (italic_ == null) { - Italic = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Italic); - break; - } - case 42: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 50: { - if (subscript_ == null) { - Subscript = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Subscript); - break; - } - case 58: { - if (superscript_ == null) { - Superscript = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Superscript); - break; - } - case 66: { - if (underline_ == null) { - Underline = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Underline); - break; - } - case 74: { - if (strikethrough_ == null) { - Strikethrough = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(Strikethrough); - break; - } - case 82: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTable : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTable()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[53]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTable() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTable(ProtoTable other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - configName_ = other.configName_; - carryOver_ = other.carryOver_ != null ? other.carryOver_.Clone() : null; - subTotal_ = other.subTotal_ != null ? other.subTotal_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - elementProperties_ = other.elementProperties_ != null ? other.elementProperties_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTable Clone() { - return new ProtoTable(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 3; - private global::Docframe.ProtoTableSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - /// Field number for the "configName" field. - public const int ConfigNameFieldNumber = 4; - private string configName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigName { - get { return configName_; } - set { - configName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "carryOver" field. - public const int CarryOverFieldNumber = 5; - private global::Docframe.Node carryOver_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Node CarryOver { - get { return carryOver_; } - set { - carryOver_ = value; - } - } - - /// Field number for the "subTotal" field. - public const int SubTotalFieldNumber = 6; - private global::Docframe.Node subTotal_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Node SubTotal { - get { return subTotal_; } - set { - subTotal_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(58); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "elementProperties" field. - public const int ElementPropertiesFieldNumber = 8; - private global::Docframe.ProtoTableElementProperties elementProperties_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableElementProperties ElementProperties { - get { return elementProperties_; } - set { - elementProperties_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTable other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Settings, other.Settings)) return false; - if (ConfigName != other.ConfigName) return false; - if (!object.Equals(CarryOver, other.CarryOver)) return false; - if (!object.Equals(SubTotal, other.SubTotal)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (!object.Equals(ElementProperties, other.ElementProperties)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (settings_ != null) hash ^= Settings.GetHashCode(); - if (ConfigName.Length != 0) hash ^= ConfigName.GetHashCode(); - if (carryOver_ != null) hash ^= CarryOver.GetHashCode(); - if (subTotal_ != null) hash ^= SubTotal.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (elementProperties_ != null) hash ^= ElementProperties.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(ConfigName); - } - if (carryOver_ != null) { - output.WriteRawTag(42); - output.WriteMessage(CarryOver); - } - if (subTotal_ != null) { - output.WriteRawTag(50); - output.WriteMessage(SubTotal); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - output.WriteRawTag(66); - output.WriteMessage(ElementProperties); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(ConfigName); - } - if (carryOver_ != null) { - output.WriteRawTag(42); - output.WriteMessage(CarryOver); - } - if (subTotal_ != null) { - output.WriteRawTag(50); - output.WriteMessage(SubTotal); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - output.WriteRawTag(66); - output.WriteMessage(ElementProperties); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - if (ConfigName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigName); - } - if (carryOver_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarryOver); - } - if (subTotal_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(SubTotal); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ElementProperties); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTable other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableSettings(); - } - Settings.MergeFrom(other.Settings); - } - if (other.ConfigName.Length != 0) { - ConfigName = other.ConfigName; - } - if (other.carryOver_ != null) { - if (carryOver_ == null) { - CarryOver = new global::Docframe.Node(); - } - CarryOver.MergeFrom(other.CarryOver); - } - if (other.subTotal_ != null) { - if (subTotal_ == null) { - SubTotal = new global::Docframe.Node(); - } - SubTotal.MergeFrom(other.SubTotal); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.elementProperties_ != null) { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - ElementProperties.MergeFrom(other.ElementProperties); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableSettings(); - } - input.ReadMessage(Settings); - break; - } - case 34: { - ConfigName = input.ReadString(); - break; - } - case 42: { - if (carryOver_ == null) { - CarryOver = new global::Docframe.Node(); - } - input.ReadMessage(CarryOver); - break; - } - case 50: { - if (subTotal_ == null) { - SubTotal = new global::Docframe.Node(); - } - input.ReadMessage(SubTotal); - break; - } - case 58: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 66: { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - input.ReadMessage(ElementProperties); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableSettings(); - } - input.ReadMessage(Settings); - break; - } - case 34: { - ConfigName = input.ReadString(); - break; - } - case 42: { - if (carryOver_ == null) { - CarryOver = new global::Docframe.Node(); - } - input.ReadMessage(CarryOver); - break; - } - case 50: { - if (subTotal_ == null) { - SubTotal = new global::Docframe.Node(); - } - input.ReadMessage(SubTotal); - break; - } - case 58: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 66: { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - input.ReadMessage(ElementProperties); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[54]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableConfig(ProtoTableConfig other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - configName_ = other.configName_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableConfig Clone() { - return new ProtoTableConfig(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 2; - private global::Docframe.ProtoTableSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - /// Field number for the "configName" field. - public const int ConfigNameFieldNumber = 3; - private string configName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigName { - get { return configName_; } - set { - configName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Settings, other.Settings)) return false; - if (ConfigName != other.ConfigName) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (settings_ != null) hash ^= Settings.GetHashCode(); - if (ConfigName.Length != 0) hash ^= ConfigName.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigName); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigName); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - if (ConfigName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigName); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableConfig other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableSettings(); - } - Settings.MergeFrom(other.Settings); - } - if (other.ConfigName.Length != 0) { - ConfigName = other.ConfigName; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableSettings(); - } - input.ReadMessage(Settings); - break; - } - case 26: { - ConfigName = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableSettings(); - } - input.ReadMessage(Settings); - break; - } - case 26: { - ConfigName = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableSettings()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[55]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableSettings(ProtoTableSettings other) : this() { - xOffset_ = other.xOffset_ != null ? other.xOffset_.Clone() : null; - leftMeasure_ = other.leftMeasure_ != null ? other.leftMeasure_.Clone() : null; - width_ = other.width_ != null ? other.width_.Clone() : null; - repeatHeader_ = other.repeatHeader_ != null ? other.repeatHeader_.Clone() : null; - ws_ = other.ws_ != null ? other.ws_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableSettings Clone() { - return new ProtoTableSettings(this); - } - - /// Field number for the "xOffset" field. - public const int XOffsetFieldNumber = 1; - private global::Docframe.ProtoMeasure xOffset_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure XOffset { - get { return xOffset_; } - set { - xOffset_ = value; - } - } - - /// Field number for the "leftMeasure" field. - public const int LeftMeasureFieldNumber = 2; - private global::Docframe.ProtoBoxedBool leftMeasure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool LeftMeasure { - get { return leftMeasure_; } - set { - leftMeasure_ = value; - } - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 3; - private global::Docframe.ProtoMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "repeatHeader" field. - public const int RepeatHeaderFieldNumber = 4; - private global::Docframe.ProtoBoxedUint32 repeatHeader_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 RepeatHeader { - get { return repeatHeader_; } - set { - repeatHeader_ = value; - } - } - - /// Field number for the "ws" field. - public const int WsFieldNumber = 5; - private global::Docframe.ProtoTableWS ws_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableWS Ws { - get { return ws_; } - set { - ws_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(XOffset, other.XOffset)) return false; - if (!object.Equals(LeftMeasure, other.LeftMeasure)) return false; - if (!object.Equals(Width, other.Width)) return false; - if (!object.Equals(RepeatHeader, other.RepeatHeader)) return false; - if (!object.Equals(Ws, other.Ws)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (xOffset_ != null) hash ^= XOffset.GetHashCode(); - if (leftMeasure_ != null) hash ^= LeftMeasure.GetHashCode(); - if (width_ != null) hash ^= Width.GetHashCode(); - if (repeatHeader_ != null) hash ^= RepeatHeader.GetHashCode(); - if (ws_ != null) hash ^= Ws.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (xOffset_ != null) { - output.WriteRawTag(10); - output.WriteMessage(XOffset); - } - if (leftMeasure_ != null) { - output.WriteRawTag(18); - output.WriteMessage(LeftMeasure); - } - if (width_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Width); - } - if (repeatHeader_ != null) { - output.WriteRawTag(34); - output.WriteMessage(RepeatHeader); - } - if (ws_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Ws); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (xOffset_ != null) { - output.WriteRawTag(10); - output.WriteMessage(XOffset); - } - if (leftMeasure_ != null) { - output.WriteRawTag(18); - output.WriteMessage(LeftMeasure); - } - if (width_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Width); - } - if (repeatHeader_ != null) { - output.WriteRawTag(34); - output.WriteMessage(RepeatHeader); - } - if (ws_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Ws); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (xOffset_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(XOffset); - } - if (leftMeasure_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(LeftMeasure); - } - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (repeatHeader_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RepeatHeader); - } - if (ws_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ws); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableSettings other) { - if (other == null) { - return; - } - if (other.xOffset_ != null) { - if (xOffset_ == null) { - XOffset = new global::Docframe.ProtoMeasure(); - } - XOffset.MergeFrom(other.XOffset); - } - if (other.leftMeasure_ != null) { - if (leftMeasure_ == null) { - LeftMeasure = new global::Docframe.ProtoBoxedBool(); - } - LeftMeasure.MergeFrom(other.LeftMeasure); - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.repeatHeader_ != null) { - if (repeatHeader_ == null) { - RepeatHeader = new global::Docframe.ProtoBoxedUint32(); - } - RepeatHeader.MergeFrom(other.RepeatHeader); - } - if (other.ws_ != null) { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - Ws.MergeFrom(other.Ws); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (xOffset_ == null) { - XOffset = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(XOffset); - break; - } - case 18: { - if (leftMeasure_ == null) { - LeftMeasure = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(LeftMeasure); - break; - } - case 26: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 34: { - if (repeatHeader_ == null) { - RepeatHeader = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(RepeatHeader); - break; - } - case 42: { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - input.ReadMessage(Ws); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (xOffset_ == null) { - XOffset = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(XOffset); - break; - } - case 18: { - if (leftMeasure_ == null) { - LeftMeasure = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(LeftMeasure); - break; - } - case 26: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 34: { - if (repeatHeader_ == null) { - RepeatHeader = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(RepeatHeader); - break; - } - case 42: { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - input.ReadMessage(Ws); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedTableContentGroupType : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedTableContentGroupType()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[56]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedTableContentGroupType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedTableContentGroupType(ProtoBoxedTableContentGroupType other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedTableContentGroupType Clone() { - return new ProtoBoxedTableContentGroupType(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoTableContentGroupType value_ = global::Docframe.ProtoTableContentGroupType.Header; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableContentGroupType Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedTableContentGroupType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedTableContentGroupType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != global::Docframe.ProtoTableContentGroupType.Header) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != global::Docframe.ProtoTableContentGroupType.Header) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != global::Docframe.ProtoTableContentGroupType.Header) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != global::Docframe.ProtoTableContentGroupType.Header) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedTableContentGroupType other) { - if (other == null) { - return; - } - if (other.Value != global::Docframe.ProtoTableContentGroupType.Header) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = (global::Docframe.ProtoTableContentGroupType) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = (global::Docframe.ProtoTableContentGroupType) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableContentGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableContentGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[57]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroup(ProtoTableContentGroup other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - elementProperties_ = other.elementProperties_ != null ? other.elementProperties_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroup Clone() { - return new ProtoTableContentGroup(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 3; - private global::Docframe.ProtoTableContentGroupSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableContentGroupSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "elementProperties" field. - public const int ElementPropertiesFieldNumber = 5; - private global::Docframe.ProtoTableElementProperties elementProperties_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableElementProperties ElementProperties { - get { return elementProperties_; } - set { - elementProperties_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableContentGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableContentGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Settings, other.Settings)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (!object.Equals(ElementProperties, other.ElementProperties)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (settings_ != null) hash ^= Settings.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (elementProperties_ != null) hash ^= ElementProperties.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Settings); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - output.WriteRawTag(42); - output.WriteMessage(ElementProperties); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Settings); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - output.WriteRawTag(42); - output.WriteMessage(ElementProperties); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ElementProperties); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableContentGroup other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableContentGroupSettings(); - } - Settings.MergeFrom(other.Settings); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.elementProperties_ != null) { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - ElementProperties.MergeFrom(other.ElementProperties); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableContentGroupSettings(); - } - input.ReadMessage(Settings); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - input.ReadMessage(ElementProperties); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableContentGroupSettings(); - } - input.ReadMessage(Settings); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - input.ReadMessage(ElementProperties); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableContentGroupConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableContentGroupConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[58]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroupConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroupConfig(ProtoTableContentGroupConfig other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - configName_ = other.configName_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroupConfig Clone() { - return new ProtoTableContentGroupConfig(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 2; - private global::Docframe.ProtoTableContentGroupSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableContentGroupSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - /// Field number for the "configName" field. - public const int ConfigNameFieldNumber = 3; - private string configName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigName { - get { return configName_; } - set { - configName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableContentGroupConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableContentGroupConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Settings, other.Settings)) return false; - if (ConfigName != other.ConfigName) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (settings_ != null) hash ^= Settings.GetHashCode(); - if (ConfigName.Length != 0) hash ^= ConfigName.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigName); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigName); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - if (ConfigName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigName); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableContentGroupConfig other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableContentGroupSettings(); - } - Settings.MergeFrom(other.Settings); - } - if (other.ConfigName.Length != 0) { - ConfigName = other.ConfigName; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableContentGroupSettings(); - } - input.ReadMessage(Settings); - break; - } - case 26: { - ConfigName = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableContentGroupSettings(); - } - input.ReadMessage(Settings); - break; - } - case 26: { - ConfigName = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableContentGroupSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableContentGroupSettings()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[59]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroupSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroupSettings(ProtoTableContentGroupSettings other) : this() { - contentGroupType_ = other.contentGroupType_ != null ? other.contentGroupType_.Clone() : null; - backgroundColors_ = other.backgroundColors_.Clone(); - ws_ = other.ws_ != null ? other.ws_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableContentGroupSettings Clone() { - return new ProtoTableContentGroupSettings(this); - } - - /// Field number for the "contentGroupType" field. - public const int ContentGroupTypeFieldNumber = 1; - private global::Docframe.ProtoBoxedTableContentGroupType contentGroupType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedTableContentGroupType ContentGroupType { - get { return contentGroupType_; } - set { - contentGroupType_ = value; - } - } - - /// Field number for the "backgroundColors" field. - public const int BackgroundColorsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_backgroundColors_codec - = pb::FieldCodec.ForMessage(18, global::Docframe.ProtoColor.Parser); - private readonly pbc::RepeatedField backgroundColors_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BackgroundColors { - get { return backgroundColors_; } - } - - /// Field number for the "ws" field. - public const int WsFieldNumber = 3; - private global::Docframe.ProtoTableWS ws_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableWS Ws { - get { return ws_; } - set { - ws_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableContentGroupSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableContentGroupSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(ContentGroupType, other.ContentGroupType)) return false; - if(!backgroundColors_.Equals(other.backgroundColors_)) return false; - if (!object.Equals(Ws, other.Ws)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (contentGroupType_ != null) hash ^= ContentGroupType.GetHashCode(); - hash ^= backgroundColors_.GetHashCode(); - if (ws_ != null) hash ^= Ws.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (contentGroupType_ != null) { - output.WriteRawTag(10); - output.WriteMessage(ContentGroupType); - } - backgroundColors_.WriteTo(output, _repeated_backgroundColors_codec); - if (ws_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Ws); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (contentGroupType_ != null) { - output.WriteRawTag(10); - output.WriteMessage(ContentGroupType); - } - backgroundColors_.WriteTo(ref output, _repeated_backgroundColors_codec); - if (ws_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Ws); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (contentGroupType_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ContentGroupType); - } - size += backgroundColors_.CalculateSize(_repeated_backgroundColors_codec); - if (ws_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ws); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableContentGroupSettings other) { - if (other == null) { - return; - } - if (other.contentGroupType_ != null) { - if (contentGroupType_ == null) { - ContentGroupType = new global::Docframe.ProtoBoxedTableContentGroupType(); - } - ContentGroupType.MergeFrom(other.ContentGroupType); - } - backgroundColors_.Add(other.backgroundColors_); - if (other.ws_ != null) { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - Ws.MergeFrom(other.Ws); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (contentGroupType_ == null) { - ContentGroupType = new global::Docframe.ProtoBoxedTableContentGroupType(); - } - input.ReadMessage(ContentGroupType); - break; - } - case 18: { - backgroundColors_.AddEntriesFrom(input, _repeated_backgroundColors_codec); - break; - } - case 26: { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - input.ReadMessage(Ws); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (contentGroupType_ == null) { - ContentGroupType = new global::Docframe.ProtoBoxedTableContentGroupType(); - } - input.ReadMessage(ContentGroupType); - break; - } - case 18: { - backgroundColors_.AddEntriesFrom(ref input, _repeated_backgroundColors_codec); - break; - } - case 26: { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - input.ReadMessage(Ws); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableRow : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableRow()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[60]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRow() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRow(ProtoTableRow other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - rowConfigNumber_ = other.rowConfigNumber_ != null ? other.rowConfigNumber_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - elementProperties_ = other.elementProperties_ != null ? other.elementProperties_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRow Clone() { - return new ProtoTableRow(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 3; - private global::Docframe.ProtoTableRowSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableRowSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - /// Field number for the "rowConfigNumber" field. - public const int RowConfigNumberFieldNumber = 4; - private global::Docframe.ProtoBoxedUint32 rowConfigNumber_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 RowConfigNumber { - get { return rowConfigNumber_; } - set { - rowConfigNumber_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "elementProperties" field. - public const int ElementPropertiesFieldNumber = 6; - private global::Docframe.ProtoTableElementProperties elementProperties_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableElementProperties ElementProperties { - get { return elementProperties_; } - set { - elementProperties_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableRow other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Settings, other.Settings)) return false; - if (!object.Equals(RowConfigNumber, other.RowConfigNumber)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (!object.Equals(ElementProperties, other.ElementProperties)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (settings_ != null) hash ^= Settings.GetHashCode(); - if (rowConfigNumber_ != null) hash ^= RowConfigNumber.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (elementProperties_ != null) hash ^= ElementProperties.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Settings); - } - if (rowConfigNumber_ != null) { - output.WriteRawTag(34); - output.WriteMessage(RowConfigNumber); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - output.WriteRawTag(50); - output.WriteMessage(ElementProperties); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Settings); - } - if (rowConfigNumber_ != null) { - output.WriteRawTag(34); - output.WriteMessage(RowConfigNumber); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - output.WriteRawTag(50); - output.WriteMessage(ElementProperties); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - if (rowConfigNumber_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RowConfigNumber); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ElementProperties); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableRow other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableRowSettings(); - } - Settings.MergeFrom(other.Settings); - } - if (other.rowConfigNumber_ != null) { - if (rowConfigNumber_ == null) { - RowConfigNumber = new global::Docframe.ProtoBoxedUint32(); - } - RowConfigNumber.MergeFrom(other.RowConfigNumber); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.elementProperties_ != null) { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - ElementProperties.MergeFrom(other.ElementProperties); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableRowSettings(); - } - input.ReadMessage(Settings); - break; - } - case 34: { - if (rowConfigNumber_ == null) { - RowConfigNumber = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(RowConfigNumber); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 50: { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - input.ReadMessage(ElementProperties); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableRowSettings(); - } - input.ReadMessage(Settings); - break; - } - case 34: { - if (rowConfigNumber_ == null) { - RowConfigNumber = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(RowConfigNumber); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 50: { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - input.ReadMessage(ElementProperties); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableRowConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableRowConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[61]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRowConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRowConfig(ProtoTableRowConfig other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - configName_ = other.configName_; - rowHeader_ = other.rowHeader_; - rowFooter_ = other.rowFooter_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRowConfig Clone() { - return new ProtoTableRowConfig(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 2; - private global::Docframe.ProtoTableRowSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableRowSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - /// Field number for the "configName" field. - public const int ConfigNameFieldNumber = 3; - private string configName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigName { - get { return configName_; } - set { - configName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "rowHeader" field. - public const int RowHeaderFieldNumber = 4; - private string rowHeader_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RowHeader { - get { return rowHeader_; } - set { - rowHeader_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "rowFooter" field. - public const int RowFooterFieldNumber = 5; - private string rowFooter_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RowFooter { - get { return rowFooter_; } - set { - rowFooter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableRowConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableRowConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Settings, other.Settings)) return false; - if (ConfigName != other.ConfigName) return false; - if (RowHeader != other.RowHeader) return false; - if (RowFooter != other.RowFooter) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (settings_ != null) hash ^= Settings.GetHashCode(); - if (ConfigName.Length != 0) hash ^= ConfigName.GetHashCode(); - if (RowHeader.Length != 0) hash ^= RowHeader.GetHashCode(); - if (RowFooter.Length != 0) hash ^= RowFooter.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigName); - } - if (RowHeader.Length != 0) { - output.WriteRawTag(34); - output.WriteString(RowHeader); - } - if (RowFooter.Length != 0) { - output.WriteRawTag(42); - output.WriteString(RowFooter); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigName); - } - if (RowHeader.Length != 0) { - output.WriteRawTag(34); - output.WriteString(RowHeader); - } - if (RowFooter.Length != 0) { - output.WriteRawTag(42); - output.WriteString(RowFooter); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - if (ConfigName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigName); - } - if (RowHeader.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RowHeader); - } - if (RowFooter.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RowFooter); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableRowConfig other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableRowSettings(); - } - Settings.MergeFrom(other.Settings); - } - if (other.ConfigName.Length != 0) { - ConfigName = other.ConfigName; - } - if (other.RowHeader.Length != 0) { - RowHeader = other.RowHeader; - } - if (other.RowFooter.Length != 0) { - RowFooter = other.RowFooter; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableRowSettings(); - } - input.ReadMessage(Settings); - break; - } - case 26: { - ConfigName = input.ReadString(); - break; - } - case 34: { - RowHeader = input.ReadString(); - break; - } - case 42: { - RowFooter = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableRowSettings(); - } - input.ReadMessage(Settings); - break; - } - case 26: { - ConfigName = input.ReadString(); - break; - } - case 34: { - RowHeader = input.ReadString(); - break; - } - case 42: { - RowFooter = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableRowSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableRowSettings()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[62]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRowSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRowSettings(ProtoTableRowSettings other) : this() { - minHeight_ = other.minHeight_ != null ? other.minHeight_.Clone() : null; - ws_ = other.ws_ != null ? other.ws_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableRowSettings Clone() { - return new ProtoTableRowSettings(this); - } - - /// Field number for the "minHeight" field. - public const int MinHeightFieldNumber = 1; - private global::Docframe.ProtoMeasure minHeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure MinHeight { - get { return minHeight_; } - set { - minHeight_ = value; - } - } - - /// Field number for the "ws" field. - public const int WsFieldNumber = 2; - private global::Docframe.ProtoTableWS ws_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableWS Ws { - get { return ws_; } - set { - ws_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableRowSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableRowSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(MinHeight, other.MinHeight)) return false; - if (!object.Equals(Ws, other.Ws)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (minHeight_ != null) hash ^= MinHeight.GetHashCode(); - if (ws_ != null) hash ^= Ws.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (minHeight_ != null) { - output.WriteRawTag(10); - output.WriteMessage(MinHeight); - } - if (ws_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Ws); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (minHeight_ != null) { - output.WriteRawTag(10); - output.WriteMessage(MinHeight); - } - if (ws_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Ws); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (minHeight_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(MinHeight); - } - if (ws_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ws); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableRowSettings other) { - if (other == null) { - return; - } - if (other.minHeight_ != null) { - if (minHeight_ == null) { - MinHeight = new global::Docframe.ProtoMeasure(); - } - MinHeight.MergeFrom(other.MinHeight); - } - if (other.ws_ != null) { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - Ws.MergeFrom(other.Ws); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (minHeight_ == null) { - MinHeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MinHeight); - break; - } - case 18: { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - input.ReadMessage(Ws); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (minHeight_ == null) { - MinHeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MinHeight); - break; - } - case 18: { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - input.ReadMessage(Ws); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBoxedTableCellType : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBoxedTableCellType()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[63]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedTableCellType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedTableCellType(ProtoBoxedTableCellType other) : this() { - value_ = other.value_; - isNull_ = other.isNull_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBoxedTableCellType Clone() { - return new ProtoBoxedTableCellType(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private global::Docframe.ProtoTableCellType value_ = global::Docframe.ProtoTableCellType.TableCellBody; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableCellType Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "isNull" field. - public const int IsNullFieldNumber = 2; - private bool isNull_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsNull { - get { return isNull_; } - set { - isNull_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBoxedTableCellType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBoxedTableCellType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Value != other.Value) return false; - if (IsNull != other.IsNull) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Value != global::Docframe.ProtoTableCellType.TableCellBody) hash ^= Value.GetHashCode(); - if (IsNull != false) hash ^= IsNull.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Value != global::Docframe.ProtoTableCellType.TableCellBody) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Value != global::Docframe.ProtoTableCellType.TableCellBody) { - output.WriteRawTag(8); - output.WriteEnum((int) Value); - } - if (IsNull != false) { - output.WriteRawTag(16); - output.WriteBool(IsNull); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Value != global::Docframe.ProtoTableCellType.TableCellBody) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); - } - if (IsNull != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBoxedTableCellType other) { - if (other == null) { - return; - } - if (other.Value != global::Docframe.ProtoTableCellType.TableCellBody) { - Value = other.Value; - } - if (other.IsNull != false) { - IsNull = other.IsNull; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Value = (global::Docframe.ProtoTableCellType) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Value = (global::Docframe.ProtoTableCellType) input.ReadEnum(); - break; - } - case 16: { - IsNull = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableCell : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableCell()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[64]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCell() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCell(ProtoTableCell other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - cellConfigNumber_ = other.cellConfigNumber_ != null ? other.cellConfigNumber_.Clone() : null; - mergedLeft_ = other.mergedLeft_; - mergedUp_ = other.mergedUp_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - elementProperties_ = other.elementProperties_ != null ? other.elementProperties_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCell Clone() { - return new ProtoTableCell(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 3; - private global::Docframe.ProtoTableCellSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableCellSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - /// Field number for the "cellConfigNumber" field. - public const int CellConfigNumberFieldNumber = 4; - private global::Docframe.ProtoBoxedUint32 cellConfigNumber_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedUint32 CellConfigNumber { - get { return cellConfigNumber_; } - set { - cellConfigNumber_ = value; - } - } - - /// Field number for the "mergedLeft" field. - public const int MergedLeftFieldNumber = 5; - private bool mergedLeft_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool MergedLeft { - get { return mergedLeft_; } - set { - mergedLeft_ = value; - } - } - - /// Field number for the "mergedUp" field. - public const int MergedUpFieldNumber = 6; - private bool mergedUp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool MergedUp { - get { return mergedUp_; } - set { - mergedUp_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(58); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "elementProperties" field. - public const int ElementPropertiesFieldNumber = 8; - private global::Docframe.ProtoTableElementProperties elementProperties_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableElementProperties ElementProperties { - get { return elementProperties_; } - set { - elementProperties_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableCell); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableCell other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Settings, other.Settings)) return false; - if (!object.Equals(CellConfigNumber, other.CellConfigNumber)) return false; - if (MergedLeft != other.MergedLeft) return false; - if (MergedUp != other.MergedUp) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (!object.Equals(ElementProperties, other.ElementProperties)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (settings_ != null) hash ^= Settings.GetHashCode(); - if (cellConfigNumber_ != null) hash ^= CellConfigNumber.GetHashCode(); - if (MergedLeft != false) hash ^= MergedLeft.GetHashCode(); - if (MergedUp != false) hash ^= MergedUp.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (elementProperties_ != null) hash ^= ElementProperties.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Settings); - } - if (cellConfigNumber_ != null) { - output.WriteRawTag(34); - output.WriteMessage(CellConfigNumber); - } - if (MergedLeft != false) { - output.WriteRawTag(40); - output.WriteBool(MergedLeft); - } - if (MergedUp != false) { - output.WriteRawTag(48); - output.WriteBool(MergedUp); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - output.WriteRawTag(66); - output.WriteMessage(ElementProperties); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Settings); - } - if (cellConfigNumber_ != null) { - output.WriteRawTag(34); - output.WriteMessage(CellConfigNumber); - } - if (MergedLeft != false) { - output.WriteRawTag(40); - output.WriteBool(MergedLeft); - } - if (MergedUp != false) { - output.WriteRawTag(48); - output.WriteBool(MergedUp); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - output.WriteRawTag(66); - output.WriteMessage(ElementProperties); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - if (cellConfigNumber_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(CellConfigNumber); - } - if (MergedLeft != false) { - size += 1 + 1; - } - if (MergedUp != false) { - size += 1 + 1; - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (elementProperties_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ElementProperties); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableCell other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableCellSettings(); - } - Settings.MergeFrom(other.Settings); - } - if (other.cellConfigNumber_ != null) { - if (cellConfigNumber_ == null) { - CellConfigNumber = new global::Docframe.ProtoBoxedUint32(); - } - CellConfigNumber.MergeFrom(other.CellConfigNumber); - } - if (other.MergedLeft != false) { - MergedLeft = other.MergedLeft; - } - if (other.MergedUp != false) { - MergedUp = other.MergedUp; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.elementProperties_ != null) { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - ElementProperties.MergeFrom(other.ElementProperties); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableCellSettings(); - } - input.ReadMessage(Settings); - break; - } - case 34: { - if (cellConfigNumber_ == null) { - CellConfigNumber = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(CellConfigNumber); - break; - } - case 40: { - MergedLeft = input.ReadBool(); - break; - } - case 48: { - MergedUp = input.ReadBool(); - break; - } - case 58: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 66: { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - input.ReadMessage(ElementProperties); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableCellSettings(); - } - input.ReadMessage(Settings); - break; - } - case 34: { - if (cellConfigNumber_ == null) { - CellConfigNumber = new global::Docframe.ProtoBoxedUint32(); - } - input.ReadMessage(CellConfigNumber); - break; - } - case 40: { - MergedLeft = input.ReadBool(); - break; - } - case 48: { - MergedUp = input.ReadBool(); - break; - } - case 58: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 66: { - if (elementProperties_ == null) { - ElementProperties = new global::Docframe.ProtoTableElementProperties(); - } - input.ReadMessage(ElementProperties); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableCellConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableCellConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[65]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCellConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCellConfig(ProtoTableCellConfig other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - configName_ = other.configName_; - cellType_ = other.cellType_ != null ? other.cellType_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCellConfig Clone() { - return new ProtoTableCellConfig(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 2; - private global::Docframe.ProtoTableCellSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableCellSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - /// Field number for the "configName" field. - public const int ConfigNameFieldNumber = 3; - private string configName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigName { - get { return configName_; } - set { - configName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "cellType" field. - public const int CellTypeFieldNumber = 4; - private global::Docframe.ProtoBoxedTableCellType cellType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedTableCellType CellType { - get { return cellType_; } - set { - cellType_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableCellConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableCellConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Settings, other.Settings)) return false; - if (ConfigName != other.ConfigName) return false; - if (!object.Equals(CellType, other.CellType)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (settings_ != null) hash ^= Settings.GetHashCode(); - if (ConfigName.Length != 0) hash ^= ConfigName.GetHashCode(); - if (cellType_ != null) hash ^= CellType.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigName); - } - if (cellType_ != null) { - output.WriteRawTag(34); - output.WriteMessage(CellType); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - if (ConfigName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigName); - } - if (cellType_ != null) { - output.WriteRawTag(34); - output.WriteMessage(CellType); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - if (ConfigName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigName); - } - if (cellType_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(CellType); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableCellConfig other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableCellSettings(); - } - Settings.MergeFrom(other.Settings); - } - if (other.ConfigName.Length != 0) { - ConfigName = other.ConfigName; - } - if (other.cellType_ != null) { - if (cellType_ == null) { - CellType = new global::Docframe.ProtoBoxedTableCellType(); - } - CellType.MergeFrom(other.CellType); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableCellSettings(); - } - input.ReadMessage(Settings); - break; - } - case 26: { - ConfigName = input.ReadString(); - break; - } - case 34: { - if (cellType_ == null) { - CellType = new global::Docframe.ProtoBoxedTableCellType(); - } - input.ReadMessage(CellType); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Docframe.ProtoTableCellSettings(); - } - input.ReadMessage(Settings); - break; - } - case 26: { - ConfigName = input.ReadString(); - break; - } - case 34: { - if (cellType_ == null) { - CellType = new global::Docframe.ProtoBoxedTableCellType(); - } - input.ReadMessage(CellType); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableCellSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableCellSettings()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[66]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCellSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCellSettings(ProtoTableCellSettings other) : this() { - width_ = other.width_ != null ? other.width_.Clone() : null; - align_ = other.align_ != null ? other.align_.Clone() : null; - valign_ = other.valign_ != null ? other.valign_.Clone() : null; - backgroundColor_ = other.backgroundColor_ != null ? other.backgroundColor_.Clone() : null; - padding_ = other.padding_ != null ? other.padding_.Clone() : null; - border_ = other.border_ != null ? other.border_.Clone() : null; - margin_ = other.margin_ != null ? other.margin_.Clone() : null; - rotation_ = other.rotation_ != null ? other.rotation_.Clone() : null; - defaultParagraphFormat_ = other.defaultParagraphFormat_ != null ? other.defaultParagraphFormat_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableCellSettings Clone() { - return new ProtoTableCellSettings(this); - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 1; - private global::Docframe.ProtoMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "align" field. - public const int AlignFieldNumber = 2; - private global::Docframe.ProtoBoxedHorizontalAlignment align_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedHorizontalAlignment Align { - get { return align_; } - set { - align_ = value; - } - } - - /// Field number for the "valign" field. - public const int ValignFieldNumber = 3; - private global::Docframe.ProtoBoxedVerticalAlignment valign_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedVerticalAlignment Valign { - get { return valign_; } - set { - valign_ = value; - } - } - - /// Field number for the "backgroundColor" field. - public const int BackgroundColorFieldNumber = 4; - private global::Docframe.ProtoColor backgroundColor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor BackgroundColor { - get { return backgroundColor_; } - set { - backgroundColor_ = value; - } - } - - /// Field number for the "padding" field. - public const int PaddingFieldNumber = 5; - private global::Docframe.ProtoSideMeasures padding_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSideMeasures Padding { - get { return padding_; } - set { - padding_ = value; - } - } - - /// Field number for the "border" field. - public const int BorderFieldNumber = 6; - private global::Docframe.ProtoSideBorders border_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSideBorders Border { - get { return border_; } - set { - border_ = value; - } - } - - /// Field number for the "margin" field. - public const int MarginFieldNumber = 7; - private global::Docframe.ProtoSideMeasures margin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSideMeasures Margin { - get { return margin_; } - set { - margin_ = value; - } - } - - /// Field number for the "rotation" field. - public const int RotationFieldNumber = 8; - private global::Docframe.ProtoBoxedDouble rotation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedDouble Rotation { - get { return rotation_; } - set { - rotation_ = value; - } - } - - /// Field number for the "defaultParagraphFormat" field. - public const int DefaultParagraphFormatFieldNumber = 9; - private global::Docframe.ProtoBoxedString defaultParagraphFormat_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString DefaultParagraphFormat { - get { return defaultParagraphFormat_; } - set { - defaultParagraphFormat_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableCellSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableCellSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Width, other.Width)) return false; - if (!object.Equals(Align, other.Align)) return false; - if (!object.Equals(Valign, other.Valign)) return false; - if (!object.Equals(BackgroundColor, other.BackgroundColor)) return false; - if (!object.Equals(Padding, other.Padding)) return false; - if (!object.Equals(Border, other.Border)) return false; - if (!object.Equals(Margin, other.Margin)) return false; - if (!object.Equals(Rotation, other.Rotation)) return false; - if (!object.Equals(DefaultParagraphFormat, other.DefaultParagraphFormat)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (width_ != null) hash ^= Width.GetHashCode(); - if (align_ != null) hash ^= Align.GetHashCode(); - if (valign_ != null) hash ^= Valign.GetHashCode(); - if (backgroundColor_ != null) hash ^= BackgroundColor.GetHashCode(); - if (padding_ != null) hash ^= Padding.GetHashCode(); - if (border_ != null) hash ^= Border.GetHashCode(); - if (margin_ != null) hash ^= Margin.GetHashCode(); - if (rotation_ != null) hash ^= Rotation.GetHashCode(); - if (defaultParagraphFormat_ != null) hash ^= DefaultParagraphFormat.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (width_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Width); - } - if (align_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Align); - } - if (valign_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Valign); - } - if (backgroundColor_ != null) { - output.WriteRawTag(34); - output.WriteMessage(BackgroundColor); - } - if (padding_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Padding); - } - if (border_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Border); - } - if (margin_ != null) { - output.WriteRawTag(58); - output.WriteMessage(Margin); - } - if (rotation_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Rotation); - } - if (defaultParagraphFormat_ != null) { - output.WriteRawTag(74); - output.WriteMessage(DefaultParagraphFormat); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (width_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Width); - } - if (align_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Align); - } - if (valign_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Valign); - } - if (backgroundColor_ != null) { - output.WriteRawTag(34); - output.WriteMessage(BackgroundColor); - } - if (padding_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Padding); - } - if (border_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Border); - } - if (margin_ != null) { - output.WriteRawTag(58); - output.WriteMessage(Margin); - } - if (rotation_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Rotation); - } - if (defaultParagraphFormat_ != null) { - output.WriteRawTag(74); - output.WriteMessage(DefaultParagraphFormat); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (align_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Align); - } - if (valign_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Valign); - } - if (backgroundColor_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(BackgroundColor); - } - if (padding_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Padding); - } - if (border_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Border); - } - if (margin_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Margin); - } - if (rotation_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Rotation); - } - if (defaultParagraphFormat_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(DefaultParagraphFormat); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableCellSettings other) { - if (other == null) { - return; - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.align_ != null) { - if (align_ == null) { - Align = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - Align.MergeFrom(other.Align); - } - if (other.valign_ != null) { - if (valign_ == null) { - Valign = new global::Docframe.ProtoBoxedVerticalAlignment(); - } - Valign.MergeFrom(other.Valign); - } - if (other.backgroundColor_ != null) { - if (backgroundColor_ == null) { - BackgroundColor = new global::Docframe.ProtoColor(); - } - BackgroundColor.MergeFrom(other.BackgroundColor); - } - if (other.padding_ != null) { - if (padding_ == null) { - Padding = new global::Docframe.ProtoSideMeasures(); - } - Padding.MergeFrom(other.Padding); - } - if (other.border_ != null) { - if (border_ == null) { - Border = new global::Docframe.ProtoSideBorders(); - } - Border.MergeFrom(other.Border); - } - if (other.margin_ != null) { - if (margin_ == null) { - Margin = new global::Docframe.ProtoSideMeasures(); - } - Margin.MergeFrom(other.Margin); - } - if (other.rotation_ != null) { - if (rotation_ == null) { - Rotation = new global::Docframe.ProtoBoxedDouble(); - } - Rotation.MergeFrom(other.Rotation); - } - if (other.defaultParagraphFormat_ != null) { - if (defaultParagraphFormat_ == null) { - DefaultParagraphFormat = new global::Docframe.ProtoBoxedString(); - } - DefaultParagraphFormat.MergeFrom(other.DefaultParagraphFormat); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 18: { - if (align_ == null) { - Align = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - input.ReadMessage(Align); - break; - } - case 26: { - if (valign_ == null) { - Valign = new global::Docframe.ProtoBoxedVerticalAlignment(); - } - input.ReadMessage(Valign); - break; - } - case 34: { - if (backgroundColor_ == null) { - BackgroundColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BackgroundColor); - break; - } - case 42: { - if (padding_ == null) { - Padding = new global::Docframe.ProtoSideMeasures(); - } - input.ReadMessage(Padding); - break; - } - case 50: { - if (border_ == null) { - Border = new global::Docframe.ProtoSideBorders(); - } - input.ReadMessage(Border); - break; - } - case 58: { - if (margin_ == null) { - Margin = new global::Docframe.ProtoSideMeasures(); - } - input.ReadMessage(Margin); - break; - } - case 66: { - if (rotation_ == null) { - Rotation = new global::Docframe.ProtoBoxedDouble(); - } - input.ReadMessage(Rotation); - break; - } - case 74: { - if (defaultParagraphFormat_ == null) { - DefaultParagraphFormat = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(DefaultParagraphFormat); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 18: { - if (align_ == null) { - Align = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - input.ReadMessage(Align); - break; - } - case 26: { - if (valign_ == null) { - Valign = new global::Docframe.ProtoBoxedVerticalAlignment(); - } - input.ReadMessage(Valign); - break; - } - case 34: { - if (backgroundColor_ == null) { - BackgroundColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BackgroundColor); - break; - } - case 42: { - if (padding_ == null) { - Padding = new global::Docframe.ProtoSideMeasures(); - } - input.ReadMessage(Padding); - break; - } - case 50: { - if (border_ == null) { - Border = new global::Docframe.ProtoSideBorders(); - } - input.ReadMessage(Border); - break; - } - case 58: { - if (margin_ == null) { - Margin = new global::Docframe.ProtoSideMeasures(); - } - input.ReadMessage(Margin); - break; - } - case 66: { - if (rotation_ == null) { - Rotation = new global::Docframe.ProtoBoxedDouble(); - } - input.ReadMessage(Rotation); - break; - } - case 74: { - if (defaultParagraphFormat_ == null) { - DefaultParagraphFormat = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(DefaultParagraphFormat); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableWS : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableWS()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[67]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableWS() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableWS(ProtoTableWS other) : this() { - minLinesBefore_ = other.minLinesBefore_; - minLinesAfter_ = other.minLinesAfter_; - priority_ = other.priority_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableWS Clone() { - return new ProtoTableWS(this); - } - - /// Field number for the "minLinesBefore" field. - public const int MinLinesBeforeFieldNumber = 1; - private uint minLinesBefore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint MinLinesBefore { - get { return minLinesBefore_; } - set { - minLinesBefore_ = value; - } - } - - /// Field number for the "minLinesAfter" field. - public const int MinLinesAfterFieldNumber = 2; - private uint minLinesAfter_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint MinLinesAfter { - get { return minLinesAfter_; } - set { - minLinesAfter_ = value; - } - } - - /// Field number for the "priority" field. - public const int PriorityFieldNumber = 3; - private uint priority_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Priority { - get { return priority_; } - set { - priority_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableWS); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableWS other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MinLinesBefore != other.MinLinesBefore) return false; - if (MinLinesAfter != other.MinLinesAfter) return false; - if (Priority != other.Priority) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (MinLinesBefore != 0) hash ^= MinLinesBefore.GetHashCode(); - if (MinLinesAfter != 0) hash ^= MinLinesAfter.GetHashCode(); - if (Priority != 0) hash ^= Priority.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (MinLinesBefore != 0) { - output.WriteRawTag(8); - output.WriteUInt32(MinLinesBefore); - } - if (MinLinesAfter != 0) { - output.WriteRawTag(16); - output.WriteUInt32(MinLinesAfter); - } - if (Priority != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Priority); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (MinLinesBefore != 0) { - output.WriteRawTag(8); - output.WriteUInt32(MinLinesBefore); - } - if (MinLinesAfter != 0) { - output.WriteRawTag(16); - output.WriteUInt32(MinLinesAfter); - } - if (Priority != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Priority); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (MinLinesBefore != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinLinesBefore); - } - if (MinLinesAfter != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinLinesAfter); - } - if (Priority != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Priority); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableWS other) { - if (other == null) { - return; - } - if (other.MinLinesBefore != 0) { - MinLinesBefore = other.MinLinesBefore; - } - if (other.MinLinesAfter != 0) { - MinLinesAfter = other.MinLinesAfter; - } - if (other.Priority != 0) { - Priority = other.Priority; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - MinLinesBefore = input.ReadUInt32(); - break; - } - case 16: { - MinLinesAfter = input.ReadUInt32(); - break; - } - case 24: { - Priority = input.ReadUInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - MinLinesBefore = input.ReadUInt32(); - break; - } - case 16: { - MinLinesAfter = input.ReadUInt32(); - break; - } - case 24: { - Priority = input.ReadUInt32(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTableElementProperties : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableElementProperties()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[68]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableElementProperties() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableElementProperties(ProtoTableElementProperties other) : this() { - widthInheritance_ = other.widthInheritance_; - width_ = other.width_ != null ? other.width_.Clone() : null; - widthCode_ = other.widthCode_; - alignInheritance_ = other.alignInheritance_; - align_ = other.align_ != null ? other.align_.Clone() : null; - alignCode_ = other.alignCode_; - valignInheritance_ = other.valignInheritance_; - valign_ = other.valign_ != null ? other.valign_.Clone() : null; - valignCode_ = other.valignCode_; - backgroundColorInheritance_ = other.backgroundColorInheritance_; - backgroundColor_ = other.backgroundColor_.Clone(); - backgroundColorCode_ = other.backgroundColorCode_; - paddingTopInheritance_ = other.paddingTopInheritance_; - paddingTop_ = other.paddingTop_ != null ? other.paddingTop_.Clone() : null; - paddingTopCode_ = other.paddingTopCode_; - paddingRightInheritance_ = other.paddingRightInheritance_; - paddingRight_ = other.paddingRight_ != null ? other.paddingRight_.Clone() : null; - paddingRightCode_ = other.paddingRightCode_; - paddingBottomInheritance_ = other.paddingBottomInheritance_; - paddingBottom_ = other.paddingBottom_ != null ? other.paddingBottom_.Clone() : null; - paddingBottomCode_ = other.paddingBottomCode_; - paddingLeftInheritance_ = other.paddingLeftInheritance_; - paddingLeft_ = other.paddingLeft_ != null ? other.paddingLeft_.Clone() : null; - paddingLeftCode_ = other.paddingLeftCode_; - borderTopColorInheritance_ = other.borderTopColorInheritance_; - borderTopColor_ = other.borderTopColor_ != null ? other.borderTopColor_.Clone() : null; - borderTopColorCode_ = other.borderTopColorCode_; - borderTopWeightInheritance_ = other.borderTopWeightInheritance_; - borderTopWeight_ = other.borderTopWeight_ != null ? other.borderTopWeight_.Clone() : null; - borderTopWeightCode_ = other.borderTopWeightCode_; - borderRightColorInheritance_ = other.borderRightColorInheritance_; - borderRightColor_ = other.borderRightColor_ != null ? other.borderRightColor_.Clone() : null; - borderRightColorCode_ = other.borderRightColorCode_; - borderRightWeightInheritance_ = other.borderRightWeightInheritance_; - borderRightWeight_ = other.borderRightWeight_ != null ? other.borderRightWeight_.Clone() : null; - borderRightWeightCode_ = other.borderRightWeightCode_; - borderBottomColorInheritance_ = other.borderBottomColorInheritance_; - borderBottomColor_ = other.borderBottomColor_ != null ? other.borderBottomColor_.Clone() : null; - borderBottomColorCode_ = other.borderBottomColorCode_; - borderBottomWeightInheritance_ = other.borderBottomWeightInheritance_; - borderBottomWeight_ = other.borderBottomWeight_ != null ? other.borderBottomWeight_.Clone() : null; - borderBottomWeightCode_ = other.borderBottomWeightCode_; - borderLeftColorInheritance_ = other.borderLeftColorInheritance_; - borderLeftColor_ = other.borderLeftColor_ != null ? other.borderLeftColor_.Clone() : null; - borderLeftColorCode_ = other.borderLeftColorCode_; - borderLeftWeightInheritance_ = other.borderLeftWeightInheritance_; - borderLeftWeight_ = other.borderLeftWeight_ != null ? other.borderLeftWeight_.Clone() : null; - borderLeftWeightCode_ = other.borderLeftWeightCode_; - marginTopInheritance_ = other.marginTopInheritance_; - marginTop_ = other.marginTop_ != null ? other.marginTop_.Clone() : null; - marginTopCode_ = other.marginTopCode_; - marginRightInheritance_ = other.marginRightInheritance_; - marginRight_ = other.marginRight_ != null ? other.marginRight_.Clone() : null; - marginRightCode_ = other.marginRightCode_; - marginBottomInheritance_ = other.marginBottomInheritance_; - marginBottom_ = other.marginBottom_ != null ? other.marginBottom_.Clone() : null; - marginBottomCode_ = other.marginBottomCode_; - marginLeftInheritance_ = other.marginLeftInheritance_; - marginLeft_ = other.marginLeft_ != null ? other.marginLeft_.Clone() : null; - marginLeftCode_ = other.marginLeftCode_; - rotationInheritance_ = other.rotationInheritance_; - rotation_ = other.rotation_ != null ? other.rotation_.Clone() : null; - rotationCode_ = other.rotationCode_; - defaultParagraphFormatUUIDInheritance_ = other.defaultParagraphFormatUUIDInheritance_; - defaultParagraphFormatUUID_ = other.defaultParagraphFormatUUID_ != null ? other.defaultParagraphFormatUUID_.Clone() : null; - defaultParagraphFormatUUIDCode_ = other.defaultParagraphFormatUUIDCode_; - tableContentGroupTypeInheritance_ = other.tableContentGroupTypeInheritance_; - tableContentGroupType_ = other.tableContentGroupType_ != null ? other.tableContentGroupType_.Clone() : null; - tableContentGroupTypeCode_ = other.tableContentGroupTypeCode_; - cellTypeInheritance_ = other.cellTypeInheritance_; - cellType_ = other.cellType_ != null ? other.cellType_.Clone() : null; - cellTypeCode_ = other.cellTypeCode_; - minRowHeightInheritance_ = other.minRowHeightInheritance_; - minRowHeight_ = other.minRowHeight_ != null ? other.minRowHeight_.Clone() : null; - minRowHeightCode_ = other.minRowHeightCode_; - wsInheritance_ = other.wsInheritance_; - ws_ = other.ws_ != null ? other.ws_.Clone() : null; - wsCode_ = other.wsCode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTableElementProperties Clone() { - return new ProtoTableElementProperties(this); - } - - /// Field number for the "widthInheritance" field. - public const int WidthInheritanceFieldNumber = 1; - private global::Docframe.Inheritance widthInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance WidthInheritance { - get { return widthInheritance_; } - set { - widthInheritance_ = value; - } - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 2; - private global::Docframe.ProtoMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "widthCode" field. - public const int WidthCodeFieldNumber = 3; - private string widthCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string WidthCode { - get { return widthCode_; } - set { - widthCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "alignInheritance" field. - public const int AlignInheritanceFieldNumber = 4; - private global::Docframe.Inheritance alignInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance AlignInheritance { - get { return alignInheritance_; } - set { - alignInheritance_ = value; - } - } - - /// Field number for the "align" field. - public const int AlignFieldNumber = 5; - private global::Docframe.ProtoBoxedHorizontalAlignment align_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedHorizontalAlignment Align { - get { return align_; } - set { - align_ = value; - } - } - - /// Field number for the "alignCode" field. - public const int AlignCodeFieldNumber = 6; - private string alignCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AlignCode { - get { return alignCode_; } - set { - alignCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "valignInheritance" field. - public const int ValignInheritanceFieldNumber = 7; - private global::Docframe.Inheritance valignInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance ValignInheritance { - get { return valignInheritance_; } - set { - valignInheritance_ = value; - } - } - - /// Field number for the "valign" field. - public const int ValignFieldNumber = 8; - private global::Docframe.ProtoBoxedVerticalAlignment valign_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedVerticalAlignment Valign { - get { return valign_; } - set { - valign_ = value; - } - } - - /// Field number for the "valignCode" field. - public const int ValignCodeFieldNumber = 9; - private string valignCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ValignCode { - get { return valignCode_; } - set { - valignCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "backgroundColorInheritance" field. - public const int BackgroundColorInheritanceFieldNumber = 10; - private global::Docframe.Inheritance backgroundColorInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BackgroundColorInheritance { - get { return backgroundColorInheritance_; } - set { - backgroundColorInheritance_ = value; - } - } - - /// Field number for the "backgroundColor" field. - public const int BackgroundColorFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_backgroundColor_codec - = pb::FieldCodec.ForMessage(90, global::Docframe.ProtoColor.Parser); - private readonly pbc::RepeatedField backgroundColor_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BackgroundColor { - get { return backgroundColor_; } - } - - /// Field number for the "backgroundColorCode" field. - public const int BackgroundColorCodeFieldNumber = 12; - private string backgroundColorCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BackgroundColorCode { - get { return backgroundColorCode_; } - set { - backgroundColorCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "paddingTopInheritance" field. - public const int PaddingTopInheritanceFieldNumber = 13; - private global::Docframe.Inheritance paddingTopInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance PaddingTopInheritance { - get { return paddingTopInheritance_; } - set { - paddingTopInheritance_ = value; - } - } - - /// Field number for the "paddingTop" field. - public const int PaddingTopFieldNumber = 14; - private global::Docframe.ProtoMeasure paddingTop_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure PaddingTop { - get { return paddingTop_; } - set { - paddingTop_ = value; - } - } - - /// Field number for the "paddingTopCode" field. - public const int PaddingTopCodeFieldNumber = 15; - private string paddingTopCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PaddingTopCode { - get { return paddingTopCode_; } - set { - paddingTopCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "paddingRightInheritance" field. - public const int PaddingRightInheritanceFieldNumber = 16; - private global::Docframe.Inheritance paddingRightInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance PaddingRightInheritance { - get { return paddingRightInheritance_; } - set { - paddingRightInheritance_ = value; - } - } - - /// Field number for the "paddingRight" field. - public const int PaddingRightFieldNumber = 17; - private global::Docframe.ProtoMeasure paddingRight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure PaddingRight { - get { return paddingRight_; } - set { - paddingRight_ = value; - } - } - - /// Field number for the "paddingRightCode" field. - public const int PaddingRightCodeFieldNumber = 18; - private string paddingRightCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PaddingRightCode { - get { return paddingRightCode_; } - set { - paddingRightCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "paddingBottomInheritance" field. - public const int PaddingBottomInheritanceFieldNumber = 19; - private global::Docframe.Inheritance paddingBottomInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance PaddingBottomInheritance { - get { return paddingBottomInheritance_; } - set { - paddingBottomInheritance_ = value; - } - } - - /// Field number for the "paddingBottom" field. - public const int PaddingBottomFieldNumber = 20; - private global::Docframe.ProtoMeasure paddingBottom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure PaddingBottom { - get { return paddingBottom_; } - set { - paddingBottom_ = value; - } - } - - /// Field number for the "paddingBottomCode" field. - public const int PaddingBottomCodeFieldNumber = 21; - private string paddingBottomCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PaddingBottomCode { - get { return paddingBottomCode_; } - set { - paddingBottomCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "paddingLeftInheritance" field. - public const int PaddingLeftInheritanceFieldNumber = 22; - private global::Docframe.Inheritance paddingLeftInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance PaddingLeftInheritance { - get { return paddingLeftInheritance_; } - set { - paddingLeftInheritance_ = value; - } - } - - /// Field number for the "paddingLeft" field. - public const int PaddingLeftFieldNumber = 23; - private global::Docframe.ProtoMeasure paddingLeft_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure PaddingLeft { - get { return paddingLeft_; } - set { - paddingLeft_ = value; - } - } - - /// Field number for the "paddingLeftCode" field. - public const int PaddingLeftCodeFieldNumber = 24; - private string paddingLeftCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PaddingLeftCode { - get { return paddingLeftCode_; } - set { - paddingLeftCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "borderTopColorInheritance" field. - public const int BorderTopColorInheritanceFieldNumber = 25; - private global::Docframe.Inheritance borderTopColorInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BorderTopColorInheritance { - get { return borderTopColorInheritance_; } - set { - borderTopColorInheritance_ = value; - } - } - - /// Field number for the "borderTopColor" field. - public const int BorderTopColorFieldNumber = 26; - private global::Docframe.ProtoColor borderTopColor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor BorderTopColor { - get { return borderTopColor_; } - set { - borderTopColor_ = value; - } - } - - /// Field number for the "borderTopColorCode" field. - public const int BorderTopColorCodeFieldNumber = 27; - private string borderTopColorCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BorderTopColorCode { - get { return borderTopColorCode_; } - set { - borderTopColorCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "borderTopWeightInheritance" field. - public const int BorderTopWeightInheritanceFieldNumber = 28; - private global::Docframe.Inheritance borderTopWeightInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BorderTopWeightInheritance { - get { return borderTopWeightInheritance_; } - set { - borderTopWeightInheritance_ = value; - } - } - - /// Field number for the "borderTopWeight" field. - public const int BorderTopWeightFieldNumber = 29; - private global::Docframe.ProtoMeasure borderTopWeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure BorderTopWeight { - get { return borderTopWeight_; } - set { - borderTopWeight_ = value; - } - } - - /// Field number for the "borderTopWeightCode" field. - public const int BorderTopWeightCodeFieldNumber = 30; - private string borderTopWeightCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BorderTopWeightCode { - get { return borderTopWeightCode_; } - set { - borderTopWeightCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "borderRightColorInheritance" field. - public const int BorderRightColorInheritanceFieldNumber = 31; - private global::Docframe.Inheritance borderRightColorInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BorderRightColorInheritance { - get { return borderRightColorInheritance_; } - set { - borderRightColorInheritance_ = value; - } - } - - /// Field number for the "borderRightColor" field. - public const int BorderRightColorFieldNumber = 32; - private global::Docframe.ProtoColor borderRightColor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor BorderRightColor { - get { return borderRightColor_; } - set { - borderRightColor_ = value; - } - } - - /// Field number for the "borderRightColorCode" field. - public const int BorderRightColorCodeFieldNumber = 33; - private string borderRightColorCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BorderRightColorCode { - get { return borderRightColorCode_; } - set { - borderRightColorCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "borderRightWeightInheritance" field. - public const int BorderRightWeightInheritanceFieldNumber = 34; - private global::Docframe.Inheritance borderRightWeightInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BorderRightWeightInheritance { - get { return borderRightWeightInheritance_; } - set { - borderRightWeightInheritance_ = value; - } - } - - /// Field number for the "borderRightWeight" field. - public const int BorderRightWeightFieldNumber = 35; - private global::Docframe.ProtoMeasure borderRightWeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure BorderRightWeight { - get { return borderRightWeight_; } - set { - borderRightWeight_ = value; - } - } - - /// Field number for the "borderRightWeightCode" field. - public const int BorderRightWeightCodeFieldNumber = 36; - private string borderRightWeightCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BorderRightWeightCode { - get { return borderRightWeightCode_; } - set { - borderRightWeightCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "borderBottomColorInheritance" field. - public const int BorderBottomColorInheritanceFieldNumber = 37; - private global::Docframe.Inheritance borderBottomColorInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BorderBottomColorInheritance { - get { return borderBottomColorInheritance_; } - set { - borderBottomColorInheritance_ = value; - } - } - - /// Field number for the "borderBottomColor" field. - public const int BorderBottomColorFieldNumber = 38; - private global::Docframe.ProtoColor borderBottomColor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor BorderBottomColor { - get { return borderBottomColor_; } - set { - borderBottomColor_ = value; - } - } - - /// Field number for the "borderBottomColorCode" field. - public const int BorderBottomColorCodeFieldNumber = 39; - private string borderBottomColorCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BorderBottomColorCode { - get { return borderBottomColorCode_; } - set { - borderBottomColorCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "borderBottomWeightInheritance" field. - public const int BorderBottomWeightInheritanceFieldNumber = 40; - private global::Docframe.Inheritance borderBottomWeightInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BorderBottomWeightInheritance { - get { return borderBottomWeightInheritance_; } - set { - borderBottomWeightInheritance_ = value; - } - } - - /// Field number for the "borderBottomWeight" field. - public const int BorderBottomWeightFieldNumber = 41; - private global::Docframe.ProtoMeasure borderBottomWeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure BorderBottomWeight { - get { return borderBottomWeight_; } - set { - borderBottomWeight_ = value; - } - } - - /// Field number for the "borderBottomWeightCode" field. - public const int BorderBottomWeightCodeFieldNumber = 42; - private string borderBottomWeightCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BorderBottomWeightCode { - get { return borderBottomWeightCode_; } - set { - borderBottomWeightCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "borderLeftColorInheritance" field. - public const int BorderLeftColorInheritanceFieldNumber = 43; - private global::Docframe.Inheritance borderLeftColorInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BorderLeftColorInheritance { - get { return borderLeftColorInheritance_; } - set { - borderLeftColorInheritance_ = value; - } - } - - /// Field number for the "borderLeftColor" field. - public const int BorderLeftColorFieldNumber = 44; - private global::Docframe.ProtoColor borderLeftColor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor BorderLeftColor { - get { return borderLeftColor_; } - set { - borderLeftColor_ = value; - } - } - - /// Field number for the "borderLeftColorCode" field. - public const int BorderLeftColorCodeFieldNumber = 45; - private string borderLeftColorCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BorderLeftColorCode { - get { return borderLeftColorCode_; } - set { - borderLeftColorCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "borderLeftWeightInheritance" field. - public const int BorderLeftWeightInheritanceFieldNumber = 46; - private global::Docframe.Inheritance borderLeftWeightInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance BorderLeftWeightInheritance { - get { return borderLeftWeightInheritance_; } - set { - borderLeftWeightInheritance_ = value; - } - } - - /// Field number for the "borderLeftWeight" field. - public const int BorderLeftWeightFieldNumber = 47; - private global::Docframe.ProtoMeasure borderLeftWeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure BorderLeftWeight { - get { return borderLeftWeight_; } - set { - borderLeftWeight_ = value; - } - } - - /// Field number for the "borderLeftWeightCode" field. - public const int BorderLeftWeightCodeFieldNumber = 48; - private string borderLeftWeightCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BorderLeftWeightCode { - get { return borderLeftWeightCode_; } - set { - borderLeftWeightCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "marginTopInheritance" field. - public const int MarginTopInheritanceFieldNumber = 49; - private global::Docframe.Inheritance marginTopInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance MarginTopInheritance { - get { return marginTopInheritance_; } - set { - marginTopInheritance_ = value; - } - } - - /// Field number for the "marginTop" field. - public const int MarginTopFieldNumber = 50; - private global::Docframe.ProtoMeasure marginTop_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure MarginTop { - get { return marginTop_; } - set { - marginTop_ = value; - } - } - - /// Field number for the "marginTopCode" field. - public const int MarginTopCodeFieldNumber = 51; - private string marginTopCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MarginTopCode { - get { return marginTopCode_; } - set { - marginTopCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "marginRightInheritance" field. - public const int MarginRightInheritanceFieldNumber = 52; - private global::Docframe.Inheritance marginRightInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance MarginRightInheritance { - get { return marginRightInheritance_; } - set { - marginRightInheritance_ = value; - } - } - - /// Field number for the "marginRight" field. - public const int MarginRightFieldNumber = 53; - private global::Docframe.ProtoMeasure marginRight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure MarginRight { - get { return marginRight_; } - set { - marginRight_ = value; - } - } - - /// Field number for the "marginRightCode" field. - public const int MarginRightCodeFieldNumber = 54; - private string marginRightCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MarginRightCode { - get { return marginRightCode_; } - set { - marginRightCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "marginBottomInheritance" field. - public const int MarginBottomInheritanceFieldNumber = 55; - private global::Docframe.Inheritance marginBottomInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance MarginBottomInheritance { - get { return marginBottomInheritance_; } - set { - marginBottomInheritance_ = value; - } - } - - /// Field number for the "marginBottom" field. - public const int MarginBottomFieldNumber = 56; - private global::Docframe.ProtoMeasure marginBottom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure MarginBottom { - get { return marginBottom_; } - set { - marginBottom_ = value; - } - } - - /// Field number for the "marginBottomCode" field. - public const int MarginBottomCodeFieldNumber = 57; - private string marginBottomCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MarginBottomCode { - get { return marginBottomCode_; } - set { - marginBottomCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "marginLeftInheritance" field. - public const int MarginLeftInheritanceFieldNumber = 58; - private global::Docframe.Inheritance marginLeftInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance MarginLeftInheritance { - get { return marginLeftInheritance_; } - set { - marginLeftInheritance_ = value; - } - } - - /// Field number for the "marginLeft" field. - public const int MarginLeftFieldNumber = 59; - private global::Docframe.ProtoMeasure marginLeft_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure MarginLeft { - get { return marginLeft_; } - set { - marginLeft_ = value; - } - } - - /// Field number for the "marginLeftCode" field. - public const int MarginLeftCodeFieldNumber = 60; - private string marginLeftCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MarginLeftCode { - get { return marginLeftCode_; } - set { - marginLeftCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "rotationInheritance" field. - public const int RotationInheritanceFieldNumber = 61; - private global::Docframe.Inheritance rotationInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance RotationInheritance { - get { return rotationInheritance_; } - set { - rotationInheritance_ = value; - } - } - - /// Field number for the "rotation" field. - public const int RotationFieldNumber = 62; - private global::Docframe.ProtoBoxedDouble rotation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedDouble Rotation { - get { return rotation_; } - set { - rotation_ = value; - } - } - - /// Field number for the "rotationCode" field. - public const int RotationCodeFieldNumber = 63; - private string rotationCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RotationCode { - get { return rotationCode_; } - set { - rotationCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "defaultParagraphFormatUUIDInheritance" field. - public const int DefaultParagraphFormatUUIDInheritanceFieldNumber = 64; - private global::Docframe.Inheritance defaultParagraphFormatUUIDInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance DefaultParagraphFormatUUIDInheritance { - get { return defaultParagraphFormatUUIDInheritance_; } - set { - defaultParagraphFormatUUIDInheritance_ = value; - } - } - - /// Field number for the "defaultParagraphFormatUUID" field. - public const int DefaultParagraphFormatUUIDFieldNumber = 65; - private global::Docframe.ProtoBoxedString defaultParagraphFormatUUID_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedString DefaultParagraphFormatUUID { - get { return defaultParagraphFormatUUID_; } - set { - defaultParagraphFormatUUID_ = value; - } - } - - /// Field number for the "defaultParagraphFormatUUIDCode" field. - public const int DefaultParagraphFormatUUIDCodeFieldNumber = 66; - private string defaultParagraphFormatUUIDCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DefaultParagraphFormatUUIDCode { - get { return defaultParagraphFormatUUIDCode_; } - set { - defaultParagraphFormatUUIDCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tableContentGroupTypeInheritance" field. - public const int TableContentGroupTypeInheritanceFieldNumber = 67; - private global::Docframe.Inheritance tableContentGroupTypeInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance TableContentGroupTypeInheritance { - get { return tableContentGroupTypeInheritance_; } - set { - tableContentGroupTypeInheritance_ = value; - } - } - - /// Field number for the "tableContentGroupType" field. - public const int TableContentGroupTypeFieldNumber = 68; - private global::Docframe.ProtoBoxedTableContentGroupType tableContentGroupType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedTableContentGroupType TableContentGroupType { - get { return tableContentGroupType_; } - set { - tableContentGroupType_ = value; - } - } - - /// Field number for the "tableContentGroupTypeCode" field. - public const int TableContentGroupTypeCodeFieldNumber = 69; - private string tableContentGroupTypeCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TableContentGroupTypeCode { - get { return tableContentGroupTypeCode_; } - set { - tableContentGroupTypeCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "cellTypeInheritance" field. - public const int CellTypeInheritanceFieldNumber = 70; - private global::Docframe.Inheritance cellTypeInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance CellTypeInheritance { - get { return cellTypeInheritance_; } - set { - cellTypeInheritance_ = value; - } - } - - /// Field number for the "cellType" field. - public const int CellTypeFieldNumber = 71; - private global::Docframe.ProtoBoxedTableCellType cellType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedTableCellType CellType { - get { return cellType_; } - set { - cellType_ = value; - } - } - - /// Field number for the "cellTypeCode" field. - public const int CellTypeCodeFieldNumber = 72; - private string cellTypeCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CellTypeCode { - get { return cellTypeCode_; } - set { - cellTypeCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "minRowHeightInheritance" field. - public const int MinRowHeightInheritanceFieldNumber = 73; - private global::Docframe.Inheritance minRowHeightInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance MinRowHeightInheritance { - get { return minRowHeightInheritance_; } - set { - minRowHeightInheritance_ = value; - } - } - - /// Field number for the "minRowHeight" field. - public const int MinRowHeightFieldNumber = 74; - private global::Docframe.ProtoMeasure minRowHeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure MinRowHeight { - get { return minRowHeight_; } - set { - minRowHeight_ = value; - } - } - - /// Field number for the "minRowHeightCode" field. - public const int MinRowHeightCodeFieldNumber = 75; - private string minRowHeightCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MinRowHeightCode { - get { return minRowHeightCode_; } - set { - minRowHeightCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "wsInheritance" field. - public const int WsInheritanceFieldNumber = 76; - private global::Docframe.Inheritance wsInheritance_ = global::Docframe.Inheritance.Inherit; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.Inheritance WsInheritance { - get { return wsInheritance_; } - set { - wsInheritance_ = value; - } - } - - /// Field number for the "ws" field. - public const int WsFieldNumber = 77; - private global::Docframe.ProtoTableWS ws_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableWS Ws { - get { return ws_; } - set { - ws_ = value; - } - } - - /// Field number for the "wsCode" field. - public const int WsCodeFieldNumber = 78; - private string wsCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string WsCode { - get { return wsCode_; } - set { - wsCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTableElementProperties); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTableElementProperties other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (WidthInheritance != other.WidthInheritance) return false; - if (!object.Equals(Width, other.Width)) return false; - if (WidthCode != other.WidthCode) return false; - if (AlignInheritance != other.AlignInheritance) return false; - if (!object.Equals(Align, other.Align)) return false; - if (AlignCode != other.AlignCode) return false; - if (ValignInheritance != other.ValignInheritance) return false; - if (!object.Equals(Valign, other.Valign)) return false; - if (ValignCode != other.ValignCode) return false; - if (BackgroundColorInheritance != other.BackgroundColorInheritance) return false; - if(!backgroundColor_.Equals(other.backgroundColor_)) return false; - if (BackgroundColorCode != other.BackgroundColorCode) return false; - if (PaddingTopInheritance != other.PaddingTopInheritance) return false; - if (!object.Equals(PaddingTop, other.PaddingTop)) return false; - if (PaddingTopCode != other.PaddingTopCode) return false; - if (PaddingRightInheritance != other.PaddingRightInheritance) return false; - if (!object.Equals(PaddingRight, other.PaddingRight)) return false; - if (PaddingRightCode != other.PaddingRightCode) return false; - if (PaddingBottomInheritance != other.PaddingBottomInheritance) return false; - if (!object.Equals(PaddingBottom, other.PaddingBottom)) return false; - if (PaddingBottomCode != other.PaddingBottomCode) return false; - if (PaddingLeftInheritance != other.PaddingLeftInheritance) return false; - if (!object.Equals(PaddingLeft, other.PaddingLeft)) return false; - if (PaddingLeftCode != other.PaddingLeftCode) return false; - if (BorderTopColorInheritance != other.BorderTopColorInheritance) return false; - if (!object.Equals(BorderTopColor, other.BorderTopColor)) return false; - if (BorderTopColorCode != other.BorderTopColorCode) return false; - if (BorderTopWeightInheritance != other.BorderTopWeightInheritance) return false; - if (!object.Equals(BorderTopWeight, other.BorderTopWeight)) return false; - if (BorderTopWeightCode != other.BorderTopWeightCode) return false; - if (BorderRightColorInheritance != other.BorderRightColorInheritance) return false; - if (!object.Equals(BorderRightColor, other.BorderRightColor)) return false; - if (BorderRightColorCode != other.BorderRightColorCode) return false; - if (BorderRightWeightInheritance != other.BorderRightWeightInheritance) return false; - if (!object.Equals(BorderRightWeight, other.BorderRightWeight)) return false; - if (BorderRightWeightCode != other.BorderRightWeightCode) return false; - if (BorderBottomColorInheritance != other.BorderBottomColorInheritance) return false; - if (!object.Equals(BorderBottomColor, other.BorderBottomColor)) return false; - if (BorderBottomColorCode != other.BorderBottomColorCode) return false; - if (BorderBottomWeightInheritance != other.BorderBottomWeightInheritance) return false; - if (!object.Equals(BorderBottomWeight, other.BorderBottomWeight)) return false; - if (BorderBottomWeightCode != other.BorderBottomWeightCode) return false; - if (BorderLeftColorInheritance != other.BorderLeftColorInheritance) return false; - if (!object.Equals(BorderLeftColor, other.BorderLeftColor)) return false; - if (BorderLeftColorCode != other.BorderLeftColorCode) return false; - if (BorderLeftWeightInheritance != other.BorderLeftWeightInheritance) return false; - if (!object.Equals(BorderLeftWeight, other.BorderLeftWeight)) return false; - if (BorderLeftWeightCode != other.BorderLeftWeightCode) return false; - if (MarginTopInheritance != other.MarginTopInheritance) return false; - if (!object.Equals(MarginTop, other.MarginTop)) return false; - if (MarginTopCode != other.MarginTopCode) return false; - if (MarginRightInheritance != other.MarginRightInheritance) return false; - if (!object.Equals(MarginRight, other.MarginRight)) return false; - if (MarginRightCode != other.MarginRightCode) return false; - if (MarginBottomInheritance != other.MarginBottomInheritance) return false; - if (!object.Equals(MarginBottom, other.MarginBottom)) return false; - if (MarginBottomCode != other.MarginBottomCode) return false; - if (MarginLeftInheritance != other.MarginLeftInheritance) return false; - if (!object.Equals(MarginLeft, other.MarginLeft)) return false; - if (MarginLeftCode != other.MarginLeftCode) return false; - if (RotationInheritance != other.RotationInheritance) return false; - if (!object.Equals(Rotation, other.Rotation)) return false; - if (RotationCode != other.RotationCode) return false; - if (DefaultParagraphFormatUUIDInheritance != other.DefaultParagraphFormatUUIDInheritance) return false; - if (!object.Equals(DefaultParagraphFormatUUID, other.DefaultParagraphFormatUUID)) return false; - if (DefaultParagraphFormatUUIDCode != other.DefaultParagraphFormatUUIDCode) return false; - if (TableContentGroupTypeInheritance != other.TableContentGroupTypeInheritance) return false; - if (!object.Equals(TableContentGroupType, other.TableContentGroupType)) return false; - if (TableContentGroupTypeCode != other.TableContentGroupTypeCode) return false; - if (CellTypeInheritance != other.CellTypeInheritance) return false; - if (!object.Equals(CellType, other.CellType)) return false; - if (CellTypeCode != other.CellTypeCode) return false; - if (MinRowHeightInheritance != other.MinRowHeightInheritance) return false; - if (!object.Equals(MinRowHeight, other.MinRowHeight)) return false; - if (MinRowHeightCode != other.MinRowHeightCode) return false; - if (WsInheritance != other.WsInheritance) return false; - if (!object.Equals(Ws, other.Ws)) return false; - if (WsCode != other.WsCode) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (WidthInheritance != global::Docframe.Inheritance.Inherit) hash ^= WidthInheritance.GetHashCode(); - if (width_ != null) hash ^= Width.GetHashCode(); - if (WidthCode.Length != 0) hash ^= WidthCode.GetHashCode(); - if (AlignInheritance != global::Docframe.Inheritance.Inherit) hash ^= AlignInheritance.GetHashCode(); - if (align_ != null) hash ^= Align.GetHashCode(); - if (AlignCode.Length != 0) hash ^= AlignCode.GetHashCode(); - if (ValignInheritance != global::Docframe.Inheritance.Inherit) hash ^= ValignInheritance.GetHashCode(); - if (valign_ != null) hash ^= Valign.GetHashCode(); - if (ValignCode.Length != 0) hash ^= ValignCode.GetHashCode(); - if (BackgroundColorInheritance != global::Docframe.Inheritance.Inherit) hash ^= BackgroundColorInheritance.GetHashCode(); - hash ^= backgroundColor_.GetHashCode(); - if (BackgroundColorCode.Length != 0) hash ^= BackgroundColorCode.GetHashCode(); - if (PaddingTopInheritance != global::Docframe.Inheritance.Inherit) hash ^= PaddingTopInheritance.GetHashCode(); - if (paddingTop_ != null) hash ^= PaddingTop.GetHashCode(); - if (PaddingTopCode.Length != 0) hash ^= PaddingTopCode.GetHashCode(); - if (PaddingRightInheritance != global::Docframe.Inheritance.Inherit) hash ^= PaddingRightInheritance.GetHashCode(); - if (paddingRight_ != null) hash ^= PaddingRight.GetHashCode(); - if (PaddingRightCode.Length != 0) hash ^= PaddingRightCode.GetHashCode(); - if (PaddingBottomInheritance != global::Docframe.Inheritance.Inherit) hash ^= PaddingBottomInheritance.GetHashCode(); - if (paddingBottom_ != null) hash ^= PaddingBottom.GetHashCode(); - if (PaddingBottomCode.Length != 0) hash ^= PaddingBottomCode.GetHashCode(); - if (PaddingLeftInheritance != global::Docframe.Inheritance.Inherit) hash ^= PaddingLeftInheritance.GetHashCode(); - if (paddingLeft_ != null) hash ^= PaddingLeft.GetHashCode(); - if (PaddingLeftCode.Length != 0) hash ^= PaddingLeftCode.GetHashCode(); - if (BorderTopColorInheritance != global::Docframe.Inheritance.Inherit) hash ^= BorderTopColorInheritance.GetHashCode(); - if (borderTopColor_ != null) hash ^= BorderTopColor.GetHashCode(); - if (BorderTopColorCode.Length != 0) hash ^= BorderTopColorCode.GetHashCode(); - if (BorderTopWeightInheritance != global::Docframe.Inheritance.Inherit) hash ^= BorderTopWeightInheritance.GetHashCode(); - if (borderTopWeight_ != null) hash ^= BorderTopWeight.GetHashCode(); - if (BorderTopWeightCode.Length != 0) hash ^= BorderTopWeightCode.GetHashCode(); - if (BorderRightColorInheritance != global::Docframe.Inheritance.Inherit) hash ^= BorderRightColorInheritance.GetHashCode(); - if (borderRightColor_ != null) hash ^= BorderRightColor.GetHashCode(); - if (BorderRightColorCode.Length != 0) hash ^= BorderRightColorCode.GetHashCode(); - if (BorderRightWeightInheritance != global::Docframe.Inheritance.Inherit) hash ^= BorderRightWeightInheritance.GetHashCode(); - if (borderRightWeight_ != null) hash ^= BorderRightWeight.GetHashCode(); - if (BorderRightWeightCode.Length != 0) hash ^= BorderRightWeightCode.GetHashCode(); - if (BorderBottomColorInheritance != global::Docframe.Inheritance.Inherit) hash ^= BorderBottomColorInheritance.GetHashCode(); - if (borderBottomColor_ != null) hash ^= BorderBottomColor.GetHashCode(); - if (BorderBottomColorCode.Length != 0) hash ^= BorderBottomColorCode.GetHashCode(); - if (BorderBottomWeightInheritance != global::Docframe.Inheritance.Inherit) hash ^= BorderBottomWeightInheritance.GetHashCode(); - if (borderBottomWeight_ != null) hash ^= BorderBottomWeight.GetHashCode(); - if (BorderBottomWeightCode.Length != 0) hash ^= BorderBottomWeightCode.GetHashCode(); - if (BorderLeftColorInheritance != global::Docframe.Inheritance.Inherit) hash ^= BorderLeftColorInheritance.GetHashCode(); - if (borderLeftColor_ != null) hash ^= BorderLeftColor.GetHashCode(); - if (BorderLeftColorCode.Length != 0) hash ^= BorderLeftColorCode.GetHashCode(); - if (BorderLeftWeightInheritance != global::Docframe.Inheritance.Inherit) hash ^= BorderLeftWeightInheritance.GetHashCode(); - if (borderLeftWeight_ != null) hash ^= BorderLeftWeight.GetHashCode(); - if (BorderLeftWeightCode.Length != 0) hash ^= BorderLeftWeightCode.GetHashCode(); - if (MarginTopInheritance != global::Docframe.Inheritance.Inherit) hash ^= MarginTopInheritance.GetHashCode(); - if (marginTop_ != null) hash ^= MarginTop.GetHashCode(); - if (MarginTopCode.Length != 0) hash ^= MarginTopCode.GetHashCode(); - if (MarginRightInheritance != global::Docframe.Inheritance.Inherit) hash ^= MarginRightInheritance.GetHashCode(); - if (marginRight_ != null) hash ^= MarginRight.GetHashCode(); - if (MarginRightCode.Length != 0) hash ^= MarginRightCode.GetHashCode(); - if (MarginBottomInheritance != global::Docframe.Inheritance.Inherit) hash ^= MarginBottomInheritance.GetHashCode(); - if (marginBottom_ != null) hash ^= MarginBottom.GetHashCode(); - if (MarginBottomCode.Length != 0) hash ^= MarginBottomCode.GetHashCode(); - if (MarginLeftInheritance != global::Docframe.Inheritance.Inherit) hash ^= MarginLeftInheritance.GetHashCode(); - if (marginLeft_ != null) hash ^= MarginLeft.GetHashCode(); - if (MarginLeftCode.Length != 0) hash ^= MarginLeftCode.GetHashCode(); - if (RotationInheritance != global::Docframe.Inheritance.Inherit) hash ^= RotationInheritance.GetHashCode(); - if (rotation_ != null) hash ^= Rotation.GetHashCode(); - if (RotationCode.Length != 0) hash ^= RotationCode.GetHashCode(); - if (DefaultParagraphFormatUUIDInheritance != global::Docframe.Inheritance.Inherit) hash ^= DefaultParagraphFormatUUIDInheritance.GetHashCode(); - if (defaultParagraphFormatUUID_ != null) hash ^= DefaultParagraphFormatUUID.GetHashCode(); - if (DefaultParagraphFormatUUIDCode.Length != 0) hash ^= DefaultParagraphFormatUUIDCode.GetHashCode(); - if (TableContentGroupTypeInheritance != global::Docframe.Inheritance.Inherit) hash ^= TableContentGroupTypeInheritance.GetHashCode(); - if (tableContentGroupType_ != null) hash ^= TableContentGroupType.GetHashCode(); - if (TableContentGroupTypeCode.Length != 0) hash ^= TableContentGroupTypeCode.GetHashCode(); - if (CellTypeInheritance != global::Docframe.Inheritance.Inherit) hash ^= CellTypeInheritance.GetHashCode(); - if (cellType_ != null) hash ^= CellType.GetHashCode(); - if (CellTypeCode.Length != 0) hash ^= CellTypeCode.GetHashCode(); - if (MinRowHeightInheritance != global::Docframe.Inheritance.Inherit) hash ^= MinRowHeightInheritance.GetHashCode(); - if (minRowHeight_ != null) hash ^= MinRowHeight.GetHashCode(); - if (MinRowHeightCode.Length != 0) hash ^= MinRowHeightCode.GetHashCode(); - if (WsInheritance != global::Docframe.Inheritance.Inherit) hash ^= WsInheritance.GetHashCode(); - if (ws_ != null) hash ^= Ws.GetHashCode(); - if (WsCode.Length != 0) hash ^= WsCode.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (WidthInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(8); - output.WriteEnum((int) WidthInheritance); - } - if (width_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Width); - } - if (WidthCode.Length != 0) { - output.WriteRawTag(26); - output.WriteString(WidthCode); - } - if (AlignInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(32); - output.WriteEnum((int) AlignInheritance); - } - if (align_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Align); - } - if (AlignCode.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AlignCode); - } - if (ValignInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(56); - output.WriteEnum((int) ValignInheritance); - } - if (valign_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Valign); - } - if (ValignCode.Length != 0) { - output.WriteRawTag(74); - output.WriteString(ValignCode); - } - if (BackgroundColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(80); - output.WriteEnum((int) BackgroundColorInheritance); - } - backgroundColor_.WriteTo(output, _repeated_backgroundColor_codec); - if (BackgroundColorCode.Length != 0) { - output.WriteRawTag(98); - output.WriteString(BackgroundColorCode); - } - if (PaddingTopInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(104); - output.WriteEnum((int) PaddingTopInheritance); - } - if (paddingTop_ != null) { - output.WriteRawTag(114); - output.WriteMessage(PaddingTop); - } - if (PaddingTopCode.Length != 0) { - output.WriteRawTag(122); - output.WriteString(PaddingTopCode); - } - if (PaddingRightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(128, 1); - output.WriteEnum((int) PaddingRightInheritance); - } - if (paddingRight_ != null) { - output.WriteRawTag(138, 1); - output.WriteMessage(PaddingRight); - } - if (PaddingRightCode.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(PaddingRightCode); - } - if (PaddingBottomInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(152, 1); - output.WriteEnum((int) PaddingBottomInheritance); - } - if (paddingBottom_ != null) { - output.WriteRawTag(162, 1); - output.WriteMessage(PaddingBottom); - } - if (PaddingBottomCode.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(PaddingBottomCode); - } - if (PaddingLeftInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(176, 1); - output.WriteEnum((int) PaddingLeftInheritance); - } - if (paddingLeft_ != null) { - output.WriteRawTag(186, 1); - output.WriteMessage(PaddingLeft); - } - if (PaddingLeftCode.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(PaddingLeftCode); - } - if (BorderTopColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(200, 1); - output.WriteEnum((int) BorderTopColorInheritance); - } - if (borderTopColor_ != null) { - output.WriteRawTag(210, 1); - output.WriteMessage(BorderTopColor); - } - if (BorderTopColorCode.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(BorderTopColorCode); - } - if (BorderTopWeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(224, 1); - output.WriteEnum((int) BorderTopWeightInheritance); - } - if (borderTopWeight_ != null) { - output.WriteRawTag(234, 1); - output.WriteMessage(BorderTopWeight); - } - if (BorderTopWeightCode.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(BorderTopWeightCode); - } - if (BorderRightColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(248, 1); - output.WriteEnum((int) BorderRightColorInheritance); - } - if (borderRightColor_ != null) { - output.WriteRawTag(130, 2); - output.WriteMessage(BorderRightColor); - } - if (BorderRightColorCode.Length != 0) { - output.WriteRawTag(138, 2); - output.WriteString(BorderRightColorCode); - } - if (BorderRightWeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(144, 2); - output.WriteEnum((int) BorderRightWeightInheritance); - } - if (borderRightWeight_ != null) { - output.WriteRawTag(154, 2); - output.WriteMessage(BorderRightWeight); - } - if (BorderRightWeightCode.Length != 0) { - output.WriteRawTag(162, 2); - output.WriteString(BorderRightWeightCode); - } - if (BorderBottomColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(168, 2); - output.WriteEnum((int) BorderBottomColorInheritance); - } - if (borderBottomColor_ != null) { - output.WriteRawTag(178, 2); - output.WriteMessage(BorderBottomColor); - } - if (BorderBottomColorCode.Length != 0) { - output.WriteRawTag(186, 2); - output.WriteString(BorderBottomColorCode); - } - if (BorderBottomWeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(192, 2); - output.WriteEnum((int) BorderBottomWeightInheritance); - } - if (borderBottomWeight_ != null) { - output.WriteRawTag(202, 2); - output.WriteMessage(BorderBottomWeight); - } - if (BorderBottomWeightCode.Length != 0) { - output.WriteRawTag(210, 2); - output.WriteString(BorderBottomWeightCode); - } - if (BorderLeftColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(216, 2); - output.WriteEnum((int) BorderLeftColorInheritance); - } - if (borderLeftColor_ != null) { - output.WriteRawTag(226, 2); - output.WriteMessage(BorderLeftColor); - } - if (BorderLeftColorCode.Length != 0) { - output.WriteRawTag(234, 2); - output.WriteString(BorderLeftColorCode); - } - if (BorderLeftWeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(240, 2); - output.WriteEnum((int) BorderLeftWeightInheritance); - } - if (borderLeftWeight_ != null) { - output.WriteRawTag(250, 2); - output.WriteMessage(BorderLeftWeight); - } - if (BorderLeftWeightCode.Length != 0) { - output.WriteRawTag(130, 3); - output.WriteString(BorderLeftWeightCode); - } - if (MarginTopInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(136, 3); - output.WriteEnum((int) MarginTopInheritance); - } - if (marginTop_ != null) { - output.WriteRawTag(146, 3); - output.WriteMessage(MarginTop); - } - if (MarginTopCode.Length != 0) { - output.WriteRawTag(154, 3); - output.WriteString(MarginTopCode); - } - if (MarginRightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(160, 3); - output.WriteEnum((int) MarginRightInheritance); - } - if (marginRight_ != null) { - output.WriteRawTag(170, 3); - output.WriteMessage(MarginRight); - } - if (MarginRightCode.Length != 0) { - output.WriteRawTag(178, 3); - output.WriteString(MarginRightCode); - } - if (MarginBottomInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(184, 3); - output.WriteEnum((int) MarginBottomInheritance); - } - if (marginBottom_ != null) { - output.WriteRawTag(194, 3); - output.WriteMessage(MarginBottom); - } - if (MarginBottomCode.Length != 0) { - output.WriteRawTag(202, 3); - output.WriteString(MarginBottomCode); - } - if (MarginLeftInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(208, 3); - output.WriteEnum((int) MarginLeftInheritance); - } - if (marginLeft_ != null) { - output.WriteRawTag(218, 3); - output.WriteMessage(MarginLeft); - } - if (MarginLeftCode.Length != 0) { - output.WriteRawTag(226, 3); - output.WriteString(MarginLeftCode); - } - if (RotationInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(232, 3); - output.WriteEnum((int) RotationInheritance); - } - if (rotation_ != null) { - output.WriteRawTag(242, 3); - output.WriteMessage(Rotation); - } - if (RotationCode.Length != 0) { - output.WriteRawTag(250, 3); - output.WriteString(RotationCode); - } - if (DefaultParagraphFormatUUIDInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(128, 4); - output.WriteEnum((int) DefaultParagraphFormatUUIDInheritance); - } - if (defaultParagraphFormatUUID_ != null) { - output.WriteRawTag(138, 4); - output.WriteMessage(DefaultParagraphFormatUUID); - } - if (DefaultParagraphFormatUUIDCode.Length != 0) { - output.WriteRawTag(146, 4); - output.WriteString(DefaultParagraphFormatUUIDCode); - } - if (TableContentGroupTypeInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(152, 4); - output.WriteEnum((int) TableContentGroupTypeInheritance); - } - if (tableContentGroupType_ != null) { - output.WriteRawTag(162, 4); - output.WriteMessage(TableContentGroupType); - } - if (TableContentGroupTypeCode.Length != 0) { - output.WriteRawTag(170, 4); - output.WriteString(TableContentGroupTypeCode); - } - if (CellTypeInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(176, 4); - output.WriteEnum((int) CellTypeInheritance); - } - if (cellType_ != null) { - output.WriteRawTag(186, 4); - output.WriteMessage(CellType); - } - if (CellTypeCode.Length != 0) { - output.WriteRawTag(194, 4); - output.WriteString(CellTypeCode); - } - if (MinRowHeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(200, 4); - output.WriteEnum((int) MinRowHeightInheritance); - } - if (minRowHeight_ != null) { - output.WriteRawTag(210, 4); - output.WriteMessage(MinRowHeight); - } - if (MinRowHeightCode.Length != 0) { - output.WriteRawTag(218, 4); - output.WriteString(MinRowHeightCode); - } - if (WsInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(224, 4); - output.WriteEnum((int) WsInheritance); - } - if (ws_ != null) { - output.WriteRawTag(234, 4); - output.WriteMessage(Ws); - } - if (WsCode.Length != 0) { - output.WriteRawTag(242, 4); - output.WriteString(WsCode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (WidthInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(8); - output.WriteEnum((int) WidthInheritance); - } - if (width_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Width); - } - if (WidthCode.Length != 0) { - output.WriteRawTag(26); - output.WriteString(WidthCode); - } - if (AlignInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(32); - output.WriteEnum((int) AlignInheritance); - } - if (align_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Align); - } - if (AlignCode.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AlignCode); - } - if (ValignInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(56); - output.WriteEnum((int) ValignInheritance); - } - if (valign_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Valign); - } - if (ValignCode.Length != 0) { - output.WriteRawTag(74); - output.WriteString(ValignCode); - } - if (BackgroundColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(80); - output.WriteEnum((int) BackgroundColorInheritance); - } - backgroundColor_.WriteTo(ref output, _repeated_backgroundColor_codec); - if (BackgroundColorCode.Length != 0) { - output.WriteRawTag(98); - output.WriteString(BackgroundColorCode); - } - if (PaddingTopInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(104); - output.WriteEnum((int) PaddingTopInheritance); - } - if (paddingTop_ != null) { - output.WriteRawTag(114); - output.WriteMessage(PaddingTop); - } - if (PaddingTopCode.Length != 0) { - output.WriteRawTag(122); - output.WriteString(PaddingTopCode); - } - if (PaddingRightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(128, 1); - output.WriteEnum((int) PaddingRightInheritance); - } - if (paddingRight_ != null) { - output.WriteRawTag(138, 1); - output.WriteMessage(PaddingRight); - } - if (PaddingRightCode.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(PaddingRightCode); - } - if (PaddingBottomInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(152, 1); - output.WriteEnum((int) PaddingBottomInheritance); - } - if (paddingBottom_ != null) { - output.WriteRawTag(162, 1); - output.WriteMessage(PaddingBottom); - } - if (PaddingBottomCode.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(PaddingBottomCode); - } - if (PaddingLeftInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(176, 1); - output.WriteEnum((int) PaddingLeftInheritance); - } - if (paddingLeft_ != null) { - output.WriteRawTag(186, 1); - output.WriteMessage(PaddingLeft); - } - if (PaddingLeftCode.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(PaddingLeftCode); - } - if (BorderTopColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(200, 1); - output.WriteEnum((int) BorderTopColorInheritance); - } - if (borderTopColor_ != null) { - output.WriteRawTag(210, 1); - output.WriteMessage(BorderTopColor); - } - if (BorderTopColorCode.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(BorderTopColorCode); - } - if (BorderTopWeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(224, 1); - output.WriteEnum((int) BorderTopWeightInheritance); - } - if (borderTopWeight_ != null) { - output.WriteRawTag(234, 1); - output.WriteMessage(BorderTopWeight); - } - if (BorderTopWeightCode.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(BorderTopWeightCode); - } - if (BorderRightColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(248, 1); - output.WriteEnum((int) BorderRightColorInheritance); - } - if (borderRightColor_ != null) { - output.WriteRawTag(130, 2); - output.WriteMessage(BorderRightColor); - } - if (BorderRightColorCode.Length != 0) { - output.WriteRawTag(138, 2); - output.WriteString(BorderRightColorCode); - } - if (BorderRightWeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(144, 2); - output.WriteEnum((int) BorderRightWeightInheritance); - } - if (borderRightWeight_ != null) { - output.WriteRawTag(154, 2); - output.WriteMessage(BorderRightWeight); - } - if (BorderRightWeightCode.Length != 0) { - output.WriteRawTag(162, 2); - output.WriteString(BorderRightWeightCode); - } - if (BorderBottomColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(168, 2); - output.WriteEnum((int) BorderBottomColorInheritance); - } - if (borderBottomColor_ != null) { - output.WriteRawTag(178, 2); - output.WriteMessage(BorderBottomColor); - } - if (BorderBottomColorCode.Length != 0) { - output.WriteRawTag(186, 2); - output.WriteString(BorderBottomColorCode); - } - if (BorderBottomWeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(192, 2); - output.WriteEnum((int) BorderBottomWeightInheritance); - } - if (borderBottomWeight_ != null) { - output.WriteRawTag(202, 2); - output.WriteMessage(BorderBottomWeight); - } - if (BorderBottomWeightCode.Length != 0) { - output.WriteRawTag(210, 2); - output.WriteString(BorderBottomWeightCode); - } - if (BorderLeftColorInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(216, 2); - output.WriteEnum((int) BorderLeftColorInheritance); - } - if (borderLeftColor_ != null) { - output.WriteRawTag(226, 2); - output.WriteMessage(BorderLeftColor); - } - if (BorderLeftColorCode.Length != 0) { - output.WriteRawTag(234, 2); - output.WriteString(BorderLeftColorCode); - } - if (BorderLeftWeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(240, 2); - output.WriteEnum((int) BorderLeftWeightInheritance); - } - if (borderLeftWeight_ != null) { - output.WriteRawTag(250, 2); - output.WriteMessage(BorderLeftWeight); - } - if (BorderLeftWeightCode.Length != 0) { - output.WriteRawTag(130, 3); - output.WriteString(BorderLeftWeightCode); - } - if (MarginTopInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(136, 3); - output.WriteEnum((int) MarginTopInheritance); - } - if (marginTop_ != null) { - output.WriteRawTag(146, 3); - output.WriteMessage(MarginTop); - } - if (MarginTopCode.Length != 0) { - output.WriteRawTag(154, 3); - output.WriteString(MarginTopCode); - } - if (MarginRightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(160, 3); - output.WriteEnum((int) MarginRightInheritance); - } - if (marginRight_ != null) { - output.WriteRawTag(170, 3); - output.WriteMessage(MarginRight); - } - if (MarginRightCode.Length != 0) { - output.WriteRawTag(178, 3); - output.WriteString(MarginRightCode); - } - if (MarginBottomInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(184, 3); - output.WriteEnum((int) MarginBottomInheritance); - } - if (marginBottom_ != null) { - output.WriteRawTag(194, 3); - output.WriteMessage(MarginBottom); - } - if (MarginBottomCode.Length != 0) { - output.WriteRawTag(202, 3); - output.WriteString(MarginBottomCode); - } - if (MarginLeftInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(208, 3); - output.WriteEnum((int) MarginLeftInheritance); - } - if (marginLeft_ != null) { - output.WriteRawTag(218, 3); - output.WriteMessage(MarginLeft); - } - if (MarginLeftCode.Length != 0) { - output.WriteRawTag(226, 3); - output.WriteString(MarginLeftCode); - } - if (RotationInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(232, 3); - output.WriteEnum((int) RotationInheritance); - } - if (rotation_ != null) { - output.WriteRawTag(242, 3); - output.WriteMessage(Rotation); - } - if (RotationCode.Length != 0) { - output.WriteRawTag(250, 3); - output.WriteString(RotationCode); - } - if (DefaultParagraphFormatUUIDInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(128, 4); - output.WriteEnum((int) DefaultParagraphFormatUUIDInheritance); - } - if (defaultParagraphFormatUUID_ != null) { - output.WriteRawTag(138, 4); - output.WriteMessage(DefaultParagraphFormatUUID); - } - if (DefaultParagraphFormatUUIDCode.Length != 0) { - output.WriteRawTag(146, 4); - output.WriteString(DefaultParagraphFormatUUIDCode); - } - if (TableContentGroupTypeInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(152, 4); - output.WriteEnum((int) TableContentGroupTypeInheritance); - } - if (tableContentGroupType_ != null) { - output.WriteRawTag(162, 4); - output.WriteMessage(TableContentGroupType); - } - if (TableContentGroupTypeCode.Length != 0) { - output.WriteRawTag(170, 4); - output.WriteString(TableContentGroupTypeCode); - } - if (CellTypeInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(176, 4); - output.WriteEnum((int) CellTypeInheritance); - } - if (cellType_ != null) { - output.WriteRawTag(186, 4); - output.WriteMessage(CellType); - } - if (CellTypeCode.Length != 0) { - output.WriteRawTag(194, 4); - output.WriteString(CellTypeCode); - } - if (MinRowHeightInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(200, 4); - output.WriteEnum((int) MinRowHeightInheritance); - } - if (minRowHeight_ != null) { - output.WriteRawTag(210, 4); - output.WriteMessage(MinRowHeight); - } - if (MinRowHeightCode.Length != 0) { - output.WriteRawTag(218, 4); - output.WriteString(MinRowHeightCode); - } - if (WsInheritance != global::Docframe.Inheritance.Inherit) { - output.WriteRawTag(224, 4); - output.WriteEnum((int) WsInheritance); - } - if (ws_ != null) { - output.WriteRawTag(234, 4); - output.WriteMessage(Ws); - } - if (WsCode.Length != 0) { - output.WriteRawTag(242, 4); - output.WriteString(WsCode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (WidthInheritance != global::Docframe.Inheritance.Inherit) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WidthInheritance); - } - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (WidthCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(WidthCode); - } - if (AlignInheritance != global::Docframe.Inheritance.Inherit) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AlignInheritance); - } - if (align_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Align); - } - if (AlignCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AlignCode); - } - if (ValignInheritance != global::Docframe.Inheritance.Inherit) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ValignInheritance); - } - if (valign_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Valign); - } - if (ValignCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ValignCode); - } - if (BackgroundColorInheritance != global::Docframe.Inheritance.Inherit) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BackgroundColorInheritance); - } - size += backgroundColor_.CalculateSize(_repeated_backgroundColor_codec); - if (BackgroundColorCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BackgroundColorCode); - } - if (PaddingTopInheritance != global::Docframe.Inheritance.Inherit) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PaddingTopInheritance); - } - if (paddingTop_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PaddingTop); - } - if (PaddingTopCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PaddingTopCode); - } - if (PaddingRightInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PaddingRightInheritance); - } - if (paddingRight_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PaddingRight); - } - if (PaddingRightCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PaddingRightCode); - } - if (PaddingBottomInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PaddingBottomInheritance); - } - if (paddingBottom_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PaddingBottom); - } - if (PaddingBottomCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PaddingBottomCode); - } - if (PaddingLeftInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PaddingLeftInheritance); - } - if (paddingLeft_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PaddingLeft); - } - if (PaddingLeftCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PaddingLeftCode); - } - if (BorderTopColorInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BorderTopColorInheritance); - } - if (borderTopColor_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BorderTopColor); - } - if (BorderTopColorCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BorderTopColorCode); - } - if (BorderTopWeightInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BorderTopWeightInheritance); - } - if (borderTopWeight_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BorderTopWeight); - } - if (BorderTopWeightCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BorderTopWeightCode); - } - if (BorderRightColorInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BorderRightColorInheritance); - } - if (borderRightColor_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BorderRightColor); - } - if (BorderRightColorCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BorderRightColorCode); - } - if (BorderRightWeightInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BorderRightWeightInheritance); - } - if (borderRightWeight_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BorderRightWeight); - } - if (BorderRightWeightCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BorderRightWeightCode); - } - if (BorderBottomColorInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BorderBottomColorInheritance); - } - if (borderBottomColor_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BorderBottomColor); - } - if (BorderBottomColorCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BorderBottomColorCode); - } - if (BorderBottomWeightInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BorderBottomWeightInheritance); - } - if (borderBottomWeight_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BorderBottomWeight); - } - if (BorderBottomWeightCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BorderBottomWeightCode); - } - if (BorderLeftColorInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BorderLeftColorInheritance); - } - if (borderLeftColor_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BorderLeftColor); - } - if (BorderLeftColorCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BorderLeftColorCode); - } - if (BorderLeftWeightInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BorderLeftWeightInheritance); - } - if (borderLeftWeight_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BorderLeftWeight); - } - if (BorderLeftWeightCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BorderLeftWeightCode); - } - if (MarginTopInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarginTopInheritance); - } - if (marginTop_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(MarginTop); - } - if (MarginTopCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(MarginTopCode); - } - if (MarginRightInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarginRightInheritance); - } - if (marginRight_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(MarginRight); - } - if (MarginRightCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(MarginRightCode); - } - if (MarginBottomInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarginBottomInheritance); - } - if (marginBottom_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(MarginBottom); - } - if (MarginBottomCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(MarginBottomCode); - } - if (MarginLeftInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarginLeftInheritance); - } - if (marginLeft_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(MarginLeft); - } - if (MarginLeftCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(MarginLeftCode); - } - if (RotationInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) RotationInheritance); - } - if (rotation_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Rotation); - } - if (RotationCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(RotationCode); - } - if (DefaultParagraphFormatUUIDInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) DefaultParagraphFormatUUIDInheritance); - } - if (defaultParagraphFormatUUID_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DefaultParagraphFormatUUID); - } - if (DefaultParagraphFormatUUIDCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(DefaultParagraphFormatUUIDCode); - } - if (TableContentGroupTypeInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) TableContentGroupTypeInheritance); - } - if (tableContentGroupType_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TableContentGroupType); - } - if (TableContentGroupTypeCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TableContentGroupTypeCode); - } - if (CellTypeInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) CellTypeInheritance); - } - if (cellType_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CellType); - } - if (CellTypeCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(CellTypeCode); - } - if (MinRowHeightInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MinRowHeightInheritance); - } - if (minRowHeight_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(MinRowHeight); - } - if (MinRowHeightCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(MinRowHeightCode); - } - if (WsInheritance != global::Docframe.Inheritance.Inherit) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) WsInheritance); - } - if (ws_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ws); - } - if (WsCode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(WsCode); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTableElementProperties other) { - if (other == null) { - return; - } - if (other.WidthInheritance != global::Docframe.Inheritance.Inherit) { - WidthInheritance = other.WidthInheritance; - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.WidthCode.Length != 0) { - WidthCode = other.WidthCode; - } - if (other.AlignInheritance != global::Docframe.Inheritance.Inherit) { - AlignInheritance = other.AlignInheritance; - } - if (other.align_ != null) { - if (align_ == null) { - Align = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - Align.MergeFrom(other.Align); - } - if (other.AlignCode.Length != 0) { - AlignCode = other.AlignCode; - } - if (other.ValignInheritance != global::Docframe.Inheritance.Inherit) { - ValignInheritance = other.ValignInheritance; - } - if (other.valign_ != null) { - if (valign_ == null) { - Valign = new global::Docframe.ProtoBoxedVerticalAlignment(); - } - Valign.MergeFrom(other.Valign); - } - if (other.ValignCode.Length != 0) { - ValignCode = other.ValignCode; - } - if (other.BackgroundColorInheritance != global::Docframe.Inheritance.Inherit) { - BackgroundColorInheritance = other.BackgroundColorInheritance; - } - backgroundColor_.Add(other.backgroundColor_); - if (other.BackgroundColorCode.Length != 0) { - BackgroundColorCode = other.BackgroundColorCode; - } - if (other.PaddingTopInheritance != global::Docframe.Inheritance.Inherit) { - PaddingTopInheritance = other.PaddingTopInheritance; - } - if (other.paddingTop_ != null) { - if (paddingTop_ == null) { - PaddingTop = new global::Docframe.ProtoMeasure(); - } - PaddingTop.MergeFrom(other.PaddingTop); - } - if (other.PaddingTopCode.Length != 0) { - PaddingTopCode = other.PaddingTopCode; - } - if (other.PaddingRightInheritance != global::Docframe.Inheritance.Inherit) { - PaddingRightInheritance = other.PaddingRightInheritance; - } - if (other.paddingRight_ != null) { - if (paddingRight_ == null) { - PaddingRight = new global::Docframe.ProtoMeasure(); - } - PaddingRight.MergeFrom(other.PaddingRight); - } - if (other.PaddingRightCode.Length != 0) { - PaddingRightCode = other.PaddingRightCode; - } - if (other.PaddingBottomInheritance != global::Docframe.Inheritance.Inherit) { - PaddingBottomInheritance = other.PaddingBottomInheritance; - } - if (other.paddingBottom_ != null) { - if (paddingBottom_ == null) { - PaddingBottom = new global::Docframe.ProtoMeasure(); - } - PaddingBottom.MergeFrom(other.PaddingBottom); - } - if (other.PaddingBottomCode.Length != 0) { - PaddingBottomCode = other.PaddingBottomCode; - } - if (other.PaddingLeftInheritance != global::Docframe.Inheritance.Inherit) { - PaddingLeftInheritance = other.PaddingLeftInheritance; - } - if (other.paddingLeft_ != null) { - if (paddingLeft_ == null) { - PaddingLeft = new global::Docframe.ProtoMeasure(); - } - PaddingLeft.MergeFrom(other.PaddingLeft); - } - if (other.PaddingLeftCode.Length != 0) { - PaddingLeftCode = other.PaddingLeftCode; - } - if (other.BorderTopColorInheritance != global::Docframe.Inheritance.Inherit) { - BorderTopColorInheritance = other.BorderTopColorInheritance; - } - if (other.borderTopColor_ != null) { - if (borderTopColor_ == null) { - BorderTopColor = new global::Docframe.ProtoColor(); - } - BorderTopColor.MergeFrom(other.BorderTopColor); - } - if (other.BorderTopColorCode.Length != 0) { - BorderTopColorCode = other.BorderTopColorCode; - } - if (other.BorderTopWeightInheritance != global::Docframe.Inheritance.Inherit) { - BorderTopWeightInheritance = other.BorderTopWeightInheritance; - } - if (other.borderTopWeight_ != null) { - if (borderTopWeight_ == null) { - BorderTopWeight = new global::Docframe.ProtoMeasure(); - } - BorderTopWeight.MergeFrom(other.BorderTopWeight); - } - if (other.BorderTopWeightCode.Length != 0) { - BorderTopWeightCode = other.BorderTopWeightCode; - } - if (other.BorderRightColorInheritance != global::Docframe.Inheritance.Inherit) { - BorderRightColorInheritance = other.BorderRightColorInheritance; - } - if (other.borderRightColor_ != null) { - if (borderRightColor_ == null) { - BorderRightColor = new global::Docframe.ProtoColor(); - } - BorderRightColor.MergeFrom(other.BorderRightColor); - } - if (other.BorderRightColorCode.Length != 0) { - BorderRightColorCode = other.BorderRightColorCode; - } - if (other.BorderRightWeightInheritance != global::Docframe.Inheritance.Inherit) { - BorderRightWeightInheritance = other.BorderRightWeightInheritance; - } - if (other.borderRightWeight_ != null) { - if (borderRightWeight_ == null) { - BorderRightWeight = new global::Docframe.ProtoMeasure(); - } - BorderRightWeight.MergeFrom(other.BorderRightWeight); - } - if (other.BorderRightWeightCode.Length != 0) { - BorderRightWeightCode = other.BorderRightWeightCode; - } - if (other.BorderBottomColorInheritance != global::Docframe.Inheritance.Inherit) { - BorderBottomColorInheritance = other.BorderBottomColorInheritance; - } - if (other.borderBottomColor_ != null) { - if (borderBottomColor_ == null) { - BorderBottomColor = new global::Docframe.ProtoColor(); - } - BorderBottomColor.MergeFrom(other.BorderBottomColor); - } - if (other.BorderBottomColorCode.Length != 0) { - BorderBottomColorCode = other.BorderBottomColorCode; - } - if (other.BorderBottomWeightInheritance != global::Docframe.Inheritance.Inherit) { - BorderBottomWeightInheritance = other.BorderBottomWeightInheritance; - } - if (other.borderBottomWeight_ != null) { - if (borderBottomWeight_ == null) { - BorderBottomWeight = new global::Docframe.ProtoMeasure(); - } - BorderBottomWeight.MergeFrom(other.BorderBottomWeight); - } - if (other.BorderBottomWeightCode.Length != 0) { - BorderBottomWeightCode = other.BorderBottomWeightCode; - } - if (other.BorderLeftColorInheritance != global::Docframe.Inheritance.Inherit) { - BorderLeftColorInheritance = other.BorderLeftColorInheritance; - } - if (other.borderLeftColor_ != null) { - if (borderLeftColor_ == null) { - BorderLeftColor = new global::Docframe.ProtoColor(); - } - BorderLeftColor.MergeFrom(other.BorderLeftColor); - } - if (other.BorderLeftColorCode.Length != 0) { - BorderLeftColorCode = other.BorderLeftColorCode; - } - if (other.BorderLeftWeightInheritance != global::Docframe.Inheritance.Inherit) { - BorderLeftWeightInheritance = other.BorderLeftWeightInheritance; - } - if (other.borderLeftWeight_ != null) { - if (borderLeftWeight_ == null) { - BorderLeftWeight = new global::Docframe.ProtoMeasure(); - } - BorderLeftWeight.MergeFrom(other.BorderLeftWeight); - } - if (other.BorderLeftWeightCode.Length != 0) { - BorderLeftWeightCode = other.BorderLeftWeightCode; - } - if (other.MarginTopInheritance != global::Docframe.Inheritance.Inherit) { - MarginTopInheritance = other.MarginTopInheritance; - } - if (other.marginTop_ != null) { - if (marginTop_ == null) { - MarginTop = new global::Docframe.ProtoMeasure(); - } - MarginTop.MergeFrom(other.MarginTop); - } - if (other.MarginTopCode.Length != 0) { - MarginTopCode = other.MarginTopCode; - } - if (other.MarginRightInheritance != global::Docframe.Inheritance.Inherit) { - MarginRightInheritance = other.MarginRightInheritance; - } - if (other.marginRight_ != null) { - if (marginRight_ == null) { - MarginRight = new global::Docframe.ProtoMeasure(); - } - MarginRight.MergeFrom(other.MarginRight); - } - if (other.MarginRightCode.Length != 0) { - MarginRightCode = other.MarginRightCode; - } - if (other.MarginBottomInheritance != global::Docframe.Inheritance.Inherit) { - MarginBottomInheritance = other.MarginBottomInheritance; - } - if (other.marginBottom_ != null) { - if (marginBottom_ == null) { - MarginBottom = new global::Docframe.ProtoMeasure(); - } - MarginBottom.MergeFrom(other.MarginBottom); - } - if (other.MarginBottomCode.Length != 0) { - MarginBottomCode = other.MarginBottomCode; - } - if (other.MarginLeftInheritance != global::Docframe.Inheritance.Inherit) { - MarginLeftInheritance = other.MarginLeftInheritance; - } - if (other.marginLeft_ != null) { - if (marginLeft_ == null) { - MarginLeft = new global::Docframe.ProtoMeasure(); - } - MarginLeft.MergeFrom(other.MarginLeft); - } - if (other.MarginLeftCode.Length != 0) { - MarginLeftCode = other.MarginLeftCode; - } - if (other.RotationInheritance != global::Docframe.Inheritance.Inherit) { - RotationInheritance = other.RotationInheritance; - } - if (other.rotation_ != null) { - if (rotation_ == null) { - Rotation = new global::Docframe.ProtoBoxedDouble(); - } - Rotation.MergeFrom(other.Rotation); - } - if (other.RotationCode.Length != 0) { - RotationCode = other.RotationCode; - } - if (other.DefaultParagraphFormatUUIDInheritance != global::Docframe.Inheritance.Inherit) { - DefaultParagraphFormatUUIDInheritance = other.DefaultParagraphFormatUUIDInheritance; - } - if (other.defaultParagraphFormatUUID_ != null) { - if (defaultParagraphFormatUUID_ == null) { - DefaultParagraphFormatUUID = new global::Docframe.ProtoBoxedString(); - } - DefaultParagraphFormatUUID.MergeFrom(other.DefaultParagraphFormatUUID); - } - if (other.DefaultParagraphFormatUUIDCode.Length != 0) { - DefaultParagraphFormatUUIDCode = other.DefaultParagraphFormatUUIDCode; - } - if (other.TableContentGroupTypeInheritance != global::Docframe.Inheritance.Inherit) { - TableContentGroupTypeInheritance = other.TableContentGroupTypeInheritance; - } - if (other.tableContentGroupType_ != null) { - if (tableContentGroupType_ == null) { - TableContentGroupType = new global::Docframe.ProtoBoxedTableContentGroupType(); - } - TableContentGroupType.MergeFrom(other.TableContentGroupType); - } - if (other.TableContentGroupTypeCode.Length != 0) { - TableContentGroupTypeCode = other.TableContentGroupTypeCode; - } - if (other.CellTypeInheritance != global::Docframe.Inheritance.Inherit) { - CellTypeInheritance = other.CellTypeInheritance; - } - if (other.cellType_ != null) { - if (cellType_ == null) { - CellType = new global::Docframe.ProtoBoxedTableCellType(); - } - CellType.MergeFrom(other.CellType); - } - if (other.CellTypeCode.Length != 0) { - CellTypeCode = other.CellTypeCode; - } - if (other.MinRowHeightInheritance != global::Docframe.Inheritance.Inherit) { - MinRowHeightInheritance = other.MinRowHeightInheritance; - } - if (other.minRowHeight_ != null) { - if (minRowHeight_ == null) { - MinRowHeight = new global::Docframe.ProtoMeasure(); - } - MinRowHeight.MergeFrom(other.MinRowHeight); - } - if (other.MinRowHeightCode.Length != 0) { - MinRowHeightCode = other.MinRowHeightCode; - } - if (other.WsInheritance != global::Docframe.Inheritance.Inherit) { - WsInheritance = other.WsInheritance; - } - if (other.ws_ != null) { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - Ws.MergeFrom(other.Ws); - } - if (other.WsCode.Length != 0) { - WsCode = other.WsCode; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - WidthInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 18: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 26: { - WidthCode = input.ReadString(); - break; - } - case 32: { - AlignInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 42: { - if (align_ == null) { - Align = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - input.ReadMessage(Align); - break; - } - case 50: { - AlignCode = input.ReadString(); - break; - } - case 56: { - ValignInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 66: { - if (valign_ == null) { - Valign = new global::Docframe.ProtoBoxedVerticalAlignment(); - } - input.ReadMessage(Valign); - break; - } - case 74: { - ValignCode = input.ReadString(); - break; - } - case 80: { - BackgroundColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 90: { - backgroundColor_.AddEntriesFrom(input, _repeated_backgroundColor_codec); - break; - } - case 98: { - BackgroundColorCode = input.ReadString(); - break; - } - case 104: { - PaddingTopInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 114: { - if (paddingTop_ == null) { - PaddingTop = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(PaddingTop); - break; - } - case 122: { - PaddingTopCode = input.ReadString(); - break; - } - case 128: { - PaddingRightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 138: { - if (paddingRight_ == null) { - PaddingRight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(PaddingRight); - break; - } - case 146: { - PaddingRightCode = input.ReadString(); - break; - } - case 152: { - PaddingBottomInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 162: { - if (paddingBottom_ == null) { - PaddingBottom = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(PaddingBottom); - break; - } - case 170: { - PaddingBottomCode = input.ReadString(); - break; - } - case 176: { - PaddingLeftInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 186: { - if (paddingLeft_ == null) { - PaddingLeft = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(PaddingLeft); - break; - } - case 194: { - PaddingLeftCode = input.ReadString(); - break; - } - case 200: { - BorderTopColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 210: { - if (borderTopColor_ == null) { - BorderTopColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BorderTopColor); - break; - } - case 218: { - BorderTopColorCode = input.ReadString(); - break; - } - case 224: { - BorderTopWeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 234: { - if (borderTopWeight_ == null) { - BorderTopWeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(BorderTopWeight); - break; - } - case 242: { - BorderTopWeightCode = input.ReadString(); - break; - } - case 248: { - BorderRightColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 258: { - if (borderRightColor_ == null) { - BorderRightColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BorderRightColor); - break; - } - case 266: { - BorderRightColorCode = input.ReadString(); - break; - } - case 272: { - BorderRightWeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 282: { - if (borderRightWeight_ == null) { - BorderRightWeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(BorderRightWeight); - break; - } - case 290: { - BorderRightWeightCode = input.ReadString(); - break; - } - case 296: { - BorderBottomColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 306: { - if (borderBottomColor_ == null) { - BorderBottomColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BorderBottomColor); - break; - } - case 314: { - BorderBottomColorCode = input.ReadString(); - break; - } - case 320: { - BorderBottomWeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 330: { - if (borderBottomWeight_ == null) { - BorderBottomWeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(BorderBottomWeight); - break; - } - case 338: { - BorderBottomWeightCode = input.ReadString(); - break; - } - case 344: { - BorderLeftColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 354: { - if (borderLeftColor_ == null) { - BorderLeftColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BorderLeftColor); - break; - } - case 362: { - BorderLeftColorCode = input.ReadString(); - break; - } - case 368: { - BorderLeftWeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 378: { - if (borderLeftWeight_ == null) { - BorderLeftWeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(BorderLeftWeight); - break; - } - case 386: { - BorderLeftWeightCode = input.ReadString(); - break; - } - case 392: { - MarginTopInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 402: { - if (marginTop_ == null) { - MarginTop = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MarginTop); - break; - } - case 410: { - MarginTopCode = input.ReadString(); - break; - } - case 416: { - MarginRightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 426: { - if (marginRight_ == null) { - MarginRight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MarginRight); - break; - } - case 434: { - MarginRightCode = input.ReadString(); - break; - } - case 440: { - MarginBottomInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 450: { - if (marginBottom_ == null) { - MarginBottom = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MarginBottom); - break; - } - case 458: { - MarginBottomCode = input.ReadString(); - break; - } - case 464: { - MarginLeftInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 474: { - if (marginLeft_ == null) { - MarginLeft = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MarginLeft); - break; - } - case 482: { - MarginLeftCode = input.ReadString(); - break; - } - case 488: { - RotationInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 498: { - if (rotation_ == null) { - Rotation = new global::Docframe.ProtoBoxedDouble(); - } - input.ReadMessage(Rotation); - break; - } - case 506: { - RotationCode = input.ReadString(); - break; - } - case 512: { - DefaultParagraphFormatUUIDInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 522: { - if (defaultParagraphFormatUUID_ == null) { - DefaultParagraphFormatUUID = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(DefaultParagraphFormatUUID); - break; - } - case 530: { - DefaultParagraphFormatUUIDCode = input.ReadString(); - break; - } - case 536: { - TableContentGroupTypeInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 546: { - if (tableContentGroupType_ == null) { - TableContentGroupType = new global::Docframe.ProtoBoxedTableContentGroupType(); - } - input.ReadMessage(TableContentGroupType); - break; - } - case 554: { - TableContentGroupTypeCode = input.ReadString(); - break; - } - case 560: { - CellTypeInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 570: { - if (cellType_ == null) { - CellType = new global::Docframe.ProtoBoxedTableCellType(); - } - input.ReadMessage(CellType); - break; - } - case 578: { - CellTypeCode = input.ReadString(); - break; - } - case 584: { - MinRowHeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 594: { - if (minRowHeight_ == null) { - MinRowHeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MinRowHeight); - break; - } - case 602: { - MinRowHeightCode = input.ReadString(); - break; - } - case 608: { - WsInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 618: { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - input.ReadMessage(Ws); - break; - } - case 626: { - WsCode = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - WidthInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 18: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 26: { - WidthCode = input.ReadString(); - break; - } - case 32: { - AlignInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 42: { - if (align_ == null) { - Align = new global::Docframe.ProtoBoxedHorizontalAlignment(); - } - input.ReadMessage(Align); - break; - } - case 50: { - AlignCode = input.ReadString(); - break; - } - case 56: { - ValignInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 66: { - if (valign_ == null) { - Valign = new global::Docframe.ProtoBoxedVerticalAlignment(); - } - input.ReadMessage(Valign); - break; - } - case 74: { - ValignCode = input.ReadString(); - break; - } - case 80: { - BackgroundColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 90: { - backgroundColor_.AddEntriesFrom(ref input, _repeated_backgroundColor_codec); - break; - } - case 98: { - BackgroundColorCode = input.ReadString(); - break; - } - case 104: { - PaddingTopInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 114: { - if (paddingTop_ == null) { - PaddingTop = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(PaddingTop); - break; - } - case 122: { - PaddingTopCode = input.ReadString(); - break; - } - case 128: { - PaddingRightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 138: { - if (paddingRight_ == null) { - PaddingRight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(PaddingRight); - break; - } - case 146: { - PaddingRightCode = input.ReadString(); - break; - } - case 152: { - PaddingBottomInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 162: { - if (paddingBottom_ == null) { - PaddingBottom = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(PaddingBottom); - break; - } - case 170: { - PaddingBottomCode = input.ReadString(); - break; - } - case 176: { - PaddingLeftInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 186: { - if (paddingLeft_ == null) { - PaddingLeft = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(PaddingLeft); - break; - } - case 194: { - PaddingLeftCode = input.ReadString(); - break; - } - case 200: { - BorderTopColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 210: { - if (borderTopColor_ == null) { - BorderTopColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BorderTopColor); - break; - } - case 218: { - BorderTopColorCode = input.ReadString(); - break; - } - case 224: { - BorderTopWeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 234: { - if (borderTopWeight_ == null) { - BorderTopWeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(BorderTopWeight); - break; - } - case 242: { - BorderTopWeightCode = input.ReadString(); - break; - } - case 248: { - BorderRightColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 258: { - if (borderRightColor_ == null) { - BorderRightColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BorderRightColor); - break; - } - case 266: { - BorderRightColorCode = input.ReadString(); - break; - } - case 272: { - BorderRightWeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 282: { - if (borderRightWeight_ == null) { - BorderRightWeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(BorderRightWeight); - break; - } - case 290: { - BorderRightWeightCode = input.ReadString(); - break; - } - case 296: { - BorderBottomColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 306: { - if (borderBottomColor_ == null) { - BorderBottomColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BorderBottomColor); - break; - } - case 314: { - BorderBottomColorCode = input.ReadString(); - break; - } - case 320: { - BorderBottomWeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 330: { - if (borderBottomWeight_ == null) { - BorderBottomWeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(BorderBottomWeight); - break; - } - case 338: { - BorderBottomWeightCode = input.ReadString(); - break; - } - case 344: { - BorderLeftColorInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 354: { - if (borderLeftColor_ == null) { - BorderLeftColor = new global::Docframe.ProtoColor(); - } - input.ReadMessage(BorderLeftColor); - break; - } - case 362: { - BorderLeftColorCode = input.ReadString(); - break; - } - case 368: { - BorderLeftWeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 378: { - if (borderLeftWeight_ == null) { - BorderLeftWeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(BorderLeftWeight); - break; - } - case 386: { - BorderLeftWeightCode = input.ReadString(); - break; - } - case 392: { - MarginTopInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 402: { - if (marginTop_ == null) { - MarginTop = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MarginTop); - break; - } - case 410: { - MarginTopCode = input.ReadString(); - break; - } - case 416: { - MarginRightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 426: { - if (marginRight_ == null) { - MarginRight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MarginRight); - break; - } - case 434: { - MarginRightCode = input.ReadString(); - break; - } - case 440: { - MarginBottomInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 450: { - if (marginBottom_ == null) { - MarginBottom = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MarginBottom); - break; - } - case 458: { - MarginBottomCode = input.ReadString(); - break; - } - case 464: { - MarginLeftInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 474: { - if (marginLeft_ == null) { - MarginLeft = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MarginLeft); - break; - } - case 482: { - MarginLeftCode = input.ReadString(); - break; - } - case 488: { - RotationInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 498: { - if (rotation_ == null) { - Rotation = new global::Docframe.ProtoBoxedDouble(); - } - input.ReadMessage(Rotation); - break; - } - case 506: { - RotationCode = input.ReadString(); - break; - } - case 512: { - DefaultParagraphFormatUUIDInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 522: { - if (defaultParagraphFormatUUID_ == null) { - DefaultParagraphFormatUUID = new global::Docframe.ProtoBoxedString(); - } - input.ReadMessage(DefaultParagraphFormatUUID); - break; - } - case 530: { - DefaultParagraphFormatUUIDCode = input.ReadString(); - break; - } - case 536: { - TableContentGroupTypeInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 546: { - if (tableContentGroupType_ == null) { - TableContentGroupType = new global::Docframe.ProtoBoxedTableContentGroupType(); - } - input.ReadMessage(TableContentGroupType); - break; - } - case 554: { - TableContentGroupTypeCode = input.ReadString(); - break; - } - case 560: { - CellTypeInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 570: { - if (cellType_ == null) { - CellType = new global::Docframe.ProtoBoxedTableCellType(); - } - input.ReadMessage(CellType); - break; - } - case 578: { - CellTypeCode = input.ReadString(); - break; - } - case 584: { - MinRowHeightInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 594: { - if (minRowHeight_ == null) { - MinRowHeight = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MinRowHeight); - break; - } - case 602: { - MinRowHeightCode = input.ReadString(); - break; - } - case 608: { - WsInheritance = (global::Docframe.Inheritance) input.ReadEnum(); - break; - } - case 618: { - if (ws_ == null) { - Ws = new global::Docframe.ProtoTableWS(); - } - input.ReadMessage(Ws); - break; - } - case 626: { - WsCode = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoText : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoText()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[69]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoText() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoText(ProtoText other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - content_ = other.content_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoText Clone() { - return new ProtoText(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "content" field. - public const int ContentFieldNumber = 2; - private string content_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } - set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoText); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoText other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Content != other.Content) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Content.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Content); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Content.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Content); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoText other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Content.Length != 0) { - Content = other.Content; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Content = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Content = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBarcode : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBarcode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[70]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBarcode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBarcode(ProtoBarcode other) : this() { - type_ = other.type_; - x_ = other.x_ != null ? other.x_.Clone() : null; - y_ = other.y_ != null ? other.y_.Clone() : null; - referencePoint_ = other.referencePoint_; - rotation_ = other.rotation_; - width_ = other.width_ != null ? other.width_.Clone() : null; - height_ = other.height_ != null ? other.height_.Clone() : null; - padding_ = other.padding_ != null ? other.padding_.Clone() : null; - data_ = other.data_; - positionAbsolute_ = other.positionAbsolute_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - code_ = other.code_; - swissQRData_ = other.swissQRData_ != null ? other.swissQRData_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBarcode Clone() { - return new ProtoBarcode(this); - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 1; - private global::Docframe.ProtoBarcodeType type_ = global::Docframe.ProtoBarcodeType.Pdf417; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBarcodeType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "x" field. - public const int XFieldNumber = 2; - private global::Docframe.ProtoMeasure x_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure X { - get { return x_; } - set { - x_ = value; - } - } - - /// Field number for the "y" field. - public const int YFieldNumber = 3; - private global::Docframe.ProtoMeasure y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Y { - get { return y_; } - set { - y_ = value; - } - } - - /// Field number for the "referencePoint" field. - public const int ReferencePointFieldNumber = 4; - private global::Docframe.ProtoImageReferencePoint referencePoint_ = global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoImageReferencePoint ReferencePoint { - get { return referencePoint_; } - set { - referencePoint_ = value; - } - } - - /// Field number for the "rotation" field. - public const int RotationFieldNumber = 5; - private float rotation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Rotation { - get { return rotation_; } - set { - rotation_ = value; - } - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 6; - private global::Docframe.ProtoMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "height" field. - public const int HeightFieldNumber = 7; - private global::Docframe.ProtoMeasure height_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Height { - get { return height_; } - set { - height_ = value; - } - } - - /// Field number for the "padding" field. - public const int PaddingFieldNumber = 8; - private global::Docframe.ProtoMeasure padding_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Padding { - get { return padding_; } - set { - padding_ = value; - } - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 9; - private string data_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Data { - get { return data_; } - set { - data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "positionAbsolute" field. - public const int PositionAbsoluteFieldNumber = 10; - private bool positionAbsolute_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool PositionAbsolute { - get { return positionAbsolute_; } - set { - positionAbsolute_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(90); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "uuid" field. - public const int UuidFieldNumber = 12; - 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"); - } - } - - /// Field number for the "code" field. - public const int CodeFieldNumber = 13; - private string code_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Code { - get { return code_; } - set { - code_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "swissQRData" field. - public const int SwissQRDataFieldNumber = 14; - private global::Docframe.ProtoSwissQRData swissQRData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSwissQRData SwissQRData { - get { return swissQRData_; } - set { - swissQRData_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBarcode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBarcode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Type != other.Type) return false; - if (!object.Equals(X, other.X)) return false; - if (!object.Equals(Y, other.Y)) return false; - if (ReferencePoint != other.ReferencePoint) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Rotation, other.Rotation)) return false; - if (!object.Equals(Width, other.Width)) return false; - if (!object.Equals(Height, other.Height)) return false; - if (!object.Equals(Padding, other.Padding)) return false; - if (Data != other.Data) return false; - if (PositionAbsolute != other.PositionAbsolute) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - if (Code != other.Code) return false; - if (!object.Equals(SwissQRData, other.SwissQRData)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Type != global::Docframe.ProtoBarcodeType.Pdf417) hash ^= Type.GetHashCode(); - if (x_ != null) hash ^= X.GetHashCode(); - if (y_ != null) hash ^= Y.GetHashCode(); - if (ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) hash ^= ReferencePoint.GetHashCode(); - if (Rotation != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Rotation); - if (width_ != null) hash ^= Width.GetHashCode(); - if (height_ != null) hash ^= Height.GetHashCode(); - if (padding_ != null) hash ^= Padding.GetHashCode(); - if (Data.Length != 0) hash ^= Data.GetHashCode(); - if (PositionAbsolute != false) hash ^= PositionAbsolute.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (Code.Length != 0) hash ^= Code.GetHashCode(); - if (swissQRData_ != null) hash ^= SwissQRData.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Type != global::Docframe.ProtoBarcodeType.Pdf417) { - output.WriteRawTag(8); - output.WriteEnum((int) Type); - } - if (x_ != null) { - output.WriteRawTag(18); - output.WriteMessage(X); - } - if (y_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Y); - } - if (ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) { - output.WriteRawTag(32); - output.WriteEnum((int) ReferencePoint); - } - if (Rotation != 0F) { - output.WriteRawTag(45); - output.WriteFloat(Rotation); - } - if (width_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Width); - } - if (height_ != null) { - output.WriteRawTag(58); - output.WriteMessage(Height); - } - if (padding_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Padding); - } - if (Data.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Data); - } - if (PositionAbsolute != false) { - output.WriteRawTag(80); - output.WriteBool(PositionAbsolute); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Uuid); - } - if (Code.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Code); - } - if (swissQRData_ != null) { - output.WriteRawTag(114); - output.WriteMessage(SwissQRData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Type != global::Docframe.ProtoBarcodeType.Pdf417) { - output.WriteRawTag(8); - output.WriteEnum((int) Type); - } - if (x_ != null) { - output.WriteRawTag(18); - output.WriteMessage(X); - } - if (y_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Y); - } - if (ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) { - output.WriteRawTag(32); - output.WriteEnum((int) ReferencePoint); - } - if (Rotation != 0F) { - output.WriteRawTag(45); - output.WriteFloat(Rotation); - } - if (width_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Width); - } - if (height_ != null) { - output.WriteRawTag(58); - output.WriteMessage(Height); - } - if (padding_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Padding); - } - if (Data.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Data); - } - if (PositionAbsolute != false) { - output.WriteRawTag(80); - output.WriteBool(PositionAbsolute); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Uuid); - } - if (Code.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Code); - } - if (swissQRData_ != null) { - output.WriteRawTag(114); - output.WriteMessage(SwissQRData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Type != global::Docframe.ProtoBarcodeType.Pdf417) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (x_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(X); - } - if (y_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Y); - } - if (ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ReferencePoint); - } - if (Rotation != 0F) { - size += 1 + 4; - } - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (height_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); - } - if (padding_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Padding); - } - if (Data.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); - } - if (PositionAbsolute != false) { - size += 1 + 1; - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (Code.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Code); - } - if (swissQRData_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(SwissQRData); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBarcode other) { - if (other == null) { - return; - } - if (other.Type != global::Docframe.ProtoBarcodeType.Pdf417) { - Type = other.Type; - } - if (other.x_ != null) { - if (x_ == null) { - X = new global::Docframe.ProtoMeasure(); - } - X.MergeFrom(other.X); - } - if (other.y_ != null) { - if (y_ == null) { - Y = new global::Docframe.ProtoMeasure(); - } - Y.MergeFrom(other.Y); - } - if (other.ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) { - ReferencePoint = other.ReferencePoint; - } - if (other.Rotation != 0F) { - Rotation = other.Rotation; - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.height_ != null) { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - Height.MergeFrom(other.Height); - } - if (other.padding_ != null) { - if (padding_ == null) { - Padding = new global::Docframe.ProtoMeasure(); - } - Padding.MergeFrom(other.Padding); - } - if (other.Data.Length != 0) { - Data = other.Data; - } - if (other.PositionAbsolute != false) { - PositionAbsolute = other.PositionAbsolute; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.Code.Length != 0) { - Code = other.Code; - } - if (other.swissQRData_ != null) { - if (swissQRData_ == null) { - SwissQRData = new global::Docframe.ProtoSwissQRData(); - } - SwissQRData.MergeFrom(other.SwissQRData); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Type = (global::Docframe.ProtoBarcodeType) input.ReadEnum(); - break; - } - case 18: { - if (x_ == null) { - X = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(X); - break; - } - case 26: { - if (y_ == null) { - Y = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Y); - break; - } - case 32: { - ReferencePoint = (global::Docframe.ProtoImageReferencePoint) input.ReadEnum(); - break; - } - case 45: { - Rotation = input.ReadFloat(); - break; - } - case 50: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 58: { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Height); - break; - } - case 66: { - if (padding_ == null) { - Padding = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Padding); - break; - } - case 74: { - Data = input.ReadString(); - break; - } - case 80: { - PositionAbsolute = input.ReadBool(); - break; - } - case 90: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 98: { - Uuid = input.ReadString(); - break; - } - case 106: { - Code = input.ReadString(); - break; - } - case 114: { - if (swissQRData_ == null) { - SwissQRData = new global::Docframe.ProtoSwissQRData(); - } - input.ReadMessage(SwissQRData); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Type = (global::Docframe.ProtoBarcodeType) input.ReadEnum(); - break; - } - case 18: { - if (x_ == null) { - X = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(X); - break; - } - case 26: { - if (y_ == null) { - Y = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Y); - break; - } - case 32: { - ReferencePoint = (global::Docframe.ProtoImageReferencePoint) input.ReadEnum(); - break; - } - case 45: { - Rotation = input.ReadFloat(); - break; - } - case 50: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 58: { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Height); - break; - } - case 66: { - if (padding_ == null) { - Padding = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Padding); - break; - } - case 74: { - Data = input.ReadString(); - break; - } - case 80: { - PositionAbsolute = input.ReadBool(); - break; - } - case 90: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 98: { - Uuid = input.ReadString(); - break; - } - case 106: { - Code = input.ReadString(); - break; - } - case 114: { - if (swissQRData_ == null) { - SwissQRData = new global::Docframe.ProtoSwissQRData(); - } - input.ReadMessage(SwissQRData); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBrickReference : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBrickReference()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[71]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBrickReference() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBrickReference(ProtoBrickReference other) : this() { - internName_ = other.internName_; - version_ = other.version_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBrickReference Clone() { - return new ProtoBrickReference(this); - } - - /// Field number for the "internName" field. - public const int InternNameFieldNumber = 1; - private string internName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string InternName { - get { return internName_; } - set { - internName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 2; - private uint version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Version { - get { return version_; } - set { - version_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBrickReference); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBrickReference other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (InternName != other.InternName) return false; - if (Version != other.Version) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (InternName.Length != 0) hash ^= InternName.GetHashCode(); - if (Version != 0) hash ^= Version.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (InternName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InternName); - } - if (Version != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Version); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (InternName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InternName); - } - if (Version != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Version); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (InternName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InternName); - } - if (Version != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBrickReference other) { - if (other == null) { - return; - } - if (other.InternName.Length != 0) { - InternName = other.InternName; - } - if (other.Version != 0) { - Version = other.Version; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - InternName = input.ReadString(); - break; - } - case 16: { - Version = input.ReadUInt32(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - InternName = input.ReadString(); - break; - } - case 16: { - Version = input.ReadUInt32(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoBrick : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoBrick()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[72]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBrick() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBrick(ProtoBrick other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - id_ = other.id_; - internName_ = other.internName_; - uuid_ = other.uuid_; - editable_ = other.editable_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - name_ = other.name_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoBrick Clone() { - return new ProtoBrick(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 3; - private ulong id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Id { - get { return id_; } - set { - id_ = value; - } - } - - /// Field number for the "internName" field. - public const int InternNameFieldNumber = 4; - private string internName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string InternName { - get { return internName_; } - set { - internName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// 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"); - } - } - - /// Field number for the "editable" field. - public const int EditableFieldNumber = 6; - private bool editable_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Editable { - get { return editable_; } - set { - editable_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(58); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 8; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoBrick); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoBrick other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Id != other.Id) return false; - if (InternName != other.InternName) return false; - if (Uuid != other.Uuid) return false; - if (Editable != other.Editable) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Name != other.Name) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Id != 0UL) hash ^= Id.GetHashCode(); - if (InternName.Length != 0) hash ^= InternName.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (Editable != false) hash ^= Editable.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Id != 0UL) { - output.WriteRawTag(24); - output.WriteUInt64(Id); - } - if (InternName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(InternName); - } - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - if (Editable != false) { - output.WriteRawTag(48); - output.WriteBool(Editable); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Name.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Name); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Id != 0UL) { - output.WriteRawTag(24); - output.WriteUInt64(Id); - } - if (InternName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(InternName); - } - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - if (Editable != false) { - output.WriteRawTag(48); - output.WriteBool(Editable); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Name.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Name); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Id != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); - } - if (InternName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InternName); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (Editable != false) { - size += 1 + 1; - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoBrick other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Id != 0UL) { - Id = other.Id; - } - if (other.InternName.Length != 0) { - InternName = other.InternName; - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.Editable != false) { - Editable = other.Editable; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Name.Length != 0) { - Name = other.Name; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 24: { - Id = input.ReadUInt64(); - break; - } - case 34: { - InternName = input.ReadString(); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 48: { - Editable = input.ReadBool(); - break; - } - case 58: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 66: { - Name = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 24: { - Id = input.ReadUInt64(); - break; - } - case 34: { - InternName = input.ReadString(); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 48: { - Editable = input.ReadBool(); - break; - } - case 58: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 66: { - Name = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTemplate : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTemplate()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[73]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTemplate() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTemplate(ProtoTemplate other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - columnBalancing_ = other.columnBalancing_; - semanticType_ = other.semanticType_; - templateUuid_ = other.templateUuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTemplate Clone() { - return new ProtoTemplate(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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"); - } - } - - /// Field number for the "columnBalancing" field. - public const int ColumnBalancingFieldNumber = 5; - private global::Docframe.ColumnBalancing columnBalancing_ = global::Docframe.ColumnBalancing.NoBalancing; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ColumnBalancing ColumnBalancing { - get { return columnBalancing_; } - set { - columnBalancing_ = value; - } - } - - /// Field number for the "semanticType" field. - public const int SemanticTypeFieldNumber = 6; - private global::Docframe.ProtoSemanticType semanticType_ = global::Docframe.ProtoSemanticType.SemanticTypeNone; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSemanticType SemanticType { - get { return semanticType_; } - set { - semanticType_ = value; - } - } - - /// Field number for the "templateUuid" field. - public const int TemplateUuidFieldNumber = 7; - private string templateUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TemplateUuid { - get { return templateUuid_; } - set { - templateUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTemplate); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTemplate other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - 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; - if (ColumnBalancing != other.ColumnBalancing) return false; - if (SemanticType != other.SemanticType) return false; - if (TemplateUuid != other.TemplateUuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (ColumnBalancing != global::Docframe.ColumnBalancing.NoBalancing) hash ^= ColumnBalancing.GetHashCode(); - if (SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) hash ^= SemanticType.GetHashCode(); - if (TemplateUuid.Length != 0) hash ^= TemplateUuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (ColumnBalancing != global::Docframe.ColumnBalancing.NoBalancing) { - output.WriteRawTag(40); - output.WriteEnum((int) ColumnBalancing); - } - if (SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) { - output.WriteRawTag(48); - output.WriteEnum((int) SemanticType); - } - if (TemplateUuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(TemplateUuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (ColumnBalancing != global::Docframe.ColumnBalancing.NoBalancing) { - output.WriteRawTag(40); - output.WriteEnum((int) ColumnBalancing); - } - if (SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) { - output.WriteRawTag(48); - output.WriteEnum((int) SemanticType); - } - if (TemplateUuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(TemplateUuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (ColumnBalancing != global::Docframe.ColumnBalancing.NoBalancing) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ColumnBalancing); - } - if (SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SemanticType); - } - if (TemplateUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TemplateUuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTemplate other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.ColumnBalancing != global::Docframe.ColumnBalancing.NoBalancing) { - ColumnBalancing = other.ColumnBalancing; - } - if (other.SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) { - SemanticType = other.SemanticType; - } - if (other.TemplateUuid.Length != 0) { - TemplateUuid = other.TemplateUuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 40: { - ColumnBalancing = (global::Docframe.ColumnBalancing) input.ReadEnum(); - break; - } - case 48: { - SemanticType = (global::Docframe.ProtoSemanticType) input.ReadEnum(); - break; - } - case 58: { - TemplateUuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 40: { - ColumnBalancing = (global::Docframe.ColumnBalancing) input.ReadEnum(); - break; - } - case 48: { - SemanticType = (global::Docframe.ProtoSemanticType) input.ReadEnum(); - break; - } - case 58: { - TemplateUuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoHeader : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoHeader()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[74]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoHeader() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoHeader(ProtoHeader other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - mode_ = other.mode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoHeader Clone() { - return new ProtoHeader(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "mode" field. - public const int ModeFieldNumber = 5; - private global::Docframe.ProtoHeaderMode mode_ = global::Docframe.ProtoHeaderMode.HeaderModeAppendInitial; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoHeaderMode Mode { - get { return mode_; } - set { - mode_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoHeader); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoHeader other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Mode != other.Mode) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Mode != global::Docframe.ProtoHeaderMode.HeaderModeAppendInitial) hash ^= Mode.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Mode != global::Docframe.ProtoHeaderMode.HeaderModeAppendInitial) { - output.WriteRawTag(40); - output.WriteEnum((int) Mode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Mode != global::Docframe.ProtoHeaderMode.HeaderModeAppendInitial) { - output.WriteRawTag(40); - output.WriteEnum((int) Mode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Mode != global::Docframe.ProtoHeaderMode.HeaderModeAppendInitial) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoHeader other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Mode != global::Docframe.ProtoHeaderMode.HeaderModeAppendInitial) { - Mode = other.Mode; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 40: { - Mode = (global::Docframe.ProtoHeaderMode) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 40: { - Mode = (global::Docframe.ProtoHeaderMode) input.ReadEnum(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoFooter : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoFooter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[75]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFooter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFooter(ProtoFooter other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - mode_ = other.mode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFooter Clone() { - return new ProtoFooter(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "mode" field. - public const int ModeFieldNumber = 5; - private global::Docframe.ProtoFooterMode mode_ = global::Docframe.ProtoFooterMode.FooterModeAppendInitial; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFooterMode Mode { - get { return mode_; } - set { - mode_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoFooter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoFooter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Mode != other.Mode) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Mode != global::Docframe.ProtoFooterMode.FooterModeAppendInitial) hash ^= Mode.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Mode != global::Docframe.ProtoFooterMode.FooterModeAppendInitial) { - output.WriteRawTag(40); - output.WriteEnum((int) Mode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Mode != global::Docframe.ProtoFooterMode.FooterModeAppendInitial) { - output.WriteRawTag(40); - output.WriteEnum((int) Mode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Mode != global::Docframe.ProtoFooterMode.FooterModeAppendInitial) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoFooter other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Mode != global::Docframe.ProtoFooterMode.FooterModeAppendInitial) { - Mode = other.Mode; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 40: { - Mode = (global::Docframe.ProtoFooterMode) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 40: { - Mode = (global::Docframe.ProtoFooterMode) input.ReadEnum(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Node : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Node()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[76]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Node() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Node(Node other) : this() { - children_ = other.children_.Clone(); - switch (other.ObjectCase) { - case ObjectOneofCase.ListSetting: - ListSetting = other.ListSetting.Clone(); - break; - case ObjectOneofCase.ColorDef: - ColorDef = other.ColorDef.Clone(); - break; - case ObjectOneofCase.Brick: - Brick = other.Brick.Clone(); - break; - case ObjectOneofCase.Template: - Template = other.Template.Clone(); - break; - case ObjectOneofCase.Formatted: - Formatted = other.Formatted.Clone(); - break; - case ObjectOneofCase.Image: - Image = other.Image.Clone(); - break; - case ObjectOneofCase.ParagraphFormat: - ParagraphFormat = other.ParagraphFormat.Clone(); - break; - case ObjectOneofCase.TextBrick: - TextBrick = other.TextBrick.Clone(); - break; - case ObjectOneofCase.Text: - Text = other.Text.Clone(); - break; - case ObjectOneofCase.Linebreak: - Linebreak = other.Linebreak.Clone(); - break; - case ObjectOneofCase.SpaceVertically: - SpaceVertically = other.SpaceVertically.Clone(); - break; - case ObjectOneofCase.Footer: - Footer = other.Footer.Clone(); - break; - case ObjectOneofCase.Header: - Header = other.Header.Clone(); - break; - case ObjectOneofCase.Table: - Table = other.Table.Clone(); - break; - case ObjectOneofCase.TableRow: - TableRow = other.TableRow.Clone(); - break; - case ObjectOneofCase.TableCell: - TableCell = other.TableCell.Clone(); - break; - case ObjectOneofCase.CDef: - CDef = other.CDef.Clone(); - break; - case ObjectOneofCase.PDef: - PDef = other.PDef.Clone(); - break; - case ObjectOneofCase.ApplyCDef: - ApplyCDef = other.ApplyCDef.Clone(); - break; - case ObjectOneofCase.ApplyPDef: - ApplyPDef = other.ApplyPDef.Clone(); - break; - case ObjectOneofCase.ApplyPtConfig: - ApplyPtConfig = other.ApplyPtConfig.Clone(); - break; - case ObjectOneofCase.ApplyUlConfig: - ApplyUlConfig = other.ApplyUlConfig.Clone(); - break; - case ObjectOneofCase.PtConfig: - PtConfig = other.PtConfig.Clone(); - break; - case ObjectOneofCase.UlConfig: - UlConfig = other.UlConfig.Clone(); - break; - case ObjectOneofCase.NewPage: - NewPage = other.NewPage.Clone(); - break; - case ObjectOneofCase.Variable: - Variable = other.Variable.Clone(); - break; - case ObjectOneofCase.NamedString: - NamedString = other.NamedString.Clone(); - break; - case ObjectOneofCase.Paragraph: - Paragraph = other.Paragraph.Clone(); - break; - case ObjectOneofCase.Section: - Section = other.Section.Clone(); - break; - case ObjectOneofCase.Span: - Span = other.Span.Clone(); - break; - case ObjectOneofCase.Link: - Link = other.Link.Clone(); - break; - case ObjectOneofCase.Directory: - Directory = other.Directory.Clone(); - break; - case ObjectOneofCase.TableContentGroup: - TableContentGroup = other.TableContentGroup.Clone(); - break; - case ObjectOneofCase.TableConfig: - TableConfig = other.TableConfig.Clone(); - break; - case ObjectOneofCase.TableCellConfig: - TableCellConfig = other.TableCellConfig.Clone(); - break; - case ObjectOneofCase.TableRowConfig: - TableRowConfig = other.TableRowConfig.Clone(); - break; - case ObjectOneofCase.TableContentGroupConfig: - TableContentGroupConfig = other.TableContentGroupConfig.Clone(); - break; - case ObjectOneofCase.BrickReference: - BrickReference = other.BrickReference.Clone(); - break; - case ObjectOneofCase.Indentation: - Indentation = other.Indentation.Clone(); - break; - case ObjectOneofCase.Barcode: - Barcode = other.Barcode.Clone(); - break; - case ObjectOneofCase.WsArea: - WsArea = other.WsArea.Clone(); - break; - case ObjectOneofCase.CarryOver: - CarryOver = other.CarryOver.Clone(); - break; - case ObjectOneofCase.SubTotal: - SubTotal = other.SubTotal.Clone(); - break; - case ObjectOneofCase.Loop: - Loop = other.Loop.Clone(); - break; - case ObjectOneofCase.LoopEntry: - LoopEntry = other.LoopEntry.Clone(); - break; - case ObjectOneofCase.Rule: - Rule = other.Rule.Clone(); - break; - case ObjectOneofCase.Layout: - Layout = other.Layout.Clone(); - break; - case ObjectOneofCase.AdvancedIllustrationArea: - AdvancedIllustrationArea = other.AdvancedIllustrationArea.Clone(); - break; - case ObjectOneofCase.AdjustHorizontally: - AdjustHorizontally = other.AdjustHorizontally.Clone(); - break; - case ObjectOneofCase.DoctypeScript: - DoctypeScript = other.DoctypeScript.Clone(); - break; - case ObjectOneofCase.DmScript: - DmScript = other.DmScript.Clone(); - break; - case ObjectOneofCase.DynamicTemplate: - DynamicTemplate = other.DynamicTemplate.Clone(); - break; - case ObjectOneofCase.Selection: - Selection = other.Selection.Clone(); - break; - case ObjectOneofCase.SelectionEntry: - SelectionEntry = other.SelectionEntry.Clone(); - break; - case ObjectOneofCase.Condition: - Condition = other.Condition.Clone(); - break; - case ObjectOneofCase.PageCondition: - PageCondition = other.PageCondition.Clone(); - break; - case ObjectOneofCase.Locale: - Locale = other.Locale.Clone(); - break; - case ObjectOneofCase.Tag: - Tag = other.Tag.Clone(); - break; - case ObjectOneofCase.ParagraphSetDefault: - ParagraphSetDefault = other.ParagraphSetDefault.Clone(); - break; - case ObjectOneofCase.InputFieldText: - InputFieldText = other.InputFieldText.Clone(); - break; - case ObjectOneofCase.InputFieldDate: - InputFieldDate = other.InputFieldDate.Clone(); - break; - case ObjectOneofCase.InputFieldCheckbox: - InputFieldCheckbox = other.InputFieldCheckbox.Clone(); - break; - case ObjectOneofCase.InputFieldLabel: - InputFieldLabel = other.InputFieldLabel.Clone(); - break; - case ObjectOneofCase.InputFieldDropdown: - InputFieldDropdown = other.InputFieldDropdown.Clone(); - break; - } - - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Node Clone() { - return new Node(this); - } - - /// Field number for the "children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.Node.Parser); - private readonly pbc::RepeatedField children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return children_; } - } - - /// Field number for the "list_setting" field. - public const int ListSettingFieldNumber = 2; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoListSetting ListSetting { - get { return objectCase_ == ObjectOneofCase.ListSetting ? (global::Docframe.ProtoListSetting) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.ListSetting; - } - } - - /// Field number for the "colorDef" field. - public const int ColorDefFieldNumber = 3; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColorDef ColorDef { - get { return objectCase_ == ObjectOneofCase.ColorDef ? (global::Docframe.ProtoColorDef) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.ColorDef; - } - } - - /// Field number for the "brick" field. - public const int BrickFieldNumber = 4; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBrick Brick { - get { return objectCase_ == ObjectOneofCase.Brick ? (global::Docframe.ProtoBrick) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Brick; - } - } - - /// Field number for the "template" field. - public const int TemplateFieldNumber = 5; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTemplate Template { - get { return objectCase_ == ObjectOneofCase.Template ? (global::Docframe.ProtoTemplate) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Template; - } - } - - /// Field number for the "formatted" field. - public const int FormattedFieldNumber = 6; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFormatted Formatted { - get { return objectCase_ == ObjectOneofCase.Formatted ? (global::Docframe.ProtoFormatted) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Formatted; - } - } - - /// Field number for the "image" field. - public const int ImageFieldNumber = 7; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoImage Image { - get { return objectCase_ == ObjectOneofCase.Image ? (global::Docframe.ProtoImage) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Image; - } - } - - /// Field number for the "paragraph_format" field. - public const int ParagraphFormatFieldNumber = 8; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoParagraphFormat ParagraphFormat { - get { return objectCase_ == ObjectOneofCase.ParagraphFormat ? (global::Docframe.ProtoParagraphFormat) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.ParagraphFormat; - } - } - - /// Field number for the "text_brick" field. - public const int TextBrickFieldNumber = 9; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTextBrick TextBrick { - get { return objectCase_ == ObjectOneofCase.TextBrick ? (global::Docframe.ProtoTextBrick) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.TextBrick; - } - } - - /// Field number for the "text" field. - public const int TextFieldNumber = 10; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoText Text { - get { return objectCase_ == ObjectOneofCase.Text ? (global::Docframe.ProtoText) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Text; - } - } - - /// Field number for the "linebreak" field. - public const int LinebreakFieldNumber = 11; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoLinebreak Linebreak { - get { return objectCase_ == ObjectOneofCase.Linebreak ? (global::Docframe.ProtoLinebreak) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Linebreak; - } - } - - /// Field number for the "space_vertically" field. - public const int SpaceVerticallyFieldNumber = 12; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSpaceVertically SpaceVertically { - get { return objectCase_ == ObjectOneofCase.SpaceVertically ? (global::Docframe.ProtoSpaceVertically) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.SpaceVertically; - } - } - - /// Field number for the "footer" field. - public const int FooterFieldNumber = 13; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFooter Footer { - get { return objectCase_ == ObjectOneofCase.Footer ? (global::Docframe.ProtoFooter) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Footer; - } - } - - /// Field number for the "header" field. - public const int HeaderFieldNumber = 14; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoHeader Header { - get { return objectCase_ == ObjectOneofCase.Header ? (global::Docframe.ProtoHeader) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Header; - } - } - - /// Field number for the "table" field. - public const int TableFieldNumber = 15; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTable Table { - get { return objectCase_ == ObjectOneofCase.Table ? (global::Docframe.ProtoTable) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Table; - } - } - - /// Field number for the "table_row" field. - public const int TableRowFieldNumber = 16; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableRow TableRow { - get { return objectCase_ == ObjectOneofCase.TableRow ? (global::Docframe.ProtoTableRow) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.TableRow; - } - } - - /// Field number for the "table_cell" field. - public const int TableCellFieldNumber = 17; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableCell TableCell { - get { return objectCase_ == ObjectOneofCase.TableCell ? (global::Docframe.ProtoTableCell) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.TableCell; - } - } - - /// Field number for the "c_def" field. - public const int CDefFieldNumber = 18; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoCDef CDef { - get { return objectCase_ == ObjectOneofCase.CDef ? (global::Docframe.ProtoCDef) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.CDef; - } - } - - /// Field number for the "p_def" field. - public const int PDefFieldNumber = 19; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoPDef PDef { - get { return objectCase_ == ObjectOneofCase.PDef ? (global::Docframe.ProtoPDef) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.PDef; - } - } - - /// Field number for the "apply_c_def" field. - public const int ApplyCDefFieldNumber = 20; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoApplyProtoCDef ApplyCDef { - get { return objectCase_ == ObjectOneofCase.ApplyCDef ? (global::Docframe.ProtoApplyProtoCDef) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.ApplyCDef; - } - } - - /// Field number for the "apply_p_def" field. - public const int ApplyPDefFieldNumber = 21; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoApplyProtoPDef ApplyPDef { - get { return objectCase_ == ObjectOneofCase.ApplyPDef ? (global::Docframe.ProtoApplyProtoPDef) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.ApplyPDef; - } - } - - /// Field number for the "apply_pt_config" field. - public const int ApplyPtConfigFieldNumber = 22; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoApplyPtConfig ApplyPtConfig { - get { return objectCase_ == ObjectOneofCase.ApplyPtConfig ? (global::Docframe.ProtoApplyPtConfig) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.ApplyPtConfig; - } - } - - /// Field number for the "apply_ul_config" field. - public const int ApplyUlConfigFieldNumber = 23; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoApplyUlConfig ApplyUlConfig { - get { return objectCase_ == ObjectOneofCase.ApplyUlConfig ? (global::Docframe.ProtoApplyUlConfig) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.ApplyUlConfig; - } - } - - /// Field number for the "pt_config" field. - public const int PtConfigFieldNumber = 24; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoPtConfig PtConfig { - get { return objectCase_ == ObjectOneofCase.PtConfig ? (global::Docframe.ProtoPtConfig) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.PtConfig; - } - } - - /// Field number for the "ul_config" field. - public const int UlConfigFieldNumber = 25; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoUlConfig UlConfig { - get { return objectCase_ == ObjectOneofCase.UlConfig ? (global::Docframe.ProtoUlConfig) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.UlConfig; - } - } - - /// Field number for the "new_page" field. - public const int NewPageFieldNumber = 26; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoNewPage NewPage { - get { return objectCase_ == ObjectOneofCase.NewPage ? (global::Docframe.ProtoNewPage) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.NewPage; - } - } - - /// Field number for the "variable" field. - public const int VariableFieldNumber = 27; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoVariable Variable { - get { return objectCase_ == ObjectOneofCase.Variable ? (global::Docframe.ProtoVariable) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Variable; - } - } - - /// Field number for the "named_string" field. - public const int NamedStringFieldNumber = 28; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoNamedString NamedString { - get { return objectCase_ == ObjectOneofCase.NamedString ? (global::Docframe.ProtoNamedString) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.NamedString; - } - } - - /// Field number for the "paragraph" field. - public const int ParagraphFieldNumber = 30; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoParagraph Paragraph { - get { return objectCase_ == ObjectOneofCase.Paragraph ? (global::Docframe.ProtoParagraph) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Paragraph; - } - } - - /// Field number for the "section" field. - public const int SectionFieldNumber = 31; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSection Section { - get { return objectCase_ == ObjectOneofCase.Section ? (global::Docframe.ProtoSection) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Section; - } - } - - /// Field number for the "span" field. - public const int SpanFieldNumber = 32; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSpan Span { - get { return objectCase_ == ObjectOneofCase.Span ? (global::Docframe.ProtoSpan) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Span; - } - } - - /// Field number for the "link" field. - public const int LinkFieldNumber = 33; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoLink Link { - get { return objectCase_ == ObjectOneofCase.Link ? (global::Docframe.ProtoLink) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Link; - } - } - - /// Field number for the "directory" field. - public const int DirectoryFieldNumber = 34; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDirectory Directory { - get { return objectCase_ == ObjectOneofCase.Directory ? (global::Docframe.ProtoDirectory) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Directory; - } - } - - /// Field number for the "table_content_group" field. - public const int TableContentGroupFieldNumber = 35; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableContentGroup TableContentGroup { - get { return objectCase_ == ObjectOneofCase.TableContentGroup ? (global::Docframe.ProtoTableContentGroup) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.TableContentGroup; - } - } - - /// Field number for the "table_config" field. - public const int TableConfigFieldNumber = 36; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableConfig TableConfig { - get { return objectCase_ == ObjectOneofCase.TableConfig ? (global::Docframe.ProtoTableConfig) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.TableConfig; - } - } - - /// Field number for the "table_cell_config" field. - public const int TableCellConfigFieldNumber = 37; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableCellConfig TableCellConfig { - get { return objectCase_ == ObjectOneofCase.TableCellConfig ? (global::Docframe.ProtoTableCellConfig) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.TableCellConfig; - } - } - - /// Field number for the "table_row_config" field. - public const int TableRowConfigFieldNumber = 38; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableRowConfig TableRowConfig { - get { return objectCase_ == ObjectOneofCase.TableRowConfig ? (global::Docframe.ProtoTableRowConfig) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.TableRowConfig; - } - } - - /// Field number for the "table_content_group_config" field. - public const int TableContentGroupConfigFieldNumber = 39; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTableContentGroupConfig TableContentGroupConfig { - get { return objectCase_ == ObjectOneofCase.TableContentGroupConfig ? (global::Docframe.ProtoTableContentGroupConfig) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.TableContentGroupConfig; - } - } - - /// Field number for the "brick_reference" field. - public const int BrickReferenceFieldNumber = 40; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBrickReference BrickReference { - get { return objectCase_ == ObjectOneofCase.BrickReference ? (global::Docframe.ProtoBrickReference) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.BrickReference; - } - } - - /// Field number for the "indentation" field. - public const int IndentationFieldNumber = 55; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoIndentation Indentation { - get { return objectCase_ == ObjectOneofCase.Indentation ? (global::Docframe.ProtoIndentation) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Indentation; - } - } - - /// Field number for the "barcode" field. - public const int BarcodeFieldNumber = 56; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBarcode Barcode { - get { return objectCase_ == ObjectOneofCase.Barcode ? (global::Docframe.ProtoBarcode) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Barcode; - } - } - - /// Field number for the "ws_area" field. - public const int WsAreaFieldNumber = 57; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoWsArea WsArea { - get { return objectCase_ == ObjectOneofCase.WsArea ? (global::Docframe.ProtoWsArea) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.WsArea; - } - } - - /// Field number for the "carry_over" field. - public const int CarryOverFieldNumber = 58; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoCarryOver CarryOver { - get { return objectCase_ == ObjectOneofCase.CarryOver ? (global::Docframe.ProtoCarryOver) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.CarryOver; - } - } - - /// Field number for the "sub_total" field. - public const int SubTotalFieldNumber = 59; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSubTotal SubTotal { - get { return objectCase_ == ObjectOneofCase.SubTotal ? (global::Docframe.ProtoSubTotal) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.SubTotal; - } - } - - /// Field number for the "loop" field. - public const int LoopFieldNumber = 60; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoLoop Loop { - get { return objectCase_ == ObjectOneofCase.Loop ? (global::Docframe.ProtoLoop) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Loop; - } - } - - /// Field number for the "loop_entry" field. - public const int LoopEntryFieldNumber = 61; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoLoopEntry LoopEntry { - get { return objectCase_ == ObjectOneofCase.LoopEntry ? (global::Docframe.ProtoLoopEntry) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.LoopEntry; - } - } - - /// Field number for the "rule" field. - public const int RuleFieldNumber = 62; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoRule Rule { - get { return objectCase_ == ObjectOneofCase.Rule ? (global::Docframe.ProtoRule) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Rule; - } - } - - /// Field number for the "layout" field. - public const int LayoutFieldNumber = 63; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoLayout Layout { - get { return objectCase_ == ObjectOneofCase.Layout ? (global::Docframe.ProtoLayout) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Layout; - } - } - - /// Field number for the "advanced_illustration_area" field. - public const int AdvancedIllustrationAreaFieldNumber = 64; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoAdvancedIllustrationArea AdvancedIllustrationArea { - get { return objectCase_ == ObjectOneofCase.AdvancedIllustrationArea ? (global::Docframe.ProtoAdvancedIllustrationArea) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.AdvancedIllustrationArea; - } - } - - /// Field number for the "adjust_horizontally" field. - public const int AdjustHorizontallyFieldNumber = 65; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoAdjustHorizontally AdjustHorizontally { - get { return objectCase_ == ObjectOneofCase.AdjustHorizontally ? (global::Docframe.ProtoAdjustHorizontally) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.AdjustHorizontally; - } - } - - /// Field number for the "doctypeScript" field. - public const int DoctypeScriptFieldNumber = 66; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDoctypeScript DoctypeScript { - get { return objectCase_ == ObjectOneofCase.DoctypeScript ? (global::Docframe.ProtoDoctypeScript) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.DoctypeScript; - } - } - - /// Field number for the "dmScript" field. - public const int DmScriptFieldNumber = 67; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDmScript DmScript { - get { return objectCase_ == ObjectOneofCase.DmScript ? (global::Docframe.ProtoDmScript) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.DmScript; - } - } - - /// Field number for the "dynamic_template" field. - public const int DynamicTemplateFieldNumber = 68; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDynamicTemplate DynamicTemplate { - get { return objectCase_ == ObjectOneofCase.DynamicTemplate ? (global::Docframe.ProtoDynamicTemplate) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.DynamicTemplate; - } - } - - /// Field number for the "selection" field. - public const int SelectionFieldNumber = 69; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSelection Selection { - get { return objectCase_ == ObjectOneofCase.Selection ? (global::Docframe.ProtoSelection) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Selection; - } - } - - /// Field number for the "selection_entry" field. - public const int SelectionEntryFieldNumber = 70; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSelectionEntry SelectionEntry { - get { return objectCase_ == ObjectOneofCase.SelectionEntry ? (global::Docframe.ProtoSelectionEntry) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.SelectionEntry; - } - } - - /// Field number for the "condition" field. - public const int ConditionFieldNumber = 71; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoCondition Condition { - get { return objectCase_ == ObjectOneofCase.Condition ? (global::Docframe.ProtoCondition) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Condition; - } - } - - /// Field number for the "page_condition" field. - public const int PageConditionFieldNumber = 72; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoPageCondition PageCondition { - get { return objectCase_ == ObjectOneofCase.PageCondition ? (global::Docframe.ProtoPageCondition) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.PageCondition; - } - } - - /// Field number for the "locale" field. - public const int LocaleFieldNumber = 73; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoLocale Locale { - get { return objectCase_ == ObjectOneofCase.Locale ? (global::Docframe.ProtoLocale) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Locale; - } - } - - /// Field number for the "tag" field. - public const int TagFieldNumber = 74; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoTag Tag { - get { return objectCase_ == ObjectOneofCase.Tag ? (global::Docframe.ProtoTag) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.Tag; - } - } - - /// Field number for the "paragraph_set_default" field. - public const int ParagraphSetDefaultFieldNumber = 75; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoParagraphSetDefault ParagraphSetDefault { - get { return objectCase_ == ObjectOneofCase.ParagraphSetDefault ? (global::Docframe.ProtoParagraphSetDefault) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.ParagraphSetDefault; - } - } - - /// Field number for the "input_field_text" field. - public const int InputFieldTextFieldNumber = 76; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoInputFieldText InputFieldText { - get { return objectCase_ == ObjectOneofCase.InputFieldText ? (global::Docframe.ProtoInputFieldText) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.InputFieldText; - } - } - - /// Field number for the "input_field_date" field. - public const int InputFieldDateFieldNumber = 77; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoInputFieldDate InputFieldDate { - get { return objectCase_ == ObjectOneofCase.InputFieldDate ? (global::Docframe.ProtoInputFieldDate) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.InputFieldDate; - } - } - - /// Field number for the "input_field_checkbox" field. - public const int InputFieldCheckboxFieldNumber = 78; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoInputFieldCheckbox InputFieldCheckbox { - get { return objectCase_ == ObjectOneofCase.InputFieldCheckbox ? (global::Docframe.ProtoInputFieldCheckbox) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.InputFieldCheckbox; - } - } - - /// Field number for the "input_field_label" field. - public const int InputFieldLabelFieldNumber = 79; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoInputFieldLabel InputFieldLabel { - get { return objectCase_ == ObjectOneofCase.InputFieldLabel ? (global::Docframe.ProtoInputFieldLabel) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.InputFieldLabel; - } - } - - /// Field number for the "input_field_dropdown" field. - public const int InputFieldDropdownFieldNumber = 80; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoInputFieldDropdown InputFieldDropdown { - get { return objectCase_ == ObjectOneofCase.InputFieldDropdown ? (global::Docframe.ProtoInputFieldDropdown) object_ : null; } - set { - object_ = value; - objectCase_ = value == null ? ObjectOneofCase.None : ObjectOneofCase.InputFieldDropdown; - } - } - - private object object_; - /// Enum of possible cases for the "object" oneof. - public enum ObjectOneofCase { - None = 0, - ListSetting = 2, - ColorDef = 3, - Brick = 4, - Template = 5, - Formatted = 6, - Image = 7, - ParagraphFormat = 8, - TextBrick = 9, - Text = 10, - Linebreak = 11, - SpaceVertically = 12, - Footer = 13, - Header = 14, - Table = 15, - TableRow = 16, - TableCell = 17, - CDef = 18, - PDef = 19, - ApplyCDef = 20, - ApplyPDef = 21, - ApplyPtConfig = 22, - ApplyUlConfig = 23, - PtConfig = 24, - UlConfig = 25, - NewPage = 26, - Variable = 27, - NamedString = 28, - Paragraph = 30, - Section = 31, - Span = 32, - Link = 33, - Directory = 34, - TableContentGroup = 35, - TableConfig = 36, - TableCellConfig = 37, - TableRowConfig = 38, - TableContentGroupConfig = 39, - BrickReference = 40, - Indentation = 55, - Barcode = 56, - WsArea = 57, - CarryOver = 58, - SubTotal = 59, - Loop = 60, - LoopEntry = 61, - Rule = 62, - Layout = 63, - AdvancedIllustrationArea = 64, - AdjustHorizontally = 65, - DoctypeScript = 66, - DmScript = 67, - DynamicTemplate = 68, - Selection = 69, - SelectionEntry = 70, - Condition = 71, - PageCondition = 72, - Locale = 73, - Tag = 74, - ParagraphSetDefault = 75, - InputFieldText = 76, - InputFieldDate = 77, - InputFieldCheckbox = 78, - InputFieldLabel = 79, - InputFieldDropdown = 80, - } - private ObjectOneofCase objectCase_ = ObjectOneofCase.None; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ObjectOneofCase ObjectCase { - get { return objectCase_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearObject() { - objectCase_ = ObjectOneofCase.None; - object_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Node); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Node other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!children_.Equals(other.children_)) return false; - if (!object.Equals(ListSetting, other.ListSetting)) return false; - if (!object.Equals(ColorDef, other.ColorDef)) return false; - if (!object.Equals(Brick, other.Brick)) return false; - if (!object.Equals(Template, other.Template)) return false; - if (!object.Equals(Formatted, other.Formatted)) return false; - if (!object.Equals(Image, other.Image)) return false; - if (!object.Equals(ParagraphFormat, other.ParagraphFormat)) return false; - if (!object.Equals(TextBrick, other.TextBrick)) return false; - if (!object.Equals(Text, other.Text)) return false; - if (!object.Equals(Linebreak, other.Linebreak)) return false; - if (!object.Equals(SpaceVertically, other.SpaceVertically)) return false; - if (!object.Equals(Footer, other.Footer)) return false; - if (!object.Equals(Header, other.Header)) return false; - if (!object.Equals(Table, other.Table)) return false; - if (!object.Equals(TableRow, other.TableRow)) return false; - if (!object.Equals(TableCell, other.TableCell)) return false; - if (!object.Equals(CDef, other.CDef)) return false; - if (!object.Equals(PDef, other.PDef)) return false; - if (!object.Equals(ApplyCDef, other.ApplyCDef)) return false; - if (!object.Equals(ApplyPDef, other.ApplyPDef)) return false; - if (!object.Equals(ApplyPtConfig, other.ApplyPtConfig)) return false; - if (!object.Equals(ApplyUlConfig, other.ApplyUlConfig)) return false; - if (!object.Equals(PtConfig, other.PtConfig)) return false; - if (!object.Equals(UlConfig, other.UlConfig)) return false; - if (!object.Equals(NewPage, other.NewPage)) return false; - if (!object.Equals(Variable, other.Variable)) return false; - if (!object.Equals(NamedString, other.NamedString)) return false; - if (!object.Equals(Paragraph, other.Paragraph)) return false; - if (!object.Equals(Section, other.Section)) return false; - if (!object.Equals(Span, other.Span)) return false; - if (!object.Equals(Link, other.Link)) return false; - if (!object.Equals(Directory, other.Directory)) return false; - if (!object.Equals(TableContentGroup, other.TableContentGroup)) return false; - if (!object.Equals(TableConfig, other.TableConfig)) return false; - if (!object.Equals(TableCellConfig, other.TableCellConfig)) return false; - if (!object.Equals(TableRowConfig, other.TableRowConfig)) return false; - if (!object.Equals(TableContentGroupConfig, other.TableContentGroupConfig)) return false; - if (!object.Equals(BrickReference, other.BrickReference)) return false; - if (!object.Equals(Indentation, other.Indentation)) return false; - if (!object.Equals(Barcode, other.Barcode)) return false; - if (!object.Equals(WsArea, other.WsArea)) return false; - if (!object.Equals(CarryOver, other.CarryOver)) return false; - if (!object.Equals(SubTotal, other.SubTotal)) return false; - if (!object.Equals(Loop, other.Loop)) return false; - if (!object.Equals(LoopEntry, other.LoopEntry)) return false; - if (!object.Equals(Rule, other.Rule)) return false; - if (!object.Equals(Layout, other.Layout)) return false; - if (!object.Equals(AdvancedIllustrationArea, other.AdvancedIllustrationArea)) return false; - if (!object.Equals(AdjustHorizontally, other.AdjustHorizontally)) return false; - if (!object.Equals(DoctypeScript, other.DoctypeScript)) return false; - if (!object.Equals(DmScript, other.DmScript)) return false; - if (!object.Equals(DynamicTemplate, other.DynamicTemplate)) return false; - if (!object.Equals(Selection, other.Selection)) return false; - if (!object.Equals(SelectionEntry, other.SelectionEntry)) return false; - if (!object.Equals(Condition, other.Condition)) return false; - if (!object.Equals(PageCondition, other.PageCondition)) return false; - if (!object.Equals(Locale, other.Locale)) return false; - if (!object.Equals(Tag, other.Tag)) return false; - if (!object.Equals(ParagraphSetDefault, other.ParagraphSetDefault)) return false; - if (!object.Equals(InputFieldText, other.InputFieldText)) return false; - if (!object.Equals(InputFieldDate, other.InputFieldDate)) return false; - if (!object.Equals(InputFieldCheckbox, other.InputFieldCheckbox)) return false; - if (!object.Equals(InputFieldLabel, other.InputFieldLabel)) return false; - if (!object.Equals(InputFieldDropdown, other.InputFieldDropdown)) return false; - if (ObjectCase != other.ObjectCase) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= children_.GetHashCode(); - if (objectCase_ == ObjectOneofCase.ListSetting) hash ^= ListSetting.GetHashCode(); - if (objectCase_ == ObjectOneofCase.ColorDef) hash ^= ColorDef.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Brick) hash ^= Brick.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Template) hash ^= Template.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Formatted) hash ^= Formatted.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Image) hash ^= Image.GetHashCode(); - if (objectCase_ == ObjectOneofCase.ParagraphFormat) hash ^= ParagraphFormat.GetHashCode(); - if (objectCase_ == ObjectOneofCase.TextBrick) hash ^= TextBrick.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Text) hash ^= Text.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Linebreak) hash ^= Linebreak.GetHashCode(); - if (objectCase_ == ObjectOneofCase.SpaceVertically) hash ^= SpaceVertically.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Footer) hash ^= Footer.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Header) hash ^= Header.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Table) hash ^= Table.GetHashCode(); - if (objectCase_ == ObjectOneofCase.TableRow) hash ^= TableRow.GetHashCode(); - if (objectCase_ == ObjectOneofCase.TableCell) hash ^= TableCell.GetHashCode(); - if (objectCase_ == ObjectOneofCase.CDef) hash ^= CDef.GetHashCode(); - if (objectCase_ == ObjectOneofCase.PDef) hash ^= PDef.GetHashCode(); - if (objectCase_ == ObjectOneofCase.ApplyCDef) hash ^= ApplyCDef.GetHashCode(); - if (objectCase_ == ObjectOneofCase.ApplyPDef) hash ^= ApplyPDef.GetHashCode(); - if (objectCase_ == ObjectOneofCase.ApplyPtConfig) hash ^= ApplyPtConfig.GetHashCode(); - if (objectCase_ == ObjectOneofCase.ApplyUlConfig) hash ^= ApplyUlConfig.GetHashCode(); - if (objectCase_ == ObjectOneofCase.PtConfig) hash ^= PtConfig.GetHashCode(); - if (objectCase_ == ObjectOneofCase.UlConfig) hash ^= UlConfig.GetHashCode(); - if (objectCase_ == ObjectOneofCase.NewPage) hash ^= NewPage.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Variable) hash ^= Variable.GetHashCode(); - if (objectCase_ == ObjectOneofCase.NamedString) hash ^= NamedString.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Paragraph) hash ^= Paragraph.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Section) hash ^= Section.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Span) hash ^= Span.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Link) hash ^= Link.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Directory) hash ^= Directory.GetHashCode(); - if (objectCase_ == ObjectOneofCase.TableContentGroup) hash ^= TableContentGroup.GetHashCode(); - if (objectCase_ == ObjectOneofCase.TableConfig) hash ^= TableConfig.GetHashCode(); - if (objectCase_ == ObjectOneofCase.TableCellConfig) hash ^= TableCellConfig.GetHashCode(); - if (objectCase_ == ObjectOneofCase.TableRowConfig) hash ^= TableRowConfig.GetHashCode(); - if (objectCase_ == ObjectOneofCase.TableContentGroupConfig) hash ^= TableContentGroupConfig.GetHashCode(); - if (objectCase_ == ObjectOneofCase.BrickReference) hash ^= BrickReference.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Indentation) hash ^= Indentation.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Barcode) hash ^= Barcode.GetHashCode(); - if (objectCase_ == ObjectOneofCase.WsArea) hash ^= WsArea.GetHashCode(); - if (objectCase_ == ObjectOneofCase.CarryOver) hash ^= CarryOver.GetHashCode(); - if (objectCase_ == ObjectOneofCase.SubTotal) hash ^= SubTotal.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Loop) hash ^= Loop.GetHashCode(); - if (objectCase_ == ObjectOneofCase.LoopEntry) hash ^= LoopEntry.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Rule) hash ^= Rule.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Layout) hash ^= Layout.GetHashCode(); - if (objectCase_ == ObjectOneofCase.AdvancedIllustrationArea) hash ^= AdvancedIllustrationArea.GetHashCode(); - if (objectCase_ == ObjectOneofCase.AdjustHorizontally) hash ^= AdjustHorizontally.GetHashCode(); - if (objectCase_ == ObjectOneofCase.DoctypeScript) hash ^= DoctypeScript.GetHashCode(); - if (objectCase_ == ObjectOneofCase.DmScript) hash ^= DmScript.GetHashCode(); - if (objectCase_ == ObjectOneofCase.DynamicTemplate) hash ^= DynamicTemplate.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Selection) hash ^= Selection.GetHashCode(); - if (objectCase_ == ObjectOneofCase.SelectionEntry) hash ^= SelectionEntry.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Condition) hash ^= Condition.GetHashCode(); - if (objectCase_ == ObjectOneofCase.PageCondition) hash ^= PageCondition.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Locale) hash ^= Locale.GetHashCode(); - if (objectCase_ == ObjectOneofCase.Tag) hash ^= Tag.GetHashCode(); - if (objectCase_ == ObjectOneofCase.ParagraphSetDefault) hash ^= ParagraphSetDefault.GetHashCode(); - if (objectCase_ == ObjectOneofCase.InputFieldText) hash ^= InputFieldText.GetHashCode(); - if (objectCase_ == ObjectOneofCase.InputFieldDate) hash ^= InputFieldDate.GetHashCode(); - if (objectCase_ == ObjectOneofCase.InputFieldCheckbox) hash ^= InputFieldCheckbox.GetHashCode(); - if (objectCase_ == ObjectOneofCase.InputFieldLabel) hash ^= InputFieldLabel.GetHashCode(); - if (objectCase_ == ObjectOneofCase.InputFieldDropdown) hash ^= InputFieldDropdown.GetHashCode(); - hash ^= (int) objectCase_; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - children_.WriteTo(output, _repeated_children_codec); - if (objectCase_ == ObjectOneofCase.ListSetting) { - output.WriteRawTag(18); - output.WriteMessage(ListSetting); - } - if (objectCase_ == ObjectOneofCase.ColorDef) { - output.WriteRawTag(26); - output.WriteMessage(ColorDef); - } - if (objectCase_ == ObjectOneofCase.Brick) { - output.WriteRawTag(34); - output.WriteMessage(Brick); - } - if (objectCase_ == ObjectOneofCase.Template) { - output.WriteRawTag(42); - output.WriteMessage(Template); - } - if (objectCase_ == ObjectOneofCase.Formatted) { - output.WriteRawTag(50); - output.WriteMessage(Formatted); - } - if (objectCase_ == ObjectOneofCase.Image) { - output.WriteRawTag(58); - output.WriteMessage(Image); - } - if (objectCase_ == ObjectOneofCase.ParagraphFormat) { - output.WriteRawTag(66); - output.WriteMessage(ParagraphFormat); - } - if (objectCase_ == ObjectOneofCase.TextBrick) { - output.WriteRawTag(74); - output.WriteMessage(TextBrick); - } - if (objectCase_ == ObjectOneofCase.Text) { - output.WriteRawTag(82); - output.WriteMessage(Text); - } - if (objectCase_ == ObjectOneofCase.Linebreak) { - output.WriteRawTag(90); - output.WriteMessage(Linebreak); - } - if (objectCase_ == ObjectOneofCase.SpaceVertically) { - output.WriteRawTag(98); - output.WriteMessage(SpaceVertically); - } - if (objectCase_ == ObjectOneofCase.Footer) { - output.WriteRawTag(106); - output.WriteMessage(Footer); - } - if (objectCase_ == ObjectOneofCase.Header) { - output.WriteRawTag(114); - output.WriteMessage(Header); - } - if (objectCase_ == ObjectOneofCase.Table) { - output.WriteRawTag(122); - output.WriteMessage(Table); - } - if (objectCase_ == ObjectOneofCase.TableRow) { - output.WriteRawTag(130, 1); - output.WriteMessage(TableRow); - } - if (objectCase_ == ObjectOneofCase.TableCell) { - output.WriteRawTag(138, 1); - output.WriteMessage(TableCell); - } - if (objectCase_ == ObjectOneofCase.CDef) { - output.WriteRawTag(146, 1); - output.WriteMessage(CDef); - } - if (objectCase_ == ObjectOneofCase.PDef) { - output.WriteRawTag(154, 1); - output.WriteMessage(PDef); - } - if (objectCase_ == ObjectOneofCase.ApplyCDef) { - output.WriteRawTag(162, 1); - output.WriteMessage(ApplyCDef); - } - if (objectCase_ == ObjectOneofCase.ApplyPDef) { - output.WriteRawTag(170, 1); - output.WriteMessage(ApplyPDef); - } - if (objectCase_ == ObjectOneofCase.ApplyPtConfig) { - output.WriteRawTag(178, 1); - output.WriteMessage(ApplyPtConfig); - } - if (objectCase_ == ObjectOneofCase.ApplyUlConfig) { - output.WriteRawTag(186, 1); - output.WriteMessage(ApplyUlConfig); - } - if (objectCase_ == ObjectOneofCase.PtConfig) { - output.WriteRawTag(194, 1); - output.WriteMessage(PtConfig); - } - if (objectCase_ == ObjectOneofCase.UlConfig) { - output.WriteRawTag(202, 1); - output.WriteMessage(UlConfig); - } - if (objectCase_ == ObjectOneofCase.NewPage) { - output.WriteRawTag(210, 1); - output.WriteMessage(NewPage); - } - if (objectCase_ == ObjectOneofCase.Variable) { - output.WriteRawTag(218, 1); - output.WriteMessage(Variable); - } - if (objectCase_ == ObjectOneofCase.NamedString) { - output.WriteRawTag(226, 1); - output.WriteMessage(NamedString); - } - if (objectCase_ == ObjectOneofCase.Paragraph) { - output.WriteRawTag(242, 1); - output.WriteMessage(Paragraph); - } - if (objectCase_ == ObjectOneofCase.Section) { - output.WriteRawTag(250, 1); - output.WriteMessage(Section); - } - if (objectCase_ == ObjectOneofCase.Span) { - output.WriteRawTag(130, 2); - output.WriteMessage(Span); - } - if (objectCase_ == ObjectOneofCase.Link) { - output.WriteRawTag(138, 2); - output.WriteMessage(Link); - } - if (objectCase_ == ObjectOneofCase.Directory) { - output.WriteRawTag(146, 2); - output.WriteMessage(Directory); - } - if (objectCase_ == ObjectOneofCase.TableContentGroup) { - output.WriteRawTag(154, 2); - output.WriteMessage(TableContentGroup); - } - if (objectCase_ == ObjectOneofCase.TableConfig) { - output.WriteRawTag(162, 2); - output.WriteMessage(TableConfig); - } - if (objectCase_ == ObjectOneofCase.TableCellConfig) { - output.WriteRawTag(170, 2); - output.WriteMessage(TableCellConfig); - } - if (objectCase_ == ObjectOneofCase.TableRowConfig) { - output.WriteRawTag(178, 2); - output.WriteMessage(TableRowConfig); - } - if (objectCase_ == ObjectOneofCase.TableContentGroupConfig) { - output.WriteRawTag(186, 2); - output.WriteMessage(TableContentGroupConfig); - } - if (objectCase_ == ObjectOneofCase.BrickReference) { - output.WriteRawTag(194, 2); - output.WriteMessage(BrickReference); - } - if (objectCase_ == ObjectOneofCase.Indentation) { - output.WriteRawTag(186, 3); - output.WriteMessage(Indentation); - } - if (objectCase_ == ObjectOneofCase.Barcode) { - output.WriteRawTag(194, 3); - output.WriteMessage(Barcode); - } - if (objectCase_ == ObjectOneofCase.WsArea) { - output.WriteRawTag(202, 3); - output.WriteMessage(WsArea); - } - if (objectCase_ == ObjectOneofCase.CarryOver) { - output.WriteRawTag(210, 3); - output.WriteMessage(CarryOver); - } - if (objectCase_ == ObjectOneofCase.SubTotal) { - output.WriteRawTag(218, 3); - output.WriteMessage(SubTotal); - } - if (objectCase_ == ObjectOneofCase.Loop) { - output.WriteRawTag(226, 3); - output.WriteMessage(Loop); - } - if (objectCase_ == ObjectOneofCase.LoopEntry) { - output.WriteRawTag(234, 3); - output.WriteMessage(LoopEntry); - } - if (objectCase_ == ObjectOneofCase.Rule) { - output.WriteRawTag(242, 3); - output.WriteMessage(Rule); - } - if (objectCase_ == ObjectOneofCase.Layout) { - output.WriteRawTag(250, 3); - output.WriteMessage(Layout); - } - if (objectCase_ == ObjectOneofCase.AdvancedIllustrationArea) { - output.WriteRawTag(130, 4); - output.WriteMessage(AdvancedIllustrationArea); - } - if (objectCase_ == ObjectOneofCase.AdjustHorizontally) { - output.WriteRawTag(138, 4); - output.WriteMessage(AdjustHorizontally); - } - if (objectCase_ == ObjectOneofCase.DoctypeScript) { - output.WriteRawTag(146, 4); - output.WriteMessage(DoctypeScript); - } - if (objectCase_ == ObjectOneofCase.DmScript) { - output.WriteRawTag(154, 4); - output.WriteMessage(DmScript); - } - if (objectCase_ == ObjectOneofCase.DynamicTemplate) { - output.WriteRawTag(162, 4); - output.WriteMessage(DynamicTemplate); - } - if (objectCase_ == ObjectOneofCase.Selection) { - output.WriteRawTag(170, 4); - output.WriteMessage(Selection); - } - if (objectCase_ == ObjectOneofCase.SelectionEntry) { - output.WriteRawTag(178, 4); - output.WriteMessage(SelectionEntry); - } - if (objectCase_ == ObjectOneofCase.Condition) { - output.WriteRawTag(186, 4); - output.WriteMessage(Condition); - } - if (objectCase_ == ObjectOneofCase.PageCondition) { - output.WriteRawTag(194, 4); - output.WriteMessage(PageCondition); - } - if (objectCase_ == ObjectOneofCase.Locale) { - output.WriteRawTag(202, 4); - output.WriteMessage(Locale); - } - if (objectCase_ == ObjectOneofCase.Tag) { - output.WriteRawTag(210, 4); - output.WriteMessage(Tag); - } - if (objectCase_ == ObjectOneofCase.ParagraphSetDefault) { - output.WriteRawTag(218, 4); - output.WriteMessage(ParagraphSetDefault); - } - if (objectCase_ == ObjectOneofCase.InputFieldText) { - output.WriteRawTag(226, 4); - output.WriteMessage(InputFieldText); - } - if (objectCase_ == ObjectOneofCase.InputFieldDate) { - output.WriteRawTag(234, 4); - output.WriteMessage(InputFieldDate); - } - if (objectCase_ == ObjectOneofCase.InputFieldCheckbox) { - output.WriteRawTag(242, 4); - output.WriteMessage(InputFieldCheckbox); - } - if (objectCase_ == ObjectOneofCase.InputFieldLabel) { - output.WriteRawTag(250, 4); - output.WriteMessage(InputFieldLabel); - } - if (objectCase_ == ObjectOneofCase.InputFieldDropdown) { - output.WriteRawTag(130, 5); - output.WriteMessage(InputFieldDropdown); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - children_.WriteTo(ref output, _repeated_children_codec); - if (objectCase_ == ObjectOneofCase.ListSetting) { - output.WriteRawTag(18); - output.WriteMessage(ListSetting); - } - if (objectCase_ == ObjectOneofCase.ColorDef) { - output.WriteRawTag(26); - output.WriteMessage(ColorDef); - } - if (objectCase_ == ObjectOneofCase.Brick) { - output.WriteRawTag(34); - output.WriteMessage(Brick); - } - if (objectCase_ == ObjectOneofCase.Template) { - output.WriteRawTag(42); - output.WriteMessage(Template); - } - if (objectCase_ == ObjectOneofCase.Formatted) { - output.WriteRawTag(50); - output.WriteMessage(Formatted); - } - if (objectCase_ == ObjectOneofCase.Image) { - output.WriteRawTag(58); - output.WriteMessage(Image); - } - if (objectCase_ == ObjectOneofCase.ParagraphFormat) { - output.WriteRawTag(66); - output.WriteMessage(ParagraphFormat); - } - if (objectCase_ == ObjectOneofCase.TextBrick) { - output.WriteRawTag(74); - output.WriteMessage(TextBrick); - } - if (objectCase_ == ObjectOneofCase.Text) { - output.WriteRawTag(82); - output.WriteMessage(Text); - } - if (objectCase_ == ObjectOneofCase.Linebreak) { - output.WriteRawTag(90); - output.WriteMessage(Linebreak); - } - if (objectCase_ == ObjectOneofCase.SpaceVertically) { - output.WriteRawTag(98); - output.WriteMessage(SpaceVertically); - } - if (objectCase_ == ObjectOneofCase.Footer) { - output.WriteRawTag(106); - output.WriteMessage(Footer); - } - if (objectCase_ == ObjectOneofCase.Header) { - output.WriteRawTag(114); - output.WriteMessage(Header); - } - if (objectCase_ == ObjectOneofCase.Table) { - output.WriteRawTag(122); - output.WriteMessage(Table); - } - if (objectCase_ == ObjectOneofCase.TableRow) { - output.WriteRawTag(130, 1); - output.WriteMessage(TableRow); - } - if (objectCase_ == ObjectOneofCase.TableCell) { - output.WriteRawTag(138, 1); - output.WriteMessage(TableCell); - } - if (objectCase_ == ObjectOneofCase.CDef) { - output.WriteRawTag(146, 1); - output.WriteMessage(CDef); - } - if (objectCase_ == ObjectOneofCase.PDef) { - output.WriteRawTag(154, 1); - output.WriteMessage(PDef); - } - if (objectCase_ == ObjectOneofCase.ApplyCDef) { - output.WriteRawTag(162, 1); - output.WriteMessage(ApplyCDef); - } - if (objectCase_ == ObjectOneofCase.ApplyPDef) { - output.WriteRawTag(170, 1); - output.WriteMessage(ApplyPDef); - } - if (objectCase_ == ObjectOneofCase.ApplyPtConfig) { - output.WriteRawTag(178, 1); - output.WriteMessage(ApplyPtConfig); - } - if (objectCase_ == ObjectOneofCase.ApplyUlConfig) { - output.WriteRawTag(186, 1); - output.WriteMessage(ApplyUlConfig); - } - if (objectCase_ == ObjectOneofCase.PtConfig) { - output.WriteRawTag(194, 1); - output.WriteMessage(PtConfig); - } - if (objectCase_ == ObjectOneofCase.UlConfig) { - output.WriteRawTag(202, 1); - output.WriteMessage(UlConfig); - } - if (objectCase_ == ObjectOneofCase.NewPage) { - output.WriteRawTag(210, 1); - output.WriteMessage(NewPage); - } - if (objectCase_ == ObjectOneofCase.Variable) { - output.WriteRawTag(218, 1); - output.WriteMessage(Variable); - } - if (objectCase_ == ObjectOneofCase.NamedString) { - output.WriteRawTag(226, 1); - output.WriteMessage(NamedString); - } - if (objectCase_ == ObjectOneofCase.Paragraph) { - output.WriteRawTag(242, 1); - output.WriteMessage(Paragraph); - } - if (objectCase_ == ObjectOneofCase.Section) { - output.WriteRawTag(250, 1); - output.WriteMessage(Section); - } - if (objectCase_ == ObjectOneofCase.Span) { - output.WriteRawTag(130, 2); - output.WriteMessage(Span); - } - if (objectCase_ == ObjectOneofCase.Link) { - output.WriteRawTag(138, 2); - output.WriteMessage(Link); - } - if (objectCase_ == ObjectOneofCase.Directory) { - output.WriteRawTag(146, 2); - output.WriteMessage(Directory); - } - if (objectCase_ == ObjectOneofCase.TableContentGroup) { - output.WriteRawTag(154, 2); - output.WriteMessage(TableContentGroup); - } - if (objectCase_ == ObjectOneofCase.TableConfig) { - output.WriteRawTag(162, 2); - output.WriteMessage(TableConfig); - } - if (objectCase_ == ObjectOneofCase.TableCellConfig) { - output.WriteRawTag(170, 2); - output.WriteMessage(TableCellConfig); - } - if (objectCase_ == ObjectOneofCase.TableRowConfig) { - output.WriteRawTag(178, 2); - output.WriteMessage(TableRowConfig); - } - if (objectCase_ == ObjectOneofCase.TableContentGroupConfig) { - output.WriteRawTag(186, 2); - output.WriteMessage(TableContentGroupConfig); - } - if (objectCase_ == ObjectOneofCase.BrickReference) { - output.WriteRawTag(194, 2); - output.WriteMessage(BrickReference); - } - if (objectCase_ == ObjectOneofCase.Indentation) { - output.WriteRawTag(186, 3); - output.WriteMessage(Indentation); - } - if (objectCase_ == ObjectOneofCase.Barcode) { - output.WriteRawTag(194, 3); - output.WriteMessage(Barcode); - } - if (objectCase_ == ObjectOneofCase.WsArea) { - output.WriteRawTag(202, 3); - output.WriteMessage(WsArea); - } - if (objectCase_ == ObjectOneofCase.CarryOver) { - output.WriteRawTag(210, 3); - output.WriteMessage(CarryOver); - } - if (objectCase_ == ObjectOneofCase.SubTotal) { - output.WriteRawTag(218, 3); - output.WriteMessage(SubTotal); - } - if (objectCase_ == ObjectOneofCase.Loop) { - output.WriteRawTag(226, 3); - output.WriteMessage(Loop); - } - if (objectCase_ == ObjectOneofCase.LoopEntry) { - output.WriteRawTag(234, 3); - output.WriteMessage(LoopEntry); - } - if (objectCase_ == ObjectOneofCase.Rule) { - output.WriteRawTag(242, 3); - output.WriteMessage(Rule); - } - if (objectCase_ == ObjectOneofCase.Layout) { - output.WriteRawTag(250, 3); - output.WriteMessage(Layout); - } - if (objectCase_ == ObjectOneofCase.AdvancedIllustrationArea) { - output.WriteRawTag(130, 4); - output.WriteMessage(AdvancedIllustrationArea); - } - if (objectCase_ == ObjectOneofCase.AdjustHorizontally) { - output.WriteRawTag(138, 4); - output.WriteMessage(AdjustHorizontally); - } - if (objectCase_ == ObjectOneofCase.DoctypeScript) { - output.WriteRawTag(146, 4); - output.WriteMessage(DoctypeScript); - } - if (objectCase_ == ObjectOneofCase.DmScript) { - output.WriteRawTag(154, 4); - output.WriteMessage(DmScript); - } - if (objectCase_ == ObjectOneofCase.DynamicTemplate) { - output.WriteRawTag(162, 4); - output.WriteMessage(DynamicTemplate); - } - if (objectCase_ == ObjectOneofCase.Selection) { - output.WriteRawTag(170, 4); - output.WriteMessage(Selection); - } - if (objectCase_ == ObjectOneofCase.SelectionEntry) { - output.WriteRawTag(178, 4); - output.WriteMessage(SelectionEntry); - } - if (objectCase_ == ObjectOneofCase.Condition) { - output.WriteRawTag(186, 4); - output.WriteMessage(Condition); - } - if (objectCase_ == ObjectOneofCase.PageCondition) { - output.WriteRawTag(194, 4); - output.WriteMessage(PageCondition); - } - if (objectCase_ == ObjectOneofCase.Locale) { - output.WriteRawTag(202, 4); - output.WriteMessage(Locale); - } - if (objectCase_ == ObjectOneofCase.Tag) { - output.WriteRawTag(210, 4); - output.WriteMessage(Tag); - } - if (objectCase_ == ObjectOneofCase.ParagraphSetDefault) { - output.WriteRawTag(218, 4); - output.WriteMessage(ParagraphSetDefault); - } - if (objectCase_ == ObjectOneofCase.InputFieldText) { - output.WriteRawTag(226, 4); - output.WriteMessage(InputFieldText); - } - if (objectCase_ == ObjectOneofCase.InputFieldDate) { - output.WriteRawTag(234, 4); - output.WriteMessage(InputFieldDate); - } - if (objectCase_ == ObjectOneofCase.InputFieldCheckbox) { - output.WriteRawTag(242, 4); - output.WriteMessage(InputFieldCheckbox); - } - if (objectCase_ == ObjectOneofCase.InputFieldLabel) { - output.WriteRawTag(250, 4); - output.WriteMessage(InputFieldLabel); - } - if (objectCase_ == ObjectOneofCase.InputFieldDropdown) { - output.WriteRawTag(130, 5); - output.WriteMessage(InputFieldDropdown); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += children_.CalculateSize(_repeated_children_codec); - if (objectCase_ == ObjectOneofCase.ListSetting) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ListSetting); - } - if (objectCase_ == ObjectOneofCase.ColorDef) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ColorDef); - } - if (objectCase_ == ObjectOneofCase.Brick) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Brick); - } - if (objectCase_ == ObjectOneofCase.Template) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Template); - } - if (objectCase_ == ObjectOneofCase.Formatted) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Formatted); - } - if (objectCase_ == ObjectOneofCase.Image) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Image); - } - if (objectCase_ == ObjectOneofCase.ParagraphFormat) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ParagraphFormat); - } - if (objectCase_ == ObjectOneofCase.TextBrick) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TextBrick); - } - if (objectCase_ == ObjectOneofCase.Text) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Text); - } - if (objectCase_ == ObjectOneofCase.Linebreak) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Linebreak); - } - if (objectCase_ == ObjectOneofCase.SpaceVertically) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpaceVertically); - } - if (objectCase_ == ObjectOneofCase.Footer) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Footer); - } - if (objectCase_ == ObjectOneofCase.Header) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Header); - } - if (objectCase_ == ObjectOneofCase.Table) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Table); - } - if (objectCase_ == ObjectOneofCase.TableRow) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TableRow); - } - if (objectCase_ == ObjectOneofCase.TableCell) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TableCell); - } - if (objectCase_ == ObjectOneofCase.CDef) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CDef); - } - if (objectCase_ == ObjectOneofCase.PDef) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PDef); - } - if (objectCase_ == ObjectOneofCase.ApplyCDef) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ApplyCDef); - } - if (objectCase_ == ObjectOneofCase.ApplyPDef) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ApplyPDef); - } - if (objectCase_ == ObjectOneofCase.ApplyPtConfig) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ApplyPtConfig); - } - if (objectCase_ == ObjectOneofCase.ApplyUlConfig) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ApplyUlConfig); - } - if (objectCase_ == ObjectOneofCase.PtConfig) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PtConfig); - } - if (objectCase_ == ObjectOneofCase.UlConfig) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(UlConfig); - } - if (objectCase_ == ObjectOneofCase.NewPage) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NewPage); - } - if (objectCase_ == ObjectOneofCase.Variable) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Variable); - } - if (objectCase_ == ObjectOneofCase.NamedString) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NamedString); - } - if (objectCase_ == ObjectOneofCase.Paragraph) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Paragraph); - } - if (objectCase_ == ObjectOneofCase.Section) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Section); - } - if (objectCase_ == ObjectOneofCase.Span) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Span); - } - if (objectCase_ == ObjectOneofCase.Link) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Link); - } - if (objectCase_ == ObjectOneofCase.Directory) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Directory); - } - if (objectCase_ == ObjectOneofCase.TableContentGroup) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TableContentGroup); - } - if (objectCase_ == ObjectOneofCase.TableConfig) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TableConfig); - } - if (objectCase_ == ObjectOneofCase.TableCellConfig) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TableCellConfig); - } - if (objectCase_ == ObjectOneofCase.TableRowConfig) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TableRowConfig); - } - if (objectCase_ == ObjectOneofCase.TableContentGroupConfig) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TableContentGroupConfig); - } - if (objectCase_ == ObjectOneofCase.BrickReference) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BrickReference); - } - if (objectCase_ == ObjectOneofCase.Indentation) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Indentation); - } - if (objectCase_ == ObjectOneofCase.Barcode) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Barcode); - } - if (objectCase_ == ObjectOneofCase.WsArea) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(WsArea); - } - if (objectCase_ == ObjectOneofCase.CarryOver) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CarryOver); - } - if (objectCase_ == ObjectOneofCase.SubTotal) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubTotal); - } - if (objectCase_ == ObjectOneofCase.Loop) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Loop); - } - if (objectCase_ == ObjectOneofCase.LoopEntry) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(LoopEntry); - } - if (objectCase_ == ObjectOneofCase.Rule) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Rule); - } - if (objectCase_ == ObjectOneofCase.Layout) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Layout); - } - if (objectCase_ == ObjectOneofCase.AdvancedIllustrationArea) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(AdvancedIllustrationArea); - } - if (objectCase_ == ObjectOneofCase.AdjustHorizontally) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(AdjustHorizontally); - } - if (objectCase_ == ObjectOneofCase.DoctypeScript) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DoctypeScript); - } - if (objectCase_ == ObjectOneofCase.DmScript) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DmScript); - } - if (objectCase_ == ObjectOneofCase.DynamicTemplate) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DynamicTemplate); - } - if (objectCase_ == ObjectOneofCase.Selection) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Selection); - } - if (objectCase_ == ObjectOneofCase.SelectionEntry) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SelectionEntry); - } - if (objectCase_ == ObjectOneofCase.Condition) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Condition); - } - if (objectCase_ == ObjectOneofCase.PageCondition) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PageCondition); - } - if (objectCase_ == ObjectOneofCase.Locale) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Locale); - } - if (objectCase_ == ObjectOneofCase.Tag) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Tag); - } - if (objectCase_ == ObjectOneofCase.ParagraphSetDefault) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ParagraphSetDefault); - } - if (objectCase_ == ObjectOneofCase.InputFieldText) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(InputFieldText); - } - if (objectCase_ == ObjectOneofCase.InputFieldDate) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(InputFieldDate); - } - if (objectCase_ == ObjectOneofCase.InputFieldCheckbox) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(InputFieldCheckbox); - } - if (objectCase_ == ObjectOneofCase.InputFieldLabel) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(InputFieldLabel); - } - if (objectCase_ == ObjectOneofCase.InputFieldDropdown) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(InputFieldDropdown); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Node other) { - if (other == null) { - return; - } - children_.Add(other.children_); - switch (other.ObjectCase) { - case ObjectOneofCase.ListSetting: - if (ListSetting == null) { - ListSetting = new global::Docframe.ProtoListSetting(); - } - ListSetting.MergeFrom(other.ListSetting); - break; - case ObjectOneofCase.ColorDef: - if (ColorDef == null) { - ColorDef = new global::Docframe.ProtoColorDef(); - } - ColorDef.MergeFrom(other.ColorDef); - break; - case ObjectOneofCase.Brick: - if (Brick == null) { - Brick = new global::Docframe.ProtoBrick(); - } - Brick.MergeFrom(other.Brick); - break; - case ObjectOneofCase.Template: - if (Template == null) { - Template = new global::Docframe.ProtoTemplate(); - } - Template.MergeFrom(other.Template); - break; - case ObjectOneofCase.Formatted: - if (Formatted == null) { - Formatted = new global::Docframe.ProtoFormatted(); - } - Formatted.MergeFrom(other.Formatted); - break; - case ObjectOneofCase.Image: - if (Image == null) { - Image = new global::Docframe.ProtoImage(); - } - Image.MergeFrom(other.Image); - break; - case ObjectOneofCase.ParagraphFormat: - if (ParagraphFormat == null) { - ParagraphFormat = new global::Docframe.ProtoParagraphFormat(); - } - ParagraphFormat.MergeFrom(other.ParagraphFormat); - break; - case ObjectOneofCase.TextBrick: - if (TextBrick == null) { - TextBrick = new global::Docframe.ProtoTextBrick(); - } - TextBrick.MergeFrom(other.TextBrick); - break; - case ObjectOneofCase.Text: - if (Text == null) { - Text = new global::Docframe.ProtoText(); - } - Text.MergeFrom(other.Text); - break; - case ObjectOneofCase.Linebreak: - if (Linebreak == null) { - Linebreak = new global::Docframe.ProtoLinebreak(); - } - Linebreak.MergeFrom(other.Linebreak); - break; - case ObjectOneofCase.SpaceVertically: - if (SpaceVertically == null) { - SpaceVertically = new global::Docframe.ProtoSpaceVertically(); - } - SpaceVertically.MergeFrom(other.SpaceVertically); - break; - case ObjectOneofCase.Footer: - if (Footer == null) { - Footer = new global::Docframe.ProtoFooter(); - } - Footer.MergeFrom(other.Footer); - break; - case ObjectOneofCase.Header: - if (Header == null) { - Header = new global::Docframe.ProtoHeader(); - } - Header.MergeFrom(other.Header); - break; - case ObjectOneofCase.Table: - if (Table == null) { - Table = new global::Docframe.ProtoTable(); - } - Table.MergeFrom(other.Table); - break; - case ObjectOneofCase.TableRow: - if (TableRow == null) { - TableRow = new global::Docframe.ProtoTableRow(); - } - TableRow.MergeFrom(other.TableRow); - break; - case ObjectOneofCase.TableCell: - if (TableCell == null) { - TableCell = new global::Docframe.ProtoTableCell(); - } - TableCell.MergeFrom(other.TableCell); - break; - case ObjectOneofCase.CDef: - if (CDef == null) { - CDef = new global::Docframe.ProtoCDef(); - } - CDef.MergeFrom(other.CDef); - break; - case ObjectOneofCase.PDef: - if (PDef == null) { - PDef = new global::Docframe.ProtoPDef(); - } - PDef.MergeFrom(other.PDef); - break; - case ObjectOneofCase.ApplyCDef: - if (ApplyCDef == null) { - ApplyCDef = new global::Docframe.ProtoApplyProtoCDef(); - } - ApplyCDef.MergeFrom(other.ApplyCDef); - break; - case ObjectOneofCase.ApplyPDef: - if (ApplyPDef == null) { - ApplyPDef = new global::Docframe.ProtoApplyProtoPDef(); - } - ApplyPDef.MergeFrom(other.ApplyPDef); - break; - case ObjectOneofCase.ApplyPtConfig: - if (ApplyPtConfig == null) { - ApplyPtConfig = new global::Docframe.ProtoApplyPtConfig(); - } - ApplyPtConfig.MergeFrom(other.ApplyPtConfig); - break; - case ObjectOneofCase.ApplyUlConfig: - if (ApplyUlConfig == null) { - ApplyUlConfig = new global::Docframe.ProtoApplyUlConfig(); - } - ApplyUlConfig.MergeFrom(other.ApplyUlConfig); - break; - case ObjectOneofCase.PtConfig: - if (PtConfig == null) { - PtConfig = new global::Docframe.ProtoPtConfig(); - } - PtConfig.MergeFrom(other.PtConfig); - break; - case ObjectOneofCase.UlConfig: - if (UlConfig == null) { - UlConfig = new global::Docframe.ProtoUlConfig(); - } - UlConfig.MergeFrom(other.UlConfig); - break; - case ObjectOneofCase.NewPage: - if (NewPage == null) { - NewPage = new global::Docframe.ProtoNewPage(); - } - NewPage.MergeFrom(other.NewPage); - break; - case ObjectOneofCase.Variable: - if (Variable == null) { - Variable = new global::Docframe.ProtoVariable(); - } - Variable.MergeFrom(other.Variable); - break; - case ObjectOneofCase.NamedString: - if (NamedString == null) { - NamedString = new global::Docframe.ProtoNamedString(); - } - NamedString.MergeFrom(other.NamedString); - break; - case ObjectOneofCase.Paragraph: - if (Paragraph == null) { - Paragraph = new global::Docframe.ProtoParagraph(); - } - Paragraph.MergeFrom(other.Paragraph); - break; - case ObjectOneofCase.Section: - if (Section == null) { - Section = new global::Docframe.ProtoSection(); - } - Section.MergeFrom(other.Section); - break; - case ObjectOneofCase.Span: - if (Span == null) { - Span = new global::Docframe.ProtoSpan(); - } - Span.MergeFrom(other.Span); - break; - case ObjectOneofCase.Link: - if (Link == null) { - Link = new global::Docframe.ProtoLink(); - } - Link.MergeFrom(other.Link); - break; - case ObjectOneofCase.Directory: - if (Directory == null) { - Directory = new global::Docframe.ProtoDirectory(); - } - Directory.MergeFrom(other.Directory); - break; - case ObjectOneofCase.TableContentGroup: - if (TableContentGroup == null) { - TableContentGroup = new global::Docframe.ProtoTableContentGroup(); - } - TableContentGroup.MergeFrom(other.TableContentGroup); - break; - case ObjectOneofCase.TableConfig: - if (TableConfig == null) { - TableConfig = new global::Docframe.ProtoTableConfig(); - } - TableConfig.MergeFrom(other.TableConfig); - break; - case ObjectOneofCase.TableCellConfig: - if (TableCellConfig == null) { - TableCellConfig = new global::Docframe.ProtoTableCellConfig(); - } - TableCellConfig.MergeFrom(other.TableCellConfig); - break; - case ObjectOneofCase.TableRowConfig: - if (TableRowConfig == null) { - TableRowConfig = new global::Docframe.ProtoTableRowConfig(); - } - TableRowConfig.MergeFrom(other.TableRowConfig); - break; - case ObjectOneofCase.TableContentGroupConfig: - if (TableContentGroupConfig == null) { - TableContentGroupConfig = new global::Docframe.ProtoTableContentGroupConfig(); - } - TableContentGroupConfig.MergeFrom(other.TableContentGroupConfig); - break; - case ObjectOneofCase.BrickReference: - if (BrickReference == null) { - BrickReference = new global::Docframe.ProtoBrickReference(); - } - BrickReference.MergeFrom(other.BrickReference); - break; - case ObjectOneofCase.Indentation: - if (Indentation == null) { - Indentation = new global::Docframe.ProtoIndentation(); - } - Indentation.MergeFrom(other.Indentation); - break; - case ObjectOneofCase.Barcode: - if (Barcode == null) { - Barcode = new global::Docframe.ProtoBarcode(); - } - Barcode.MergeFrom(other.Barcode); - break; - case ObjectOneofCase.WsArea: - if (WsArea == null) { - WsArea = new global::Docframe.ProtoWsArea(); - } - WsArea.MergeFrom(other.WsArea); - break; - case ObjectOneofCase.CarryOver: - if (CarryOver == null) { - CarryOver = new global::Docframe.ProtoCarryOver(); - } - CarryOver.MergeFrom(other.CarryOver); - break; - case ObjectOneofCase.SubTotal: - if (SubTotal == null) { - SubTotal = new global::Docframe.ProtoSubTotal(); - } - SubTotal.MergeFrom(other.SubTotal); - break; - case ObjectOneofCase.Loop: - if (Loop == null) { - Loop = new global::Docframe.ProtoLoop(); - } - Loop.MergeFrom(other.Loop); - break; - case ObjectOneofCase.LoopEntry: - if (LoopEntry == null) { - LoopEntry = new global::Docframe.ProtoLoopEntry(); - } - LoopEntry.MergeFrom(other.LoopEntry); - break; - case ObjectOneofCase.Rule: - if (Rule == null) { - Rule = new global::Docframe.ProtoRule(); - } - Rule.MergeFrom(other.Rule); - break; - case ObjectOneofCase.Layout: - if (Layout == null) { - Layout = new global::Docframe.ProtoLayout(); - } - Layout.MergeFrom(other.Layout); - break; - case ObjectOneofCase.AdvancedIllustrationArea: - if (AdvancedIllustrationArea == null) { - AdvancedIllustrationArea = new global::Docframe.ProtoAdvancedIllustrationArea(); - } - AdvancedIllustrationArea.MergeFrom(other.AdvancedIllustrationArea); - break; - case ObjectOneofCase.AdjustHorizontally: - if (AdjustHorizontally == null) { - AdjustHorizontally = new global::Docframe.ProtoAdjustHorizontally(); - } - AdjustHorizontally.MergeFrom(other.AdjustHorizontally); - break; - case ObjectOneofCase.DoctypeScript: - if (DoctypeScript == null) { - DoctypeScript = new global::Docframe.ProtoDoctypeScript(); - } - DoctypeScript.MergeFrom(other.DoctypeScript); - break; - case ObjectOneofCase.DmScript: - if (DmScript == null) { - DmScript = new global::Docframe.ProtoDmScript(); - } - DmScript.MergeFrom(other.DmScript); - break; - case ObjectOneofCase.DynamicTemplate: - if (DynamicTemplate == null) { - DynamicTemplate = new global::Docframe.ProtoDynamicTemplate(); - } - DynamicTemplate.MergeFrom(other.DynamicTemplate); - break; - case ObjectOneofCase.Selection: - if (Selection == null) { - Selection = new global::Docframe.ProtoSelection(); - } - Selection.MergeFrom(other.Selection); - break; - case ObjectOneofCase.SelectionEntry: - if (SelectionEntry == null) { - SelectionEntry = new global::Docframe.ProtoSelectionEntry(); - } - SelectionEntry.MergeFrom(other.SelectionEntry); - break; - case ObjectOneofCase.Condition: - if (Condition == null) { - Condition = new global::Docframe.ProtoCondition(); - } - Condition.MergeFrom(other.Condition); - break; - case ObjectOneofCase.PageCondition: - if (PageCondition == null) { - PageCondition = new global::Docframe.ProtoPageCondition(); - } - PageCondition.MergeFrom(other.PageCondition); - break; - case ObjectOneofCase.Locale: - if (Locale == null) { - Locale = new global::Docframe.ProtoLocale(); - } - Locale.MergeFrom(other.Locale); - break; - case ObjectOneofCase.Tag: - if (Tag == null) { - Tag = new global::Docframe.ProtoTag(); - } - Tag.MergeFrom(other.Tag); - break; - case ObjectOneofCase.ParagraphSetDefault: - if (ParagraphSetDefault == null) { - ParagraphSetDefault = new global::Docframe.ProtoParagraphSetDefault(); - } - ParagraphSetDefault.MergeFrom(other.ParagraphSetDefault); - break; - case ObjectOneofCase.InputFieldText: - if (InputFieldText == null) { - InputFieldText = new global::Docframe.ProtoInputFieldText(); - } - InputFieldText.MergeFrom(other.InputFieldText); - break; - case ObjectOneofCase.InputFieldDate: - if (InputFieldDate == null) { - InputFieldDate = new global::Docframe.ProtoInputFieldDate(); - } - InputFieldDate.MergeFrom(other.InputFieldDate); - break; - case ObjectOneofCase.InputFieldCheckbox: - if (InputFieldCheckbox == null) { - InputFieldCheckbox = new global::Docframe.ProtoInputFieldCheckbox(); - } - InputFieldCheckbox.MergeFrom(other.InputFieldCheckbox); - break; - case ObjectOneofCase.InputFieldLabel: - if (InputFieldLabel == null) { - InputFieldLabel = new global::Docframe.ProtoInputFieldLabel(); - } - InputFieldLabel.MergeFrom(other.InputFieldLabel); - break; - case ObjectOneofCase.InputFieldDropdown: - if (InputFieldDropdown == null) { - InputFieldDropdown = new global::Docframe.ProtoInputFieldDropdown(); - } - InputFieldDropdown.MergeFrom(other.InputFieldDropdown); - break; - } - - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - children_.AddEntriesFrom(input, _repeated_children_codec); - break; - } - case 18: { - global::Docframe.ProtoListSetting subBuilder = new global::Docframe.ProtoListSetting(); - if (objectCase_ == ObjectOneofCase.ListSetting) { - subBuilder.MergeFrom(ListSetting); - } - input.ReadMessage(subBuilder); - ListSetting = subBuilder; - break; - } - case 26: { - global::Docframe.ProtoColorDef subBuilder = new global::Docframe.ProtoColorDef(); - if (objectCase_ == ObjectOneofCase.ColorDef) { - subBuilder.MergeFrom(ColorDef); - } - input.ReadMessage(subBuilder); - ColorDef = subBuilder; - break; - } - case 34: { - global::Docframe.ProtoBrick subBuilder = new global::Docframe.ProtoBrick(); - if (objectCase_ == ObjectOneofCase.Brick) { - subBuilder.MergeFrom(Brick); - } - input.ReadMessage(subBuilder); - Brick = subBuilder; - break; - } - case 42: { - global::Docframe.ProtoTemplate subBuilder = new global::Docframe.ProtoTemplate(); - if (objectCase_ == ObjectOneofCase.Template) { - subBuilder.MergeFrom(Template); - } - input.ReadMessage(subBuilder); - Template = subBuilder; - break; - } - case 50: { - global::Docframe.ProtoFormatted subBuilder = new global::Docframe.ProtoFormatted(); - if (objectCase_ == ObjectOneofCase.Formatted) { - subBuilder.MergeFrom(Formatted); - } - input.ReadMessage(subBuilder); - Formatted = subBuilder; - break; - } - case 58: { - global::Docframe.ProtoImage subBuilder = new global::Docframe.ProtoImage(); - if (objectCase_ == ObjectOneofCase.Image) { - subBuilder.MergeFrom(Image); - } - input.ReadMessage(subBuilder); - Image = subBuilder; - break; - } - case 66: { - global::Docframe.ProtoParagraphFormat subBuilder = new global::Docframe.ProtoParagraphFormat(); - if (objectCase_ == ObjectOneofCase.ParagraphFormat) { - subBuilder.MergeFrom(ParagraphFormat); - } - input.ReadMessage(subBuilder); - ParagraphFormat = subBuilder; - break; - } - case 74: { - global::Docframe.ProtoTextBrick subBuilder = new global::Docframe.ProtoTextBrick(); - if (objectCase_ == ObjectOneofCase.TextBrick) { - subBuilder.MergeFrom(TextBrick); - } - input.ReadMessage(subBuilder); - TextBrick = subBuilder; - break; - } - case 82: { - global::Docframe.ProtoText subBuilder = new global::Docframe.ProtoText(); - if (objectCase_ == ObjectOneofCase.Text) { - subBuilder.MergeFrom(Text); - } - input.ReadMessage(subBuilder); - Text = subBuilder; - break; - } - case 90: { - global::Docframe.ProtoLinebreak subBuilder = new global::Docframe.ProtoLinebreak(); - if (objectCase_ == ObjectOneofCase.Linebreak) { - subBuilder.MergeFrom(Linebreak); - } - input.ReadMessage(subBuilder); - Linebreak = subBuilder; - break; - } - case 98: { - global::Docframe.ProtoSpaceVertically subBuilder = new global::Docframe.ProtoSpaceVertically(); - if (objectCase_ == ObjectOneofCase.SpaceVertically) { - subBuilder.MergeFrom(SpaceVertically); - } - input.ReadMessage(subBuilder); - SpaceVertically = subBuilder; - break; - } - case 106: { - global::Docframe.ProtoFooter subBuilder = new global::Docframe.ProtoFooter(); - if (objectCase_ == ObjectOneofCase.Footer) { - subBuilder.MergeFrom(Footer); - } - input.ReadMessage(subBuilder); - Footer = subBuilder; - break; - } - case 114: { - global::Docframe.ProtoHeader subBuilder = new global::Docframe.ProtoHeader(); - if (objectCase_ == ObjectOneofCase.Header) { - subBuilder.MergeFrom(Header); - } - input.ReadMessage(subBuilder); - Header = subBuilder; - break; - } - case 122: { - global::Docframe.ProtoTable subBuilder = new global::Docframe.ProtoTable(); - if (objectCase_ == ObjectOneofCase.Table) { - subBuilder.MergeFrom(Table); - } - input.ReadMessage(subBuilder); - Table = subBuilder; - break; - } - case 130: { - global::Docframe.ProtoTableRow subBuilder = new global::Docframe.ProtoTableRow(); - if (objectCase_ == ObjectOneofCase.TableRow) { - subBuilder.MergeFrom(TableRow); - } - input.ReadMessage(subBuilder); - TableRow = subBuilder; - break; - } - case 138: { - global::Docframe.ProtoTableCell subBuilder = new global::Docframe.ProtoTableCell(); - if (objectCase_ == ObjectOneofCase.TableCell) { - subBuilder.MergeFrom(TableCell); - } - input.ReadMessage(subBuilder); - TableCell = subBuilder; - break; - } - case 146: { - global::Docframe.ProtoCDef subBuilder = new global::Docframe.ProtoCDef(); - if (objectCase_ == ObjectOneofCase.CDef) { - subBuilder.MergeFrom(CDef); - } - input.ReadMessage(subBuilder); - CDef = subBuilder; - break; - } - case 154: { - global::Docframe.ProtoPDef subBuilder = new global::Docframe.ProtoPDef(); - if (objectCase_ == ObjectOneofCase.PDef) { - subBuilder.MergeFrom(PDef); - } - input.ReadMessage(subBuilder); - PDef = subBuilder; - break; - } - case 162: { - global::Docframe.ProtoApplyProtoCDef subBuilder = new global::Docframe.ProtoApplyProtoCDef(); - if (objectCase_ == ObjectOneofCase.ApplyCDef) { - subBuilder.MergeFrom(ApplyCDef); - } - input.ReadMessage(subBuilder); - ApplyCDef = subBuilder; - break; - } - case 170: { - global::Docframe.ProtoApplyProtoPDef subBuilder = new global::Docframe.ProtoApplyProtoPDef(); - if (objectCase_ == ObjectOneofCase.ApplyPDef) { - subBuilder.MergeFrom(ApplyPDef); - } - input.ReadMessage(subBuilder); - ApplyPDef = subBuilder; - break; - } - case 178: { - global::Docframe.ProtoApplyPtConfig subBuilder = new global::Docframe.ProtoApplyPtConfig(); - if (objectCase_ == ObjectOneofCase.ApplyPtConfig) { - subBuilder.MergeFrom(ApplyPtConfig); - } - input.ReadMessage(subBuilder); - ApplyPtConfig = subBuilder; - break; - } - case 186: { - global::Docframe.ProtoApplyUlConfig subBuilder = new global::Docframe.ProtoApplyUlConfig(); - if (objectCase_ == ObjectOneofCase.ApplyUlConfig) { - subBuilder.MergeFrom(ApplyUlConfig); - } - input.ReadMessage(subBuilder); - ApplyUlConfig = subBuilder; - break; - } - case 194: { - global::Docframe.ProtoPtConfig subBuilder = new global::Docframe.ProtoPtConfig(); - if (objectCase_ == ObjectOneofCase.PtConfig) { - subBuilder.MergeFrom(PtConfig); - } - input.ReadMessage(subBuilder); - PtConfig = subBuilder; - break; - } - case 202: { - global::Docframe.ProtoUlConfig subBuilder = new global::Docframe.ProtoUlConfig(); - if (objectCase_ == ObjectOneofCase.UlConfig) { - subBuilder.MergeFrom(UlConfig); - } - input.ReadMessage(subBuilder); - UlConfig = subBuilder; - break; - } - case 210: { - global::Docframe.ProtoNewPage subBuilder = new global::Docframe.ProtoNewPage(); - if (objectCase_ == ObjectOneofCase.NewPage) { - subBuilder.MergeFrom(NewPage); - } - input.ReadMessage(subBuilder); - NewPage = subBuilder; - break; - } - case 218: { - global::Docframe.ProtoVariable subBuilder = new global::Docframe.ProtoVariable(); - if (objectCase_ == ObjectOneofCase.Variable) { - subBuilder.MergeFrom(Variable); - } - input.ReadMessage(subBuilder); - Variable = subBuilder; - break; - } - case 226: { - global::Docframe.ProtoNamedString subBuilder = new global::Docframe.ProtoNamedString(); - if (objectCase_ == ObjectOneofCase.NamedString) { - subBuilder.MergeFrom(NamedString); - } - input.ReadMessage(subBuilder); - NamedString = subBuilder; - break; - } - case 242: { - global::Docframe.ProtoParagraph subBuilder = new global::Docframe.ProtoParagraph(); - if (objectCase_ == ObjectOneofCase.Paragraph) { - subBuilder.MergeFrom(Paragraph); - } - input.ReadMessage(subBuilder); - Paragraph = subBuilder; - break; - } - case 250: { - global::Docframe.ProtoSection subBuilder = new global::Docframe.ProtoSection(); - if (objectCase_ == ObjectOneofCase.Section) { - subBuilder.MergeFrom(Section); - } - input.ReadMessage(subBuilder); - Section = subBuilder; - break; - } - case 258: { - global::Docframe.ProtoSpan subBuilder = new global::Docframe.ProtoSpan(); - if (objectCase_ == ObjectOneofCase.Span) { - subBuilder.MergeFrom(Span); - } - input.ReadMessage(subBuilder); - Span = subBuilder; - break; - } - case 266: { - global::Docframe.ProtoLink subBuilder = new global::Docframe.ProtoLink(); - if (objectCase_ == ObjectOneofCase.Link) { - subBuilder.MergeFrom(Link); - } - input.ReadMessage(subBuilder); - Link = subBuilder; - break; - } - case 274: { - global::Docframe.ProtoDirectory subBuilder = new global::Docframe.ProtoDirectory(); - if (objectCase_ == ObjectOneofCase.Directory) { - subBuilder.MergeFrom(Directory); - } - input.ReadMessage(subBuilder); - Directory = subBuilder; - break; - } - case 282: { - global::Docframe.ProtoTableContentGroup subBuilder = new global::Docframe.ProtoTableContentGroup(); - if (objectCase_ == ObjectOneofCase.TableContentGroup) { - subBuilder.MergeFrom(TableContentGroup); - } - input.ReadMessage(subBuilder); - TableContentGroup = subBuilder; - break; - } - case 290: { - global::Docframe.ProtoTableConfig subBuilder = new global::Docframe.ProtoTableConfig(); - if (objectCase_ == ObjectOneofCase.TableConfig) { - subBuilder.MergeFrom(TableConfig); - } - input.ReadMessage(subBuilder); - TableConfig = subBuilder; - break; - } - case 298: { - global::Docframe.ProtoTableCellConfig subBuilder = new global::Docframe.ProtoTableCellConfig(); - if (objectCase_ == ObjectOneofCase.TableCellConfig) { - subBuilder.MergeFrom(TableCellConfig); - } - input.ReadMessage(subBuilder); - TableCellConfig = subBuilder; - break; - } - case 306: { - global::Docframe.ProtoTableRowConfig subBuilder = new global::Docframe.ProtoTableRowConfig(); - if (objectCase_ == ObjectOneofCase.TableRowConfig) { - subBuilder.MergeFrom(TableRowConfig); - } - input.ReadMessage(subBuilder); - TableRowConfig = subBuilder; - break; - } - case 314: { - global::Docframe.ProtoTableContentGroupConfig subBuilder = new global::Docframe.ProtoTableContentGroupConfig(); - if (objectCase_ == ObjectOneofCase.TableContentGroupConfig) { - subBuilder.MergeFrom(TableContentGroupConfig); - } - input.ReadMessage(subBuilder); - TableContentGroupConfig = subBuilder; - break; - } - case 322: { - global::Docframe.ProtoBrickReference subBuilder = new global::Docframe.ProtoBrickReference(); - if (objectCase_ == ObjectOneofCase.BrickReference) { - subBuilder.MergeFrom(BrickReference); - } - input.ReadMessage(subBuilder); - BrickReference = subBuilder; - break; - } - case 442: { - global::Docframe.ProtoIndentation subBuilder = new global::Docframe.ProtoIndentation(); - if (objectCase_ == ObjectOneofCase.Indentation) { - subBuilder.MergeFrom(Indentation); - } - input.ReadMessage(subBuilder); - Indentation = subBuilder; - break; - } - case 450: { - global::Docframe.ProtoBarcode subBuilder = new global::Docframe.ProtoBarcode(); - if (objectCase_ == ObjectOneofCase.Barcode) { - subBuilder.MergeFrom(Barcode); - } - input.ReadMessage(subBuilder); - Barcode = subBuilder; - break; - } - case 458: { - global::Docframe.ProtoWsArea subBuilder = new global::Docframe.ProtoWsArea(); - if (objectCase_ == ObjectOneofCase.WsArea) { - subBuilder.MergeFrom(WsArea); - } - input.ReadMessage(subBuilder); - WsArea = subBuilder; - break; - } - case 466: { - global::Docframe.ProtoCarryOver subBuilder = new global::Docframe.ProtoCarryOver(); - if (objectCase_ == ObjectOneofCase.CarryOver) { - subBuilder.MergeFrom(CarryOver); - } - input.ReadMessage(subBuilder); - CarryOver = subBuilder; - break; - } - case 474: { - global::Docframe.ProtoSubTotal subBuilder = new global::Docframe.ProtoSubTotal(); - if (objectCase_ == ObjectOneofCase.SubTotal) { - subBuilder.MergeFrom(SubTotal); - } - input.ReadMessage(subBuilder); - SubTotal = subBuilder; - break; - } - case 482: { - global::Docframe.ProtoLoop subBuilder = new global::Docframe.ProtoLoop(); - if (objectCase_ == ObjectOneofCase.Loop) { - subBuilder.MergeFrom(Loop); - } - input.ReadMessage(subBuilder); - Loop = subBuilder; - break; - } - case 490: { - global::Docframe.ProtoLoopEntry subBuilder = new global::Docframe.ProtoLoopEntry(); - if (objectCase_ == ObjectOneofCase.LoopEntry) { - subBuilder.MergeFrom(LoopEntry); - } - input.ReadMessage(subBuilder); - LoopEntry = subBuilder; - break; - } - case 498: { - global::Docframe.ProtoRule subBuilder = new global::Docframe.ProtoRule(); - if (objectCase_ == ObjectOneofCase.Rule) { - subBuilder.MergeFrom(Rule); - } - input.ReadMessage(subBuilder); - Rule = subBuilder; - break; - } - case 506: { - global::Docframe.ProtoLayout subBuilder = new global::Docframe.ProtoLayout(); - if (objectCase_ == ObjectOneofCase.Layout) { - subBuilder.MergeFrom(Layout); - } - input.ReadMessage(subBuilder); - Layout = subBuilder; - break; - } - case 514: { - global::Docframe.ProtoAdvancedIllustrationArea subBuilder = new global::Docframe.ProtoAdvancedIllustrationArea(); - if (objectCase_ == ObjectOneofCase.AdvancedIllustrationArea) { - subBuilder.MergeFrom(AdvancedIllustrationArea); - } - input.ReadMessage(subBuilder); - AdvancedIllustrationArea = subBuilder; - break; - } - case 522: { - global::Docframe.ProtoAdjustHorizontally subBuilder = new global::Docframe.ProtoAdjustHorizontally(); - if (objectCase_ == ObjectOneofCase.AdjustHorizontally) { - subBuilder.MergeFrom(AdjustHorizontally); - } - input.ReadMessage(subBuilder); - AdjustHorizontally = subBuilder; - break; - } - case 530: { - global::Docframe.ProtoDoctypeScript subBuilder = new global::Docframe.ProtoDoctypeScript(); - if (objectCase_ == ObjectOneofCase.DoctypeScript) { - subBuilder.MergeFrom(DoctypeScript); - } - input.ReadMessage(subBuilder); - DoctypeScript = subBuilder; - break; - } - case 538: { - global::Docframe.ProtoDmScript subBuilder = new global::Docframe.ProtoDmScript(); - if (objectCase_ == ObjectOneofCase.DmScript) { - subBuilder.MergeFrom(DmScript); - } - input.ReadMessage(subBuilder); - DmScript = subBuilder; - break; - } - case 546: { - global::Docframe.ProtoDynamicTemplate subBuilder = new global::Docframe.ProtoDynamicTemplate(); - if (objectCase_ == ObjectOneofCase.DynamicTemplate) { - subBuilder.MergeFrom(DynamicTemplate); - } - input.ReadMessage(subBuilder); - DynamicTemplate = subBuilder; - break; - } - case 554: { - global::Docframe.ProtoSelection subBuilder = new global::Docframe.ProtoSelection(); - if (objectCase_ == ObjectOneofCase.Selection) { - subBuilder.MergeFrom(Selection); - } - input.ReadMessage(subBuilder); - Selection = subBuilder; - break; - } - case 562: { - global::Docframe.ProtoSelectionEntry subBuilder = new global::Docframe.ProtoSelectionEntry(); - if (objectCase_ == ObjectOneofCase.SelectionEntry) { - subBuilder.MergeFrom(SelectionEntry); - } - input.ReadMessage(subBuilder); - SelectionEntry = subBuilder; - break; - } - case 570: { - global::Docframe.ProtoCondition subBuilder = new global::Docframe.ProtoCondition(); - if (objectCase_ == ObjectOneofCase.Condition) { - subBuilder.MergeFrom(Condition); - } - input.ReadMessage(subBuilder); - Condition = subBuilder; - break; - } - case 578: { - global::Docframe.ProtoPageCondition subBuilder = new global::Docframe.ProtoPageCondition(); - if (objectCase_ == ObjectOneofCase.PageCondition) { - subBuilder.MergeFrom(PageCondition); - } - input.ReadMessage(subBuilder); - PageCondition = subBuilder; - break; - } - case 586: { - global::Docframe.ProtoLocale subBuilder = new global::Docframe.ProtoLocale(); - if (objectCase_ == ObjectOneofCase.Locale) { - subBuilder.MergeFrom(Locale); - } - input.ReadMessage(subBuilder); - Locale = subBuilder; - break; - } - case 594: { - global::Docframe.ProtoTag subBuilder = new global::Docframe.ProtoTag(); - if (objectCase_ == ObjectOneofCase.Tag) { - subBuilder.MergeFrom(Tag); - } - input.ReadMessage(subBuilder); - Tag = subBuilder; - break; - } - case 602: { - global::Docframe.ProtoParagraphSetDefault subBuilder = new global::Docframe.ProtoParagraphSetDefault(); - if (objectCase_ == ObjectOneofCase.ParagraphSetDefault) { - subBuilder.MergeFrom(ParagraphSetDefault); - } - input.ReadMessage(subBuilder); - ParagraphSetDefault = subBuilder; - break; - } - case 610: { - global::Docframe.ProtoInputFieldText subBuilder = new global::Docframe.ProtoInputFieldText(); - if (objectCase_ == ObjectOneofCase.InputFieldText) { - subBuilder.MergeFrom(InputFieldText); - } - input.ReadMessage(subBuilder); - InputFieldText = subBuilder; - break; - } - case 618: { - global::Docframe.ProtoInputFieldDate subBuilder = new global::Docframe.ProtoInputFieldDate(); - if (objectCase_ == ObjectOneofCase.InputFieldDate) { - subBuilder.MergeFrom(InputFieldDate); - } - input.ReadMessage(subBuilder); - InputFieldDate = subBuilder; - break; - } - case 626: { - global::Docframe.ProtoInputFieldCheckbox subBuilder = new global::Docframe.ProtoInputFieldCheckbox(); - if (objectCase_ == ObjectOneofCase.InputFieldCheckbox) { - subBuilder.MergeFrom(InputFieldCheckbox); - } - input.ReadMessage(subBuilder); - InputFieldCheckbox = subBuilder; - break; - } - case 634: { - global::Docframe.ProtoInputFieldLabel subBuilder = new global::Docframe.ProtoInputFieldLabel(); - if (objectCase_ == ObjectOneofCase.InputFieldLabel) { - subBuilder.MergeFrom(InputFieldLabel); - } - input.ReadMessage(subBuilder); - InputFieldLabel = subBuilder; - break; - } - case 642: { - global::Docframe.ProtoInputFieldDropdown subBuilder = new global::Docframe.ProtoInputFieldDropdown(); - if (objectCase_ == ObjectOneofCase.InputFieldDropdown) { - subBuilder.MergeFrom(InputFieldDropdown); - } - input.ReadMessage(subBuilder); - InputFieldDropdown = subBuilder; - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - children_.AddEntriesFrom(ref input, _repeated_children_codec); - break; - } - case 18: { - global::Docframe.ProtoListSetting subBuilder = new global::Docframe.ProtoListSetting(); - if (objectCase_ == ObjectOneofCase.ListSetting) { - subBuilder.MergeFrom(ListSetting); - } - input.ReadMessage(subBuilder); - ListSetting = subBuilder; - break; - } - case 26: { - global::Docframe.ProtoColorDef subBuilder = new global::Docframe.ProtoColorDef(); - if (objectCase_ == ObjectOneofCase.ColorDef) { - subBuilder.MergeFrom(ColorDef); - } - input.ReadMessage(subBuilder); - ColorDef = subBuilder; - break; - } - case 34: { - global::Docframe.ProtoBrick subBuilder = new global::Docframe.ProtoBrick(); - if (objectCase_ == ObjectOneofCase.Brick) { - subBuilder.MergeFrom(Brick); - } - input.ReadMessage(subBuilder); - Brick = subBuilder; - break; - } - case 42: { - global::Docframe.ProtoTemplate subBuilder = new global::Docframe.ProtoTemplate(); - if (objectCase_ == ObjectOneofCase.Template) { - subBuilder.MergeFrom(Template); - } - input.ReadMessage(subBuilder); - Template = subBuilder; - break; - } - case 50: { - global::Docframe.ProtoFormatted subBuilder = new global::Docframe.ProtoFormatted(); - if (objectCase_ == ObjectOneofCase.Formatted) { - subBuilder.MergeFrom(Formatted); - } - input.ReadMessage(subBuilder); - Formatted = subBuilder; - break; - } - case 58: { - global::Docframe.ProtoImage subBuilder = new global::Docframe.ProtoImage(); - if (objectCase_ == ObjectOneofCase.Image) { - subBuilder.MergeFrom(Image); - } - input.ReadMessage(subBuilder); - Image = subBuilder; - break; - } - case 66: { - global::Docframe.ProtoParagraphFormat subBuilder = new global::Docframe.ProtoParagraphFormat(); - if (objectCase_ == ObjectOneofCase.ParagraphFormat) { - subBuilder.MergeFrom(ParagraphFormat); - } - input.ReadMessage(subBuilder); - ParagraphFormat = subBuilder; - break; - } - case 74: { - global::Docframe.ProtoTextBrick subBuilder = new global::Docframe.ProtoTextBrick(); - if (objectCase_ == ObjectOneofCase.TextBrick) { - subBuilder.MergeFrom(TextBrick); - } - input.ReadMessage(subBuilder); - TextBrick = subBuilder; - break; - } - case 82: { - global::Docframe.ProtoText subBuilder = new global::Docframe.ProtoText(); - if (objectCase_ == ObjectOneofCase.Text) { - subBuilder.MergeFrom(Text); - } - input.ReadMessage(subBuilder); - Text = subBuilder; - break; - } - case 90: { - global::Docframe.ProtoLinebreak subBuilder = new global::Docframe.ProtoLinebreak(); - if (objectCase_ == ObjectOneofCase.Linebreak) { - subBuilder.MergeFrom(Linebreak); - } - input.ReadMessage(subBuilder); - Linebreak = subBuilder; - break; - } - case 98: { - global::Docframe.ProtoSpaceVertically subBuilder = new global::Docframe.ProtoSpaceVertically(); - if (objectCase_ == ObjectOneofCase.SpaceVertically) { - subBuilder.MergeFrom(SpaceVertically); - } - input.ReadMessage(subBuilder); - SpaceVertically = subBuilder; - break; - } - case 106: { - global::Docframe.ProtoFooter subBuilder = new global::Docframe.ProtoFooter(); - if (objectCase_ == ObjectOneofCase.Footer) { - subBuilder.MergeFrom(Footer); - } - input.ReadMessage(subBuilder); - Footer = subBuilder; - break; - } - case 114: { - global::Docframe.ProtoHeader subBuilder = new global::Docframe.ProtoHeader(); - if (objectCase_ == ObjectOneofCase.Header) { - subBuilder.MergeFrom(Header); - } - input.ReadMessage(subBuilder); - Header = subBuilder; - break; - } - case 122: { - global::Docframe.ProtoTable subBuilder = new global::Docframe.ProtoTable(); - if (objectCase_ == ObjectOneofCase.Table) { - subBuilder.MergeFrom(Table); - } - input.ReadMessage(subBuilder); - Table = subBuilder; - break; - } - case 130: { - global::Docframe.ProtoTableRow subBuilder = new global::Docframe.ProtoTableRow(); - if (objectCase_ == ObjectOneofCase.TableRow) { - subBuilder.MergeFrom(TableRow); - } - input.ReadMessage(subBuilder); - TableRow = subBuilder; - break; - } - case 138: { - global::Docframe.ProtoTableCell subBuilder = new global::Docframe.ProtoTableCell(); - if (objectCase_ == ObjectOneofCase.TableCell) { - subBuilder.MergeFrom(TableCell); - } - input.ReadMessage(subBuilder); - TableCell = subBuilder; - break; - } - case 146: { - global::Docframe.ProtoCDef subBuilder = new global::Docframe.ProtoCDef(); - if (objectCase_ == ObjectOneofCase.CDef) { - subBuilder.MergeFrom(CDef); - } - input.ReadMessage(subBuilder); - CDef = subBuilder; - break; - } - case 154: { - global::Docframe.ProtoPDef subBuilder = new global::Docframe.ProtoPDef(); - if (objectCase_ == ObjectOneofCase.PDef) { - subBuilder.MergeFrom(PDef); - } - input.ReadMessage(subBuilder); - PDef = subBuilder; - break; - } - case 162: { - global::Docframe.ProtoApplyProtoCDef subBuilder = new global::Docframe.ProtoApplyProtoCDef(); - if (objectCase_ == ObjectOneofCase.ApplyCDef) { - subBuilder.MergeFrom(ApplyCDef); - } - input.ReadMessage(subBuilder); - ApplyCDef = subBuilder; - break; - } - case 170: { - global::Docframe.ProtoApplyProtoPDef subBuilder = new global::Docframe.ProtoApplyProtoPDef(); - if (objectCase_ == ObjectOneofCase.ApplyPDef) { - subBuilder.MergeFrom(ApplyPDef); - } - input.ReadMessage(subBuilder); - ApplyPDef = subBuilder; - break; - } - case 178: { - global::Docframe.ProtoApplyPtConfig subBuilder = new global::Docframe.ProtoApplyPtConfig(); - if (objectCase_ == ObjectOneofCase.ApplyPtConfig) { - subBuilder.MergeFrom(ApplyPtConfig); - } - input.ReadMessage(subBuilder); - ApplyPtConfig = subBuilder; - break; - } - case 186: { - global::Docframe.ProtoApplyUlConfig subBuilder = new global::Docframe.ProtoApplyUlConfig(); - if (objectCase_ == ObjectOneofCase.ApplyUlConfig) { - subBuilder.MergeFrom(ApplyUlConfig); - } - input.ReadMessage(subBuilder); - ApplyUlConfig = subBuilder; - break; - } - case 194: { - global::Docframe.ProtoPtConfig subBuilder = new global::Docframe.ProtoPtConfig(); - if (objectCase_ == ObjectOneofCase.PtConfig) { - subBuilder.MergeFrom(PtConfig); - } - input.ReadMessage(subBuilder); - PtConfig = subBuilder; - break; - } - case 202: { - global::Docframe.ProtoUlConfig subBuilder = new global::Docframe.ProtoUlConfig(); - if (objectCase_ == ObjectOneofCase.UlConfig) { - subBuilder.MergeFrom(UlConfig); - } - input.ReadMessage(subBuilder); - UlConfig = subBuilder; - break; - } - case 210: { - global::Docframe.ProtoNewPage subBuilder = new global::Docframe.ProtoNewPage(); - if (objectCase_ == ObjectOneofCase.NewPage) { - subBuilder.MergeFrom(NewPage); - } - input.ReadMessage(subBuilder); - NewPage = subBuilder; - break; - } - case 218: { - global::Docframe.ProtoVariable subBuilder = new global::Docframe.ProtoVariable(); - if (objectCase_ == ObjectOneofCase.Variable) { - subBuilder.MergeFrom(Variable); - } - input.ReadMessage(subBuilder); - Variable = subBuilder; - break; - } - case 226: { - global::Docframe.ProtoNamedString subBuilder = new global::Docframe.ProtoNamedString(); - if (objectCase_ == ObjectOneofCase.NamedString) { - subBuilder.MergeFrom(NamedString); - } - input.ReadMessage(subBuilder); - NamedString = subBuilder; - break; - } - case 242: { - global::Docframe.ProtoParagraph subBuilder = new global::Docframe.ProtoParagraph(); - if (objectCase_ == ObjectOneofCase.Paragraph) { - subBuilder.MergeFrom(Paragraph); - } - input.ReadMessage(subBuilder); - Paragraph = subBuilder; - break; - } - case 250: { - global::Docframe.ProtoSection subBuilder = new global::Docframe.ProtoSection(); - if (objectCase_ == ObjectOneofCase.Section) { - subBuilder.MergeFrom(Section); - } - input.ReadMessage(subBuilder); - Section = subBuilder; - break; - } - case 258: { - global::Docframe.ProtoSpan subBuilder = new global::Docframe.ProtoSpan(); - if (objectCase_ == ObjectOneofCase.Span) { - subBuilder.MergeFrom(Span); - } - input.ReadMessage(subBuilder); - Span = subBuilder; - break; - } - case 266: { - global::Docframe.ProtoLink subBuilder = new global::Docframe.ProtoLink(); - if (objectCase_ == ObjectOneofCase.Link) { - subBuilder.MergeFrom(Link); - } - input.ReadMessage(subBuilder); - Link = subBuilder; - break; - } - case 274: { - global::Docframe.ProtoDirectory subBuilder = new global::Docframe.ProtoDirectory(); - if (objectCase_ == ObjectOneofCase.Directory) { - subBuilder.MergeFrom(Directory); - } - input.ReadMessage(subBuilder); - Directory = subBuilder; - break; - } - case 282: { - global::Docframe.ProtoTableContentGroup subBuilder = new global::Docframe.ProtoTableContentGroup(); - if (objectCase_ == ObjectOneofCase.TableContentGroup) { - subBuilder.MergeFrom(TableContentGroup); - } - input.ReadMessage(subBuilder); - TableContentGroup = subBuilder; - break; - } - case 290: { - global::Docframe.ProtoTableConfig subBuilder = new global::Docframe.ProtoTableConfig(); - if (objectCase_ == ObjectOneofCase.TableConfig) { - subBuilder.MergeFrom(TableConfig); - } - input.ReadMessage(subBuilder); - TableConfig = subBuilder; - break; - } - case 298: { - global::Docframe.ProtoTableCellConfig subBuilder = new global::Docframe.ProtoTableCellConfig(); - if (objectCase_ == ObjectOneofCase.TableCellConfig) { - subBuilder.MergeFrom(TableCellConfig); - } - input.ReadMessage(subBuilder); - TableCellConfig = subBuilder; - break; - } - case 306: { - global::Docframe.ProtoTableRowConfig subBuilder = new global::Docframe.ProtoTableRowConfig(); - if (objectCase_ == ObjectOneofCase.TableRowConfig) { - subBuilder.MergeFrom(TableRowConfig); - } - input.ReadMessage(subBuilder); - TableRowConfig = subBuilder; - break; - } - case 314: { - global::Docframe.ProtoTableContentGroupConfig subBuilder = new global::Docframe.ProtoTableContentGroupConfig(); - if (objectCase_ == ObjectOneofCase.TableContentGroupConfig) { - subBuilder.MergeFrom(TableContentGroupConfig); - } - input.ReadMessage(subBuilder); - TableContentGroupConfig = subBuilder; - break; - } - case 322: { - global::Docframe.ProtoBrickReference subBuilder = new global::Docframe.ProtoBrickReference(); - if (objectCase_ == ObjectOneofCase.BrickReference) { - subBuilder.MergeFrom(BrickReference); - } - input.ReadMessage(subBuilder); - BrickReference = subBuilder; - break; - } - case 442: { - global::Docframe.ProtoIndentation subBuilder = new global::Docframe.ProtoIndentation(); - if (objectCase_ == ObjectOneofCase.Indentation) { - subBuilder.MergeFrom(Indentation); - } - input.ReadMessage(subBuilder); - Indentation = subBuilder; - break; - } - case 450: { - global::Docframe.ProtoBarcode subBuilder = new global::Docframe.ProtoBarcode(); - if (objectCase_ == ObjectOneofCase.Barcode) { - subBuilder.MergeFrom(Barcode); - } - input.ReadMessage(subBuilder); - Barcode = subBuilder; - break; - } - case 458: { - global::Docframe.ProtoWsArea subBuilder = new global::Docframe.ProtoWsArea(); - if (objectCase_ == ObjectOneofCase.WsArea) { - subBuilder.MergeFrom(WsArea); - } - input.ReadMessage(subBuilder); - WsArea = subBuilder; - break; - } - case 466: { - global::Docframe.ProtoCarryOver subBuilder = new global::Docframe.ProtoCarryOver(); - if (objectCase_ == ObjectOneofCase.CarryOver) { - subBuilder.MergeFrom(CarryOver); - } - input.ReadMessage(subBuilder); - CarryOver = subBuilder; - break; - } - case 474: { - global::Docframe.ProtoSubTotal subBuilder = new global::Docframe.ProtoSubTotal(); - if (objectCase_ == ObjectOneofCase.SubTotal) { - subBuilder.MergeFrom(SubTotal); - } - input.ReadMessage(subBuilder); - SubTotal = subBuilder; - break; - } - case 482: { - global::Docframe.ProtoLoop subBuilder = new global::Docframe.ProtoLoop(); - if (objectCase_ == ObjectOneofCase.Loop) { - subBuilder.MergeFrom(Loop); - } - input.ReadMessage(subBuilder); - Loop = subBuilder; - break; - } - case 490: { - global::Docframe.ProtoLoopEntry subBuilder = new global::Docframe.ProtoLoopEntry(); - if (objectCase_ == ObjectOneofCase.LoopEntry) { - subBuilder.MergeFrom(LoopEntry); - } - input.ReadMessage(subBuilder); - LoopEntry = subBuilder; - break; - } - case 498: { - global::Docframe.ProtoRule subBuilder = new global::Docframe.ProtoRule(); - if (objectCase_ == ObjectOneofCase.Rule) { - subBuilder.MergeFrom(Rule); - } - input.ReadMessage(subBuilder); - Rule = subBuilder; - break; - } - case 506: { - global::Docframe.ProtoLayout subBuilder = new global::Docframe.ProtoLayout(); - if (objectCase_ == ObjectOneofCase.Layout) { - subBuilder.MergeFrom(Layout); - } - input.ReadMessage(subBuilder); - Layout = subBuilder; - break; - } - case 514: { - global::Docframe.ProtoAdvancedIllustrationArea subBuilder = new global::Docframe.ProtoAdvancedIllustrationArea(); - if (objectCase_ == ObjectOneofCase.AdvancedIllustrationArea) { - subBuilder.MergeFrom(AdvancedIllustrationArea); - } - input.ReadMessage(subBuilder); - AdvancedIllustrationArea = subBuilder; - break; - } - case 522: { - global::Docframe.ProtoAdjustHorizontally subBuilder = new global::Docframe.ProtoAdjustHorizontally(); - if (objectCase_ == ObjectOneofCase.AdjustHorizontally) { - subBuilder.MergeFrom(AdjustHorizontally); - } - input.ReadMessage(subBuilder); - AdjustHorizontally = subBuilder; - break; - } - case 530: { - global::Docframe.ProtoDoctypeScript subBuilder = new global::Docframe.ProtoDoctypeScript(); - if (objectCase_ == ObjectOneofCase.DoctypeScript) { - subBuilder.MergeFrom(DoctypeScript); - } - input.ReadMessage(subBuilder); - DoctypeScript = subBuilder; - break; - } - case 538: { - global::Docframe.ProtoDmScript subBuilder = new global::Docframe.ProtoDmScript(); - if (objectCase_ == ObjectOneofCase.DmScript) { - subBuilder.MergeFrom(DmScript); - } - input.ReadMessage(subBuilder); - DmScript = subBuilder; - break; - } - case 546: { - global::Docframe.ProtoDynamicTemplate subBuilder = new global::Docframe.ProtoDynamicTemplate(); - if (objectCase_ == ObjectOneofCase.DynamicTemplate) { - subBuilder.MergeFrom(DynamicTemplate); - } - input.ReadMessage(subBuilder); - DynamicTemplate = subBuilder; - break; - } - case 554: { - global::Docframe.ProtoSelection subBuilder = new global::Docframe.ProtoSelection(); - if (objectCase_ == ObjectOneofCase.Selection) { - subBuilder.MergeFrom(Selection); - } - input.ReadMessage(subBuilder); - Selection = subBuilder; - break; - } - case 562: { - global::Docframe.ProtoSelectionEntry subBuilder = new global::Docframe.ProtoSelectionEntry(); - if (objectCase_ == ObjectOneofCase.SelectionEntry) { - subBuilder.MergeFrom(SelectionEntry); - } - input.ReadMessage(subBuilder); - SelectionEntry = subBuilder; - break; - } - case 570: { - global::Docframe.ProtoCondition subBuilder = new global::Docframe.ProtoCondition(); - if (objectCase_ == ObjectOneofCase.Condition) { - subBuilder.MergeFrom(Condition); - } - input.ReadMessage(subBuilder); - Condition = subBuilder; - break; - } - case 578: { - global::Docframe.ProtoPageCondition subBuilder = new global::Docframe.ProtoPageCondition(); - if (objectCase_ == ObjectOneofCase.PageCondition) { - subBuilder.MergeFrom(PageCondition); - } - input.ReadMessage(subBuilder); - PageCondition = subBuilder; - break; - } - case 586: { - global::Docframe.ProtoLocale subBuilder = new global::Docframe.ProtoLocale(); - if (objectCase_ == ObjectOneofCase.Locale) { - subBuilder.MergeFrom(Locale); - } - input.ReadMessage(subBuilder); - Locale = subBuilder; - break; - } - case 594: { - global::Docframe.ProtoTag subBuilder = new global::Docframe.ProtoTag(); - if (objectCase_ == ObjectOneofCase.Tag) { - subBuilder.MergeFrom(Tag); - } - input.ReadMessage(subBuilder); - Tag = subBuilder; - break; - } - case 602: { - global::Docframe.ProtoParagraphSetDefault subBuilder = new global::Docframe.ProtoParagraphSetDefault(); - if (objectCase_ == ObjectOneofCase.ParagraphSetDefault) { - subBuilder.MergeFrom(ParagraphSetDefault); - } - input.ReadMessage(subBuilder); - ParagraphSetDefault = subBuilder; - break; - } - case 610: { - global::Docframe.ProtoInputFieldText subBuilder = new global::Docframe.ProtoInputFieldText(); - if (objectCase_ == ObjectOneofCase.InputFieldText) { - subBuilder.MergeFrom(InputFieldText); - } - input.ReadMessage(subBuilder); - InputFieldText = subBuilder; - break; - } - case 618: { - global::Docframe.ProtoInputFieldDate subBuilder = new global::Docframe.ProtoInputFieldDate(); - if (objectCase_ == ObjectOneofCase.InputFieldDate) { - subBuilder.MergeFrom(InputFieldDate); - } - input.ReadMessage(subBuilder); - InputFieldDate = subBuilder; - break; - } - case 626: { - global::Docframe.ProtoInputFieldCheckbox subBuilder = new global::Docframe.ProtoInputFieldCheckbox(); - if (objectCase_ == ObjectOneofCase.InputFieldCheckbox) { - subBuilder.MergeFrom(InputFieldCheckbox); - } - input.ReadMessage(subBuilder); - InputFieldCheckbox = subBuilder; - break; - } - case 634: { - global::Docframe.ProtoInputFieldLabel subBuilder = new global::Docframe.ProtoInputFieldLabel(); - if (objectCase_ == ObjectOneofCase.InputFieldLabel) { - subBuilder.MergeFrom(InputFieldLabel); - } - input.ReadMessage(subBuilder); - InputFieldLabel = subBuilder; - break; - } - case 642: { - global::Docframe.ProtoInputFieldDropdown subBuilder = new global::Docframe.ProtoInputFieldDropdown(); - if (objectCase_ == ObjectOneofCase.InputFieldDropdown) { - subBuilder.MergeFrom(InputFieldDropdown); - } - input.ReadMessage(subBuilder); - InputFieldDropdown = subBuilder; - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoImage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoImage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[77]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoImage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoImage(ProtoImage other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - alt_ = other.alt_; - name_ = other.name_; - src_ = other.src_; - filename_ = other.filename_; - scale_ = other.scale_ != null ? other.scale_.Clone() : null; - columnScale_ = other.columnScale_ != null ? other.columnScale_.Clone() : null; - width_ = other.width_ != null ? other.width_.Clone() : null; - height_ = other.height_ != null ? other.height_.Clone() : null; - x_ = other.x_ != null ? other.x_.Clone() : null; - y_ = other.y_ != null ? other.y_.Clone() : null; - positionAbsolute_ = other.positionAbsolute_ != null ? other.positionAbsolute_.Clone() : null; - rotation_ = other.rotation_; - flipSettings_ = other.flipSettings_ != null ? other.flipSettings_.Clone() : null; - cropSettings_ = other.cropSettings_ != null ? other.cropSettings_.Clone() : null; - aia_ = other.aia_ != null ? other.aia_.Clone() : null; - uuid_ = other.uuid_; - referencePoint_ = other.referencePoint_; - hyperlink_ = other.hyperlink_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - imageContentType_ = other.imageContentType_; - imageContent_ = other.imageContent_; - scaleType_ = other.scaleType_; - uaMode_ = other.uaMode_; - uaDescription_ = other.uaDescription_; - leftBorderIsLeftMeasure_ = other.leftBorderIsLeftMeasure_ != null ? other.leftBorderIsLeftMeasure_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoImage Clone() { - return new ProtoImage(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "alt" field. - public const int AltFieldNumber = 2; - private string alt_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Alt { - get { return alt_; } - set { - alt_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "src" field. - public const int SrcFieldNumber = 4; - private string src_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Src { - get { return src_; } - set { - src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "filename" field. - public const int FilenameFieldNumber = 5; - private string filename_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Filename { - get { return filename_; } - set { - filename_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "scale" field. - public const int ScaleFieldNumber = 6; - private global::Docframe.ProtoBoxedDouble scale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedDouble Scale { - get { return scale_; } - set { - scale_ = value; - } - } - - /// Field number for the "columnScale" field. - public const int ColumnScaleFieldNumber = 7; - private global::Docframe.ProtoBoxedDouble columnScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedDouble ColumnScale { - get { return columnScale_; } - set { - columnScale_ = value; - } - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 8; - private global::Docframe.ProtoBoxedMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "height" field. - public const int HeightFieldNumber = 9; - private global::Docframe.ProtoBoxedMeasure height_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Height { - get { return height_; } - set { - height_ = value; - } - } - - /// Field number for the "x" field. - public const int XFieldNumber = 10; - private global::Docframe.ProtoBoxedMeasure x_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure X { - get { return x_; } - set { - x_ = value; - } - } - - /// Field number for the "y" field. - public const int YFieldNumber = 11; - private global::Docframe.ProtoBoxedMeasure y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Y { - get { return y_; } - set { - y_ = value; - } - } - - /// Field number for the "positionAbsolute" field. - public const int PositionAbsoluteFieldNumber = 12; - private global::Docframe.ProtoBoxedBool positionAbsolute_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool PositionAbsolute { - get { return positionAbsolute_; } - set { - positionAbsolute_ = value; - } - } - - /// Field number for the "rotation" field. - public const int RotationFieldNumber = 13; - private double rotation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double Rotation { - get { return rotation_; } - set { - rotation_ = value; - } - } - - /// Field number for the "flipSettings" field. - public const int FlipSettingsFieldNumber = 14; - private global::Docframe.ProtoFlipSettings flipSettings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoFlipSettings FlipSettings { - get { return flipSettings_; } - set { - flipSettings_ = value; - } - } - - /// Field number for the "cropSettings" field. - public const int CropSettingsFieldNumber = 15; - private global::Docframe.ProtoCropSettings cropSettings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoCropSettings CropSettings { - get { return cropSettings_; } - set { - cropSettings_ = value; - } - } - - /// Field number for the "aia" field. - public const int AiaFieldNumber = 16; - private global::Docframe.ProtoAdvancedIllustrationAreaImageSettings aia_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoAdvancedIllustrationAreaImageSettings Aia { - get { return aia_; } - set { - aia_ = value; - } - } - - /// Field number for the "uuid" field. - public const int UuidFieldNumber = 17; - 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"); - } - } - - /// Field number for the "referencePoint" field. - public const int ReferencePointFieldNumber = 18; - private global::Docframe.ProtoImageReferencePoint referencePoint_ = global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoImageReferencePoint ReferencePoint { - get { return referencePoint_; } - set { - referencePoint_ = value; - } - } - - /// Field number for the "hyperlink" field. - public const int HyperlinkFieldNumber = 19; - private string hyperlink_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Hyperlink { - get { return hyperlink_; } - set { - hyperlink_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 20; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(162); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "imageContentType" field. - public const int ImageContentTypeFieldNumber = 21; - private global::Docframe.ProtoImageContentType imageContentType_ = global::Docframe.ProtoImageContentType.ImageContentUuidReferenceInline; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoImageContentType ImageContentType { - get { return imageContentType_; } - set { - imageContentType_ = value; - } - } - - /// Field number for the "imageContent" field. - public const int ImageContentFieldNumber = 22; - private string imageContent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ImageContent { - get { return imageContent_; } - set { - imageContent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "scaleType" field. - public const int ScaleTypeFieldNumber = 23; - private global::Docframe.ProtoImageScaleType scaleType_ = global::Docframe.ProtoImageScaleType.ImageScaleTypeDoNotUseAtAll; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoImageScaleType ScaleType { - get { return scaleType_; } - set { - scaleType_ = value; - } - } - - /// Field number for the "uaMode" field. - public const int UaModeFieldNumber = 24; - private global::Docframe.ProtoImageUAMode uaMode_ = global::Docframe.ProtoImageUAMode.ImageUaModeDoNotUseAtAll; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoImageUAMode UaMode { - get { return uaMode_; } - set { - uaMode_ = value; - } - } - - /// Field number for the "uaDescription" field. - public const int UaDescriptionFieldNumber = 25; - private string uaDescription_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UaDescription { - get { return uaDescription_; } - set { - uaDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "leftBorderIsLeftMeasure" field. - public const int LeftBorderIsLeftMeasureFieldNumber = 26; - private global::Docframe.ProtoBoxedBool leftBorderIsLeftMeasure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool LeftBorderIsLeftMeasure { - get { return leftBorderIsLeftMeasure_; } - set { - leftBorderIsLeftMeasure_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoImage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoImage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Alt != other.Alt) return false; - if (Name != other.Name) return false; - if (Src != other.Src) return false; - if (Filename != other.Filename) return false; - if (!object.Equals(Scale, other.Scale)) return false; - if (!object.Equals(ColumnScale, other.ColumnScale)) return false; - if (!object.Equals(Width, other.Width)) return false; - if (!object.Equals(Height, other.Height)) return false; - if (!object.Equals(X, other.X)) return false; - if (!object.Equals(Y, other.Y)) return false; - if (!object.Equals(PositionAbsolute, other.PositionAbsolute)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Rotation, other.Rotation)) return false; - if (!object.Equals(FlipSettings, other.FlipSettings)) return false; - if (!object.Equals(CropSettings, other.CropSettings)) return false; - if (!object.Equals(Aia, other.Aia)) return false; - if (Uuid != other.Uuid) return false; - if (ReferencePoint != other.ReferencePoint) return false; - if (Hyperlink != other.Hyperlink) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (ImageContentType != other.ImageContentType) return false; - if (ImageContent != other.ImageContent) return false; - if (ScaleType != other.ScaleType) return false; - if (UaMode != other.UaMode) return false; - if (UaDescription != other.UaDescription) return false; - if (!object.Equals(LeftBorderIsLeftMeasure, other.LeftBorderIsLeftMeasure)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Alt.Length != 0) hash ^= Alt.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Src.Length != 0) hash ^= Src.GetHashCode(); - if (Filename.Length != 0) hash ^= Filename.GetHashCode(); - if (scale_ != null) hash ^= Scale.GetHashCode(); - if (columnScale_ != null) hash ^= ColumnScale.GetHashCode(); - if (width_ != null) hash ^= Width.GetHashCode(); - if (height_ != null) hash ^= Height.GetHashCode(); - if (x_ != null) hash ^= X.GetHashCode(); - if (y_ != null) hash ^= Y.GetHashCode(); - if (positionAbsolute_ != null) hash ^= PositionAbsolute.GetHashCode(); - if (Rotation != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Rotation); - if (flipSettings_ != null) hash ^= FlipSettings.GetHashCode(); - if (cropSettings_ != null) hash ^= CropSettings.GetHashCode(); - if (aia_ != null) hash ^= Aia.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) hash ^= ReferencePoint.GetHashCode(); - if (Hyperlink.Length != 0) hash ^= Hyperlink.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (ImageContentType != global::Docframe.ProtoImageContentType.ImageContentUuidReferenceInline) hash ^= ImageContentType.GetHashCode(); - if (ImageContent.Length != 0) hash ^= ImageContent.GetHashCode(); - if (ScaleType != global::Docframe.ProtoImageScaleType.ImageScaleTypeDoNotUseAtAll) hash ^= ScaleType.GetHashCode(); - if (UaMode != global::Docframe.ProtoImageUAMode.ImageUaModeDoNotUseAtAll) hash ^= UaMode.GetHashCode(); - if (UaDescription.Length != 0) hash ^= UaDescription.GetHashCode(); - if (leftBorderIsLeftMeasure_ != null) hash ^= LeftBorderIsLeftMeasure.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Alt.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Alt); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Src.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Src); - } - if (Filename.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Filename); - } - if (scale_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Scale); - } - if (columnScale_ != null) { - output.WriteRawTag(58); - output.WriteMessage(ColumnScale); - } - if (width_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Width); - } - if (height_ != null) { - output.WriteRawTag(74); - output.WriteMessage(Height); - } - if (x_ != null) { - output.WriteRawTag(82); - output.WriteMessage(X); - } - if (y_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Y); - } - if (positionAbsolute_ != null) { - output.WriteRawTag(98); - output.WriteMessage(PositionAbsolute); - } - if (Rotation != 0D) { - output.WriteRawTag(105); - output.WriteDouble(Rotation); - } - if (flipSettings_ != null) { - output.WriteRawTag(114); - output.WriteMessage(FlipSettings); - } - if (cropSettings_ != null) { - output.WriteRawTag(122); - output.WriteMessage(CropSettings); - } - if (aia_ != null) { - output.WriteRawTag(130, 1); - output.WriteMessage(Aia); - } - if (Uuid.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Uuid); - } - if (ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) { - output.WriteRawTag(144, 1); - output.WriteEnum((int) ReferencePoint); - } - if (Hyperlink.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Hyperlink); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (ImageContentType != global::Docframe.ProtoImageContentType.ImageContentUuidReferenceInline) { - output.WriteRawTag(168, 1); - output.WriteEnum((int) ImageContentType); - } - if (ImageContent.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(ImageContent); - } - if (ScaleType != global::Docframe.ProtoImageScaleType.ImageScaleTypeDoNotUseAtAll) { - output.WriteRawTag(184, 1); - output.WriteEnum((int) ScaleType); - } - if (UaMode != global::Docframe.ProtoImageUAMode.ImageUaModeDoNotUseAtAll) { - output.WriteRawTag(192, 1); - output.WriteEnum((int) UaMode); - } - if (UaDescription.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(UaDescription); - } - if (leftBorderIsLeftMeasure_ != null) { - output.WriteRawTag(210, 1); - output.WriteMessage(LeftBorderIsLeftMeasure); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Alt.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Alt); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Src.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Src); - } - if (Filename.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Filename); - } - if (scale_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Scale); - } - if (columnScale_ != null) { - output.WriteRawTag(58); - output.WriteMessage(ColumnScale); - } - if (width_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Width); - } - if (height_ != null) { - output.WriteRawTag(74); - output.WriteMessage(Height); - } - if (x_ != null) { - output.WriteRawTag(82); - output.WriteMessage(X); - } - if (y_ != null) { - output.WriteRawTag(90); - output.WriteMessage(Y); - } - if (positionAbsolute_ != null) { - output.WriteRawTag(98); - output.WriteMessage(PositionAbsolute); - } - if (Rotation != 0D) { - output.WriteRawTag(105); - output.WriteDouble(Rotation); - } - if (flipSettings_ != null) { - output.WriteRawTag(114); - output.WriteMessage(FlipSettings); - } - if (cropSettings_ != null) { - output.WriteRawTag(122); - output.WriteMessage(CropSettings); - } - if (aia_ != null) { - output.WriteRawTag(130, 1); - output.WriteMessage(Aia); - } - if (Uuid.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Uuid); - } - if (ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) { - output.WriteRawTag(144, 1); - output.WriteEnum((int) ReferencePoint); - } - if (Hyperlink.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Hyperlink); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (ImageContentType != global::Docframe.ProtoImageContentType.ImageContentUuidReferenceInline) { - output.WriteRawTag(168, 1); - output.WriteEnum((int) ImageContentType); - } - if (ImageContent.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(ImageContent); - } - if (ScaleType != global::Docframe.ProtoImageScaleType.ImageScaleTypeDoNotUseAtAll) { - output.WriteRawTag(184, 1); - output.WriteEnum((int) ScaleType); - } - if (UaMode != global::Docframe.ProtoImageUAMode.ImageUaModeDoNotUseAtAll) { - output.WriteRawTag(192, 1); - output.WriteEnum((int) UaMode); - } - if (UaDescription.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(UaDescription); - } - if (leftBorderIsLeftMeasure_ != null) { - output.WriteRawTag(210, 1); - output.WriteMessage(LeftBorderIsLeftMeasure); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Alt.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Alt); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Src.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); - } - if (Filename.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Filename); - } - if (scale_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Scale); - } - if (columnScale_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ColumnScale); - } - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (height_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); - } - if (x_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(X); - } - if (y_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Y); - } - if (positionAbsolute_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionAbsolute); - } - if (Rotation != 0D) { - size += 1 + 8; - } - if (flipSettings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FlipSettings); - } - if (cropSettings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(CropSettings); - } - if (aia_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Aia); - } - if (Uuid.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) ReferencePoint); - } - if (Hyperlink.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Hyperlink); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (ImageContentType != global::Docframe.ProtoImageContentType.ImageContentUuidReferenceInline) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) ImageContentType); - } - if (ImageContent.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ImageContent); - } - if (ScaleType != global::Docframe.ProtoImageScaleType.ImageScaleTypeDoNotUseAtAll) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) ScaleType); - } - if (UaMode != global::Docframe.ProtoImageUAMode.ImageUaModeDoNotUseAtAll) { - size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) UaMode); - } - if (UaDescription.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(UaDescription); - } - if (leftBorderIsLeftMeasure_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(LeftBorderIsLeftMeasure); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoImage other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Alt.Length != 0) { - Alt = other.Alt; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Src.Length != 0) { - Src = other.Src; - } - if (other.Filename.Length != 0) { - Filename = other.Filename; - } - if (other.scale_ != null) { - if (scale_ == null) { - Scale = new global::Docframe.ProtoBoxedDouble(); - } - Scale.MergeFrom(other.Scale); - } - if (other.columnScale_ != null) { - if (columnScale_ == null) { - ColumnScale = new global::Docframe.ProtoBoxedDouble(); - } - ColumnScale.MergeFrom(other.ColumnScale); - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.height_ != null) { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - Height.MergeFrom(other.Height); - } - if (other.x_ != null) { - if (x_ == null) { - X = new global::Docframe.ProtoBoxedMeasure(); - } - X.MergeFrom(other.X); - } - if (other.y_ != null) { - if (y_ == null) { - Y = new global::Docframe.ProtoBoxedMeasure(); - } - Y.MergeFrom(other.Y); - } - if (other.positionAbsolute_ != null) { - if (positionAbsolute_ == null) { - PositionAbsolute = new global::Docframe.ProtoBoxedBool(); - } - PositionAbsolute.MergeFrom(other.PositionAbsolute); - } - if (other.Rotation != 0D) { - Rotation = other.Rotation; - } - if (other.flipSettings_ != null) { - if (flipSettings_ == null) { - FlipSettings = new global::Docframe.ProtoFlipSettings(); - } - FlipSettings.MergeFrom(other.FlipSettings); - } - if (other.cropSettings_ != null) { - if (cropSettings_ == null) { - CropSettings = new global::Docframe.ProtoCropSettings(); - } - CropSettings.MergeFrom(other.CropSettings); - } - if (other.aia_ != null) { - if (aia_ == null) { - Aia = new global::Docframe.ProtoAdvancedIllustrationAreaImageSettings(); - } - Aia.MergeFrom(other.Aia); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.ReferencePoint != global::Docframe.ProtoImageReferencePoint.RefPointDoNotUseAtAll) { - ReferencePoint = other.ReferencePoint; - } - if (other.Hyperlink.Length != 0) { - Hyperlink = other.Hyperlink; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.ImageContentType != global::Docframe.ProtoImageContentType.ImageContentUuidReferenceInline) { - ImageContentType = other.ImageContentType; - } - if (other.ImageContent.Length != 0) { - ImageContent = other.ImageContent; - } - if (other.ScaleType != global::Docframe.ProtoImageScaleType.ImageScaleTypeDoNotUseAtAll) { - ScaleType = other.ScaleType; - } - if (other.UaMode != global::Docframe.ProtoImageUAMode.ImageUaModeDoNotUseAtAll) { - UaMode = other.UaMode; - } - if (other.UaDescription.Length != 0) { - UaDescription = other.UaDescription; - } - if (other.leftBorderIsLeftMeasure_ != null) { - if (leftBorderIsLeftMeasure_ == null) { - LeftBorderIsLeftMeasure = new global::Docframe.ProtoBoxedBool(); - } - LeftBorderIsLeftMeasure.MergeFrom(other.LeftBorderIsLeftMeasure); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Alt = input.ReadString(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Src = input.ReadString(); - break; - } - case 42: { - Filename = input.ReadString(); - break; - } - case 50: { - if (scale_ == null) { - Scale = new global::Docframe.ProtoBoxedDouble(); - } - input.ReadMessage(Scale); - break; - } - case 58: { - if (columnScale_ == null) { - ColumnScale = new global::Docframe.ProtoBoxedDouble(); - } - input.ReadMessage(ColumnScale); - break; - } - case 66: { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Width); - break; - } - case 74: { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Height); - break; - } - case 82: { - if (x_ == null) { - X = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(X); - break; - } - case 90: { - if (y_ == null) { - Y = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Y); - break; - } - case 98: { - if (positionAbsolute_ == null) { - PositionAbsolute = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(PositionAbsolute); - break; - } - case 105: { - Rotation = input.ReadDouble(); - break; - } - case 114: { - if (flipSettings_ == null) { - FlipSettings = new global::Docframe.ProtoFlipSettings(); - } - input.ReadMessage(FlipSettings); - break; - } - case 122: { - if (cropSettings_ == null) { - CropSettings = new global::Docframe.ProtoCropSettings(); - } - input.ReadMessage(CropSettings); - break; - } - case 130: { - if (aia_ == null) { - Aia = new global::Docframe.ProtoAdvancedIllustrationAreaImageSettings(); - } - input.ReadMessage(Aia); - break; - } - case 138: { - Uuid = input.ReadString(); - break; - } - case 144: { - ReferencePoint = (global::Docframe.ProtoImageReferencePoint) input.ReadEnum(); - break; - } - case 154: { - Hyperlink = input.ReadString(); - break; - } - case 162: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 168: { - ImageContentType = (global::Docframe.ProtoImageContentType) input.ReadEnum(); - break; - } - case 178: { - ImageContent = input.ReadString(); - break; - } - case 184: { - ScaleType = (global::Docframe.ProtoImageScaleType) input.ReadEnum(); - break; - } - case 192: { - UaMode = (global::Docframe.ProtoImageUAMode) input.ReadEnum(); - break; - } - case 202: { - UaDescription = input.ReadString(); - break; - } - case 210: { - if (leftBorderIsLeftMeasure_ == null) { - LeftBorderIsLeftMeasure = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(LeftBorderIsLeftMeasure); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Alt = input.ReadString(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Src = input.ReadString(); - break; - } - case 42: { - Filename = input.ReadString(); - break; - } - case 50: { - if (scale_ == null) { - Scale = new global::Docframe.ProtoBoxedDouble(); - } - input.ReadMessage(Scale); - break; - } - case 58: { - if (columnScale_ == null) { - ColumnScale = new global::Docframe.ProtoBoxedDouble(); - } - input.ReadMessage(ColumnScale); - break; - } - case 66: { - if (width_ == null) { - Width = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Width); - break; - } - case 74: { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Height); - break; - } - case 82: { - if (x_ == null) { - X = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(X); - break; - } - case 90: { - if (y_ == null) { - Y = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Y); - break; - } - case 98: { - if (positionAbsolute_ == null) { - PositionAbsolute = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(PositionAbsolute); - break; - } - case 105: { - Rotation = input.ReadDouble(); - break; - } - case 114: { - if (flipSettings_ == null) { - FlipSettings = new global::Docframe.ProtoFlipSettings(); - } - input.ReadMessage(FlipSettings); - break; - } - case 122: { - if (cropSettings_ == null) { - CropSettings = new global::Docframe.ProtoCropSettings(); - } - input.ReadMessage(CropSettings); - break; - } - case 130: { - if (aia_ == null) { - Aia = new global::Docframe.ProtoAdvancedIllustrationAreaImageSettings(); - } - input.ReadMessage(Aia); - break; - } - case 138: { - Uuid = input.ReadString(); - break; - } - case 144: { - ReferencePoint = (global::Docframe.ProtoImageReferencePoint) input.ReadEnum(); - break; - } - case 154: { - Hyperlink = input.ReadString(); - break; - } - case 162: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 168: { - ImageContentType = (global::Docframe.ProtoImageContentType) input.ReadEnum(); - break; - } - case 178: { - ImageContent = input.ReadString(); - break; - } - case 184: { - ScaleType = (global::Docframe.ProtoImageScaleType) input.ReadEnum(); - break; - } - case 192: { - UaMode = (global::Docframe.ProtoImageUAMode) input.ReadEnum(); - break; - } - case 202: { - UaDescription = input.ReadString(); - break; - } - case 210: { - if (leftBorderIsLeftMeasure_ == null) { - LeftBorderIsLeftMeasure = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(LeftBorderIsLeftMeasure); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoDirectory : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoDirectory()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[78]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDirectory() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDirectory(ProtoDirectory other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - semanticType_ = other.semanticType_; - editable_ = other.editable_; - name_ = other.name_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDirectory Clone() { - return new ProtoDirectory(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "semanticType" field. - public const int SemanticTypeFieldNumber = 5; - private global::Docframe.ProtoSemanticType semanticType_ = global::Docframe.ProtoSemanticType.SemanticTypeNone; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSemanticType SemanticType { - get { return semanticType_; } - set { - semanticType_ = value; - } - } - - /// Field number for the "editable" field. - public const int EditableFieldNumber = 6; - private bool editable_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Editable { - get { return editable_; } - set { - editable_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 7; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoDirectory); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoDirectory other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (SemanticType != other.SemanticType) return false; - if (Editable != other.Editable) return false; - if (Name != other.Name) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) hash ^= SemanticType.GetHashCode(); - if (Editable != false) hash ^= Editable.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) { - output.WriteRawTag(40); - output.WriteEnum((int) SemanticType); - } - if (Editable != false) { - output.WriteRawTag(48); - output.WriteBool(Editable); - } - if (Name.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Name); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) { - output.WriteRawTag(40); - output.WriteEnum((int) SemanticType); - } - if (Editable != false) { - output.WriteRawTag(48); - output.WriteBool(Editable); - } - if (Name.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Name); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SemanticType); - } - if (Editable != false) { - size += 1 + 1; - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoDirectory other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.SemanticType != global::Docframe.ProtoSemanticType.SemanticTypeNone) { - SemanticType = other.SemanticType; - } - if (other.Editable != false) { - Editable = other.Editable; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 40: { - SemanticType = (global::Docframe.ProtoSemanticType) input.ReadEnum(); - break; - } - case 48: { - Editable = input.ReadBool(); - break; - } - case 58: { - Name = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 40: { - SemanticType = (global::Docframe.ProtoSemanticType) input.ReadEnum(); - break; - } - case 48: { - Editable = input.ReadBool(); - break; - } - case 58: { - Name = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTextBrick : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTextBrick()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[79]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTextBrick() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTextBrick(ProtoTextBrick other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - id_ = other.id_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - editable_ = other.editable_; - name_ = other.name_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTextBrick Clone() { - return new ProtoTextBrick(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 4; - private ulong id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Id { - get { return id_; } - set { - id_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "editable" field. - public const int EditableFieldNumber = 6; - private bool editable_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Editable { - get { return editable_; } - set { - editable_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 7; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTextBrick); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTextBrick other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if (Id != other.Id) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Editable != other.Editable) return false; - if (Name != other.Name) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (Id != 0UL) hash ^= Id.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Editable != false) hash ^= Editable.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - if (Id != 0UL) { - output.WriteRawTag(32); - output.WriteUInt64(Id); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Editable != false) { - output.WriteRawTag(48); - output.WriteBool(Editable); - } - if (Name.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Name); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - if (Id != 0UL) { - output.WriteRawTag(32); - output.WriteUInt64(Id); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Editable != false) { - output.WriteRawTag(48); - output.WriteBool(Editable); - } - if (Name.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Name); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (Id != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Editable != false) { - size += 1 + 1; - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTextBrick other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.Id != 0UL) { - Id = other.Id; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Editable != false) { - Editable = other.Editable; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 32: { - Id = input.ReadUInt64(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 48: { - Editable = input.ReadBool(); - break; - } - case 58: { - Name = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 32: { - Id = input.ReadUInt64(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 48: { - Editable = input.ReadBool(); - break; - } - case 58: { - Name = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoVariable : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoVariable()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[80]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoVariable() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoVariable(ProtoVariable other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - path_ = other.path_; - content_ = other.content_; - formatUuid_ = other.formatUuid_; - specialType_ = other.specialType_; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoVariable Clone() { - return new ProtoVariable(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 2; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "content" field. - public const int ContentFieldNumber = 3; - private string content_ = ""; - /// - /// Should this be optional or "empty string" - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } - set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "formatUuid" field. - public const int FormatUuidFieldNumber = 4; - private string formatUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FormatUuid { - get { return formatUuid_; } - set { - formatUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "specialType" field. - public const int SpecialTypeFieldNumber = 5; - private global::Docframe.ProtoVariableSpecialType specialType_ = global::Docframe.ProtoVariableSpecialType.NotSpecial; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoVariableSpecialType SpecialType { - get { return specialType_; } - set { - specialType_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(58); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoVariable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoVariable other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Path != other.Path) return false; - if (Content != other.Content) return false; - if (FormatUuid != other.FormatUuid) return false; - if (SpecialType != other.SpecialType) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Path.Length != 0) hash ^= Path.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); - if (FormatUuid.Length != 0) hash ^= FormatUuid.GetHashCode(); - if (SpecialType != global::Docframe.ProtoVariableSpecialType.NotSpecial) hash ^= SpecialType.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Path.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Path); - } - if (Content.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Content); - } - if (FormatUuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FormatUuid); - } - if (SpecialType != global::Docframe.ProtoVariableSpecialType.NotSpecial) { - output.WriteRawTag(40); - output.WriteEnum((int) SpecialType); - } - if (Uuid.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Path.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Path); - } - if (Content.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Content); - } - if (FormatUuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FormatUuid); - } - if (SpecialType != global::Docframe.ProtoVariableSpecialType.NotSpecial) { - output.WriteRawTag(40); - output.WriteEnum((int) SpecialType); - } - if (Uuid.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); - } - if (FormatUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FormatUuid); - } - if (SpecialType != global::Docframe.ProtoVariableSpecialType.NotSpecial) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SpecialType); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoVariable other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Path.Length != 0) { - Path = other.Path; - } - if (other.Content.Length != 0) { - Content = other.Content; - } - if (other.FormatUuid.Length != 0) { - FormatUuid = other.FormatUuid; - } - if (other.SpecialType != global::Docframe.ProtoVariableSpecialType.NotSpecial) { - SpecialType = other.SpecialType; - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Path = input.ReadString(); - break; - } - case 26: { - Content = input.ReadString(); - break; - } - case 34: { - FormatUuid = input.ReadString(); - break; - } - case 40: { - SpecialType = (global::Docframe.ProtoVariableSpecialType) input.ReadEnum(); - break; - } - case 50: { - Uuid = input.ReadString(); - break; - } - case 58: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Path = input.ReadString(); - break; - } - case 26: { - Content = input.ReadString(); - break; - } - case 34: { - FormatUuid = input.ReadString(); - break; - } - case 40: { - SpecialType = (global::Docframe.ProtoVariableSpecialType) input.ReadEnum(); - break; - } - case 50: { - Uuid = input.ReadString(); - break; - } - case 58: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoFormatted : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoFormatted()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[81]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFormatted() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFormatted(ProtoFormatted other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - dteditorSyntax_ = other.dteditorSyntax_; - doctypeContent_ = other.doctypeContent_; - doctypeCode_ = other.doctypeCode_; - htmlContent_ = other.htmlContent_; - htmlCode_ = other.htmlCode_; - textContent_ = other.textContent_; - textCode_ = other.textCode_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoFormatted Clone() { - return new ProtoFormatted(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "dteditorSyntax" field. - public const int DteditorSyntaxFieldNumber = 2; - private bool dteditorSyntax_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool DteditorSyntax { - get { return dteditorSyntax_; } - set { - dteditorSyntax_ = value; - } - } - - /// Field number for the "doctypeContent" field. - public const int DoctypeContentFieldNumber = 3; - private string doctypeContent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DoctypeContent { - get { return doctypeContent_; } - set { - doctypeContent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "doctypeCode" field. - public const int DoctypeCodeFieldNumber = 4; - private string doctypeCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DoctypeCode { - get { return doctypeCode_; } - set { - doctypeCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "htmlContent" field. - public const int HtmlContentFieldNumber = 5; - private string htmlContent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string HtmlContent { - get { return htmlContent_; } - set { - htmlContent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "htmlCode" field. - public const int HtmlCodeFieldNumber = 6; - private string htmlCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string HtmlCode { - get { return htmlCode_; } - set { - htmlCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "textContent" field. - public const int TextContentFieldNumber = 7; - private string textContent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TextContent { - get { return textContent_; } - set { - textContent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "textCode" field. - public const int TextCodeFieldNumber = 8; - private string textCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TextCode { - get { return textCode_; } - set { - textCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 9; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(74); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoFormatted); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoFormatted other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (DteditorSyntax != other.DteditorSyntax) return false; - if (DoctypeContent != other.DoctypeContent) return false; - if (DoctypeCode != other.DoctypeCode) return false; - if (HtmlContent != other.HtmlContent) return false; - if (HtmlCode != other.HtmlCode) return false; - if (TextContent != other.TextContent) return false; - if (TextCode != other.TextCode) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (DteditorSyntax != false) hash ^= DteditorSyntax.GetHashCode(); - if (DoctypeContent.Length != 0) hash ^= DoctypeContent.GetHashCode(); - if (DoctypeCode.Length != 0) hash ^= DoctypeCode.GetHashCode(); - if (HtmlContent.Length != 0) hash ^= HtmlContent.GetHashCode(); - if (HtmlCode.Length != 0) hash ^= HtmlCode.GetHashCode(); - if (TextContent.Length != 0) hash ^= TextContent.GetHashCode(); - if (TextCode.Length != 0) hash ^= TextCode.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (DteditorSyntax != false) { - output.WriteRawTag(16); - output.WriteBool(DteditorSyntax); - } - if (DoctypeContent.Length != 0) { - output.WriteRawTag(26); - output.WriteString(DoctypeContent); - } - if (DoctypeCode.Length != 0) { - output.WriteRawTag(34); - output.WriteString(DoctypeCode); - } - if (HtmlContent.Length != 0) { - output.WriteRawTag(42); - output.WriteString(HtmlContent); - } - if (HtmlCode.Length != 0) { - output.WriteRawTag(50); - output.WriteString(HtmlCode); - } - if (TextContent.Length != 0) { - output.WriteRawTag(58); - output.WriteString(TextContent); - } - if (TextCode.Length != 0) { - output.WriteRawTag(66); - output.WriteString(TextCode); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (DteditorSyntax != false) { - output.WriteRawTag(16); - output.WriteBool(DteditorSyntax); - } - if (DoctypeContent.Length != 0) { - output.WriteRawTag(26); - output.WriteString(DoctypeContent); - } - if (DoctypeCode.Length != 0) { - output.WriteRawTag(34); - output.WriteString(DoctypeCode); - } - if (HtmlContent.Length != 0) { - output.WriteRawTag(42); - output.WriteString(HtmlContent); - } - if (HtmlCode.Length != 0) { - output.WriteRawTag(50); - output.WriteString(HtmlCode); - } - if (TextContent.Length != 0) { - output.WriteRawTag(58); - output.WriteString(TextContent); - } - if (TextCode.Length != 0) { - output.WriteRawTag(66); - output.WriteString(TextCode); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (DteditorSyntax != false) { - size += 1 + 1; - } - if (DoctypeContent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DoctypeContent); - } - if (DoctypeCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DoctypeCode); - } - if (HtmlContent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(HtmlContent); - } - if (HtmlCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(HtmlCode); - } - if (TextContent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TextContent); - } - if (TextCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TextCode); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoFormatted other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.DteditorSyntax != false) { - DteditorSyntax = other.DteditorSyntax; - } - if (other.DoctypeContent.Length != 0) { - DoctypeContent = other.DoctypeContent; - } - if (other.DoctypeCode.Length != 0) { - DoctypeCode = other.DoctypeCode; - } - if (other.HtmlContent.Length != 0) { - HtmlContent = other.HtmlContent; - } - if (other.HtmlCode.Length != 0) { - HtmlCode = other.HtmlCode; - } - if (other.TextContent.Length != 0) { - TextContent = other.TextContent; - } - if (other.TextCode.Length != 0) { - TextCode = other.TextCode; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 16: { - DteditorSyntax = input.ReadBool(); - break; - } - case 26: { - DoctypeContent = input.ReadString(); - break; - } - case 34: { - DoctypeCode = input.ReadString(); - break; - } - case 42: { - HtmlContent = input.ReadString(); - break; - } - case 50: { - HtmlCode = input.ReadString(); - break; - } - case 58: { - TextContent = input.ReadString(); - break; - } - case 66: { - TextCode = input.ReadString(); - break; - } - case 74: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 16: { - DteditorSyntax = input.ReadBool(); - break; - } - case 26: { - DoctypeContent = input.ReadString(); - break; - } - case 34: { - DoctypeCode = input.ReadString(); - break; - } - case 42: { - HtmlContent = input.ReadString(); - break; - } - case 50: { - HtmlCode = input.ReadString(); - break; - } - case 58: { - TextContent = input.ReadString(); - break; - } - case 66: { - TextCode = input.ReadString(); - break; - } - case 74: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoApplyProtoCDef : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoApplyProtoCDef()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[82]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyProtoCDef() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyProtoCDef(ProtoApplyProtoCDef other) : this() { - cDefUuid_ = other.cDefUuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyProtoCDef Clone() { - return new ProtoApplyProtoCDef(this); - } - - /// Field number for the "cDefUuid" field. - public const int CDefUuidFieldNumber = 1; - private string cDefUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CDefUuid { - get { return cDefUuid_; } - set { - cDefUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoApplyProtoCDef); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoApplyProtoCDef other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CDefUuid != other.CDefUuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (CDefUuid.Length != 0) hash ^= CDefUuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (CDefUuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(CDefUuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (CDefUuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(CDefUuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (CDefUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CDefUuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoApplyProtoCDef other) { - if (other == null) { - return; - } - if (other.CDefUuid.Length != 0) { - CDefUuid = other.CDefUuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - CDefUuid = input.ReadString(); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - CDefUuid = input.ReadString(); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoApplyProtoPDef : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoApplyProtoPDef()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[83]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyProtoPDef() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyProtoPDef(ProtoApplyProtoPDef other) : this() { - pDefUuid_ = other.pDefUuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyProtoPDef Clone() { - return new ProtoApplyProtoPDef(this); - } - - /// Field number for the "pDefUuid" field. - public const int PDefUuidFieldNumber = 1; - private string pDefUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PDefUuid { - get { return pDefUuid_; } - set { - pDefUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoApplyProtoPDef); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoApplyProtoPDef other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PDefUuid != other.PDefUuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (PDefUuid.Length != 0) hash ^= PDefUuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (PDefUuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(PDefUuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (PDefUuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(PDefUuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (PDefUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PDefUuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoApplyProtoPDef other) { - if (other == null) { - return; - } - if (other.PDefUuid.Length != 0) { - PDefUuid = other.PDefUuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PDefUuid = input.ReadString(); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PDefUuid = input.ReadString(); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoApplyPtConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoApplyPtConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[84]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyPtConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyPtConfig(ProtoApplyPtConfig other) : this() { - ptConfigUuid_ = other.ptConfigUuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyPtConfig Clone() { - return new ProtoApplyPtConfig(this); - } - - /// Field number for the "ptConfigUuid" field. - public const int PtConfigUuidFieldNumber = 1; - private string ptConfigUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PtConfigUuid { - get { return ptConfigUuid_; } - set { - ptConfigUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoApplyPtConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoApplyPtConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PtConfigUuid != other.PtConfigUuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (PtConfigUuid.Length != 0) hash ^= PtConfigUuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (PtConfigUuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(PtConfigUuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (PtConfigUuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(PtConfigUuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (PtConfigUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PtConfigUuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoApplyPtConfig other) { - if (other == null) { - return; - } - if (other.PtConfigUuid.Length != 0) { - PtConfigUuid = other.PtConfigUuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PtConfigUuid = input.ReadString(); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PtConfigUuid = input.ReadString(); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoApplyUlConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoApplyUlConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[85]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyUlConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyUlConfig(ProtoApplyUlConfig other) : this() { - ulConfigUuid_ = other.ulConfigUuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoApplyUlConfig Clone() { - return new ProtoApplyUlConfig(this); - } - - /// Field number for the "ulConfigUuid" field. - public const int UlConfigUuidFieldNumber = 1; - private string ulConfigUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UlConfigUuid { - get { return ulConfigUuid_; } - set { - ulConfigUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoApplyUlConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoApplyUlConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (UlConfigUuid != other.UlConfigUuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (UlConfigUuid.Length != 0) hash ^= UlConfigUuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (UlConfigUuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(UlConfigUuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (UlConfigUuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(UlConfigUuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (UlConfigUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UlConfigUuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoApplyUlConfig other) { - if (other == null) { - return; - } - if (other.UlConfigUuid.Length != 0) { - UlConfigUuid = other.UlConfigUuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - UlConfigUuid = input.ReadString(); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - UlConfigUuid = input.ReadString(); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoCDef : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoCDef()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[86]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCDef() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCDef(ProtoCDef other) : this() { - columSettings_ = other.columSettings_ != null ? other.columSettings_.Clone() : null; - applyToHeaderFooter_ = other.applyToHeaderFooter_ != null ? other.applyToHeaderFooter_.Clone() : null; - applyImmediate_ = other.applyImmediate_ != null ? other.applyImmediate_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCDef Clone() { - return new ProtoCDef(this); - } - - /// Field number for the "columSettings" field. - public const int ColumSettingsFieldNumber = 1; - private global::Docframe.ProtoColumnSettings columSettings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColumnSettings ColumSettings { - get { return columSettings_; } - set { - columSettings_ = value; - } - } - - /// Field number for the "applyToHeaderFooter" field. - public const int ApplyToHeaderFooterFieldNumber = 2; - private global::Docframe.ProtoBoxedBool applyToHeaderFooter_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool ApplyToHeaderFooter { - get { return applyToHeaderFooter_; } - set { - applyToHeaderFooter_ = value; - } - } - - /// Field number for the "applyImmediate" field. - public const int ApplyImmediateFieldNumber = 3; - private global::Docframe.ProtoBoxedBool applyImmediate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedBool ApplyImmediate { - get { return applyImmediate_; } - set { - applyImmediate_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoCDef); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoCDef other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(ColumSettings, other.ColumSettings)) return false; - if (!object.Equals(ApplyToHeaderFooter, other.ApplyToHeaderFooter)) return false; - if (!object.Equals(ApplyImmediate, other.ApplyImmediate)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (columSettings_ != null) hash ^= ColumSettings.GetHashCode(); - if (applyToHeaderFooter_ != null) hash ^= ApplyToHeaderFooter.GetHashCode(); - if (applyImmediate_ != null) hash ^= ApplyImmediate.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (columSettings_ != null) { - output.WriteRawTag(10); - output.WriteMessage(ColumSettings); - } - if (applyToHeaderFooter_ != null) { - output.WriteRawTag(18); - output.WriteMessage(ApplyToHeaderFooter); - } - if (applyImmediate_ != null) { - output.WriteRawTag(26); - output.WriteMessage(ApplyImmediate); - } - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (columSettings_ != null) { - output.WriteRawTag(10); - output.WriteMessage(ColumSettings); - } - if (applyToHeaderFooter_ != null) { - output.WriteRawTag(18); - output.WriteMessage(ApplyToHeaderFooter); - } - if (applyImmediate_ != null) { - output.WriteRawTag(26); - output.WriteMessage(ApplyImmediate); - } - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (columSettings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ColumSettings); - } - if (applyToHeaderFooter_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ApplyToHeaderFooter); - } - if (applyImmediate_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ApplyImmediate); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoCDef other) { - if (other == null) { - return; - } - if (other.columSettings_ != null) { - if (columSettings_ == null) { - ColumSettings = new global::Docframe.ProtoColumnSettings(); - } - ColumSettings.MergeFrom(other.ColumSettings); - } - if (other.applyToHeaderFooter_ != null) { - if (applyToHeaderFooter_ == null) { - ApplyToHeaderFooter = new global::Docframe.ProtoBoxedBool(); - } - ApplyToHeaderFooter.MergeFrom(other.ApplyToHeaderFooter); - } - if (other.applyImmediate_ != null) { - if (applyImmediate_ == null) { - ApplyImmediate = new global::Docframe.ProtoBoxedBool(); - } - ApplyImmediate.MergeFrom(other.ApplyImmediate); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (columSettings_ == null) { - ColumSettings = new global::Docframe.ProtoColumnSettings(); - } - input.ReadMessage(ColumSettings); - break; - } - case 18: { - if (applyToHeaderFooter_ == null) { - ApplyToHeaderFooter = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(ApplyToHeaderFooter); - break; - } - case 26: { - if (applyImmediate_ == null) { - ApplyImmediate = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(ApplyImmediate); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (columSettings_ == null) { - ColumSettings = new global::Docframe.ProtoColumnSettings(); - } - input.ReadMessage(ColumSettings); - break; - } - case 18: { - if (applyToHeaderFooter_ == null) { - ApplyToHeaderFooter = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(ApplyToHeaderFooter); - break; - } - case 26: { - if (applyImmediate_ == null) { - ApplyImmediate = new global::Docframe.ProtoBoxedBool(); - } - input.ReadMessage(ApplyImmediate); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoPDef : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoPDef()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[87]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPDef() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPDef(ProtoPDef other) : this() { - pageWidth_ = other.pageWidth_ != null ? other.pageWidth_.Clone() : null; - pageDepth_ = other.pageDepth_ != null ? other.pageDepth_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPDef Clone() { - return new ProtoPDef(this); - } - - /// Field number for the "pageWidth" field. - public const int PageWidthFieldNumber = 1; - private global::Docframe.ProtoBoxedMeasure pageWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure PageWidth { - get { return pageWidth_; } - set { - pageWidth_ = value; - } - } - - /// Field number for the "pageDepth" field. - public const int PageDepthFieldNumber = 2; - private global::Docframe.ProtoBoxedMeasure pageDepth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure PageDepth { - get { return pageDepth_; } - set { - pageDepth_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoPDef); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoPDef other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(PageWidth, other.PageWidth)) return false; - if (!object.Equals(PageDepth, other.PageDepth)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (pageWidth_ != null) hash ^= PageWidth.GetHashCode(); - if (pageDepth_ != null) hash ^= PageDepth.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (pageWidth_ != null) { - output.WriteRawTag(10); - output.WriteMessage(PageWidth); - } - if (pageDepth_ != null) { - output.WriteRawTag(18); - output.WriteMessage(PageDepth); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (pageWidth_ != null) { - output.WriteRawTag(10); - output.WriteMessage(PageWidth); - } - if (pageDepth_ != null) { - output.WriteRawTag(18); - output.WriteMessage(PageDepth); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (pageWidth_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PageWidth); - } - if (pageDepth_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PageDepth); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoPDef other) { - if (other == null) { - return; - } - if (other.pageWidth_ != null) { - if (pageWidth_ == null) { - PageWidth = new global::Docframe.ProtoBoxedMeasure(); - } - PageWidth.MergeFrom(other.PageWidth); - } - if (other.pageDepth_ != null) { - if (pageDepth_ == null) { - PageDepth = new global::Docframe.ProtoBoxedMeasure(); - } - PageDepth.MergeFrom(other.PageDepth); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (pageWidth_ == null) { - PageWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(PageWidth); - break; - } - case 18: { - if (pageDepth_ == null) { - PageDepth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(PageDepth); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (pageWidth_ == null) { - PageWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(PageWidth); - break; - } - case 18: { - if (pageDepth_ == null) { - PageDepth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(PageDepth); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoPtConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoPtConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[88]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPtConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPtConfig(ProtoPtConfig other) : this() { - height_ = other.height_ != null ? other.height_.Clone() : null; - lineFeed_ = other.lineFeed_ != null ? other.lineFeed_.Clone() : null; - characterWidth_ = other.characterWidth_ != null ? other.characterWidth_.Clone() : null; - spaceWidth_ = other.spaceWidth_ != null ? other.spaceWidth_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPtConfig Clone() { - return new ProtoPtConfig(this); - } - - /// Field number for the "height" field. - public const int HeightFieldNumber = 1; - private global::Docframe.ProtoBoxedMeasure height_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Height { - get { return height_; } - set { - height_ = value; - } - } - - /// Field number for the "lineFeed" field. - public const int LineFeedFieldNumber = 2; - private global::Docframe.ProtoBoxedMeasure lineFeed_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure LineFeed { - get { return lineFeed_; } - set { - lineFeed_ = value; - } - } - - /// Field number for the "characterWidth" field. - public const int CharacterWidthFieldNumber = 3; - private global::Docframe.ProtoBoxedMeasure characterWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure CharacterWidth { - get { return characterWidth_; } - set { - characterWidth_ = value; - } - } - - /// Field number for the "spaceWidth" field. - public const int SpaceWidthFieldNumber = 4; - private global::Docframe.ProtoBoxedMeasure spaceWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure SpaceWidth { - get { return spaceWidth_; } - set { - spaceWidth_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoPtConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoPtConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Height, other.Height)) return false; - if (!object.Equals(LineFeed, other.LineFeed)) return false; - if (!object.Equals(CharacterWidth, other.CharacterWidth)) return false; - if (!object.Equals(SpaceWidth, other.SpaceWidth)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (height_ != null) hash ^= Height.GetHashCode(); - if (lineFeed_ != null) hash ^= LineFeed.GetHashCode(); - if (characterWidth_ != null) hash ^= CharacterWidth.GetHashCode(); - if (spaceWidth_ != null) hash ^= SpaceWidth.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (height_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Height); - } - if (lineFeed_ != null) { - output.WriteRawTag(18); - output.WriteMessage(LineFeed); - } - if (characterWidth_ != null) { - output.WriteRawTag(26); - output.WriteMessage(CharacterWidth); - } - if (spaceWidth_ != null) { - output.WriteRawTag(34); - output.WriteMessage(SpaceWidth); - } - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (height_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Height); - } - if (lineFeed_ != null) { - output.WriteRawTag(18); - output.WriteMessage(LineFeed); - } - if (characterWidth_ != null) { - output.WriteRawTag(26); - output.WriteMessage(CharacterWidth); - } - if (spaceWidth_ != null) { - output.WriteRawTag(34); - output.WriteMessage(SpaceWidth); - } - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (height_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); - } - if (lineFeed_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(LineFeed); - } - if (characterWidth_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(CharacterWidth); - } - if (spaceWidth_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpaceWidth); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoPtConfig other) { - if (other == null) { - return; - } - if (other.height_ != null) { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - Height.MergeFrom(other.Height); - } - if (other.lineFeed_ != null) { - if (lineFeed_ == null) { - LineFeed = new global::Docframe.ProtoBoxedMeasure(); - } - LineFeed.MergeFrom(other.LineFeed); - } - if (other.characterWidth_ != null) { - if (characterWidth_ == null) { - CharacterWidth = new global::Docframe.ProtoBoxedMeasure(); - } - CharacterWidth.MergeFrom(other.CharacterWidth); - } - if (other.spaceWidth_ != null) { - if (spaceWidth_ == null) { - SpaceWidth = new global::Docframe.ProtoBoxedMeasure(); - } - SpaceWidth.MergeFrom(other.SpaceWidth); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Height); - break; - } - case 18: { - if (lineFeed_ == null) { - LineFeed = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(LineFeed); - break; - } - case 26: { - if (characterWidth_ == null) { - CharacterWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(CharacterWidth); - break; - } - case 34: { - if (spaceWidth_ == null) { - SpaceWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(SpaceWidth); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (height_ == null) { - Height = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Height); - break; - } - case 18: { - if (lineFeed_ == null) { - LineFeed = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(LineFeed); - break; - } - case 26: { - if (characterWidth_ == null) { - CharacterWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(CharacterWidth); - break; - } - case 34: { - if (spaceWidth_ == null) { - SpaceWidth = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(SpaceWidth); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoUlConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoUlConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[89]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUlConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUlConfig(ProtoUlConfig other) : this() { - mode_ = other.mode_; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoUlConfig Clone() { - return new ProtoUlConfig(this); - } - - /// Field number for the "mode" field. - public const int ModeFieldNumber = 1; - private global::Docframe.ProtoUnderlineMode mode_ = global::Docframe.ProtoUnderlineMode.DummyUnderlineMode; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoUnderlineMode Mode { - get { return mode_; } - set { - mode_ = value; - } - } - - /// Field number for the "Uuid" field. - public const int UuidFieldNumber = 2; - 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoUlConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoUlConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Mode != other.Mode) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) hash ^= Mode.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - output.WriteRawTag(8); - output.WriteEnum((int) Mode); - } - if (Uuid.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - output.WriteRawTag(8); - output.WriteEnum((int) Mode); - } - if (Uuid.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoUlConfig other) { - if (other == null) { - return; - } - if (other.Mode != global::Docframe.ProtoUnderlineMode.DummyUnderlineMode) { - Mode = other.Mode; - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Mode = (global::Docframe.ProtoUnderlineMode) input.ReadEnum(); - break; - } - case 18: { - Uuid = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Mode = (global::Docframe.ProtoUnderlineMode) input.ReadEnum(); - break; - } - case 18: { - Uuid = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoNewPage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoNewPage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[90]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNewPage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNewPage(ProtoNewPage other) : this() { - uuid_ = other.uuid_; - paperTrayUuid_ = other.paperTrayUuid_; - paperTrayNumber_ = other.paperTrayNumber_; - paperCount_ = other.paperCount_; - pageMode_ = other.pageMode_; - pageOrientation_ = other.pageOrientation_; - pDefUuid_ = other.pDefUuid_; - cDefUuid_ = other.cDefUuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoNewPage Clone() { - return new ProtoNewPage(this); - } - - /// Field number for the "uuid" field. - public const int UuidFieldNumber = 1; - 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"); - } - } - - /// Field number for the "paperTrayUuid" field. - public const int PaperTrayUuidFieldNumber = 2; - private string paperTrayUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PaperTrayUuid { - get { return paperTrayUuid_; } - set { - paperTrayUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "paperTrayNumber" field. - public const int PaperTrayNumberFieldNumber = 3; - private uint paperTrayNumber_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint PaperTrayNumber { - get { return paperTrayNumber_; } - set { - paperTrayNumber_ = value; - } - } - - /// Field number for the "paperCount" field. - public const int PaperCountFieldNumber = 4; - private uint paperCount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint PaperCount { - get { return paperCount_; } - set { - paperCount_ = value; - } - } - - /// Field number for the "pageMode" field. - public const int PageModeFieldNumber = 5; - private global::Docframe.ProtoPageMode pageMode_ = global::Docframe.ProtoPageMode.NextPage; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoPageMode PageMode { - get { return pageMode_; } - set { - pageMode_ = value; - } - } - - /// Field number for the "pageOrientation" field. - public const int PageOrientationFieldNumber = 6; - private global::Docframe.ProtoPageOrientation pageOrientation_ = global::Docframe.ProtoPageOrientation.Unset; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoPageOrientation PageOrientation { - get { return pageOrientation_; } - set { - pageOrientation_ = value; - } - } - - /// Field number for the "pDefUuid" field. - public const int PDefUuidFieldNumber = 7; - private string pDefUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PDefUuid { - get { return pDefUuid_; } - set { - pDefUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "cDefUuid" field. - public const int CDefUuidFieldNumber = 8; - private string cDefUuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CDefUuid { - get { return cDefUuid_; } - set { - cDefUuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 9; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(74); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoNewPage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoNewPage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Uuid != other.Uuid) return false; - if (PaperTrayUuid != other.PaperTrayUuid) return false; - if (PaperTrayNumber != other.PaperTrayNumber) return false; - if (PaperCount != other.PaperCount) return false; - if (PageMode != other.PageMode) return false; - if (PageOrientation != other.PageOrientation) return false; - if (PDefUuid != other.PDefUuid) return false; - if (CDefUuid != other.CDefUuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (PaperTrayUuid.Length != 0) hash ^= PaperTrayUuid.GetHashCode(); - if (PaperTrayNumber != 0) hash ^= PaperTrayNumber.GetHashCode(); - if (PaperCount != 0) hash ^= PaperCount.GetHashCode(); - if (PageMode != global::Docframe.ProtoPageMode.NextPage) hash ^= PageMode.GetHashCode(); - if (PageOrientation != global::Docframe.ProtoPageOrientation.Unset) hash ^= PageOrientation.GetHashCode(); - if (PDefUuid.Length != 0) hash ^= PDefUuid.GetHashCode(); - if (CDefUuid.Length != 0) hash ^= CDefUuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Uuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Uuid); - } - if (PaperTrayUuid.Length != 0) { - output.WriteRawTag(18); - output.WriteString(PaperTrayUuid); - } - if (PaperTrayNumber != 0) { - output.WriteRawTag(24); - output.WriteUInt32(PaperTrayNumber); - } - if (PaperCount != 0) { - output.WriteRawTag(32); - output.WriteUInt32(PaperCount); - } - if (PageMode != global::Docframe.ProtoPageMode.NextPage) { - output.WriteRawTag(40); - output.WriteEnum((int) PageMode); - } - if (PageOrientation != global::Docframe.ProtoPageOrientation.Unset) { - output.WriteRawTag(48); - output.WriteEnum((int) PageOrientation); - } - if (PDefUuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(PDefUuid); - } - if (CDefUuid.Length != 0) { - output.WriteRawTag(66); - output.WriteString(CDefUuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Uuid.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Uuid); - } - if (PaperTrayUuid.Length != 0) { - output.WriteRawTag(18); - output.WriteString(PaperTrayUuid); - } - if (PaperTrayNumber != 0) { - output.WriteRawTag(24); - output.WriteUInt32(PaperTrayNumber); - } - if (PaperCount != 0) { - output.WriteRawTag(32); - output.WriteUInt32(PaperCount); - } - if (PageMode != global::Docframe.ProtoPageMode.NextPage) { - output.WriteRawTag(40); - output.WriteEnum((int) PageMode); - } - if (PageOrientation != global::Docframe.ProtoPageOrientation.Unset) { - output.WriteRawTag(48); - output.WriteEnum((int) PageOrientation); - } - if (PDefUuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(PDefUuid); - } - if (CDefUuid.Length != 0) { - output.WriteRawTag(66); - output.WriteString(CDefUuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (PaperTrayUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PaperTrayUuid); - } - if (PaperTrayNumber != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PaperTrayNumber); - } - if (PaperCount != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PaperCount); - } - if (PageMode != global::Docframe.ProtoPageMode.NextPage) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PageMode); - } - if (PageOrientation != global::Docframe.ProtoPageOrientation.Unset) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PageOrientation); - } - if (PDefUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PDefUuid); - } - if (CDefUuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CDefUuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoNewPage other) { - if (other == null) { - return; - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.PaperTrayUuid.Length != 0) { - PaperTrayUuid = other.PaperTrayUuid; - } - if (other.PaperTrayNumber != 0) { - PaperTrayNumber = other.PaperTrayNumber; - } - if (other.PaperCount != 0) { - PaperCount = other.PaperCount; - } - if (other.PageMode != global::Docframe.ProtoPageMode.NextPage) { - PageMode = other.PageMode; - } - if (other.PageOrientation != global::Docframe.ProtoPageOrientation.Unset) { - PageOrientation = other.PageOrientation; - } - if (other.PDefUuid.Length != 0) { - PDefUuid = other.PDefUuid; - } - if (other.CDefUuid.Length != 0) { - CDefUuid = other.CDefUuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Uuid = input.ReadString(); - break; - } - case 18: { - PaperTrayUuid = input.ReadString(); - break; - } - case 24: { - PaperTrayNumber = input.ReadUInt32(); - break; - } - case 32: { - PaperCount = input.ReadUInt32(); - break; - } - case 40: { - PageMode = (global::Docframe.ProtoPageMode) input.ReadEnum(); - break; - } - case 48: { - PageOrientation = (global::Docframe.ProtoPageOrientation) input.ReadEnum(); - break; - } - case 58: { - PDefUuid = input.ReadString(); - break; - } - case 66: { - CDefUuid = input.ReadString(); - break; - } - case 74: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Uuid = input.ReadString(); - break; - } - case 18: { - PaperTrayUuid = input.ReadString(); - break; - } - case 24: { - PaperTrayNumber = input.ReadUInt32(); - break; - } - case 32: { - PaperCount = input.ReadUInt32(); - break; - } - case 40: { - PageMode = (global::Docframe.ProtoPageMode) input.ReadEnum(); - break; - } - case 48: { - PageOrientation = (global::Docframe.ProtoPageOrientation) input.ReadEnum(); - break; - } - case 58: { - PDefUuid = input.ReadString(); - break; - } - case 66: { - CDefUuid = input.ReadString(); - break; - } - case 74: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoIndentation : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoIndentation()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[91]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoIndentation() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoIndentation(ProtoIndentation other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - left_ = other.left_ != null ? other.left_.Clone() : null; - right_ = other.right_ != null ? other.right_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoIndentation Clone() { - return new ProtoIndentation(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "left" field. - public const int LeftFieldNumber = 3; - private global::Docframe.ProtoBoxedMeasure left_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Left { - get { return left_; } - set { - left_ = value; - } - } - - /// Field number for the "right" field. - public const int RightFieldNumber = 4; - private global::Docframe.ProtoBoxedMeasure right_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure Right { - get { return right_; } - set { - right_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoIndentation); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoIndentation other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Left, other.Left)) return false; - if (!object.Equals(Right, other.Right)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (left_ != null) hash ^= Left.GetHashCode(); - if (right_ != null) hash ^= Right.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (left_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Left); - } - if (right_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Right); - } - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (left_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Left); - } - if (right_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Right); - } - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (left_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Left); - } - if (right_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Right); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoIndentation other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.left_ != null) { - if (left_ == null) { - Left = new global::Docframe.ProtoBoxedMeasure(); - } - Left.MergeFrom(other.Left); - } - if (other.right_ != null) { - if (right_ == null) { - Right = new global::Docframe.ProtoBoxedMeasure(); - } - Right.MergeFrom(other.Right); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (left_ == null) { - Left = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Left); - break; - } - case 34: { - if (right_ == null) { - Right = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Right); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (left_ == null) { - Left = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Left); - break; - } - case 34: { - if (right_ == null) { - Right = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(Right); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoCarryOver : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoCarryOver()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[92]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCarryOver() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCarryOver(ProtoCarryOver other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCarryOver Clone() { - return new ProtoCarryOver(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoCarryOver); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoCarryOver other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoCarryOver other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoLoopEntry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoLoopEntry()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[93]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLoopEntry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLoopEntry(ProtoLoopEntry other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - path_ = other.path_; - index_ = other.index_; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLoopEntry Clone() { - return new ProtoLoopEntry(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 3; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "index" field. - public const int IndexFieldNumber = 4; - private ulong index_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Index { - get { return index_; } - set { - index_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoLoopEntry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoLoopEntry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Path != other.Path) return false; - if (Index != other.Index) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Path.Length != 0) hash ^= Path.GetHashCode(); - if (Index != 0UL) hash ^= Index.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Path.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Path); - } - if (Index != 0UL) { - output.WriteRawTag(32); - output.WriteUInt64(Index); - } - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Path.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Path); - } - if (Index != 0UL) { - output.WriteRawTag(32); - output.WriteUInt64(Index); - } - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (Index != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Index); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoLoopEntry other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Path.Length != 0) { - Path = other.Path; - } - if (other.Index != 0UL) { - Index = other.Index; - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Path = input.ReadString(); - break; - } - case 32: { - Index = input.ReadUInt64(); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Path = input.ReadString(); - break; - } - case 32: { - Index = input.ReadUInt64(); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoLoop : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoLoop()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[94]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLoop() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLoop(ProtoLoop other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - path_ = other.path_; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLoop Clone() { - return new ProtoLoop(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 3; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoLoop); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoLoop other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Path != other.Path) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Path.Length != 0) hash ^= Path.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Path.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Path); - } - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Path.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Path); - } - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoLoop other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Path.Length != 0) { - Path = other.Path; - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Path = input.ReadString(); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Path = input.ReadString(); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSubTotal : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSubTotal()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[95]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSubTotal() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSubTotal(ProtoSubTotal other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - applyImmediate_ = other.applyImmediate_; - position_ = other.position_; - height_ = other.height_ != null ? other.height_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSubTotal Clone() { - return new ProtoSubTotal(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "apply_immediate" field. - public const int ApplyImmediateFieldNumber = 3; - private bool applyImmediate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ApplyImmediate { - get { return applyImmediate_; } - set { - applyImmediate_ = value; - } - } - - /// Field number for the "position" field. - public const int PositionFieldNumber = 4; - private global::Docframe.ProtoSubTotalPosition position_ = global::Docframe.ProtoSubTotalPosition.PositionAboveFooter; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoSubTotalPosition Position { - get { return position_; } - set { - position_ = value; - } - } - - /// Field number for the "height" field. - public const int HeightFieldNumber = 5; - private global::Docframe.ProtoMeasure height_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Height { - get { return height_; } - set { - height_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSubTotal); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSubTotal other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (ApplyImmediate != other.ApplyImmediate) return false; - if (Position != other.Position) return false; - if (!object.Equals(Height, other.Height)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (ApplyImmediate != false) hash ^= ApplyImmediate.GetHashCode(); - if (Position != global::Docframe.ProtoSubTotalPosition.PositionAboveFooter) hash ^= Position.GetHashCode(); - if (height_ != null) hash ^= Height.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (ApplyImmediate != false) { - output.WriteRawTag(24); - output.WriteBool(ApplyImmediate); - } - if (Position != global::Docframe.ProtoSubTotalPosition.PositionAboveFooter) { - output.WriteRawTag(32); - output.WriteEnum((int) Position); - } - if (height_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Height); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (ApplyImmediate != false) { - output.WriteRawTag(24); - output.WriteBool(ApplyImmediate); - } - if (Position != global::Docframe.ProtoSubTotalPosition.PositionAboveFooter) { - output.WriteRawTag(32); - output.WriteEnum((int) Position); - } - if (height_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Height); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (ApplyImmediate != false) { - size += 1 + 1; - } - if (Position != global::Docframe.ProtoSubTotalPosition.PositionAboveFooter) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Position); - } - if (height_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSubTotal other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.ApplyImmediate != false) { - ApplyImmediate = other.ApplyImmediate; - } - if (other.Position != global::Docframe.ProtoSubTotalPosition.PositionAboveFooter) { - Position = other.Position; - } - if (other.height_ != null) { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - Height.MergeFrom(other.Height); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 24: { - ApplyImmediate = input.ReadBool(); - break; - } - case 32: { - Position = (global::Docframe.ProtoSubTotalPosition) input.ReadEnum(); - break; - } - case 42: { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Height); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 24: { - ApplyImmediate = input.ReadBool(); - break; - } - case 32: { - Position = (global::Docframe.ProtoSubTotalPosition) input.ReadEnum(); - break; - } - case 42: { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Height); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoWsArea : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoWsArea()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[96]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoWsArea() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoWsArea(ProtoWsArea other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoWsArea Clone() { - return new ProtoWsArea(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoWsArea); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoWsArea other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoWsArea other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoRule : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoRule()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[97]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRule() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRule(ProtoRule other) : this() { - xOffset_ = other.xOffset_ != null ? other.xOffset_.Clone() : null; - yOffset_ = other.yOffset_ != null ? other.yOffset_.Clone() : null; - width_ = other.width_ != null ? other.width_.Clone() : null; - thickness_ = other.thickness_ != null ? other.thickness_.Clone() : null; - rotation_ = other.rotation_; - color_ = other.color_ != null ? other.color_.Clone() : null; - style_ = other.style_; - mode_ = other.mode_; - boundaries_ = other.boundaries_ != null ? other.boundaries_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRule Clone() { - return new ProtoRule(this); - } - - /// Field number for the "xOffset" field. - public const int XOffsetFieldNumber = 1; - private global::Docframe.ProtoMeasure xOffset_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure XOffset { - get { return xOffset_; } - set { - xOffset_ = value; - } - } - - /// Field number for the "yOffset" field. - public const int YOffsetFieldNumber = 2; - private global::Docframe.ProtoMeasure yOffset_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure YOffset { - get { return yOffset_; } - set { - yOffset_ = value; - } - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 3; - private global::Docframe.ProtoMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "thickness" field. - public const int ThicknessFieldNumber = 4; - private global::Docframe.ProtoMeasure thickness_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Thickness { - get { return thickness_; } - set { - thickness_ = value; - } - } - - /// Field number for the "rotation" field. - public const int RotationFieldNumber = 5; - private double rotation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double Rotation { - get { return rotation_; } - set { - rotation_ = value; - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 6; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "style" field. - public const int StyleFieldNumber = 7; - private global::Docframe.ProtoRuleStyle style_ = global::Docframe.ProtoRuleStyle.DummyRuleStyle; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoRuleStyle Style { - get { return style_; } - set { - style_ = value; - } - } - - /// Field number for the "mode" field. - public const int ModeFieldNumber = 8; - private global::Docframe.ProtoRuleMode mode_ = global::Docframe.ProtoRuleMode.Normal; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoRuleMode Mode { - get { return mode_; } - set { - mode_ = value; - } - } - - /// Field number for the "boundaries" field. - public const int BoundariesFieldNumber = 9; - private global::Docframe.ProtoRuleBoundaries boundaries_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoRuleBoundaries Boundaries { - get { return boundaries_; } - set { - boundaries_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 10; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(82); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoRule); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoRule other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(XOffset, other.XOffset)) return false; - if (!object.Equals(YOffset, other.YOffset)) return false; - if (!object.Equals(Width, other.Width)) return false; - if (!object.Equals(Thickness, other.Thickness)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Rotation, other.Rotation)) return false; - if (!object.Equals(Color, other.Color)) return false; - if (Style != other.Style) return false; - if (Mode != other.Mode) return false; - if (!object.Equals(Boundaries, other.Boundaries)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (xOffset_ != null) hash ^= XOffset.GetHashCode(); - if (yOffset_ != null) hash ^= YOffset.GetHashCode(); - if (width_ != null) hash ^= Width.GetHashCode(); - if (thickness_ != null) hash ^= Thickness.GetHashCode(); - if (Rotation != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Rotation); - if (color_ != null) hash ^= Color.GetHashCode(); - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) hash ^= Style.GetHashCode(); - if (Mode != global::Docframe.ProtoRuleMode.Normal) hash ^= Mode.GetHashCode(); - if (boundaries_ != null) hash ^= Boundaries.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (xOffset_ != null) { - output.WriteRawTag(10); - output.WriteMessage(XOffset); - } - if (yOffset_ != null) { - output.WriteRawTag(18); - output.WriteMessage(YOffset); - } - if (width_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Width); - } - if (thickness_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Thickness); - } - if (Rotation != 0D) { - output.WriteRawTag(41); - output.WriteDouble(Rotation); - } - if (color_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Color); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - output.WriteRawTag(56); - output.WriteEnum((int) Style); - } - if (Mode != global::Docframe.ProtoRuleMode.Normal) { - output.WriteRawTag(64); - output.WriteEnum((int) Mode); - } - if (boundaries_ != null) { - output.WriteRawTag(74); - output.WriteMessage(Boundaries); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (xOffset_ != null) { - output.WriteRawTag(10); - output.WriteMessage(XOffset); - } - if (yOffset_ != null) { - output.WriteRawTag(18); - output.WriteMessage(YOffset); - } - if (width_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Width); - } - if (thickness_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Thickness); - } - if (Rotation != 0D) { - output.WriteRawTag(41); - output.WriteDouble(Rotation); - } - if (color_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Color); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - output.WriteRawTag(56); - output.WriteEnum((int) Style); - } - if (Mode != global::Docframe.ProtoRuleMode.Normal) { - output.WriteRawTag(64); - output.WriteEnum((int) Mode); - } - if (boundaries_ != null) { - output.WriteRawTag(74); - output.WriteMessage(Boundaries); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (xOffset_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(XOffset); - } - if (yOffset_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(YOffset); - } - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (thickness_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Thickness); - } - if (Rotation != 0D) { - size += 1 + 8; - } - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - if (Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Style); - } - if (Mode != global::Docframe.ProtoRuleMode.Normal) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); - } - if (boundaries_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Boundaries); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoRule other) { - if (other == null) { - return; - } - if (other.xOffset_ != null) { - if (xOffset_ == null) { - XOffset = new global::Docframe.ProtoMeasure(); - } - XOffset.MergeFrom(other.XOffset); - } - if (other.yOffset_ != null) { - if (yOffset_ == null) { - YOffset = new global::Docframe.ProtoMeasure(); - } - YOffset.MergeFrom(other.YOffset); - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.thickness_ != null) { - if (thickness_ == null) { - Thickness = new global::Docframe.ProtoMeasure(); - } - Thickness.MergeFrom(other.Thickness); - } - if (other.Rotation != 0D) { - Rotation = other.Rotation; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - if (other.Style != global::Docframe.ProtoRuleStyle.DummyRuleStyle) { - Style = other.Style; - } - if (other.Mode != global::Docframe.ProtoRuleMode.Normal) { - Mode = other.Mode; - } - if (other.boundaries_ != null) { - if (boundaries_ == null) { - Boundaries = new global::Docframe.ProtoRuleBoundaries(); - } - Boundaries.MergeFrom(other.Boundaries); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (xOffset_ == null) { - XOffset = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(XOffset); - break; - } - case 18: { - if (yOffset_ == null) { - YOffset = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(YOffset); - break; - } - case 26: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 34: { - if (thickness_ == null) { - Thickness = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Thickness); - break; - } - case 41: { - Rotation = input.ReadDouble(); - break; - } - case 50: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 56: { - Style = (global::Docframe.ProtoRuleStyle) input.ReadEnum(); - break; - } - case 64: { - Mode = (global::Docframe.ProtoRuleMode) input.ReadEnum(); - break; - } - case 74: { - if (boundaries_ == null) { - Boundaries = new global::Docframe.ProtoRuleBoundaries(); - } - input.ReadMessage(Boundaries); - break; - } - case 82: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (xOffset_ == null) { - XOffset = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(XOffset); - break; - } - case 18: { - if (yOffset_ == null) { - YOffset = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(YOffset); - break; - } - case 26: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 34: { - if (thickness_ == null) { - Thickness = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Thickness); - break; - } - case 41: { - Rotation = input.ReadDouble(); - break; - } - case 50: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 56: { - Style = (global::Docframe.ProtoRuleStyle) input.ReadEnum(); - break; - } - case 64: { - Mode = (global::Docframe.ProtoRuleMode) input.ReadEnum(); - break; - } - case 74: { - if (boundaries_ == null) { - Boundaries = new global::Docframe.ProtoRuleBoundaries(); - } - input.ReadMessage(Boundaries); - break; - } - case 82: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoRuleBoundaries : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoRuleBoundaries()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[98]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRuleBoundaries() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRuleBoundaries(ProtoRuleBoundaries other) : this() { - start_ = other.start_ != null ? other.start_.Clone() : null; - end_ = other.end_ != null ? other.end_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoRuleBoundaries Clone() { - return new ProtoRuleBoundaries(this); - } - - /// Field number for the "start" field. - public const int StartFieldNumber = 1; - private global::Docframe.ProtoMeasure start_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Start { - get { return start_; } - set { - start_ = value; - } - } - - /// Field number for the "end" field. - public const int EndFieldNumber = 2; - private global::Docframe.ProtoMeasure end_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure End { - get { return end_; } - set { - end_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoRuleBoundaries); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoRuleBoundaries other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Start, other.Start)) return false; - if (!object.Equals(End, other.End)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (start_ != null) hash ^= Start.GetHashCode(); - if (end_ != null) hash ^= End.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (start_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Start); - } - if (end_ != null) { - output.WriteRawTag(18); - output.WriteMessage(End); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (start_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Start); - } - if (end_ != null) { - output.WriteRawTag(18); - output.WriteMessage(End); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (start_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Start); - } - if (end_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(End); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoRuleBoundaries other) { - if (other == null) { - return; - } - if (other.start_ != null) { - if (start_ == null) { - Start = new global::Docframe.ProtoMeasure(); - } - Start.MergeFrom(other.Start); - } - if (other.end_ != null) { - if (end_ == null) { - End = new global::Docframe.ProtoMeasure(); - } - End.MergeFrom(other.End); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (start_ == null) { - Start = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Start); - break; - } - case 18: { - if (end_ == null) { - End = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(End); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (start_ == null) { - Start = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Start); - break; - } - case 18: { - if (end_ == null) { - End = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(End); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoColorDef : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoColorDef()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[99]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColorDef() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColorDef(ProtoColorDef other) : this() { - color_ = other.color_ != null ? other.color_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoColorDef Clone() { - return new ProtoColorDef(this); - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 1; - private global::Docframe.ProtoColor color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoColor Color { - get { return color_; } - set { - color_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoColorDef); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoColorDef other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Color, other.Color)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (color_ != null) hash ^= Color.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (color_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Color); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (color_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Color); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (color_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoColorDef other) { - if (other == null) { - return; - } - if (other.color_ != null) { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - Color.MergeFrom(other.Color); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (color_ == null) { - Color = new global::Docframe.ProtoColor(); - } - input.ReadMessage(Color); - break; - } - case 18: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoLayout : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoLayout()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[100]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLayout() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLayout(ProtoLayout other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - name_ = other.name_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLayout Clone() { - return new ProtoLayout(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoLayout); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoLayout other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Name != other.Name) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoLayout other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Name.Length != 0) { - Name = other.Name; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoAdvancedIllustrationArea : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoAdvancedIllustrationArea()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[101]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdvancedIllustrationArea() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdvancedIllustrationArea(ProtoAdvancedIllustrationArea other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - absolute_ = other.absolute_; - width_ = other.width_ != null ? other.width_.Clone() : null; - height_ = other.height_ != null ? other.height_.Clone() : null; - x_ = other.x_ != null ? other.x_.Clone() : null; - y_ = other.y_ != null ? other.y_.Clone() : null; - textFlow_ = other.textFlow_; - rotation_ = other.rotation_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdvancedIllustrationArea Clone() { - return new ProtoAdvancedIllustrationArea(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "absolute" field. - public const int AbsoluteFieldNumber = 4; - private bool absolute_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Absolute { - get { return absolute_; } - set { - absolute_ = value; - } - } - - /// Field number for the "width" field. - public const int WidthFieldNumber = 5; - private global::Docframe.ProtoMeasure width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Width { - get { return width_; } - set { - width_ = value; - } - } - - /// Field number for the "height" field. - public const int HeightFieldNumber = 6; - private global::Docframe.ProtoMeasure height_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Height { - get { return height_; } - set { - height_ = value; - } - } - - /// Field number for the "x" field. - public const int XFieldNumber = 7; - private global::Docframe.ProtoMeasure x_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure X { - get { return x_; } - set { - x_ = value; - } - } - - /// Field number for the "y" field. - public const int YFieldNumber = 8; - private global::Docframe.ProtoMeasure y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure Y { - get { return y_; } - set { - y_ = value; - } - } - - /// Field number for the "textFlow" field. - public const int TextFlowFieldNumber = 9; - private global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType textFlow_ = global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType TextFlow { - get { return textFlow_; } - set { - textFlow_ = value; - } - } - - /// Field number for the "rotation" field. - public const int RotationFieldNumber = 10; - private float rotation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Rotation { - get { return rotation_; } - set { - rotation_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(90); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoAdvancedIllustrationArea); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoAdvancedIllustrationArea other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if (Absolute != other.Absolute) return false; - if (!object.Equals(Width, other.Width)) return false; - if (!object.Equals(Height, other.Height)) return false; - if (!object.Equals(X, other.X)) return false; - if (!object.Equals(Y, other.Y)) return false; - if (TextFlow != other.TextFlow) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Rotation, other.Rotation)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (Absolute != false) hash ^= Absolute.GetHashCode(); - if (width_ != null) hash ^= Width.GetHashCode(); - if (height_ != null) hash ^= Height.GetHashCode(); - if (x_ != null) hash ^= X.GetHashCode(); - if (y_ != null) hash ^= Y.GetHashCode(); - if (TextFlow != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) hash ^= TextFlow.GetHashCode(); - if (Rotation != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Rotation); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - if (Absolute != false) { - output.WriteRawTag(32); - output.WriteBool(Absolute); - } - if (width_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Width); - } - if (height_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Height); - } - if (x_ != null) { - output.WriteRawTag(58); - output.WriteMessage(X); - } - if (y_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Y); - } - if (TextFlow != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) { - output.WriteRawTag(72); - output.WriteEnum((int) TextFlow); - } - if (Rotation != 0F) { - output.WriteRawTag(85); - output.WriteFloat(Rotation); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - if (Absolute != false) { - output.WriteRawTag(32); - output.WriteBool(Absolute); - } - if (width_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Width); - } - if (height_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Height); - } - if (x_ != null) { - output.WriteRawTag(58); - output.WriteMessage(X); - } - if (y_ != null) { - output.WriteRawTag(66); - output.WriteMessage(Y); - } - if (TextFlow != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) { - output.WriteRawTag(72); - output.WriteEnum((int) TextFlow); - } - if (Rotation != 0F) { - output.WriteRawTag(85); - output.WriteFloat(Rotation); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (Absolute != false) { - size += 1 + 1; - } - if (width_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); - } - if (height_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); - } - if (x_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(X); - } - if (y_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Y); - } - if (TextFlow != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TextFlow); - } - if (Rotation != 0F) { - size += 1 + 4; - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoAdvancedIllustrationArea other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.Absolute != false) { - Absolute = other.Absolute; - } - if (other.width_ != null) { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - Width.MergeFrom(other.Width); - } - if (other.height_ != null) { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - Height.MergeFrom(other.Height); - } - if (other.x_ != null) { - if (x_ == null) { - X = new global::Docframe.ProtoMeasure(); - } - X.MergeFrom(other.X); - } - if (other.y_ != null) { - if (y_ == null) { - Y = new global::Docframe.ProtoMeasure(); - } - Y.MergeFrom(other.Y); - } - if (other.TextFlow != global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType.DoNotUseAtAll) { - TextFlow = other.TextFlow; - } - if (other.Rotation != 0F) { - Rotation = other.Rotation; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 32: { - Absolute = input.ReadBool(); - break; - } - case 42: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 50: { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Height); - break; - } - case 58: { - if (x_ == null) { - X = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(X); - break; - } - case 66: { - if (y_ == null) { - Y = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Y); - break; - } - case 72: { - TextFlow = (global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType) input.ReadEnum(); - break; - } - case 85: { - Rotation = input.ReadFloat(); - break; - } - case 90: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 32: { - Absolute = input.ReadBool(); - break; - } - case 42: { - if (width_ == null) { - Width = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Width); - break; - } - case 50: { - if (height_ == null) { - Height = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Height); - break; - } - case 58: { - if (x_ == null) { - X = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(X); - break; - } - case 66: { - if (y_ == null) { - Y = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(Y); - break; - } - case 72: { - TextFlow = (global::Docframe.ProtoAdvancedIllustrationAreaTextFlowType) input.ReadEnum(); - break; - } - case 85: { - Rotation = input.ReadFloat(); - break; - } - case 90: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoAdjustHorizontally : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoAdjustHorizontally()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[102]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdjustHorizontally() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdjustHorizontally(ProtoAdjustHorizontally other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - minFontSize_ = other.minFontSize_ != null ? other.minFontSize_.Clone() : null; - maxFontSize_ = other.maxFontSize_ != null ? other.maxFontSize_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoAdjustHorizontally Clone() { - return new ProtoAdjustHorizontally(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "minFontSize" field. - public const int MinFontSizeFieldNumber = 3; - private global::Docframe.ProtoMeasure minFontSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure MinFontSize { - get { return minFontSize_; } - set { - minFontSize_ = value; - } - } - - /// Field number for the "maxFontSize" field. - public const int MaxFontSizeFieldNumber = 4; - private global::Docframe.ProtoMeasure maxFontSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoMeasure MaxFontSize { - get { return maxFontSize_; } - set { - maxFontSize_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoAdjustHorizontally); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoAdjustHorizontally other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(MinFontSize, other.MinFontSize)) return false; - if (!object.Equals(MaxFontSize, other.MaxFontSize)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (minFontSize_ != null) hash ^= MinFontSize.GetHashCode(); - if (maxFontSize_ != null) hash ^= MaxFontSize.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (minFontSize_ != null) { - output.WriteRawTag(26); - output.WriteMessage(MinFontSize); - } - if (maxFontSize_ != null) { - output.WriteRawTag(34); - output.WriteMessage(MaxFontSize); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (minFontSize_ != null) { - output.WriteRawTag(26); - output.WriteMessage(MinFontSize); - } - if (maxFontSize_ != null) { - output.WriteRawTag(34); - output.WriteMessage(MaxFontSize); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (minFontSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(MinFontSize); - } - if (maxFontSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(MaxFontSize); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoAdjustHorizontally other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.minFontSize_ != null) { - if (minFontSize_ == null) { - MinFontSize = new global::Docframe.ProtoMeasure(); - } - MinFontSize.MergeFrom(other.MinFontSize); - } - if (other.maxFontSize_ != null) { - if (maxFontSize_ == null) { - MaxFontSize = new global::Docframe.ProtoMeasure(); - } - MaxFontSize.MergeFrom(other.MaxFontSize); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (minFontSize_ == null) { - MinFontSize = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MinFontSize); - break; - } - case 34: { - if (maxFontSize_ == null) { - MaxFontSize = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MaxFontSize); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - if (minFontSize_ == null) { - MinFontSize = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MinFontSize); - break; - } - case 34: { - if (maxFontSize_ == null) { - MaxFontSize = new global::Docframe.ProtoMeasure(); - } - input.ReadMessage(MaxFontSize); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoDoctypeScript : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoDoctypeScript()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[103]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDoctypeScript() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDoctypeScript(ProtoDoctypeScript other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - content_ = other.content_; - outputMode_ = other.outputMode_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDoctypeScript Clone() { - return new ProtoDoctypeScript(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "content" field. - public const int ContentFieldNumber = 2; - private string content_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } - set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "outputMode" field. - public const int OutputModeFieldNumber = 3; - private global::Docframe.ProtoDoctypeOutputMode outputMode_ = global::Docframe.ProtoDoctypeOutputMode.DoctypeOutputModeNotSet; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDoctypeOutputMode OutputMode { - get { return outputMode_; } - set { - outputMode_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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) { - return Equals(other as ProtoDoctypeScript); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoDoctypeScript other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Content != other.Content) return false; - if (OutputMode != other.OutputMode) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); - if (OutputMode != global::Docframe.ProtoDoctypeOutputMode.DoctypeOutputModeNotSet) hash ^= OutputMode.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Content.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Content); - } - if (OutputMode != global::Docframe.ProtoDoctypeOutputMode.DoctypeOutputModeNotSet) { - output.WriteRawTag(24); - output.WriteEnum((int) OutputMode); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Content.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Content); - } - if (OutputMode != global::Docframe.ProtoDoctypeOutputMode.DoctypeOutputModeNotSet) { - output.WriteRawTag(24); - output.WriteEnum((int) OutputMode); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); - } - if (OutputMode != global::Docframe.ProtoDoctypeOutputMode.DoctypeOutputModeNotSet) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OutputMode); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoDoctypeScript other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Content.Length != 0) { - Content = other.Content; - } - if (other.OutputMode != global::Docframe.ProtoDoctypeOutputMode.DoctypeOutputModeNotSet) { - OutputMode = other.OutputMode; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Content = input.ReadString(); - break; - } - case 24: { - OutputMode = (global::Docframe.ProtoDoctypeOutputMode) input.ReadEnum(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Content = input.ReadString(); - break; - } - case 24: { - OutputMode = (global::Docframe.ProtoDoctypeOutputMode) input.ReadEnum(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - Uuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoDmScript : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoDmScript()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[104]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDmScript() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDmScript(ProtoDmScript other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - content_ = other.content_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDmScript Clone() { - return new ProtoDmScript(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "content" field. - public const int ContentFieldNumber = 2; - private string content_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } - set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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) { - return Equals(other as ProtoDmScript); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoDmScript other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Content != other.Content) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Content.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Content); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Content.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Content); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoDmScript other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Content.Length != 0) { - Content = other.Content; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Content = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Content = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoDynamicTemplate : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoDynamicTemplate()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[105]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDynamicTemplate() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDynamicTemplate(ProtoDynamicTemplate other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - script_ = other.script_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoDynamicTemplate Clone() { - return new ProtoDynamicTemplate(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "uuid" field. - public const int UuidFieldNumber = 2; - 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"); - } - } - - /// Field number for the "script" field. - public const int ScriptFieldNumber = 3; - private string script_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Script { - get { return script_; } - set { - script_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoDynamicTemplate); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoDynamicTemplate other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if (Script != other.Script) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (Script.Length != 0) hash ^= Script.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Uuid); - } - if (Script.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Script); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Uuid); - } - if (Script.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Script); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (Script.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Script); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoDynamicTemplate other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - if (other.Script.Length != 0) { - Script = other.Script; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Uuid = input.ReadString(); - break; - } - case 26: { - Script = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Uuid = input.ReadString(); - break; - } - case 26: { - Script = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSelection : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSelection()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[106]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSelection() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSelection(ProtoSelection other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - internalName_ = other.internalName_; - name_ = other.name_; - multi_ = other.multi_; - min_ = other.min_; - max_ = other.max_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSelection Clone() { - return new ProtoSelection(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "internalName" field. - public const int InternalNameFieldNumber = 5; - private string internalName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string InternalName { - get { return internalName_; } - set { - internalName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 6; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "multi" field. - public const int MultiFieldNumber = 7; - private bool multi_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Multi { - get { return multi_; } - set { - multi_ = value; - } - } - - /// Field number for the "min" field. - public const int MinFieldNumber = 8; - private ulong min_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Min { - get { return min_; } - set { - min_ = value; - } - } - - /// Field number for the "max" field. - public const int MaxFieldNumber = 9; - private ulong max_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Max { - get { return max_; } - set { - max_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSelection); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSelection other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (InternalName != other.InternalName) return false; - if (Name != other.Name) return false; - if (Multi != other.Multi) return false; - if (Min != other.Min) return false; - if (Max != other.Max) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (InternalName.Length != 0) hash ^= InternalName.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Multi != false) hash ^= Multi.GetHashCode(); - if (Min != 0UL) hash ^= Min.GetHashCode(); - if (Max != 0UL) hash ^= Max.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (InternalName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(InternalName); - } - if (Name.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Name); - } - if (Multi != false) { - output.WriteRawTag(56); - output.WriteBool(Multi); - } - if (Min != 0UL) { - output.WriteRawTag(64); - output.WriteUInt64(Min); - } - if (Max != 0UL) { - output.WriteRawTag(72); - output.WriteUInt64(Max); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (InternalName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(InternalName); - } - if (Name.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Name); - } - if (Multi != false) { - output.WriteRawTag(56); - output.WriteBool(Multi); - } - if (Min != 0UL) { - output.WriteRawTag(64); - output.WriteUInt64(Min); - } - if (Max != 0UL) { - output.WriteRawTag(72); - output.WriteUInt64(Max); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (InternalName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InternalName); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Multi != false) { - size += 1 + 1; - } - if (Min != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Min); - } - if (Max != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Max); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSelection other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.InternalName.Length != 0) { - InternalName = other.InternalName; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Multi != false) { - Multi = other.Multi; - } - if (other.Min != 0UL) { - Min = other.Min; - } - if (other.Max != 0UL) { - Max = other.Max; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - InternalName = input.ReadString(); - break; - } - case 50: { - Name = input.ReadString(); - break; - } - case 56: { - Multi = input.ReadBool(); - break; - } - case 64: { - Min = input.ReadUInt64(); - break; - } - case 72: { - Max = input.ReadUInt64(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - InternalName = input.ReadString(); - break; - } - case 50: { - Name = input.ReadString(); - break; - } - case 56: { - Multi = input.ReadBool(); - break; - } - case 64: { - Min = input.ReadUInt64(); - break; - } - case 72: { - Max = input.ReadUInt64(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoSelectionEntry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSelectionEntry()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[107]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSelectionEntry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSelectionEntry(ProtoSelectionEntry other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - internalName_ = other.internalName_; - name_ = other.name_; - selected_ = other.selected_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoSelectionEntry Clone() { - return new ProtoSelectionEntry(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "internalName" field. - public const int InternalNameFieldNumber = 5; - private string internalName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string InternalName { - get { return internalName_; } - set { - internalName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 6; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "selected" field. - public const int SelectedFieldNumber = 7; - private bool selected_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Selected { - get { return selected_; } - set { - selected_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoSelectionEntry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoSelectionEntry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (InternalName != other.InternalName) return false; - if (Name != other.Name) return false; - if (Selected != other.Selected) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (InternalName.Length != 0) hash ^= InternalName.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Selected != false) hash ^= Selected.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (InternalName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(InternalName); - } - if (Name.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Name); - } - if (Selected != false) { - output.WriteRawTag(56); - output.WriteBool(Selected); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (InternalName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(InternalName); - } - if (Name.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Name); - } - if (Selected != false) { - output.WriteRawTag(56); - output.WriteBool(Selected); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (InternalName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InternalName); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Selected != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoSelectionEntry other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.InternalName.Length != 0) { - InternalName = other.InternalName; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Selected != false) { - Selected = other.Selected; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - InternalName = input.ReadString(); - break; - } - case 50: { - Name = input.ReadString(); - break; - } - case 56: { - Selected = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - InternalName = input.ReadString(); - break; - } - case 50: { - Name = input.ReadString(); - break; - } - case 56: { - Selected = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoCondition : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoCondition()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[108]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCondition() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCondition(ProtoCondition other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - code_ = other.code_; - result_ = other.result_; - regenerate_ = other.regenerate_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoCondition Clone() { - return new ProtoCondition(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "code" field. - public const int CodeFieldNumber = 5; - private string code_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Code { - get { return code_; } - set { - code_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "result" field. - public const int ResultFieldNumber = 6; - private bool result_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Result { - get { return result_; } - set { - result_ = value; - } - } - - /// Field number for the "regenerate" field. - public const int RegenerateFieldNumber = 7; - private bool regenerate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Regenerate { - get { return regenerate_; } - set { - regenerate_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoCondition); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoCondition other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Code != other.Code) return false; - if (Result != other.Result) return false; - if (Regenerate != other.Regenerate) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Code.Length != 0) hash ^= Code.GetHashCode(); - if (Result != false) hash ^= Result.GetHashCode(); - if (Regenerate != false) hash ^= Regenerate.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Code.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Code); - } - if (Result != false) { - output.WriteRawTag(48); - output.WriteBool(Result); - } - if (Regenerate != false) { - output.WriteRawTag(56); - output.WriteBool(Regenerate); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Code.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Code); - } - if (Result != false) { - output.WriteRawTag(48); - output.WriteBool(Result); - } - if (Regenerate != false) { - output.WriteRawTag(56); - output.WriteBool(Regenerate); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Code.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Code); - } - if (Result != false) { - size += 1 + 1; - } - if (Regenerate != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoCondition other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Code.Length != 0) { - Code = other.Code; - } - if (other.Result != false) { - Result = other.Result; - } - if (other.Regenerate != false) { - Regenerate = other.Regenerate; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - Code = input.ReadString(); - break; - } - case 48: { - Result = input.ReadBool(); - break; - } - case 56: { - Regenerate = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - Code = input.ReadString(); - break; - } - case 48: { - Result = input.ReadBool(); - break; - } - case 56: { - Regenerate = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoPageCondition : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoPageCondition()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[109]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPageCondition() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPageCondition(ProtoPageCondition other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - code_ = other.code_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoPageCondition Clone() { - return new ProtoPageCondition(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "code" field. - public const int CodeFieldNumber = 5; - private string code_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Code { - get { return code_; } - set { - code_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoPageCondition); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoPageCondition other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Code != other.Code) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Code.Length != 0) hash ^= Code.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Code.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Code); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Code.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Code); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Code.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Code); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoPageCondition other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Code.Length != 0) { - Code = other.Code; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - Code = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - Code = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoLocale : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoLocale()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[110]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLocale() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLocale(ProtoLocale other) : this() { - Children_ = other.Children_.Clone(); - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - languageUUIDs_ = other.languageUUIDs_.Clone(); - regionUUIDs_ = other.regionUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoLocale Clone() { - return new ProtoLocale(this); - } - - /// Field number for the "_children" field. - public const int ChildrenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_Children_codec - = pb::FieldCodec.ForMessage(10, global::Docframe.ProtoDocumentElement.Parser); - private readonly pbc::RepeatedField Children_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Children { - get { return Children_; } - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 2; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - /// Field number for the "languageUUIDs" field. - public const int LanguageUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_languageUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField languageUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField LanguageUUIDs { - get { return languageUUIDs_; } - } - - /// Field number for the "regionUUIDs" field. - public const int RegionUUIDsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_regionUUIDs_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField regionUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField RegionUUIDs { - get { return regionUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoLocale); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoLocale other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!Children_.Equals(other.Children_)) return false; - if (!object.Equals(Parent, other.Parent)) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if(!languageUUIDs_.Equals(other.languageUUIDs_)) return false; - if(!regionUUIDs_.Equals(other.regionUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= Children_.GetHashCode(); - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - hash ^= languageUUIDs_.GetHashCode(); - hash ^= regionUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - Children_.WriteTo(output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - languageUUIDs_.WriteTo(output, _repeated_languageUUIDs_codec); - regionUUIDs_.WriteTo(output, _repeated_regionUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - Children_.WriteTo(ref output, _repeated_Children_codec); - if (parent_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Parent); - } - if (Uuid.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - languageUUIDs_.WriteTo(ref output, _repeated_languageUUIDs_codec); - regionUUIDs_.WriteTo(ref output, _repeated_regionUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += Children_.CalculateSize(_repeated_Children_codec); - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - size += languageUUIDs_.CalculateSize(_repeated_languageUUIDs_codec); - size += regionUUIDs_.CalculateSize(_repeated_regionUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoLocale other) { - if (other == null) { - return; - } - Children_.Add(other.Children_); - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - languageUUIDs_.Add(other.languageUUIDs_); - regionUUIDs_.Add(other.regionUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Children_.AddEntriesFrom(input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - languageUUIDs_.AddEntriesFrom(input, _repeated_languageUUIDs_codec); - break; - } - case 50: { - regionUUIDs_.AddEntriesFrom(input, _repeated_regionUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Children_.AddEntriesFrom(ref input, _repeated_Children_codec); - break; - } - case 18: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 26: { - Uuid = input.ReadString(); - break; - } - case 34: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 42: { - languageUUIDs_.AddEntriesFrom(ref input, _repeated_languageUUIDs_codec); - break; - } - case 50: { - regionUUIDs_.AddEntriesFrom(ref input, _repeated_regionUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoTag : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTag()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[111]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTag() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTag(ProtoTag other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - name_ = other.name_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - params_ = other.params_.Clone(); - nameCode_ = other.nameCode_; - codeMode_ = other.codeMode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoTag Clone() { - return new ProtoTag(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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"); - } - } - - /// Field number for the "params" field. - public const int ParamsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_params_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField params_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Params { - get { return params_; } - } - - /// Field number for the "nameCode" field. - public const int NameCodeFieldNumber = 6; - private string nameCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NameCode { - get { return nameCode_; } - set { - nameCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "codeMode" field. - public const int CodeModeFieldNumber = 7; - private bool codeMode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool CodeMode { - get { return codeMode_; } - set { - codeMode_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoTag); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoTag other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - 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; - if(!params_.Equals(other.params_)) return false; - if (NameCode != other.NameCode) return false; - if (CodeMode != other.CodeMode) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= params_.GetHashCode(); - if (NameCode.Length != 0) hash ^= NameCode.GetHashCode(); - if (CodeMode != false) hash ^= CodeMode.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - params_.WriteTo(output, _repeated_params_codec); - if (NameCode.Length != 0) { - output.WriteRawTag(50); - output.WriteString(NameCode); - } - if (CodeMode != false) { - output.WriteRawTag(56); - output.WriteBool(CodeMode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - params_.WriteTo(ref output, _repeated_params_codec); - if (NameCode.Length != 0) { - output.WriteRawTag(50); - output.WriteString(NameCode); - } - if (CodeMode != false) { - output.WriteRawTag(56); - output.WriteBool(CodeMode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += params_.CalculateSize(_repeated_params_codec); - if (NameCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NameCode); - } - if (CodeMode != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoTag other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Name.Length != 0) { - Name = other.Name; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - params_.Add(other.params_); - if (other.NameCode.Length != 0) { - NameCode = other.NameCode; - } - if (other.CodeMode != false) { - CodeMode = other.CodeMode; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 42: { - params_.AddEntriesFrom(input, _repeated_params_codec); - break; - } - case 50: { - NameCode = input.ReadString(); - break; - } - case 56: { - CodeMode = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 42: { - params_.AddEntriesFrom(ref input, _repeated_params_codec); - break; - } - case 50: { - NameCode = input.ReadString(); - break; - } - case 56: { - CodeMode = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoParagraphSetDefault : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoParagraphSetDefault()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[112]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraphSetDefault() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraphSetDefault(ProtoParagraphSetDefault other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - name_ = other.name_; - paragraphFormatUUID_ = other.paragraphFormatUUID_; - uuid_ = other.uuid_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoParagraphSetDefault Clone() { - return new ProtoParagraphSetDefault(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "paragraphFormatUUID" field. - public const int ParagraphFormatUUIDFieldNumber = 3; - private string paragraphFormatUUID_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParagraphFormatUUID { - get { return paragraphFormatUUID_; } - set { - paragraphFormatUUID_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// 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"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - get { return comChannelUUIDs_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProtoParagraphSetDefault); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoParagraphSetDefault other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (Name != other.Name) return false; - if (ParagraphFormatUUID != other.ParagraphFormatUUID) return false; - if (Uuid != other.Uuid) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (ParagraphFormatUUID.Length != 0) hash ^= ParagraphFormatUUID.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (ParagraphFormatUUID.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ParagraphFormatUUID); - } - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (ParagraphFormatUUID.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ParagraphFormatUUID); - } - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (ParagraphFormatUUID.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParagraphFormatUUID); - } - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoParagraphSetDefault other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.ParagraphFormatUUID.Length != 0) { - ParagraphFormatUUID = other.ParagraphFormatUUID; - } - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - ParagraphFormatUUID = input.ReadString(); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - ParagraphFormatUUID = input.ReadString(); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - case 42: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoInputFieldText : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoInputFieldText()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[113]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldText() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldText(ProtoInputFieldText other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - base_ = other.base_ != null ? other.base_.Clone() : null; - pdfPrintingBehavior_ = other.pdfPrintingBehavior_; - pdfSize_ = other.pdfSize_ != null ? other.pdfSize_.Clone() : null; - pdfFormName_ = other.pdfFormName_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldText Clone() { - return new ProtoInputFieldText(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "base" field. - public const int BaseFieldNumber = 2; - private global::Docframe.ProtoBaseInputField base_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBaseInputField Base { - get { return base_; } - set { - base_ = value; - } - } - - /// Field number for the "pdf_printing_behavior" field. - public const int PdfPrintingBehaviorFieldNumber = 3; - private global::Docframe.PDFPrintingBehavior pdfPrintingBehavior_ = global::Docframe.PDFPrintingBehavior.Input; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.PDFPrintingBehavior PdfPrintingBehavior { - get { return pdfPrintingBehavior_; } - set { - pdfPrintingBehavior_ = value; - } - } - - /// Field number for the "pdf_size" field. - public const int PdfSizeFieldNumber = 4; - private global::Docframe.ProtoBoxedMeasure pdfSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBoxedMeasure PdfSize { - get { return pdfSize_; } - set { - pdfSize_ = value; - } - } - - /// Field number for the "pdf_form_name" field. - public const int PdfFormNameFieldNumber = 5; - private string pdfFormName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PdfFormName { - get { return pdfFormName_; } - set { - pdfFormName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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) { - return Equals(other as ProtoInputFieldText); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoInputFieldText other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Base, other.Base)) return false; - if (PdfPrintingBehavior != other.PdfPrintingBehavior) return false; - if (!object.Equals(PdfSize, other.PdfSize)) return false; - if (PdfFormName != other.PdfFormName) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (base_ != null) hash ^= Base.GetHashCode(); - if (PdfPrintingBehavior != global::Docframe.PDFPrintingBehavior.Input) hash ^= PdfPrintingBehavior.GetHashCode(); - if (pdfSize_ != null) hash ^= PdfSize.GetHashCode(); - if (PdfFormName.Length != 0) hash ^= PdfFormName.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - if (PdfPrintingBehavior != global::Docframe.PDFPrintingBehavior.Input) { - output.WriteRawTag(24); - output.WriteEnum((int) PdfPrintingBehavior); - } - if (pdfSize_ != null) { - output.WriteRawTag(34); - output.WriteMessage(PdfSize); - } - if (PdfFormName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PdfFormName); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - if (PdfPrintingBehavior != global::Docframe.PDFPrintingBehavior.Input) { - output.WriteRawTag(24); - output.WriteEnum((int) PdfPrintingBehavior); - } - if (pdfSize_ != null) { - output.WriteRawTag(34); - output.WriteMessage(PdfSize); - } - if (PdfFormName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PdfFormName); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (base_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Base); - } - if (PdfPrintingBehavior != global::Docframe.PDFPrintingBehavior.Input) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PdfPrintingBehavior); - } - if (pdfSize_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PdfSize); - } - if (PdfFormName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PdfFormName); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoInputFieldText other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.base_ != null) { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - Base.MergeFrom(other.Base); - } - if (other.PdfPrintingBehavior != global::Docframe.PDFPrintingBehavior.Input) { - PdfPrintingBehavior = other.PdfPrintingBehavior; - } - if (other.pdfSize_ != null) { - if (pdfSize_ == null) { - PdfSize = new global::Docframe.ProtoBoxedMeasure(); - } - PdfSize.MergeFrom(other.PdfSize); - } - if (other.PdfFormName.Length != 0) { - PdfFormName = other.PdfFormName; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 24: { - PdfPrintingBehavior = (global::Docframe.PDFPrintingBehavior) input.ReadEnum(); - break; - } - case 34: { - if (pdfSize_ == null) { - PdfSize = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(PdfSize); - break; - } - case 42: { - PdfFormName = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 58: { - Uuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 24: { - PdfPrintingBehavior = (global::Docframe.PDFPrintingBehavior) input.ReadEnum(); - break; - } - case 34: { - if (pdfSize_ == null) { - PdfSize = new global::Docframe.ProtoBoxedMeasure(); - } - input.ReadMessage(PdfSize); - break; - } - case 42: { - PdfFormName = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 58: { - Uuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoInputFieldDate : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoInputFieldDate()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[114]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldDate() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldDate(ProtoInputFieldDate other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - base_ = other.base_ != null ? other.base_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldDate Clone() { - return new ProtoInputFieldDate(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "base" field. - public const int BaseFieldNumber = 2; - private global::Docframe.ProtoBaseInputField base_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBaseInputField Base { - get { return base_; } - set { - base_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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) { - return Equals(other as ProtoInputFieldDate); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoInputFieldDate other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Base, other.Base)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (base_ != null) hash ^= Base.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (base_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Base); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoInputFieldDate other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.base_ != null) { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - Base.MergeFrom(other.Base); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoInputFieldCheckbox : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoInputFieldCheckbox()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[115]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldCheckbox() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldCheckbox(ProtoInputFieldCheckbox other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - base_ = other.base_ != null ? other.base_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldCheckbox Clone() { - return new ProtoInputFieldCheckbox(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "base" field. - public const int BaseFieldNumber = 2; - private global::Docframe.ProtoBaseInputField base_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBaseInputField Base { - get { return base_; } - set { - base_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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) { - return Equals(other as ProtoInputFieldCheckbox); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoInputFieldCheckbox other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Base, other.Base)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (base_ != null) hash ^= Base.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (base_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Base); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoInputFieldCheckbox other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.base_ != null) { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - Base.MergeFrom(other.Base); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoInputFieldLabel : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoInputFieldLabel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[116]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldLabel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldLabel(ProtoInputFieldLabel other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - base_ = other.base_ != null ? other.base_.Clone() : null; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldLabel Clone() { - return new ProtoInputFieldLabel(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "base" field. - public const int BaseFieldNumber = 2; - private global::Docframe.ProtoBaseInputField base_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBaseInputField Base { - get { return base_; } - set { - base_ = value; - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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) { - return Equals(other as ProtoInputFieldLabel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoInputFieldLabel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Base, other.Base)) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (base_ != null) hash ^= Base.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (base_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Base); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoInputFieldLabel other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.base_ != null) { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - Base.MergeFrom(other.Base); - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 26: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 34: { - Uuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProtoInputFieldDropdown : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoInputFieldDropdown()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Docframe.DocframeReflection.Descriptor.MessageTypes[117]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldDropdown() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldDropdown(ProtoInputFieldDropdown other) : this() { - parent_ = other.parent_ != null ? other.parent_.Clone() : null; - base_ = other.base_ != null ? other.base_.Clone() : null; - options_ = other.options_.Clone(); - bindOptionsCode_ = other.bindOptionsCode_; - optionsCode_ = other.optionsCode_; - comChannelUUIDs_ = other.comChannelUUIDs_.Clone(); - uuid_ = other.uuid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProtoInputFieldDropdown Clone() { - return new ProtoInputFieldDropdown(this); - } - - /// Field number for the "parent" field. - public const int ParentFieldNumber = 1; - private global::Docframe.ProtoDocumentElement parent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoDocumentElement Parent { - get { return parent_; } - set { - parent_ = value; - } - } - - /// Field number for the "base" field. - public const int BaseFieldNumber = 2; - private global::Docframe.ProtoBaseInputField base_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Docframe.ProtoBaseInputField Base { - get { return base_; } - set { - base_ = value; - } - } - - /// Field number for the "options" field. - public const int OptionsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_options_codec - = pb::FieldCodec.ForMessage(26, global::Docframe.ProtoOption.Parser); - private readonly pbc::RepeatedField options_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Options { - get { return options_; } - } - - /// Field number for the "bindOptionsCode" field. - public const int BindOptionsCodeFieldNumber = 4; - private bool bindOptionsCode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool BindOptionsCode { - get { return bindOptionsCode_; } - set { - bindOptionsCode_ = value; - } - } - - /// Field number for the "optionsCode" field. - public const int OptionsCodeFieldNumber = 5; - private string optionsCode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OptionsCode { - get { return optionsCode_; } - set { - optionsCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "comChannelUUIDs" field. - public const int ComChannelUUIDsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_comChannelUUIDs_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField comChannelUUIDs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ComChannelUUIDs { - 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) { - return Equals(other as ProtoInputFieldDropdown); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProtoInputFieldDropdown other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Parent, other.Parent)) return false; - if (!object.Equals(Base, other.Base)) return false; - if(!options_.Equals(other.options_)) return false; - if (BindOptionsCode != other.BindOptionsCode) return false; - if (OptionsCode != other.OptionsCode) return false; - if(!comChannelUUIDs_.Equals(other.comChannelUUIDs_)) return false; - if (Uuid != other.Uuid) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (parent_ != null) hash ^= Parent.GetHashCode(); - if (base_ != null) hash ^= Base.GetHashCode(); - hash ^= options_.GetHashCode(); - if (BindOptionsCode != false) hash ^= BindOptionsCode.GetHashCode(); - if (OptionsCode.Length != 0) hash ^= OptionsCode.GetHashCode(); - hash ^= comChannelUUIDs_.GetHashCode(); - if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - options_.WriteTo(output, _repeated_options_codec); - if (BindOptionsCode != false) { - output.WriteRawTag(32); - output.WriteBool(BindOptionsCode); - } - if (OptionsCode.Length != 0) { - output.WriteRawTag(42); - output.WriteString(OptionsCode); - } - comChannelUUIDs_.WriteTo(output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (parent_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Parent); - } - if (base_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Base); - } - options_.WriteTo(ref output, _repeated_options_codec); - if (BindOptionsCode != false) { - output.WriteRawTag(32); - output.WriteBool(BindOptionsCode); - } - if (OptionsCode.Length != 0) { - output.WriteRawTag(42); - output.WriteString(OptionsCode); - } - comChannelUUIDs_.WriteTo(ref output, _repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Uuid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } - if (base_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Base); - } - size += options_.CalculateSize(_repeated_options_codec); - if (BindOptionsCode != false) { - size += 1 + 1; - } - if (OptionsCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionsCode); - } - size += comChannelUUIDs_.CalculateSize(_repeated_comChannelUUIDs_codec); - if (Uuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProtoInputFieldDropdown other) { - if (other == null) { - return; - } - if (other.parent_ != null) { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - Parent.MergeFrom(other.Parent); - } - if (other.base_ != null) { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - Base.MergeFrom(other.Base); - } - options_.Add(other.options_); - if (other.BindOptionsCode != false) { - BindOptionsCode = other.BindOptionsCode; - } - if (other.OptionsCode.Length != 0) { - OptionsCode = other.OptionsCode; - } - comChannelUUIDs_.Add(other.comChannelUUIDs_); - if (other.Uuid.Length != 0) { - Uuid = other.Uuid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 26: { - options_.AddEntriesFrom(input, _repeated_options_codec); - break; - } - case 32: { - BindOptionsCode = input.ReadBool(); - break; - } - case 42: { - OptionsCode = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(input, _repeated_comChannelUUIDs_codec); - break; - } - case 58: { - Uuid = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (parent_ == null) { - Parent = new global::Docframe.ProtoDocumentElement(); - } - input.ReadMessage(Parent); - break; - } - case 18: { - if (base_ == null) { - Base = new global::Docframe.ProtoBaseInputField(); - } - input.ReadMessage(Base); - break; - } - case 26: { - options_.AddEntriesFrom(ref input, _repeated_options_codec); - break; - } - case 32: { - BindOptionsCode = input.ReadBool(); - break; - } - case 42: { - OptionsCode = input.ReadString(); - break; - } - case 50: { - comChannelUUIDs_.AddEntriesFrom(ref input, _repeated_comChannelUUIDs_codec); - break; - } - case 58: { - Uuid = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/build/Docframe.d.ts b/build/Docframe.d.ts deleted file mode 100644 index 1d748cf..0000000 --- a/build/Docframe.d.ts +++ /dev/null @@ -1,15760 +0,0 @@ -import * as $protobuf from "protobufjs"; -import Long = require("long"); -/** Properties of a ProtoBoxedBool. */ -export interface IProtoBoxedBool { - - /** ProtoBoxedBool value */ - value?: (boolean|null); - - /** ProtoBoxedBool isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedBool. */ -export class ProtoBoxedBool implements IProtoBoxedBool { - - /** - * Constructs a new ProtoBoxedBool. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedBool); - - /** ProtoBoxedBool value. */ - public value: boolean; - - /** ProtoBoxedBool isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedBool instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedBool instance - */ - public static create(properties?: IProtoBoxedBool): ProtoBoxedBool; - - /** - * Encodes the specified ProtoBoxedBool message. Does not implicitly {@link ProtoBoxedBool.verify|verify} messages. - * @param message ProtoBoxedBool message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedBool, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedBool message, length delimited. Does not implicitly {@link ProtoBoxedBool.verify|verify} messages. - * @param message ProtoBoxedBool message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedBool, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedBool message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedBool - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedBool; - - /** - * Decodes a ProtoBoxedBool message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedBool - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedBool; - - /** - * Verifies a ProtoBoxedBool message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedBool message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedBool - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedBool; - - /** - * Creates a plain object from a ProtoBoxedBool message. Also converts values to other types if specified. - * @param message ProtoBoxedBool - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedBool, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedBool to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedBool - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedDouble. */ -export interface IProtoBoxedDouble { - - /** ProtoBoxedDouble value */ - value?: (number|null); - - /** ProtoBoxedDouble isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedDouble. */ -export class ProtoBoxedDouble implements IProtoBoxedDouble { - - /** - * Constructs a new ProtoBoxedDouble. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedDouble); - - /** ProtoBoxedDouble value. */ - public value: number; - - /** ProtoBoxedDouble isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedDouble instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedDouble instance - */ - public static create(properties?: IProtoBoxedDouble): ProtoBoxedDouble; - - /** - * Encodes the specified ProtoBoxedDouble message. Does not implicitly {@link ProtoBoxedDouble.verify|verify} messages. - * @param message ProtoBoxedDouble message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedDouble, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedDouble message, length delimited. Does not implicitly {@link ProtoBoxedDouble.verify|verify} messages. - * @param message ProtoBoxedDouble message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedDouble, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedDouble message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedDouble - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedDouble; - - /** - * Decodes a ProtoBoxedDouble message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedDouble - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedDouble; - - /** - * Verifies a ProtoBoxedDouble message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedDouble message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedDouble - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedDouble; - - /** - * Creates a plain object from a ProtoBoxedDouble message. Also converts values to other types if specified. - * @param message ProtoBoxedDouble - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedDouble, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedDouble to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedDouble - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedInt32. */ -export interface IProtoBoxedInt32 { - - /** ProtoBoxedInt32 value */ - value?: (number|null); - - /** ProtoBoxedInt32 isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedInt32. */ -export class ProtoBoxedInt32 implements IProtoBoxedInt32 { - - /** - * Constructs a new ProtoBoxedInt32. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedInt32); - - /** ProtoBoxedInt32 value. */ - public value: number; - - /** ProtoBoxedInt32 isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedInt32 instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedInt32 instance - */ - public static create(properties?: IProtoBoxedInt32): ProtoBoxedInt32; - - /** - * Encodes the specified ProtoBoxedInt32 message. Does not implicitly {@link ProtoBoxedInt32.verify|verify} messages. - * @param message ProtoBoxedInt32 message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedInt32, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedInt32 message, length delimited. Does not implicitly {@link ProtoBoxedInt32.verify|verify} messages. - * @param message ProtoBoxedInt32 message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedInt32, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedInt32 message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedInt32 - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedInt32; - - /** - * Decodes a ProtoBoxedInt32 message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedInt32 - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedInt32; - - /** - * Verifies a ProtoBoxedInt32 message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedInt32 message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedInt32 - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedInt32; - - /** - * Creates a plain object from a ProtoBoxedInt32 message. Also converts values to other types if specified. - * @param message ProtoBoxedInt32 - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedInt32, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedInt32 to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedInt32 - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedUint32. */ -export interface IProtoBoxedUint32 { - - /** ProtoBoxedUint32 value */ - value?: (number|null); - - /** ProtoBoxedUint32 isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedUint32. */ -export class ProtoBoxedUint32 implements IProtoBoxedUint32 { - - /** - * Constructs a new ProtoBoxedUint32. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedUint32); - - /** ProtoBoxedUint32 value. */ - public value: number; - - /** ProtoBoxedUint32 isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedUint32 instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedUint32 instance - */ - public static create(properties?: IProtoBoxedUint32): ProtoBoxedUint32; - - /** - * Encodes the specified ProtoBoxedUint32 message. Does not implicitly {@link ProtoBoxedUint32.verify|verify} messages. - * @param message ProtoBoxedUint32 message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedUint32, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedUint32 message, length delimited. Does not implicitly {@link ProtoBoxedUint32.verify|verify} messages. - * @param message ProtoBoxedUint32 message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedUint32, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedUint32 message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedUint32 - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedUint32; - - /** - * Decodes a ProtoBoxedUint32 message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedUint32 - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedUint32; - - /** - * Verifies a ProtoBoxedUint32 message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedUint32 message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedUint32 - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedUint32; - - /** - * Creates a plain object from a ProtoBoxedUint32 message. Also converts values to other types if specified. - * @param message ProtoBoxedUint32 - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedUint32, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedUint32 to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedUint32 - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedString. */ -export interface IProtoBoxedString { - - /** ProtoBoxedString value */ - value?: (string|null); - - /** ProtoBoxedString isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedString. */ -export class ProtoBoxedString implements IProtoBoxedString { - - /** - * Constructs a new ProtoBoxedString. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedString); - - /** ProtoBoxedString value. */ - public value: string; - - /** ProtoBoxedString isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedString instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedString instance - */ - public static create(properties?: IProtoBoxedString): ProtoBoxedString; - - /** - * Encodes the specified ProtoBoxedString message. Does not implicitly {@link ProtoBoxedString.verify|verify} messages. - * @param message ProtoBoxedString message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedString, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedString message, length delimited. Does not implicitly {@link ProtoBoxedString.verify|verify} messages. - * @param message ProtoBoxedString message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedString, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedString message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedString; - - /** - * Decodes a ProtoBoxedString message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedString; - - /** - * Verifies a ProtoBoxedString message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedString message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedString - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedString; - - /** - * Creates a plain object from a ProtoBoxedString message. Also converts values to other types if specified. - * @param message ProtoBoxedString - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedString, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedString to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedString - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoSPBMode enum. */ -export enum ProtoSPBMode { - NONE = 0, - SUPERSCRIPT = 1, - SUBSCRIPT = 2 -} - -/** Properties of a ProtoBoxedSPBMode. */ -export interface IProtoBoxedSPBMode { - - /** ProtoBoxedSPBMode value */ - value?: (ProtoSPBMode|null); - - /** ProtoBoxedSPBMode isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedSPBMode. */ -export class ProtoBoxedSPBMode implements IProtoBoxedSPBMode { - - /** - * Constructs a new ProtoBoxedSPBMode. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedSPBMode); - - /** ProtoBoxedSPBMode value. */ - public value: ProtoSPBMode; - - /** ProtoBoxedSPBMode isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedSPBMode instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedSPBMode instance - */ - public static create(properties?: IProtoBoxedSPBMode): ProtoBoxedSPBMode; - - /** - * Encodes the specified ProtoBoxedSPBMode message. Does not implicitly {@link ProtoBoxedSPBMode.verify|verify} messages. - * @param message ProtoBoxedSPBMode message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedSPBMode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedSPBMode message, length delimited. Does not implicitly {@link ProtoBoxedSPBMode.verify|verify} messages. - * @param message ProtoBoxedSPBMode message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedSPBMode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedSPBMode message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedSPBMode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedSPBMode; - - /** - * Decodes a ProtoBoxedSPBMode message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedSPBMode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedSPBMode; - - /** - * Verifies a ProtoBoxedSPBMode message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedSPBMode message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedSPBMode - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedSPBMode; - - /** - * Creates a plain object from a ProtoBoxedSPBMode message. Also converts values to other types if specified. - * @param message ProtoBoxedSPBMode - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedSPBMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedSPBMode to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedSPBMode - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoRuleStyle enum. */ -export enum ProtoRuleStyle { - DUMMY_RULE_STYLE = 0, - SOLID = 1, - SPARSE_SHADING = 2, - MEDIUM_SHADING = 3, - DENSE_SHADING = 4, - LIGHT_DOTTED = 5, - MEDIUM_DOTTED = 6, - HEAVY_DOTTED = 7, - LIGHT_DASHED = 8, - MEDIUM_DASHED = 9, - HEAVY_DASHED = 10, - DASH_PATTERN = 11, - DOUBLE = 254 -} - -/** Properties of a ProtoStrikethroughSpec. */ -export interface IProtoStrikethroughSpec { - - /** ProtoStrikethroughSpec weight */ - weight?: (IProtoMeasure|null); - - /** ProtoStrikethroughSpec mode */ - mode?: (ProtoUnderlineMode|null); - - /** ProtoStrikethroughSpec color */ - color?: (IProtoColor|null); - - /** ProtoStrikethroughSpec offsetEm */ - offsetEm?: (number|null); - - /** ProtoStrikethroughSpec style */ - style?: (ProtoRuleStyle|null); -} - -/** Represents a ProtoStrikethroughSpec. */ -export class ProtoStrikethroughSpec implements IProtoStrikethroughSpec { - - /** - * Constructs a new ProtoStrikethroughSpec. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoStrikethroughSpec); - - /** ProtoStrikethroughSpec weight. */ - public weight?: (IProtoMeasure|null); - - /** ProtoStrikethroughSpec mode. */ - public mode: ProtoUnderlineMode; - - /** ProtoStrikethroughSpec color. */ - public color?: (IProtoColor|null); - - /** ProtoStrikethroughSpec offsetEm. */ - public offsetEm: number; - - /** ProtoStrikethroughSpec style. */ - public style: ProtoRuleStyle; - - /** - * Creates a new ProtoStrikethroughSpec instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoStrikethroughSpec instance - */ - public static create(properties?: IProtoStrikethroughSpec): ProtoStrikethroughSpec; - - /** - * Encodes the specified ProtoStrikethroughSpec message. Does not implicitly {@link ProtoStrikethroughSpec.verify|verify} messages. - * @param message ProtoStrikethroughSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoStrikethroughSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoStrikethroughSpec message, length delimited. Does not implicitly {@link ProtoStrikethroughSpec.verify|verify} messages. - * @param message ProtoStrikethroughSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoStrikethroughSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoStrikethroughSpec message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoStrikethroughSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoStrikethroughSpec; - - /** - * Decodes a ProtoStrikethroughSpec message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoStrikethroughSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoStrikethroughSpec; - - /** - * Verifies a ProtoStrikethroughSpec message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoStrikethroughSpec message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoStrikethroughSpec - */ - public static fromObject(object: { [k: string]: any }): ProtoStrikethroughSpec; - - /** - * Creates a plain object from a ProtoStrikethroughSpec message. Also converts values to other types if specified. - * @param message ProtoStrikethroughSpec - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoStrikethroughSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoStrikethroughSpec to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoStrikethroughSpec - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedStrikethroughSpec. */ -export interface IProtoBoxedStrikethroughSpec { - - /** ProtoBoxedStrikethroughSpec value */ - value?: (IProtoStrikethroughSpec|null); - - /** ProtoBoxedStrikethroughSpec isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedStrikethroughSpec. */ -export class ProtoBoxedStrikethroughSpec implements IProtoBoxedStrikethroughSpec { - - /** - * Constructs a new ProtoBoxedStrikethroughSpec. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedStrikethroughSpec); - - /** ProtoBoxedStrikethroughSpec value. */ - public value?: (IProtoStrikethroughSpec|null); - - /** ProtoBoxedStrikethroughSpec isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedStrikethroughSpec instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedStrikethroughSpec instance - */ - public static create(properties?: IProtoBoxedStrikethroughSpec): ProtoBoxedStrikethroughSpec; - - /** - * Encodes the specified ProtoBoxedStrikethroughSpec message. Does not implicitly {@link ProtoBoxedStrikethroughSpec.verify|verify} messages. - * @param message ProtoBoxedStrikethroughSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedStrikethroughSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedStrikethroughSpec message, length delimited. Does not implicitly {@link ProtoBoxedStrikethroughSpec.verify|verify} messages. - * @param message ProtoBoxedStrikethroughSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedStrikethroughSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedStrikethroughSpec message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedStrikethroughSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedStrikethroughSpec; - - /** - * Decodes a ProtoBoxedStrikethroughSpec message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedStrikethroughSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedStrikethroughSpec; - - /** - * Verifies a ProtoBoxedStrikethroughSpec message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedStrikethroughSpec message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedStrikethroughSpec - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedStrikethroughSpec; - - /** - * Creates a plain object from a ProtoBoxedStrikethroughSpec message. Also converts values to other types if specified. - * @param message ProtoBoxedStrikethroughSpec - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedStrikethroughSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedStrikethroughSpec to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedStrikethroughSpec - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoMeasureType enum. */ -export enum ProtoMeasureType { - PT = 0, - CM = 1, - MM = 2, - IN = 3, - PERCENT = 4, - PX = 5 -} - -/** Properties of a ProtoMeasure. */ -export interface IProtoMeasure { - - /** ProtoMeasure value */ - value?: (number|null); - - /** ProtoMeasure mtype */ - mtype?: (ProtoMeasureType|null); -} - -/** Represents a ProtoMeasure. */ -export class ProtoMeasure implements IProtoMeasure { - - /** - * Constructs a new ProtoMeasure. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoMeasure); - - /** ProtoMeasure value. */ - public value: number; - - /** ProtoMeasure mtype. */ - public mtype: ProtoMeasureType; - - /** - * Creates a new ProtoMeasure instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoMeasure instance - */ - public static create(properties?: IProtoMeasure): ProtoMeasure; - - /** - * Encodes the specified ProtoMeasure message. Does not implicitly {@link ProtoMeasure.verify|verify} messages. - * @param message ProtoMeasure message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoMeasure, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoMeasure message, length delimited. Does not implicitly {@link ProtoMeasure.verify|verify} messages. - * @param message ProtoMeasure message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoMeasure, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoMeasure message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoMeasure - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMeasure; - - /** - * Decodes a ProtoMeasure message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoMeasure - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMeasure; - - /** - * Verifies a ProtoMeasure message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoMeasure message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoMeasure - */ - public static fromObject(object: { [k: string]: any }): ProtoMeasure; - - /** - * Creates a plain object from a ProtoMeasure message. Also converts values to other types if specified. - * @param message ProtoMeasure - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoMeasure, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoMeasure to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoMeasure - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedMeasure. */ -export interface IProtoBoxedMeasure { - - /** ProtoBoxedMeasure value */ - value?: (IProtoMeasure|null); - - /** ProtoBoxedMeasure isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedMeasure. */ -export class ProtoBoxedMeasure implements IProtoBoxedMeasure { - - /** - * Constructs a new ProtoBoxedMeasure. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedMeasure); - - /** ProtoBoxedMeasure value. */ - public value?: (IProtoMeasure|null); - - /** ProtoBoxedMeasure isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedMeasure instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedMeasure instance - */ - public static create(properties?: IProtoBoxedMeasure): ProtoBoxedMeasure; - - /** - * Encodes the specified ProtoBoxedMeasure message. Does not implicitly {@link ProtoBoxedMeasure.verify|verify} messages. - * @param message ProtoBoxedMeasure message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedMeasure, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedMeasure message, length delimited. Does not implicitly {@link ProtoBoxedMeasure.verify|verify} messages. - * @param message ProtoBoxedMeasure message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedMeasure, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedMeasure message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedMeasure - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedMeasure; - - /** - * Decodes a ProtoBoxedMeasure message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedMeasure - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedMeasure; - - /** - * Verifies a ProtoBoxedMeasure message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedMeasure message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedMeasure - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedMeasure; - - /** - * Creates a plain object from a ProtoBoxedMeasure message. Also converts values to other types if specified. - * @param message ProtoBoxedMeasure - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedMeasure, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedMeasure to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedMeasure - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSideMeasures. */ -export interface IProtoSideMeasures { - - /** ProtoSideMeasures top */ - top?: (IProtoMeasure|null); - - /** ProtoSideMeasures right */ - right?: (IProtoMeasure|null); - - /** ProtoSideMeasures bottom */ - bottom?: (IProtoMeasure|null); - - /** ProtoSideMeasures left */ - left?: (IProtoMeasure|null); -} - -/** Represents a ProtoSideMeasures. */ -export class ProtoSideMeasures implements IProtoSideMeasures { - - /** - * Constructs a new ProtoSideMeasures. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSideMeasures); - - /** ProtoSideMeasures top. */ - public top?: (IProtoMeasure|null); - - /** ProtoSideMeasures right. */ - public right?: (IProtoMeasure|null); - - /** ProtoSideMeasures bottom. */ - public bottom?: (IProtoMeasure|null); - - /** ProtoSideMeasures left. */ - public left?: (IProtoMeasure|null); - - /** - * Creates a new ProtoSideMeasures instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSideMeasures instance - */ - public static create(properties?: IProtoSideMeasures): ProtoSideMeasures; - - /** - * Encodes the specified ProtoSideMeasures message. Does not implicitly {@link ProtoSideMeasures.verify|verify} messages. - * @param message ProtoSideMeasures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSideMeasures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSideMeasures message, length delimited. Does not implicitly {@link ProtoSideMeasures.verify|verify} messages. - * @param message ProtoSideMeasures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSideMeasures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSideMeasures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSideMeasures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSideMeasures; - - /** - * Decodes a ProtoSideMeasures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSideMeasures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSideMeasures; - - /** - * Verifies a ProtoSideMeasures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSideMeasures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSideMeasures - */ - public static fromObject(object: { [k: string]: any }): ProtoSideMeasures; - - /** - * Creates a plain object from a ProtoSideMeasures message. Also converts values to other types if specified. - * @param message ProtoSideMeasures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSideMeasures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSideMeasures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSideMeasures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoAdvancedIllustrationAreaTextFlowType enum. */ -export enum ProtoAdvancedIllustrationAreaTextFlowType { - DO_NOT_USE_AT_ALL = 0, - AROUND = 1, - NO_FLOW = 2, - FOREGROUND = 3, - BACKGROUND = 4 -} - -/** Properties of a ProtoBoxedAdvancedIllustrationAreaTextFlowType. */ -export interface IProtoBoxedAdvancedIllustrationAreaTextFlowType { - - /** ProtoBoxedAdvancedIllustrationAreaTextFlowType value */ - value?: (ProtoAdvancedIllustrationAreaTextFlowType|null); - - /** ProtoBoxedAdvancedIllustrationAreaTextFlowType isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedAdvancedIllustrationAreaTextFlowType. */ -export class ProtoBoxedAdvancedIllustrationAreaTextFlowType implements IProtoBoxedAdvancedIllustrationAreaTextFlowType { - - /** - * Constructs a new ProtoBoxedAdvancedIllustrationAreaTextFlowType. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedAdvancedIllustrationAreaTextFlowType); - - /** ProtoBoxedAdvancedIllustrationAreaTextFlowType value. */ - public value: ProtoAdvancedIllustrationAreaTextFlowType; - - /** ProtoBoxedAdvancedIllustrationAreaTextFlowType isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedAdvancedIllustrationAreaTextFlowType instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedAdvancedIllustrationAreaTextFlowType instance - */ - public static create(properties?: IProtoBoxedAdvancedIllustrationAreaTextFlowType): ProtoBoxedAdvancedIllustrationAreaTextFlowType; - - /** - * Encodes the specified ProtoBoxedAdvancedIllustrationAreaTextFlowType message. Does not implicitly {@link ProtoBoxedAdvancedIllustrationAreaTextFlowType.verify|verify} messages. - * @param message ProtoBoxedAdvancedIllustrationAreaTextFlowType message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedAdvancedIllustrationAreaTextFlowType, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedAdvancedIllustrationAreaTextFlowType message, length delimited. Does not implicitly {@link ProtoBoxedAdvancedIllustrationAreaTextFlowType.verify|verify} messages. - * @param message ProtoBoxedAdvancedIllustrationAreaTextFlowType message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedAdvancedIllustrationAreaTextFlowType, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedAdvancedIllustrationAreaTextFlowType message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedAdvancedIllustrationAreaTextFlowType; - - /** - * Decodes a ProtoBoxedAdvancedIllustrationAreaTextFlowType message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedAdvancedIllustrationAreaTextFlowType; - - /** - * Verifies a ProtoBoxedAdvancedIllustrationAreaTextFlowType message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedAdvancedIllustrationAreaTextFlowType message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedAdvancedIllustrationAreaTextFlowType - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedAdvancedIllustrationAreaTextFlowType; - - /** - * Creates a plain object from a ProtoBoxedAdvancedIllustrationAreaTextFlowType message. Also converts values to other types if specified. - * @param message ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedAdvancedIllustrationAreaTextFlowType, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedAdvancedIllustrationAreaTextFlowType to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoAdvancedIllustrationAreaImageSettings. */ -export interface IProtoAdvancedIllustrationAreaImageSettings { - - /** ProtoAdvancedIllustrationAreaImageSettings textFlow */ - textFlow?: (IProtoBoxedAdvancedIllustrationAreaTextFlowType|null); - - /** ProtoAdvancedIllustrationAreaImageSettings margin */ - margin?: (IProtoSideMeasures|null); -} - -/** Represents a ProtoAdvancedIllustrationAreaImageSettings. */ -export class ProtoAdvancedIllustrationAreaImageSettings implements IProtoAdvancedIllustrationAreaImageSettings { - - /** - * Constructs a new ProtoAdvancedIllustrationAreaImageSettings. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoAdvancedIllustrationAreaImageSettings); - - /** ProtoAdvancedIllustrationAreaImageSettings textFlow. */ - public textFlow?: (IProtoBoxedAdvancedIllustrationAreaTextFlowType|null); - - /** ProtoAdvancedIllustrationAreaImageSettings margin. */ - public margin?: (IProtoSideMeasures|null); - - /** - * Creates a new ProtoAdvancedIllustrationAreaImageSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoAdvancedIllustrationAreaImageSettings instance - */ - public static create(properties?: IProtoAdvancedIllustrationAreaImageSettings): ProtoAdvancedIllustrationAreaImageSettings; - - /** - * Encodes the specified ProtoAdvancedIllustrationAreaImageSettings message. Does not implicitly {@link ProtoAdvancedIllustrationAreaImageSettings.verify|verify} messages. - * @param message ProtoAdvancedIllustrationAreaImageSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoAdvancedIllustrationAreaImageSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoAdvancedIllustrationAreaImageSettings message, length delimited. Does not implicitly {@link ProtoAdvancedIllustrationAreaImageSettings.verify|verify} messages. - * @param message ProtoAdvancedIllustrationAreaImageSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoAdvancedIllustrationAreaImageSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoAdvancedIllustrationAreaImageSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoAdvancedIllustrationAreaImageSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoAdvancedIllustrationAreaImageSettings; - - /** - * Decodes a ProtoAdvancedIllustrationAreaImageSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoAdvancedIllustrationAreaImageSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoAdvancedIllustrationAreaImageSettings; - - /** - * Verifies a ProtoAdvancedIllustrationAreaImageSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoAdvancedIllustrationAreaImageSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoAdvancedIllustrationAreaImageSettings - */ - public static fromObject(object: { [k: string]: any }): ProtoAdvancedIllustrationAreaImageSettings; - - /** - * Creates a plain object from a ProtoAdvancedIllustrationAreaImageSettings message. Also converts values to other types if specified. - * @param message ProtoAdvancedIllustrationAreaImageSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoAdvancedIllustrationAreaImageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoAdvancedIllustrationAreaImageSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoAdvancedIllustrationAreaImageSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoFont. */ -export interface IProtoFont { - - /** ProtoFont id */ - id?: (number|null); - - /** ProtoFont name */ - name?: (string|null); -} - -/** Represents a ProtoFont. */ -export class ProtoFont implements IProtoFont { - - /** - * Constructs a new ProtoFont. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoFont); - - /** ProtoFont id. */ - public id: number; - - /** ProtoFont name. */ - public name: string; - - /** - * Creates a new ProtoFont instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoFont instance - */ - public static create(properties?: IProtoFont): ProtoFont; - - /** - * Encodes the specified ProtoFont message. Does not implicitly {@link ProtoFont.verify|verify} messages. - * @param message ProtoFont message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoFont, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoFont message, length delimited. Does not implicitly {@link ProtoFont.verify|verify} messages. - * @param message ProtoFont message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoFont, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoFont message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoFont - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoFont; - - /** - * Decodes a ProtoFont message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoFont - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoFont; - - /** - * Verifies a ProtoFont message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoFont message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoFont - */ - public static fromObject(object: { [k: string]: any }): ProtoFont; - - /** - * Creates a plain object from a ProtoFont message. Also converts values to other types if specified. - * @param message ProtoFont - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoFont, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoFont to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoFont - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedFont. */ -export interface IProtoBoxedFont { - - /** ProtoBoxedFont value */ - value?: (IProtoFont|null); - - /** ProtoBoxedFont isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedFont. */ -export class ProtoBoxedFont implements IProtoBoxedFont { - - /** - * Constructs a new ProtoBoxedFont. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedFont); - - /** ProtoBoxedFont value. */ - public value?: (IProtoFont|null); - - /** ProtoBoxedFont isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedFont instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedFont instance - */ - public static create(properties?: IProtoBoxedFont): ProtoBoxedFont; - - /** - * Encodes the specified ProtoBoxedFont message. Does not implicitly {@link ProtoBoxedFont.verify|verify} messages. - * @param message ProtoBoxedFont message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedFont, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedFont message, length delimited. Does not implicitly {@link ProtoBoxedFont.verify|verify} messages. - * @param message ProtoBoxedFont message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedFont, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedFont message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedFont - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedFont; - - /** - * Decodes a ProtoBoxedFont message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedFont - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedFont; - - /** - * Verifies a ProtoBoxedFont message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedFont message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedFont - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedFont; - - /** - * Creates a plain object from a ProtoBoxedFont message. Also converts values to other types if specified. - * @param message ProtoBoxedFont - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedFont, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedFont to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedFont - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoColorType enum. */ -export enum ProtoColorType { - DUMMY_COLOR_TYPE = 0, - RGB = 3, - CMYK = 4 -} - -/** Properties of a ProtoColor. */ -export interface IProtoColor { - - /** ProtoColor name */ - name?: (IProtoBoxedString|null); - - /** ProtoColor type */ - type?: (ProtoColorType|null); - - /** ProtoColor r */ - r?: (number|null); - - /** ProtoColor g */ - g?: (number|null); - - /** ProtoColor b */ - b?: (number|null); - - /** ProtoColor c */ - c?: (number|null); - - /** ProtoColor m */ - m?: (number|null); - - /** ProtoColor y */ - y?: (number|null); - - /** ProtoColor k */ - k?: (number|null); -} - -/** Represents a ProtoColor. */ -export class ProtoColor implements IProtoColor { - - /** - * Constructs a new ProtoColor. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoColor); - - /** ProtoColor name. */ - public name?: (IProtoBoxedString|null); - - /** ProtoColor type. */ - public type: ProtoColorType; - - /** ProtoColor r. */ - public r: number; - - /** ProtoColor g. */ - public g: number; - - /** ProtoColor b. */ - public b: number; - - /** ProtoColor c. */ - public c: number; - - /** ProtoColor m. */ - public m: number; - - /** ProtoColor y. */ - public y: number; - - /** ProtoColor k. */ - public k: number; - - /** - * Creates a new ProtoColor instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoColor instance - */ - public static create(properties?: IProtoColor): ProtoColor; - - /** - * Encodes the specified ProtoColor message. Does not implicitly {@link ProtoColor.verify|verify} messages. - * @param message ProtoColor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoColor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoColor message, length delimited. Does not implicitly {@link ProtoColor.verify|verify} messages. - * @param message ProtoColor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoColor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoColor message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoColor; - - /** - * Decodes a ProtoColor message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoColor; - - /** - * Verifies a ProtoColor message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoColor message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoColor - */ - public static fromObject(object: { [k: string]: any }): ProtoColor; - - /** - * Creates a plain object from a ProtoColor message. Also converts values to other types if specified. - * @param message ProtoColor - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoColor, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoColor to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoColor - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedColor. */ -export interface IProtoBoxedColor { - - /** ProtoBoxedColor value */ - value?: (IProtoColor|null); - - /** ProtoBoxedColor isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedColor. */ -export class ProtoBoxedColor implements IProtoBoxedColor { - - /** - * Constructs a new ProtoBoxedColor. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedColor); - - /** ProtoBoxedColor value. */ - public value?: (IProtoColor|null); - - /** ProtoBoxedColor isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedColor instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedColor instance - */ - public static create(properties?: IProtoBoxedColor): ProtoBoxedColor; - - /** - * Encodes the specified ProtoBoxedColor message. Does not implicitly {@link ProtoBoxedColor.verify|verify} messages. - * @param message ProtoBoxedColor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedColor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedColor message, length delimited. Does not implicitly {@link ProtoBoxedColor.verify|verify} messages. - * @param message ProtoBoxedColor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedColor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedColor message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedColor; - - /** - * Decodes a ProtoBoxedColor message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedColor; - - /** - * Verifies a ProtoBoxedColor message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedColor message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedColor - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedColor; - - /** - * Creates a plain object from a ProtoBoxedColor message. Also converts values to other types if specified. - * @param message ProtoBoxedColor - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedColor, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedColor to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedColor - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoRGBColor. */ -export interface IProtoRGBColor { - - /** ProtoRGBColor name */ - name?: (IProtoBoxedString|null); - - /** ProtoRGBColor type */ - type?: (ProtoColorType|null); - - /** ProtoRGBColor r */ - r?: (number|null); - - /** ProtoRGBColor g */ - g?: (number|null); - - /** ProtoRGBColor b */ - b?: (number|null); -} - -/** Represents a ProtoRGBColor. */ -export class ProtoRGBColor implements IProtoRGBColor { - - /** - * Constructs a new ProtoRGBColor. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoRGBColor); - - /** ProtoRGBColor name. */ - public name?: (IProtoBoxedString|null); - - /** ProtoRGBColor type. */ - public type: ProtoColorType; - - /** ProtoRGBColor r. */ - public r: number; - - /** ProtoRGBColor g. */ - public g: number; - - /** ProtoRGBColor b. */ - public b: number; - - /** - * Creates a new ProtoRGBColor instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoRGBColor instance - */ - public static create(properties?: IProtoRGBColor): ProtoRGBColor; - - /** - * Encodes the specified ProtoRGBColor message. Does not implicitly {@link ProtoRGBColor.verify|verify} messages. - * @param message ProtoRGBColor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoRGBColor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoRGBColor message, length delimited. Does not implicitly {@link ProtoRGBColor.verify|verify} messages. - * @param message ProtoRGBColor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoRGBColor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoRGBColor message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoRGBColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoRGBColor; - - /** - * Decodes a ProtoRGBColor message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoRGBColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoRGBColor; - - /** - * Verifies a ProtoRGBColor message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoRGBColor message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoRGBColor - */ - public static fromObject(object: { [k: string]: any }): ProtoRGBColor; - - /** - * Creates a plain object from a ProtoRGBColor message. Also converts values to other types if specified. - * @param message ProtoRGBColor - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoRGBColor, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoRGBColor to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoRGBColor - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoCMYKColor. */ -export interface IProtoCMYKColor { - - /** ProtoCMYKColor name */ - name?: (IProtoBoxedString|null); - - /** ProtoCMYKColor type */ - type?: (ProtoColorType|null); - - /** ProtoCMYKColor c */ - c?: (number|null); - - /** ProtoCMYKColor m */ - m?: (number|null); - - /** ProtoCMYKColor y */ - y?: (number|null); - - /** ProtoCMYKColor k */ - k?: (number|null); -} - -/** Represents a ProtoCMYKColor. */ -export class ProtoCMYKColor implements IProtoCMYKColor { - - /** - * Constructs a new ProtoCMYKColor. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoCMYKColor); - - /** ProtoCMYKColor name. */ - public name?: (IProtoBoxedString|null); - - /** ProtoCMYKColor type. */ - public type: ProtoColorType; - - /** ProtoCMYKColor c. */ - public c: number; - - /** ProtoCMYKColor m. */ - public m: number; - - /** ProtoCMYKColor y. */ - public y: number; - - /** ProtoCMYKColor k. */ - public k: number; - - /** - * Creates a new ProtoCMYKColor instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoCMYKColor instance - */ - public static create(properties?: IProtoCMYKColor): ProtoCMYKColor; - - /** - * Encodes the specified ProtoCMYKColor message. Does not implicitly {@link ProtoCMYKColor.verify|verify} messages. - * @param message ProtoCMYKColor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoCMYKColor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoCMYKColor message, length delimited. Does not implicitly {@link ProtoCMYKColor.verify|verify} messages. - * @param message ProtoCMYKColor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoCMYKColor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoCMYKColor message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoCMYKColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoCMYKColor; - - /** - * Decodes a ProtoCMYKColor message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoCMYKColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoCMYKColor; - - /** - * Verifies a ProtoCMYKColor message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoCMYKColor message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoCMYKColor - */ - public static fromObject(object: { [k: string]: any }): ProtoCMYKColor; - - /** - * Creates a plain object from a ProtoCMYKColor message. Also converts values to other types if specified. - * @param message ProtoCMYKColor - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoCMYKColor, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoCMYKColor to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoCMYKColor - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoHorizontalAlignment enum. */ -export enum ProtoHorizontalAlignment { - ALIGN_LEFT = 0, - ALIGN_CENTER = 1, - ALIGN_RIGHT = 2, - ALIGN_JUSTIFY = 3, - ALIGN_FULL_JUSTIFY = 4, - ALIGN_CENTER_ON_PAGE = 5 -} - -/** ProtoVerticalAlignment enum. */ -export enum ProtoVerticalAlignment { - TOP = 0, - MIDDLE = 1, - BOTTOM = 2 -} - -/** Properties of a ProtoBoxedHorizontalAlignment. */ -export interface IProtoBoxedHorizontalAlignment { - - /** ProtoBoxedHorizontalAlignment value */ - value?: (ProtoHorizontalAlignment|null); - - /** ProtoBoxedHorizontalAlignment isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedHorizontalAlignment. */ -export class ProtoBoxedHorizontalAlignment implements IProtoBoxedHorizontalAlignment { - - /** - * Constructs a new ProtoBoxedHorizontalAlignment. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedHorizontalAlignment); - - /** ProtoBoxedHorizontalAlignment value. */ - public value: ProtoHorizontalAlignment; - - /** ProtoBoxedHorizontalAlignment isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedHorizontalAlignment instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedHorizontalAlignment instance - */ - public static create(properties?: IProtoBoxedHorizontalAlignment): ProtoBoxedHorizontalAlignment; - - /** - * Encodes the specified ProtoBoxedHorizontalAlignment message. Does not implicitly {@link ProtoBoxedHorizontalAlignment.verify|verify} messages. - * @param message ProtoBoxedHorizontalAlignment message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedHorizontalAlignment, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedHorizontalAlignment message, length delimited. Does not implicitly {@link ProtoBoxedHorizontalAlignment.verify|verify} messages. - * @param message ProtoBoxedHorizontalAlignment message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedHorizontalAlignment, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedHorizontalAlignment message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedHorizontalAlignment - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedHorizontalAlignment; - - /** - * Decodes a ProtoBoxedHorizontalAlignment message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedHorizontalAlignment - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedHorizontalAlignment; - - /** - * Verifies a ProtoBoxedHorizontalAlignment message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedHorizontalAlignment message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedHorizontalAlignment - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedHorizontalAlignment; - - /** - * Creates a plain object from a ProtoBoxedHorizontalAlignment message. Also converts values to other types if specified. - * @param message ProtoBoxedHorizontalAlignment - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedHorizontalAlignment, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedHorizontalAlignment to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedHorizontalAlignment - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedVerticalAlignment. */ -export interface IProtoBoxedVerticalAlignment { - - /** ProtoBoxedVerticalAlignment value */ - value?: (ProtoVerticalAlignment|null); - - /** ProtoBoxedVerticalAlignment isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedVerticalAlignment. */ -export class ProtoBoxedVerticalAlignment implements IProtoBoxedVerticalAlignment { - - /** - * Constructs a new ProtoBoxedVerticalAlignment. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedVerticalAlignment); - - /** ProtoBoxedVerticalAlignment value. */ - public value: ProtoVerticalAlignment; - - /** ProtoBoxedVerticalAlignment isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedVerticalAlignment instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedVerticalAlignment instance - */ - public static create(properties?: IProtoBoxedVerticalAlignment): ProtoBoxedVerticalAlignment; - - /** - * Encodes the specified ProtoBoxedVerticalAlignment message. Does not implicitly {@link ProtoBoxedVerticalAlignment.verify|verify} messages. - * @param message ProtoBoxedVerticalAlignment message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedVerticalAlignment, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedVerticalAlignment message, length delimited. Does not implicitly {@link ProtoBoxedVerticalAlignment.verify|verify} messages. - * @param message ProtoBoxedVerticalAlignment message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedVerticalAlignment, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedVerticalAlignment message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedVerticalAlignment - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedVerticalAlignment; - - /** - * Decodes a ProtoBoxedVerticalAlignment message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedVerticalAlignment - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedVerticalAlignment; - - /** - * Verifies a ProtoBoxedVerticalAlignment message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedVerticalAlignment message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedVerticalAlignment - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedVerticalAlignment; - - /** - * Creates a plain object from a ProtoBoxedVerticalAlignment message. Also converts values to other types if specified. - * @param message ProtoBoxedVerticalAlignment - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedVerticalAlignment, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedVerticalAlignment to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedVerticalAlignment - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoBarcodeType enum. */ -export enum ProtoBarcodeType { - PDF417 = 0, - DATAMATRIX = 1, - BC128 = 2, - QR = 3, - ITF = 4, - EAN8 = 5, - EAN13 = 6, - CODE39 = 7, - SWISSQR = 8, - AZTEC = 9 -} - -/** Properties of a ProtoSwissQRCreditor. */ -export interface IProtoSwissQRCreditor { - - /** ProtoSwissQRCreditor addressType */ - addressType?: (string|null); - - /** ProtoSwissQRCreditor name */ - name?: (string|null); - - /** ProtoSwissQRCreditor postalCode */ - postalCode?: (string|null); - - /** ProtoSwissQRCreditor town */ - town?: (string|null); - - /** ProtoSwissQRCreditor country */ - country?: (string|null); - - /** ProtoSwissQRCreditor streetOrAddressLine1 */ - streetOrAddressLine1?: (string|null); - - /** ProtoSwissQRCreditor buildingNumberOrAddressLine2 */ - buildingNumberOrAddressLine2?: (string|null); - - /** ProtoSwissQRCreditor iban */ - iban?: (string|null); - - /** ProtoSwissQRCreditor amount */ - amount?: (string|null); - - /** ProtoSwissQRCreditor currency */ - currency?: (string|null); -} - -/** Represents a ProtoSwissQRCreditor. */ -export class ProtoSwissQRCreditor implements IProtoSwissQRCreditor { - - /** - * Constructs a new ProtoSwissQRCreditor. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSwissQRCreditor); - - /** ProtoSwissQRCreditor addressType. */ - public addressType: string; - - /** ProtoSwissQRCreditor name. */ - public name: string; - - /** ProtoSwissQRCreditor postalCode. */ - public postalCode: string; - - /** ProtoSwissQRCreditor town. */ - public town: string; - - /** ProtoSwissQRCreditor country. */ - public country: string; - - /** ProtoSwissQRCreditor streetOrAddressLine1. */ - public streetOrAddressLine1: string; - - /** ProtoSwissQRCreditor buildingNumberOrAddressLine2. */ - public buildingNumberOrAddressLine2: string; - - /** ProtoSwissQRCreditor iban. */ - public iban: string; - - /** ProtoSwissQRCreditor amount. */ - public amount: string; - - /** ProtoSwissQRCreditor currency. */ - public currency: string; - - /** - * Creates a new ProtoSwissQRCreditor instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSwissQRCreditor instance - */ - public static create(properties?: IProtoSwissQRCreditor): ProtoSwissQRCreditor; - - /** - * Encodes the specified ProtoSwissQRCreditor message. Does not implicitly {@link ProtoSwissQRCreditor.verify|verify} messages. - * @param message ProtoSwissQRCreditor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSwissQRCreditor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSwissQRCreditor message, length delimited. Does not implicitly {@link ProtoSwissQRCreditor.verify|verify} messages. - * @param message ProtoSwissQRCreditor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSwissQRCreditor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSwissQRCreditor message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSwissQRCreditor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSwissQRCreditor; - - /** - * Decodes a ProtoSwissQRCreditor message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSwissQRCreditor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSwissQRCreditor; - - /** - * Verifies a ProtoSwissQRCreditor message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSwissQRCreditor message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSwissQRCreditor - */ - public static fromObject(object: { [k: string]: any }): ProtoSwissQRCreditor; - - /** - * Creates a plain object from a ProtoSwissQRCreditor message. Also converts values to other types if specified. - * @param message ProtoSwissQRCreditor - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSwissQRCreditor, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSwissQRCreditor to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSwissQRCreditor - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSwissQRDebitor. */ -export interface IProtoSwissQRDebitor { - - /** ProtoSwissQRDebitor addressType */ - addressType?: (string|null); - - /** ProtoSwissQRDebitor name */ - name?: (string|null); - - /** ProtoSwissQRDebitor postalCode */ - postalCode?: (string|null); - - /** ProtoSwissQRDebitor town */ - town?: (string|null); - - /** ProtoSwissQRDebitor country */ - country?: (string|null); - - /** ProtoSwissQRDebitor streetOrAddressLine1 */ - streetOrAddressLine1?: (string|null); - - /** ProtoSwissQRDebitor buildingNumberOrAddressLine2 */ - buildingNumberOrAddressLine2?: (string|null); - - /** ProtoSwissQRDebitor paymentReferenceType */ - paymentReferenceType?: (string|null); - - /** ProtoSwissQRDebitor paymentReference */ - paymentReference?: (string|null); - - /** ProtoSwissQRDebitor unstructuredReference */ - unstructuredReference?: (string|null); - - /** ProtoSwissQRDebitor billInformation */ - billInformation?: (string|null); -} - -/** Represents a ProtoSwissQRDebitor. */ -export class ProtoSwissQRDebitor implements IProtoSwissQRDebitor { - - /** - * Constructs a new ProtoSwissQRDebitor. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSwissQRDebitor); - - /** ProtoSwissQRDebitor addressType. */ - public addressType: string; - - /** ProtoSwissQRDebitor name. */ - public name: string; - - /** ProtoSwissQRDebitor postalCode. */ - public postalCode: string; - - /** ProtoSwissQRDebitor town. */ - public town: string; - - /** ProtoSwissQRDebitor country. */ - public country: string; - - /** ProtoSwissQRDebitor streetOrAddressLine1. */ - public streetOrAddressLine1: string; - - /** ProtoSwissQRDebitor buildingNumberOrAddressLine2. */ - public buildingNumberOrAddressLine2: string; - - /** ProtoSwissQRDebitor paymentReferenceType. */ - public paymentReferenceType: string; - - /** ProtoSwissQRDebitor paymentReference. */ - public paymentReference: string; - - /** ProtoSwissQRDebitor unstructuredReference. */ - public unstructuredReference: string; - - /** ProtoSwissQRDebitor billInformation. */ - public billInformation: string; - - /** - * Creates a new ProtoSwissQRDebitor instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSwissQRDebitor instance - */ - public static create(properties?: IProtoSwissQRDebitor): ProtoSwissQRDebitor; - - /** - * Encodes the specified ProtoSwissQRDebitor message. Does not implicitly {@link ProtoSwissQRDebitor.verify|verify} messages. - * @param message ProtoSwissQRDebitor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSwissQRDebitor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSwissQRDebitor message, length delimited. Does not implicitly {@link ProtoSwissQRDebitor.verify|verify} messages. - * @param message ProtoSwissQRDebitor message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSwissQRDebitor, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSwissQRDebitor message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSwissQRDebitor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSwissQRDebitor; - - /** - * Decodes a ProtoSwissQRDebitor message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSwissQRDebitor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSwissQRDebitor; - - /** - * Verifies a ProtoSwissQRDebitor message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSwissQRDebitor message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSwissQRDebitor - */ - public static fromObject(object: { [k: string]: any }): ProtoSwissQRDebitor; - - /** - * Creates a plain object from a ProtoSwissQRDebitor message. Also converts values to other types if specified. - * @param message ProtoSwissQRDebitor - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSwissQRDebitor, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSwissQRDebitor to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSwissQRDebitor - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSwissQRData. */ -export interface IProtoSwissQRData { - - /** ProtoSwissQRData creditor */ - creditor?: (IProtoSwissQRCreditor|null); - - /** ProtoSwissQRData debitor */ - debitor?: (IProtoSwissQRDebitor|null); -} - -/** Represents a ProtoSwissQRData. */ -export class ProtoSwissQRData implements IProtoSwissQRData { - - /** - * Constructs a new ProtoSwissQRData. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSwissQRData); - - /** ProtoSwissQRData creditor. */ - public creditor?: (IProtoSwissQRCreditor|null); - - /** ProtoSwissQRData debitor. */ - public debitor?: (IProtoSwissQRDebitor|null); - - /** - * Creates a new ProtoSwissQRData instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSwissQRData instance - */ - public static create(properties?: IProtoSwissQRData): ProtoSwissQRData; - - /** - * Encodes the specified ProtoSwissQRData message. Does not implicitly {@link ProtoSwissQRData.verify|verify} messages. - * @param message ProtoSwissQRData message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSwissQRData, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSwissQRData message, length delimited. Does not implicitly {@link ProtoSwissQRData.verify|verify} messages. - * @param message ProtoSwissQRData message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSwissQRData, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSwissQRData message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSwissQRData - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSwissQRData; - - /** - * Decodes a ProtoSwissQRData message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSwissQRData - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSwissQRData; - - /** - * Verifies a ProtoSwissQRData message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSwissQRData message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSwissQRData - */ - public static fromObject(object: { [k: string]: any }): ProtoSwissQRData; - - /** - * Creates a plain object from a ProtoSwissQRData message. Also converts values to other types if specified. - * @param message ProtoSwissQRData - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSwissQRData, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSwissQRData to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSwissQRData - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoLinebreak. */ -export interface IProtoLinebreak { - - /** ProtoLinebreak parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoLinebreak comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoLinebreak uuid */ - uuid?: (string|null); - - /** ProtoLinebreak count */ - count?: (IProtoBoxedUint32|null); -} - -/** Represents a ProtoLinebreak. */ -export class ProtoLinebreak implements IProtoLinebreak { - - /** - * Constructs a new ProtoLinebreak. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoLinebreak); - - /** ProtoLinebreak parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoLinebreak comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoLinebreak uuid. */ - public uuid: string; - - /** ProtoLinebreak count. */ - public count?: (IProtoBoxedUint32|null); - - /** - * Creates a new ProtoLinebreak instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoLinebreak instance - */ - public static create(properties?: IProtoLinebreak): ProtoLinebreak; - - /** - * Encodes the specified ProtoLinebreak message. Does not implicitly {@link ProtoLinebreak.verify|verify} messages. - * @param message ProtoLinebreak message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoLinebreak, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoLinebreak message, length delimited. Does not implicitly {@link ProtoLinebreak.verify|verify} messages. - * @param message ProtoLinebreak message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoLinebreak, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoLinebreak message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoLinebreak - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoLinebreak; - - /** - * Decodes a ProtoLinebreak message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoLinebreak - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoLinebreak; - - /** - * Verifies a ProtoLinebreak message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoLinebreak message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoLinebreak - */ - public static fromObject(object: { [k: string]: any }): ProtoLinebreak; - - /** - * Creates a plain object from a ProtoLinebreak message. Also converts values to other types if specified. - * @param message ProtoLinebreak - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoLinebreak, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoLinebreak to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoLinebreak - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBorder. */ -export interface IProtoBorder { - - /** ProtoBorder weight */ - weight?: (IProtoMeasure|null); - - /** ProtoBorder color */ - color?: (IProtoColor|null); -} - -/** Represents a ProtoBorder. */ -export class ProtoBorder implements IProtoBorder { - - /** - * Constructs a new ProtoBorder. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBorder); - - /** ProtoBorder weight. */ - public weight?: (IProtoMeasure|null); - - /** ProtoBorder color. */ - public color?: (IProtoColor|null); - - /** - * Creates a new ProtoBorder instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBorder instance - */ - public static create(properties?: IProtoBorder): ProtoBorder; - - /** - * Encodes the specified ProtoBorder message. Does not implicitly {@link ProtoBorder.verify|verify} messages. - * @param message ProtoBorder message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBorder, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBorder message, length delimited. Does not implicitly {@link ProtoBorder.verify|verify} messages. - * @param message ProtoBorder message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBorder, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBorder message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBorder - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBorder; - - /** - * Decodes a ProtoBorder message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBorder - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBorder; - - /** - * Verifies a ProtoBorder message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBorder message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBorder - */ - public static fromObject(object: { [k: string]: any }): ProtoBorder; - - /** - * Creates a plain object from a ProtoBorder message. Also converts values to other types if specified. - * @param message ProtoBorder - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBorder, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBorder to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBorder - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSideBorders. */ -export interface IProtoSideBorders { - - /** ProtoSideBorders top */ - top?: (IProtoBorder|null); - - /** ProtoSideBorders right */ - right?: (IProtoBorder|null); - - /** ProtoSideBorders bottom */ - bottom?: (IProtoBorder|null); - - /** ProtoSideBorders left */ - left?: (IProtoBorder|null); -} - -/** Represents a ProtoSideBorders. */ -export class ProtoSideBorders implements IProtoSideBorders { - - /** - * Constructs a new ProtoSideBorders. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSideBorders); - - /** ProtoSideBorders top. */ - public top?: (IProtoBorder|null); - - /** ProtoSideBorders right. */ - public right?: (IProtoBorder|null); - - /** ProtoSideBorders bottom. */ - public bottom?: (IProtoBorder|null); - - /** ProtoSideBorders left. */ - public left?: (IProtoBorder|null); - - /** - * Creates a new ProtoSideBorders instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSideBorders instance - */ - public static create(properties?: IProtoSideBorders): ProtoSideBorders; - - /** - * Encodes the specified ProtoSideBorders message. Does not implicitly {@link ProtoSideBorders.verify|verify} messages. - * @param message ProtoSideBorders message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSideBorders, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSideBorders message, length delimited. Does not implicitly {@link ProtoSideBorders.verify|verify} messages. - * @param message ProtoSideBorders message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSideBorders, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSideBorders message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSideBorders - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSideBorders; - - /** - * Decodes a ProtoSideBorders message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSideBorders - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSideBorders; - - /** - * Verifies a ProtoSideBorders message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSideBorders message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSideBorders - */ - public static fromObject(object: { [k: string]: any }): ProtoSideBorders; - - /** - * Creates a plain object from a ProtoSideBorders message. Also converts values to other types if specified. - * @param message ProtoSideBorders - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSideBorders, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSideBorders to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSideBorders - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoPositionMode enum. */ -export enum ProtoPositionMode { - CENTER = 0, - LEFT = 1, - FOLIO = 2, - RIGHT = 3, - REVERSE_FOLIO = 4 -} - -/** Properties of a ProtoBoxedPositionMode. */ -export interface IProtoBoxedPositionMode { - - /** ProtoBoxedPositionMode value */ - value?: (ProtoPositionMode|null); - - /** ProtoBoxedPositionMode isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedPositionMode. */ -export class ProtoBoxedPositionMode implements IProtoBoxedPositionMode { - - /** - * Constructs a new ProtoBoxedPositionMode. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedPositionMode); - - /** ProtoBoxedPositionMode value. */ - public value: ProtoPositionMode; - - /** ProtoBoxedPositionMode isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedPositionMode instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedPositionMode instance - */ - public static create(properties?: IProtoBoxedPositionMode): ProtoBoxedPositionMode; - - /** - * Encodes the specified ProtoBoxedPositionMode message. Does not implicitly {@link ProtoBoxedPositionMode.verify|verify} messages. - * @param message ProtoBoxedPositionMode message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedPositionMode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedPositionMode message, length delimited. Does not implicitly {@link ProtoBoxedPositionMode.verify|verify} messages. - * @param message ProtoBoxedPositionMode message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedPositionMode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedPositionMode message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedPositionMode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedPositionMode; - - /** - * Decodes a ProtoBoxedPositionMode message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedPositionMode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedPositionMode; - - /** - * Verifies a ProtoBoxedPositionMode message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedPositionMode message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedPositionMode - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedPositionMode; - - /** - * Creates a plain object from a ProtoBoxedPositionMode message. Also converts values to other types if specified. - * @param message ProtoBoxedPositionMode - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedPositionMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedPositionMode to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedPositionMode - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoColumnSettings. */ -export interface IProtoColumnSettings { - - /** ProtoColumnSettings width */ - width?: (IProtoBoxedMeasure|null); - - /** ProtoColumnSettings interColumnSpace */ - interColumnSpace?: (IProtoBoxedMeasure|null); - - /** ProtoColumnSettings positionOffset */ - positionOffset?: (IProtoBoxedMeasure|null); - - /** ProtoColumnSettings positionMode */ - positionMode?: (ProtoPositionMode|null); - - /** ProtoColumnSettings outsideMargin */ - outsideMargin?: (IProtoBoxedMeasure|null); -} - -/** Represents a ProtoColumnSettings. */ -export class ProtoColumnSettings implements IProtoColumnSettings { - - /** - * Constructs a new ProtoColumnSettings. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoColumnSettings); - - /** ProtoColumnSettings width. */ - public width?: (IProtoBoxedMeasure|null); - - /** ProtoColumnSettings interColumnSpace. */ - public interColumnSpace?: (IProtoBoxedMeasure|null); - - /** ProtoColumnSettings positionOffset. */ - public positionOffset?: (IProtoBoxedMeasure|null); - - /** ProtoColumnSettings positionMode. */ - public positionMode: ProtoPositionMode; - - /** ProtoColumnSettings outsideMargin. */ - public outsideMargin?: (IProtoBoxedMeasure|null); - - /** - * Creates a new ProtoColumnSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoColumnSettings instance - */ - public static create(properties?: IProtoColumnSettings): ProtoColumnSettings; - - /** - * Encodes the specified ProtoColumnSettings message. Does not implicitly {@link ProtoColumnSettings.verify|verify} messages. - * @param message ProtoColumnSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoColumnSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoColumnSettings message, length delimited. Does not implicitly {@link ProtoColumnSettings.verify|verify} messages. - * @param message ProtoColumnSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoColumnSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoColumnSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoColumnSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoColumnSettings; - - /** - * Decodes a ProtoColumnSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoColumnSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoColumnSettings; - - /** - * Verifies a ProtoColumnSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoColumnSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoColumnSettings - */ - public static fromObject(object: { [k: string]: any }): ProtoColumnSettings; - - /** - * Creates a plain object from a ProtoColumnSettings message. Also converts values to other types if specified. - * @param message ProtoColumnSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoColumnSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoColumnSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoColumnSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoGraphicState. */ -export interface IProtoGraphicState { - - /** ProtoGraphicState bold */ - bold?: (IProtoBoxedBool|null); - - /** ProtoGraphicState italic */ - italic?: (IProtoBoxedBool|null); - - /** ProtoGraphicState colorStack */ - colorStack?: (IProtoColor[]|null); - - /** ProtoGraphicState subscript */ - subscript?: (IProtoBoxedBool|null); - - /** ProtoGraphicState superscript */ - superscript?: (IProtoBoxedBool|null); - - /** ProtoGraphicState underline */ - underline?: (IProtoBoxedBool|null); - - /** ProtoGraphicState strikethrough */ - strikethrough?: (IProtoBoxedBool|null); -} - -/** Represents a ProtoGraphicState. */ -export class ProtoGraphicState implements IProtoGraphicState { - - /** - * Constructs a new ProtoGraphicState. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoGraphicState); - - /** ProtoGraphicState bold. */ - public bold?: (IProtoBoxedBool|null); - - /** ProtoGraphicState italic. */ - public italic?: (IProtoBoxedBool|null); - - /** ProtoGraphicState colorStack. */ - public colorStack: IProtoColor[]; - - /** ProtoGraphicState subscript. */ - public subscript?: (IProtoBoxedBool|null); - - /** ProtoGraphicState superscript. */ - public superscript?: (IProtoBoxedBool|null); - - /** ProtoGraphicState underline. */ - public underline?: (IProtoBoxedBool|null); - - /** ProtoGraphicState strikethrough. */ - public strikethrough?: (IProtoBoxedBool|null); - - /** - * Creates a new ProtoGraphicState instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoGraphicState instance - */ - public static create(properties?: IProtoGraphicState): ProtoGraphicState; - - /** - * Encodes the specified ProtoGraphicState message. Does not implicitly {@link ProtoGraphicState.verify|verify} messages. - * @param message ProtoGraphicState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoGraphicState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoGraphicState message, length delimited. Does not implicitly {@link ProtoGraphicState.verify|verify} messages. - * @param message ProtoGraphicState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoGraphicState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoGraphicState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoGraphicState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoGraphicState; - - /** - * Decodes a ProtoGraphicState message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoGraphicState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoGraphicState; - - /** - * Verifies a ProtoGraphicState message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoGraphicState message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoGraphicState - */ - public static fromObject(object: { [k: string]: any }): ProtoGraphicState; - - /** - * Creates a plain object from a ProtoGraphicState message. Also converts values to other types if specified. - * @param message ProtoGraphicState - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoGraphicState, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoGraphicState to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoGraphicState - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoHtmlParser. */ -export interface IProtoHtmlParser { -} - -/** Represents a ProtoHtmlParser. */ -export class ProtoHtmlParser implements IProtoHtmlParser { - - /** - * Constructs a new ProtoHtmlParser. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoHtmlParser); - - /** - * Creates a new ProtoHtmlParser instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoHtmlParser instance - */ - public static create(properties?: IProtoHtmlParser): ProtoHtmlParser; - - /** - * Encodes the specified ProtoHtmlParser message. Does not implicitly {@link ProtoHtmlParser.verify|verify} messages. - * @param message ProtoHtmlParser message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoHtmlParser, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoHtmlParser message, length delimited. Does not implicitly {@link ProtoHtmlParser.verify|verify} messages. - * @param message ProtoHtmlParser message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoHtmlParser, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoHtmlParser message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoHtmlParser - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoHtmlParser; - - /** - * Decodes a ProtoHtmlParser message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoHtmlParser - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoHtmlParser; - - /** - * Verifies a ProtoHtmlParser message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoHtmlParser message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoHtmlParser - */ - public static fromObject(object: { [k: string]: any }): ProtoHtmlParser; - - /** - * Creates a plain object from a ProtoHtmlParser message. Also converts values to other types if specified. - * @param message ProtoHtmlParser - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoHtmlParser, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoHtmlParser to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoHtmlParser - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoUnderlineMode enum. */ -export enum ProtoUnderlineMode { - DUMMY_UNDERLINE_MODE = 0, - WORDS_NO_BLANKS = 1, - WORDS_AND_BLANKS = 2, - CHARACTERS_NO_BLANKS = 3, - CHARACTERS_AND_BLANKS = 4 -} - -/** Properties of a ProtoUnderlineSpec. */ -export interface IProtoUnderlineSpec { - - /** ProtoUnderlineSpec weight */ - weight?: (IProtoMeasure|null); - - /** ProtoUnderlineSpec mode */ - mode?: (ProtoUnderlineMode|null); - - /** ProtoUnderlineSpec color */ - color?: (IProtoColor|null); - - /** ProtoUnderlineSpec offsetEm */ - offsetEm?: (number|null); - - /** ProtoUnderlineSpec style */ - style?: (ProtoRuleStyle|null); -} - -/** Represents a ProtoUnderlineSpec. */ -export class ProtoUnderlineSpec implements IProtoUnderlineSpec { - - /** - * Constructs a new ProtoUnderlineSpec. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoUnderlineSpec); - - /** ProtoUnderlineSpec weight. */ - public weight?: (IProtoMeasure|null); - - /** ProtoUnderlineSpec mode. */ - public mode: ProtoUnderlineMode; - - /** ProtoUnderlineSpec color. */ - public color?: (IProtoColor|null); - - /** ProtoUnderlineSpec offsetEm. */ - public offsetEm: number; - - /** ProtoUnderlineSpec style. */ - public style: ProtoRuleStyle; - - /** - * Creates a new ProtoUnderlineSpec instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoUnderlineSpec instance - */ - public static create(properties?: IProtoUnderlineSpec): ProtoUnderlineSpec; - - /** - * Encodes the specified ProtoUnderlineSpec message. Does not implicitly {@link ProtoUnderlineSpec.verify|verify} messages. - * @param message ProtoUnderlineSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoUnderlineSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoUnderlineSpec message, length delimited. Does not implicitly {@link ProtoUnderlineSpec.verify|verify} messages. - * @param message ProtoUnderlineSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoUnderlineSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoUnderlineSpec message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoUnderlineSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoUnderlineSpec; - - /** - * Decodes a ProtoUnderlineSpec message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoUnderlineSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoUnderlineSpec; - - /** - * Verifies a ProtoUnderlineSpec message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoUnderlineSpec message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoUnderlineSpec - */ - public static fromObject(object: { [k: string]: any }): ProtoUnderlineSpec; - - /** - * Creates a plain object from a ProtoUnderlineSpec message. Also converts values to other types if specified. - * @param message ProtoUnderlineSpec - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoUnderlineSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoUnderlineSpec to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoUnderlineSpec - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedUnderlineSpec. */ -export interface IProtoBoxedUnderlineSpec { - - /** ProtoBoxedUnderlineSpec value */ - value?: (IProtoUnderlineSpec|null); - - /** ProtoBoxedUnderlineSpec isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedUnderlineSpec. */ -export class ProtoBoxedUnderlineSpec implements IProtoBoxedUnderlineSpec { - - /** - * Constructs a new ProtoBoxedUnderlineSpec. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedUnderlineSpec); - - /** ProtoBoxedUnderlineSpec value. */ - public value?: (IProtoUnderlineSpec|null); - - /** ProtoBoxedUnderlineSpec isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedUnderlineSpec instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedUnderlineSpec instance - */ - public static create(properties?: IProtoBoxedUnderlineSpec): ProtoBoxedUnderlineSpec; - - /** - * Encodes the specified ProtoBoxedUnderlineSpec message. Does not implicitly {@link ProtoBoxedUnderlineSpec.verify|verify} messages. - * @param message ProtoBoxedUnderlineSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedUnderlineSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedUnderlineSpec message, length delimited. Does not implicitly {@link ProtoBoxedUnderlineSpec.verify|verify} messages. - * @param message ProtoBoxedUnderlineSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedUnderlineSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedUnderlineSpec message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedUnderlineSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedUnderlineSpec; - - /** - * Decodes a ProtoBoxedUnderlineSpec message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedUnderlineSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedUnderlineSpec; - - /** - * Verifies a ProtoBoxedUnderlineSpec message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedUnderlineSpec message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedUnderlineSpec - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedUnderlineSpec; - - /** - * Creates a plain object from a ProtoBoxedUnderlineSpec message. Also converts values to other types if specified. - * @param message ProtoBoxedUnderlineSpec - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedUnderlineSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedUnderlineSpec to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedUnderlineSpec - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoCropSettings. */ -export interface IProtoCropSettings { - - /** ProtoCropSettings x */ - x?: (IProtoBoxedMeasure|null); - - /** ProtoCropSettings y */ - y?: (IProtoBoxedMeasure|null); - - /** ProtoCropSettings width */ - width?: (IProtoBoxedMeasure|null); - - /** ProtoCropSettings height */ - height?: (IProtoBoxedMeasure|null); -} - -/** Represents a ProtoCropSettings. */ -export class ProtoCropSettings implements IProtoCropSettings { - - /** - * Constructs a new ProtoCropSettings. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoCropSettings); - - /** ProtoCropSettings x. */ - public x?: (IProtoBoxedMeasure|null); - - /** ProtoCropSettings y. */ - public y?: (IProtoBoxedMeasure|null); - - /** ProtoCropSettings width. */ - public width?: (IProtoBoxedMeasure|null); - - /** ProtoCropSettings height. */ - public height?: (IProtoBoxedMeasure|null); - - /** - * Creates a new ProtoCropSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoCropSettings instance - */ - public static create(properties?: IProtoCropSettings): ProtoCropSettings; - - /** - * Encodes the specified ProtoCropSettings message. Does not implicitly {@link ProtoCropSettings.verify|verify} messages. - * @param message ProtoCropSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoCropSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoCropSettings message, length delimited. Does not implicitly {@link ProtoCropSettings.verify|verify} messages. - * @param message ProtoCropSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoCropSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoCropSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoCropSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoCropSettings; - - /** - * Decodes a ProtoCropSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoCropSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoCropSettings; - - /** - * Verifies a ProtoCropSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoCropSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoCropSettings - */ - public static fromObject(object: { [k: string]: any }): ProtoCropSettings; - - /** - * Creates a plain object from a ProtoCropSettings message. Also converts values to other types if specified. - * @param message ProtoCropSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoCropSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoCropSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoCropSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoFlipSettings. */ -export interface IProtoFlipSettings { - - /** ProtoFlipSettings x */ - x?: (boolean|null); - - /** ProtoFlipSettings y */ - y?: (boolean|null); -} - -/** Represents a ProtoFlipSettings. */ -export class ProtoFlipSettings implements IProtoFlipSettings { - - /** - * Constructs a new ProtoFlipSettings. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoFlipSettings); - - /** ProtoFlipSettings x. */ - public x: boolean; - - /** ProtoFlipSettings y. */ - public y: boolean; - - /** - * Creates a new ProtoFlipSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoFlipSettings instance - */ - public static create(properties?: IProtoFlipSettings): ProtoFlipSettings; - - /** - * Encodes the specified ProtoFlipSettings message. Does not implicitly {@link ProtoFlipSettings.verify|verify} messages. - * @param message ProtoFlipSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoFlipSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoFlipSettings message, length delimited. Does not implicitly {@link ProtoFlipSettings.verify|verify} messages. - * @param message ProtoFlipSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoFlipSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoFlipSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoFlipSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoFlipSettings; - - /** - * Decodes a ProtoFlipSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoFlipSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoFlipSettings; - - /** - * Verifies a ProtoFlipSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoFlipSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoFlipSettings - */ - public static fromObject(object: { [k: string]: any }): ProtoFlipSettings; - - /** - * Creates a plain object from a ProtoFlipSettings message. Also converts values to other types if specified. - * @param message ProtoFlipSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoFlipSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoFlipSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoFlipSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoImageReferencePoint enum. */ -export enum ProtoImageReferencePoint { - REF_POINT_DO_NOT_USE_AT_ALL = 0, - REF_POINT_BOTTOM_LEFT = 1, - REF_POINT_TOP_LEFT = 2, - REF_POINT_CENTER = 3, - REF_POINT_BOTTOM_RIGHT = 4, - REF_POINT_TOP_RIGHT = 5 -} - -/** ProtoSemanticType enum. */ -export enum ProtoSemanticType { - SEMANTIC_TYPE_NONE = 0, - SEMANTIC_TYPE_PART = 1, - SEMANTIC_TYPE_ART = 2, - SEMANTIC_TYPE_SECT = 3, - SEMANTIC_TYPE_DIV = 4 -} - -/** Properties of a ProtoOption. */ -export interface IProtoOption { - - /** ProtoOption key */ - key?: (string|null); - - /** ProtoOption value */ - value?: (string|null); -} - -/** Represents a ProtoOption. */ -export class ProtoOption implements IProtoOption { - - /** - * Constructs a new ProtoOption. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoOption); - - /** ProtoOption key. */ - public key: string; - - /** ProtoOption value. */ - public value: string; - - /** - * Creates a new ProtoOption instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoOption instance - */ - public static create(properties?: IProtoOption): ProtoOption; - - /** - * Encodes the specified ProtoOption message. Does not implicitly {@link ProtoOption.verify|verify} messages. - * @param message ProtoOption message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoOption, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoOption message, length delimited. Does not implicitly {@link ProtoOption.verify|verify} messages. - * @param message ProtoOption message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoOption, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoOption message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoOption - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoOption; - - /** - * Decodes a ProtoOption message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoOption - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoOption; - - /** - * Verifies a ProtoOption message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoOption message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoOption - */ - public static fromObject(object: { [k: string]: any }): ProtoOption; - - /** - * Creates a plain object from a ProtoOption message. Also converts values to other types if specified. - * @param message ProtoOption - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoOption to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoOption - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** PDFPrintingBehavior enum. */ -export enum PDFPrintingBehavior { - PDF_PRINTING_BEHAVIOR_INPUT = 0, - PDF_PRINTING_BEHAVIOR_TEXT = 1, - PDF_PRINTING_BEHAVIOR_INHERIT = 2 -} - -/** Properties of a ProtoBaseInputField. */ -export interface IProtoBaseInputField { - - /** ProtoBaseInputField name */ - name?: (string|null); - - /** ProtoBaseInputField meta */ - meta?: (boolean|null); - - /** ProtoBaseInputField value */ - value?: (IProtoBoxedString|null); - - /** ProtoBaseInputField formatUUID */ - formatUUID?: (string|null); - - /** ProtoBaseInputField dataTypeUUID */ - dataTypeUUID?: (string|null); - - /** ProtoBaseInputField onChangeCode */ - onChangeCode?: (string|null); - - /** ProtoBaseInputField placeholder */ - placeholder?: (string|null); - - /** ProtoBaseInputField bindDefaultValue */ - bindDefaultValue?: (boolean|null); - - /** ProtoBaseInputField defaultValueCode */ - defaultValueCode?: (string|null); - - /** ProtoBaseInputField readonly */ - readonly?: (boolean|null); -} - -/** Represents a ProtoBaseInputField. */ -export class ProtoBaseInputField implements IProtoBaseInputField { - - /** - * Constructs a new ProtoBaseInputField. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBaseInputField); - - /** ProtoBaseInputField name. */ - public name: string; - - /** ProtoBaseInputField meta. */ - public meta: boolean; - - /** ProtoBaseInputField value. */ - public value?: (IProtoBoxedString|null); - - /** ProtoBaseInputField formatUUID. */ - public formatUUID: string; - - /** ProtoBaseInputField dataTypeUUID. */ - public dataTypeUUID: string; - - /** ProtoBaseInputField onChangeCode. */ - public onChangeCode: string; - - /** ProtoBaseInputField placeholder. */ - public placeholder: string; - - /** ProtoBaseInputField bindDefaultValue. */ - public bindDefaultValue: boolean; - - /** ProtoBaseInputField defaultValueCode. */ - public defaultValueCode: string; - - /** ProtoBaseInputField readonly. */ - public readonly: boolean; - - /** - * Creates a new ProtoBaseInputField instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBaseInputField instance - */ - public static create(properties?: IProtoBaseInputField): ProtoBaseInputField; - - /** - * Encodes the specified ProtoBaseInputField message. Does not implicitly {@link ProtoBaseInputField.verify|verify} messages. - * @param message ProtoBaseInputField message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBaseInputField, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBaseInputField message, length delimited. Does not implicitly {@link ProtoBaseInputField.verify|verify} messages. - * @param message ProtoBaseInputField message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBaseInputField, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBaseInputField message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBaseInputField - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBaseInputField; - - /** - * Decodes a ProtoBaseInputField message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBaseInputField - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBaseInputField; - - /** - * Verifies a ProtoBaseInputField message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBaseInputField message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBaseInputField - */ - public static fromObject(object: { [k: string]: any }): ProtoBaseInputField; - - /** - * Creates a plain object from a ProtoBaseInputField message. Also converts values to other types if specified. - * @param message ProtoBaseInputField - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBaseInputField, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBaseInputField to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBaseInputField - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Inheritance enum. */ -export enum Inheritance { - INHERITANCE_INHERIT = 0, - INHERITANCE_CODE = 1, - INHERITANCE_BIND_CODE = 2, - INHERITANCE_STATIC = 3, - INHERITANCE_RESET = 4 -} - -/** Properties of a ProtoDocumentElement. */ -export interface IProtoDocumentElement { - - /** ProtoDocumentElement parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoDocumentElement comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoDocumentElement. */ -export class ProtoDocumentElement implements IProtoDocumentElement { - - /** - * Constructs a new ProtoDocumentElement. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoDocumentElement); - - /** ProtoDocumentElement parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoDocumentElement comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoDocumentElement instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoDocumentElement instance - */ - public static create(properties?: IProtoDocumentElement): ProtoDocumentElement; - - /** - * Encodes the specified ProtoDocumentElement message. Does not implicitly {@link ProtoDocumentElement.verify|verify} messages. - * @param message ProtoDocumentElement message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoDocumentElement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoDocumentElement message, length delimited. Does not implicitly {@link ProtoDocumentElement.verify|verify} messages. - * @param message ProtoDocumentElement message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoDocumentElement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoDocumentElement message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoDocumentElement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoDocumentElement; - - /** - * Decodes a ProtoDocumentElement message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoDocumentElement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoDocumentElement; - - /** - * Verifies a ProtoDocumentElement message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoDocumentElement message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoDocumentElement - */ - public static fromObject(object: { [k: string]: any }): ProtoDocumentElement; - - /** - * Creates a plain object from a ProtoDocumentElement message. Also converts values to other types if specified. - * @param message ProtoDocumentElement - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoDocumentElement, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoDocumentElement to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoDocumentElement - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBranchDocumentElement. */ -export interface IProtoBranchDocumentElement { - - /** ProtoBranchDocumentElement _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoBranchDocumentElement parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoBranchDocumentElement comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoBranchDocumentElement. */ -export class ProtoBranchDocumentElement implements IProtoBranchDocumentElement { - - /** - * Constructs a new ProtoBranchDocumentElement. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBranchDocumentElement); - - /** ProtoBranchDocumentElement _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoBranchDocumentElement parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoBranchDocumentElement comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoBranchDocumentElement instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBranchDocumentElement instance - */ - public static create(properties?: IProtoBranchDocumentElement): ProtoBranchDocumentElement; - - /** - * Encodes the specified ProtoBranchDocumentElement message. Does not implicitly {@link ProtoBranchDocumentElement.verify|verify} messages. - * @param message ProtoBranchDocumentElement message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBranchDocumentElement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBranchDocumentElement message, length delimited. Does not implicitly {@link ProtoBranchDocumentElement.verify|verify} messages. - * @param message ProtoBranchDocumentElement message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBranchDocumentElement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBranchDocumentElement message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBranchDocumentElement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBranchDocumentElement; - - /** - * Decodes a ProtoBranchDocumentElement message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBranchDocumentElement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBranchDocumentElement; - - /** - * Verifies a ProtoBranchDocumentElement message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBranchDocumentElement message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBranchDocumentElement - */ - public static fromObject(object: { [k: string]: any }): ProtoBranchDocumentElement; - - /** - * Creates a plain object from a ProtoBranchDocumentElement message. Also converts values to other types if specified. - * @param message ProtoBranchDocumentElement - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBranchDocumentElement, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBranchDocumentElement to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBranchDocumentElement - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoLink. */ -export interface IProtoLink { - - /** ProtoLink _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoLink url */ - url?: (string|null); - - /** ProtoLink comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoLink. */ -export class ProtoLink implements IProtoLink { - - /** - * Constructs a new ProtoLink. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoLink); - - /** ProtoLink _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoLink url. */ - public url: string; - - /** ProtoLink comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoLink instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoLink instance - */ - public static create(properties?: IProtoLink): ProtoLink; - - /** - * Encodes the specified ProtoLink message. Does not implicitly {@link ProtoLink.verify|verify} messages. - * @param message ProtoLink message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoLink, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoLink message, length delimited. Does not implicitly {@link ProtoLink.verify|verify} messages. - * @param message ProtoLink message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoLink, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoLink message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoLink - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoLink; - - /** - * Decodes a ProtoLink message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoLink - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoLink; - - /** - * Verifies a ProtoLink message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoLink message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoLink - */ - public static fromObject(object: { [k: string]: any }): ProtoLink; - - /** - * Creates a plain object from a ProtoLink message. Also converts values to other types if specified. - * @param message ProtoLink - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoLink, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoLink to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoLink - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoNumberType enum. */ -export enum ProtoNumberType { - ARABIC = 0, - ROM_UPPERCASE = 1, - ROM_LOWERCASE = 2, - LETTER_UPPERCASE = 3, - LETTER_LOWERCASE = 4 -} - -/** ProtoListLevelSettingType enum. */ -export enum ProtoListLevelSettingType { - UNNUMBERED = 0, - NUMERIC = 1, - IMAGE = 2 -} - -/** Properties of a ProtoListLevelSetting. */ -export interface IProtoListLevelSetting { - - /** ProtoListLevelSetting listSettingName */ - listSettingName?: (string|null); - - /** ProtoListLevelSetting fontSize */ - fontSize?: (IProtoBoxedUint32|null); - - /** ProtoListLevelSetting type */ - type?: (ProtoListLevelSettingType|null); - - /** ProtoListLevelSetting level */ - level?: (number|null); - - /** ProtoListLevelSetting prefix */ - prefix?: (string|null); - - /** ProtoListLevelSetting suffix */ - suffix?: (string|null); - - /** ProtoListLevelSetting fixFontFamily */ - fixFontFamily?: (IProtoFont|null); - - /** ProtoListLevelSetting fixBold */ - fixBold?: (boolean|null); - - /** ProtoListLevelSetting fixItalic */ - fixItalic?: (boolean|null); - - /** ProtoListLevelSetting indentionWidth */ - indentionWidth?: (number|null); - - /** ProtoListLevelSetting color */ - color?: (IProtoColor|null); - - /** ProtoListLevelSetting imageName */ - imageName?: (string|null); - - /** ProtoListLevelSetting fontFamily */ - fontFamily?: (IProtoFont|null); - - /** ProtoListLevelSetting bold */ - bold?: (IProtoBoxedBool|null); - - /** ProtoListLevelSetting italic */ - italic?: (IProtoBoxedBool|null); - - /** ProtoListLevelSetting numberType */ - numberType?: (ProtoNumberType|null); - - /** ProtoListLevelSetting character */ - character?: (string|null); -} - -/** Represents a ProtoListLevelSetting. */ -export class ProtoListLevelSetting implements IProtoListLevelSetting { - - /** - * Constructs a new ProtoListLevelSetting. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoListLevelSetting); - - /** ProtoListLevelSetting listSettingName. */ - public listSettingName: string; - - /** ProtoListLevelSetting fontSize. */ - public fontSize?: (IProtoBoxedUint32|null); - - /** ProtoListLevelSetting type. */ - public type: ProtoListLevelSettingType; - - /** ProtoListLevelSetting level. */ - public level: number; - - /** ProtoListLevelSetting prefix. */ - public prefix: string; - - /** ProtoListLevelSetting suffix. */ - public suffix: string; - - /** ProtoListLevelSetting fixFontFamily. */ - public fixFontFamily?: (IProtoFont|null); - - /** ProtoListLevelSetting fixBold. */ - public fixBold: boolean; - - /** ProtoListLevelSetting fixItalic. */ - public fixItalic: boolean; - - /** ProtoListLevelSetting indentionWidth. */ - public indentionWidth: number; - - /** ProtoListLevelSetting color. */ - public color?: (IProtoColor|null); - - /** ProtoListLevelSetting imageName. */ - public imageName: string; - - /** ProtoListLevelSetting fontFamily. */ - public fontFamily?: (IProtoFont|null); - - /** ProtoListLevelSetting bold. */ - public bold?: (IProtoBoxedBool|null); - - /** ProtoListLevelSetting italic. */ - public italic?: (IProtoBoxedBool|null); - - /** ProtoListLevelSetting numberType. */ - public numberType: ProtoNumberType; - - /** ProtoListLevelSetting character. */ - public character: string; - - /** - * Creates a new ProtoListLevelSetting instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoListLevelSetting instance - */ - public static create(properties?: IProtoListLevelSetting): ProtoListLevelSetting; - - /** - * Encodes the specified ProtoListLevelSetting message. Does not implicitly {@link ProtoListLevelSetting.verify|verify} messages. - * @param message ProtoListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoListLevelSetting message, length delimited. Does not implicitly {@link ProtoListLevelSetting.verify|verify} messages. - * @param message ProtoListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoListLevelSetting message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoListLevelSetting; - - /** - * Decodes a ProtoListLevelSetting message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoListLevelSetting; - - /** - * Verifies a ProtoListLevelSetting message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoListLevelSetting - */ - public static fromObject(object: { [k: string]: any }): ProtoListLevelSetting; - - /** - * Creates a plain object from a ProtoListLevelSetting message. Also converts values to other types if specified. - * @param message ProtoListLevelSetting - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoListLevelSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoListLevelSetting to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoListLevelSetting - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoImageListLevelSetting. */ -export interface IProtoImageListLevelSetting { - - /** ProtoImageListLevelSetting listSettingName */ - listSettingName?: (string|null); - - /** ProtoImageListLevelSetting fontSize */ - fontSize?: (IProtoBoxedUint32|null); - - /** ProtoImageListLevelSetting type */ - type?: (ProtoListLevelSettingType|null); - - /** ProtoImageListLevelSetting level */ - level?: (number|null); - - /** ProtoImageListLevelSetting prefix */ - prefix?: (string|null); - - /** ProtoImageListLevelSetting suffix */ - suffix?: (string|null); - - /** ProtoImageListLevelSetting fixFontFamily */ - fixFontFamily?: (IProtoFont|null); - - /** ProtoImageListLevelSetting fixBold */ - fixBold?: (boolean|null); - - /** ProtoImageListLevelSetting fixItalic */ - fixItalic?: (boolean|null); - - /** ProtoImageListLevelSetting indentionWidth */ - indentionWidth?: (number|null); - - /** ProtoImageListLevelSetting color */ - color?: (IProtoColor|null); - - /** ProtoImageListLevelSetting imageName */ - imageName?: (string|null); -} - -/** Represents a ProtoImageListLevelSetting. */ -export class ProtoImageListLevelSetting implements IProtoImageListLevelSetting { - - /** - * Constructs a new ProtoImageListLevelSetting. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoImageListLevelSetting); - - /** ProtoImageListLevelSetting listSettingName. */ - public listSettingName: string; - - /** ProtoImageListLevelSetting fontSize. */ - public fontSize?: (IProtoBoxedUint32|null); - - /** ProtoImageListLevelSetting type. */ - public type: ProtoListLevelSettingType; - - /** ProtoImageListLevelSetting level. */ - public level: number; - - /** ProtoImageListLevelSetting prefix. */ - public prefix: string; - - /** ProtoImageListLevelSetting suffix. */ - public suffix: string; - - /** ProtoImageListLevelSetting fixFontFamily. */ - public fixFontFamily?: (IProtoFont|null); - - /** ProtoImageListLevelSetting fixBold. */ - public fixBold: boolean; - - /** ProtoImageListLevelSetting fixItalic. */ - public fixItalic: boolean; - - /** ProtoImageListLevelSetting indentionWidth. */ - public indentionWidth: number; - - /** ProtoImageListLevelSetting color. */ - public color?: (IProtoColor|null); - - /** ProtoImageListLevelSetting imageName. */ - public imageName: string; - - /** - * Creates a new ProtoImageListLevelSetting instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoImageListLevelSetting instance - */ - public static create(properties?: IProtoImageListLevelSetting): ProtoImageListLevelSetting; - - /** - * Encodes the specified ProtoImageListLevelSetting message. Does not implicitly {@link ProtoImageListLevelSetting.verify|verify} messages. - * @param message ProtoImageListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoImageListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoImageListLevelSetting message, length delimited. Does not implicitly {@link ProtoImageListLevelSetting.verify|verify} messages. - * @param message ProtoImageListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoImageListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoImageListLevelSetting message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoImageListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoImageListLevelSetting; - - /** - * Decodes a ProtoImageListLevelSetting message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoImageListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoImageListLevelSetting; - - /** - * Verifies a ProtoImageListLevelSetting message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoImageListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoImageListLevelSetting - */ - public static fromObject(object: { [k: string]: any }): ProtoImageListLevelSetting; - - /** - * Creates a plain object from a ProtoImageListLevelSetting message. Also converts values to other types if specified. - * @param message ProtoImageListLevelSetting - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoImageListLevelSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoImageListLevelSetting to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoImageListLevelSetting - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTextListLevelSetting. */ -export interface IProtoTextListLevelSetting { - - /** ProtoTextListLevelSetting listSettingName */ - listSettingName?: (string|null); - - /** ProtoTextListLevelSetting fontSize */ - fontSize?: (IProtoBoxedUint32|null); - - /** ProtoTextListLevelSetting type */ - type?: (ProtoListLevelSettingType|null); - - /** ProtoTextListLevelSetting level */ - level?: (number|null); - - /** ProtoTextListLevelSetting prefix */ - prefix?: (string|null); - - /** ProtoTextListLevelSetting suffix */ - suffix?: (string|null); - - /** ProtoTextListLevelSetting fixFontFamily */ - fixFontFamily?: (IProtoFont|null); - - /** ProtoTextListLevelSetting fixBold */ - fixBold?: (boolean|null); - - /** ProtoTextListLevelSetting fixItalic */ - fixItalic?: (boolean|null); - - /** ProtoTextListLevelSetting indentionWidth */ - indentionWidth?: (number|null); - - /** ProtoTextListLevelSetting color */ - color?: (IProtoColor|null); - - /** ProtoTextListLevelSetting fontFamily */ - fontFamily?: (IProtoFont|null); - - /** ProtoTextListLevelSetting bold */ - bold?: (IProtoBoxedBool|null); - - /** ProtoTextListLevelSetting italic */ - italic?: (IProtoBoxedBool|null); -} - -/** Represents a ProtoTextListLevelSetting. */ -export class ProtoTextListLevelSetting implements IProtoTextListLevelSetting { - - /** - * Constructs a new ProtoTextListLevelSetting. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTextListLevelSetting); - - /** ProtoTextListLevelSetting listSettingName. */ - public listSettingName: string; - - /** ProtoTextListLevelSetting fontSize. */ - public fontSize?: (IProtoBoxedUint32|null); - - /** ProtoTextListLevelSetting type. */ - public type: ProtoListLevelSettingType; - - /** ProtoTextListLevelSetting level. */ - public level: number; - - /** ProtoTextListLevelSetting prefix. */ - public prefix: string; - - /** ProtoTextListLevelSetting suffix. */ - public suffix: string; - - /** ProtoTextListLevelSetting fixFontFamily. */ - public fixFontFamily?: (IProtoFont|null); - - /** ProtoTextListLevelSetting fixBold. */ - public fixBold: boolean; - - /** ProtoTextListLevelSetting fixItalic. */ - public fixItalic: boolean; - - /** ProtoTextListLevelSetting indentionWidth. */ - public indentionWidth: number; - - /** ProtoTextListLevelSetting color. */ - public color?: (IProtoColor|null); - - /** ProtoTextListLevelSetting fontFamily. */ - public fontFamily?: (IProtoFont|null); - - /** ProtoTextListLevelSetting bold. */ - public bold?: (IProtoBoxedBool|null); - - /** ProtoTextListLevelSetting italic. */ - public italic?: (IProtoBoxedBool|null); - - /** - * Creates a new ProtoTextListLevelSetting instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTextListLevelSetting instance - */ - public static create(properties?: IProtoTextListLevelSetting): ProtoTextListLevelSetting; - - /** - * Encodes the specified ProtoTextListLevelSetting message. Does not implicitly {@link ProtoTextListLevelSetting.verify|verify} messages. - * @param message ProtoTextListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTextListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTextListLevelSetting message, length delimited. Does not implicitly {@link ProtoTextListLevelSetting.verify|verify} messages. - * @param message ProtoTextListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTextListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTextListLevelSetting message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTextListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTextListLevelSetting; - - /** - * Decodes a ProtoTextListLevelSetting message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTextListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTextListLevelSetting; - - /** - * Verifies a ProtoTextListLevelSetting message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTextListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTextListLevelSetting - */ - public static fromObject(object: { [k: string]: any }): ProtoTextListLevelSetting; - - /** - * Creates a plain object from a ProtoTextListLevelSetting message. Also converts values to other types if specified. - * @param message ProtoTextListLevelSetting - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTextListLevelSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTextListLevelSetting to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTextListLevelSetting - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoNumberListLevelSetting. */ -export interface IProtoNumberListLevelSetting { - - /** ProtoNumberListLevelSetting listSettingName */ - listSettingName?: (string|null); - - /** ProtoNumberListLevelSetting fontSize */ - fontSize?: (IProtoBoxedUint32|null); - - /** ProtoNumberListLevelSetting type */ - type?: (ProtoListLevelSettingType|null); - - /** ProtoNumberListLevelSetting level */ - level?: (number|null); - - /** ProtoNumberListLevelSetting prefix */ - prefix?: (string|null); - - /** ProtoNumberListLevelSetting suffix */ - suffix?: (string|null); - - /** ProtoNumberListLevelSetting fixFontFamily */ - fixFontFamily?: (IProtoFont|null); - - /** ProtoNumberListLevelSetting fixBold */ - fixBold?: (boolean|null); - - /** ProtoNumberListLevelSetting fixItalic */ - fixItalic?: (boolean|null); - - /** ProtoNumberListLevelSetting indentionWidth */ - indentionWidth?: (number|null); - - /** ProtoNumberListLevelSetting color */ - color?: (IProtoColor|null); - - /** ProtoNumberListLevelSetting fontFamily */ - fontFamily?: (IProtoFont|null); - - /** ProtoNumberListLevelSetting bold */ - bold?: (IProtoBoxedBool|null); - - /** ProtoNumberListLevelSetting italic */ - italic?: (IProtoBoxedBool|null); - - /** ProtoNumberListLevelSetting numberType */ - numberType?: (ProtoNumberType|null); -} - -/** Represents a ProtoNumberListLevelSetting. */ -export class ProtoNumberListLevelSetting implements IProtoNumberListLevelSetting { - - /** - * Constructs a new ProtoNumberListLevelSetting. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoNumberListLevelSetting); - - /** ProtoNumberListLevelSetting listSettingName. */ - public listSettingName: string; - - /** ProtoNumberListLevelSetting fontSize. */ - public fontSize?: (IProtoBoxedUint32|null); - - /** ProtoNumberListLevelSetting type. */ - public type: ProtoListLevelSettingType; - - /** ProtoNumberListLevelSetting level. */ - public level: number; - - /** ProtoNumberListLevelSetting prefix. */ - public prefix: string; - - /** ProtoNumberListLevelSetting suffix. */ - public suffix: string; - - /** ProtoNumberListLevelSetting fixFontFamily. */ - public fixFontFamily?: (IProtoFont|null); - - /** ProtoNumberListLevelSetting fixBold. */ - public fixBold: boolean; - - /** ProtoNumberListLevelSetting fixItalic. */ - public fixItalic: boolean; - - /** ProtoNumberListLevelSetting indentionWidth. */ - public indentionWidth: number; - - /** ProtoNumberListLevelSetting color. */ - public color?: (IProtoColor|null); - - /** ProtoNumberListLevelSetting fontFamily. */ - public fontFamily?: (IProtoFont|null); - - /** ProtoNumberListLevelSetting bold. */ - public bold?: (IProtoBoxedBool|null); - - /** ProtoNumberListLevelSetting italic. */ - public italic?: (IProtoBoxedBool|null); - - /** ProtoNumberListLevelSetting numberType. */ - public numberType: ProtoNumberType; - - /** - * Creates a new ProtoNumberListLevelSetting instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoNumberListLevelSetting instance - */ - public static create(properties?: IProtoNumberListLevelSetting): ProtoNumberListLevelSetting; - - /** - * Encodes the specified ProtoNumberListLevelSetting message. Does not implicitly {@link ProtoNumberListLevelSetting.verify|verify} messages. - * @param message ProtoNumberListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoNumberListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoNumberListLevelSetting message, length delimited. Does not implicitly {@link ProtoNumberListLevelSetting.verify|verify} messages. - * @param message ProtoNumberListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoNumberListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoNumberListLevelSetting message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoNumberListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoNumberListLevelSetting; - - /** - * Decodes a ProtoNumberListLevelSetting message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoNumberListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoNumberListLevelSetting; - - /** - * Verifies a ProtoNumberListLevelSetting message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoNumberListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoNumberListLevelSetting - */ - public static fromObject(object: { [k: string]: any }): ProtoNumberListLevelSetting; - - /** - * Creates a plain object from a ProtoNumberListLevelSetting message. Also converts values to other types if specified. - * @param message ProtoNumberListLevelSetting - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoNumberListLevelSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoNumberListLevelSetting to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoNumberListLevelSetting - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoUnnumberedListLevelSetting. */ -export interface IProtoUnnumberedListLevelSetting { - - /** ProtoUnnumberedListLevelSetting listSettingName */ - listSettingName?: (string|null); - - /** ProtoUnnumberedListLevelSetting fontSize */ - fontSize?: (IProtoBoxedUint32|null); - - /** ProtoUnnumberedListLevelSetting type */ - type?: (ProtoListLevelSettingType|null); - - /** ProtoUnnumberedListLevelSetting level */ - level?: (number|null); - - /** ProtoUnnumberedListLevelSetting prefix */ - prefix?: (string|null); - - /** ProtoUnnumberedListLevelSetting suffix */ - suffix?: (string|null); - - /** ProtoUnnumberedListLevelSetting fixFontFamily */ - fixFontFamily?: (IProtoFont|null); - - /** ProtoUnnumberedListLevelSetting fixBold */ - fixBold?: (boolean|null); - - /** ProtoUnnumberedListLevelSetting fixItalic */ - fixItalic?: (boolean|null); - - /** ProtoUnnumberedListLevelSetting indentionWidth */ - indentionWidth?: (number|null); - - /** ProtoUnnumberedListLevelSetting color */ - color?: (IProtoColor|null); - - /** ProtoUnnumberedListLevelSetting fontFamily */ - fontFamily?: (IProtoFont|null); - - /** ProtoUnnumberedListLevelSetting bold */ - bold?: (IProtoBoxedBool|null); - - /** ProtoUnnumberedListLevelSetting italic */ - italic?: (IProtoBoxedBool|null); - - /** ProtoUnnumberedListLevelSetting character */ - character?: (string|null); -} - -/** Represents a ProtoUnnumberedListLevelSetting. */ -export class ProtoUnnumberedListLevelSetting implements IProtoUnnumberedListLevelSetting { - - /** - * Constructs a new ProtoUnnumberedListLevelSetting. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoUnnumberedListLevelSetting); - - /** ProtoUnnumberedListLevelSetting listSettingName. */ - public listSettingName: string; - - /** ProtoUnnumberedListLevelSetting fontSize. */ - public fontSize?: (IProtoBoxedUint32|null); - - /** ProtoUnnumberedListLevelSetting type. */ - public type: ProtoListLevelSettingType; - - /** ProtoUnnumberedListLevelSetting level. */ - public level: number; - - /** ProtoUnnumberedListLevelSetting prefix. */ - public prefix: string; - - /** ProtoUnnumberedListLevelSetting suffix. */ - public suffix: string; - - /** ProtoUnnumberedListLevelSetting fixFontFamily. */ - public fixFontFamily?: (IProtoFont|null); - - /** ProtoUnnumberedListLevelSetting fixBold. */ - public fixBold: boolean; - - /** ProtoUnnumberedListLevelSetting fixItalic. */ - public fixItalic: boolean; - - /** ProtoUnnumberedListLevelSetting indentionWidth. */ - public indentionWidth: number; - - /** ProtoUnnumberedListLevelSetting color. */ - public color?: (IProtoColor|null); - - /** ProtoUnnumberedListLevelSetting fontFamily. */ - public fontFamily?: (IProtoFont|null); - - /** ProtoUnnumberedListLevelSetting bold. */ - public bold?: (IProtoBoxedBool|null); - - /** ProtoUnnumberedListLevelSetting italic. */ - public italic?: (IProtoBoxedBool|null); - - /** ProtoUnnumberedListLevelSetting character. */ - public character: string; - - /** - * Creates a new ProtoUnnumberedListLevelSetting instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoUnnumberedListLevelSetting instance - */ - public static create(properties?: IProtoUnnumberedListLevelSetting): ProtoUnnumberedListLevelSetting; - - /** - * Encodes the specified ProtoUnnumberedListLevelSetting message. Does not implicitly {@link ProtoUnnumberedListLevelSetting.verify|verify} messages. - * @param message ProtoUnnumberedListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoUnnumberedListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoUnnumberedListLevelSetting message, length delimited. Does not implicitly {@link ProtoUnnumberedListLevelSetting.verify|verify} messages. - * @param message ProtoUnnumberedListLevelSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoUnnumberedListLevelSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoUnnumberedListLevelSetting message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoUnnumberedListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoUnnumberedListLevelSetting; - - /** - * Decodes a ProtoUnnumberedListLevelSetting message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoUnnumberedListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoUnnumberedListLevelSetting; - - /** - * Verifies a ProtoUnnumberedListLevelSetting message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoUnnumberedListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoUnnumberedListLevelSetting - */ - public static fromObject(object: { [k: string]: any }): ProtoUnnumberedListLevelSetting; - - /** - * Creates a plain object from a ProtoUnnumberedListLevelSetting message. Also converts values to other types if specified. - * @param message ProtoUnnumberedListLevelSetting - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoUnnumberedListLevelSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoUnnumberedListLevelSetting to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoUnnumberedListLevelSetting - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoListSetting. */ -export interface IProtoListSetting { - - /** ProtoListSetting parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoListSetting name */ - name?: (string|null); - - /** ProtoListSetting listLevelSettings */ - listLevelSettings?: (IProtoListLevelSetting[]|null); - - /** ProtoListSetting defaultListLevelSetting */ - defaultListLevelSetting?: (IProtoListLevelSetting|null); - - /** ProtoListSetting comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoListSetting. */ -export class ProtoListSetting implements IProtoListSetting { - - /** - * Constructs a new ProtoListSetting. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoListSetting); - - /** ProtoListSetting parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoListSetting name. */ - public name: string; - - /** ProtoListSetting listLevelSettings. */ - public listLevelSettings: IProtoListLevelSetting[]; - - /** ProtoListSetting defaultListLevelSetting. */ - public defaultListLevelSetting?: (IProtoListLevelSetting|null); - - /** ProtoListSetting comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoListSetting instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoListSetting instance - */ - public static create(properties?: IProtoListSetting): ProtoListSetting; - - /** - * Encodes the specified ProtoListSetting message. Does not implicitly {@link ProtoListSetting.verify|verify} messages. - * @param message ProtoListSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoListSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoListSetting message, length delimited. Does not implicitly {@link ProtoListSetting.verify|verify} messages. - * @param message ProtoListSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoListSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoListSetting message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoListSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoListSetting; - - /** - * Decodes a ProtoListSetting message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoListSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoListSetting; - - /** - * Verifies a ProtoListSetting message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoListSetting message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoListSetting - */ - public static fromObject(object: { [k: string]: any }): ProtoListSetting; - - /** - * Creates a plain object from a ProtoListSetting message. Also converts values to other types if specified. - * @param message ProtoListSetting - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoListSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoListSetting to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoListSetting - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBoxedListSetting. */ -export interface IProtoBoxedListSetting { - - /** ProtoBoxedListSetting value */ - value?: (IProtoListSetting|null); - - /** ProtoBoxedListSetting isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedListSetting. */ -export class ProtoBoxedListSetting implements IProtoBoxedListSetting { - - /** - * Constructs a new ProtoBoxedListSetting. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedListSetting); - - /** ProtoBoxedListSetting value. */ - public value?: (IProtoListSetting|null); - - /** ProtoBoxedListSetting isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedListSetting instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedListSetting instance - */ - public static create(properties?: IProtoBoxedListSetting): ProtoBoxedListSetting; - - /** - * Encodes the specified ProtoBoxedListSetting message. Does not implicitly {@link ProtoBoxedListSetting.verify|verify} messages. - * @param message ProtoBoxedListSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedListSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedListSetting message, length delimited. Does not implicitly {@link ProtoBoxedListSetting.verify|verify} messages. - * @param message ProtoBoxedListSetting message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedListSetting, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedListSetting message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedListSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedListSetting; - - /** - * Decodes a ProtoBoxedListSetting message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedListSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedListSetting; - - /** - * Verifies a ProtoBoxedListSetting message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedListSetting message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedListSetting - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedListSetting; - - /** - * Creates a plain object from a ProtoBoxedListSetting message. Also converts values to other types if specified. - * @param message ProtoBoxedListSetting - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedListSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedListSetting to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedListSetting - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoNamedString. */ -export interface IProtoNamedString { - - /** ProtoNamedString _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoNamedString parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoNamedString name */ - name?: (string|null); - - /** ProtoNamedString comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoNamedString uuid */ - uuid?: (string|null); - - /** ProtoNamedString description */ - description?: (string|null); - - /** ProtoNamedString nameCode */ - nameCode?: (string|null); - - /** ProtoNamedString codeMode */ - codeMode?: (boolean|null); -} - -/** Represents a ProtoNamedString. */ -export class ProtoNamedString implements IProtoNamedString { - - /** - * Constructs a new ProtoNamedString. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoNamedString); - - /** ProtoNamedString _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoNamedString parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoNamedString name. */ - public name: string; - - /** ProtoNamedString comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoNamedString uuid. */ - public uuid: string; - - /** ProtoNamedString description. */ - public description: string; - - /** ProtoNamedString nameCode. */ - public nameCode: string; - - /** ProtoNamedString codeMode. */ - public codeMode: boolean; - - /** - * Creates a new ProtoNamedString instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoNamedString instance - */ - public static create(properties?: IProtoNamedString): ProtoNamedString; - - /** - * Encodes the specified ProtoNamedString message. Does not implicitly {@link ProtoNamedString.verify|verify} messages. - * @param message ProtoNamedString message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoNamedString, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoNamedString message, length delimited. Does not implicitly {@link ProtoNamedString.verify|verify} messages. - * @param message ProtoNamedString message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoNamedString, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoNamedString message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoNamedString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoNamedString; - - /** - * Decodes a ProtoNamedString message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoNamedString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoNamedString; - - /** - * Verifies a ProtoNamedString message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoNamedString message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoNamedString - */ - public static fromObject(object: { [k: string]: any }): ProtoNamedString; - - /** - * Creates a plain object from a ProtoNamedString message. Also converts values to other types if specified. - * @param message ProtoNamedString - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoNamedString, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoNamedString to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoNamedString - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoParagraph. */ -export interface IProtoParagraph { - - /** ProtoParagraph _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoParagraph parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoParagraph format */ - format?: (IProtoParagraphFormat|null); - - /** ProtoParagraph overwrite */ - overwrite?: (IProtoParagraphFormat|null); - - /** ProtoParagraph comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoParagraph paragraphFormatUUID */ - paragraphFormatUUID?: (string|null); - - /** ProtoParagraph uuid */ - uuid?: (string|null); -} - -/** Represents a ProtoParagraph. */ -export class ProtoParagraph implements IProtoParagraph { - - /** - * Constructs a new ProtoParagraph. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoParagraph); - - /** ProtoParagraph _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoParagraph parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoParagraph format. */ - public format?: (IProtoParagraphFormat|null); - - /** ProtoParagraph overwrite. */ - public overwrite?: (IProtoParagraphFormat|null); - - /** ProtoParagraph comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoParagraph paragraphFormatUUID. */ - public paragraphFormatUUID: string; - - /** ProtoParagraph uuid. */ - public uuid: string; - - /** - * Creates a new ProtoParagraph instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoParagraph instance - */ - public static create(properties?: IProtoParagraph): ProtoParagraph; - - /** - * Encodes the specified ProtoParagraph message. Does not implicitly {@link ProtoParagraph.verify|verify} messages. - * @param message ProtoParagraph message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoParagraph, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoParagraph message, length delimited. Does not implicitly {@link ProtoParagraph.verify|verify} messages. - * @param message ProtoParagraph message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoParagraph, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoParagraph message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoParagraph - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoParagraph; - - /** - * Decodes a ProtoParagraph message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoParagraph - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoParagraph; - - /** - * Verifies a ProtoParagraph message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoParagraph message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoParagraph - */ - public static fromObject(object: { [k: string]: any }): ProtoParagraph; - - /** - * Creates a plain object from a ProtoParagraph message. Also converts values to other types if specified. - * @param message ProtoParagraph - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoParagraph, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoParagraph to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoParagraph - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoParagraphFormat. */ -export interface IProtoParagraphFormat { - - /** ProtoParagraphFormat baseFormat */ - baseFormat?: (IProtoParagraphFormat|null); - - /** ProtoParagraphFormat name */ - name?: (IProtoBoxedString|null); - - /** ProtoParagraphFormat default */ - "default"?: (IProtoBoxedBool|null); - - /** ProtoParagraphFormat font */ - font?: (IProtoBoxedFont|null); - - /** ProtoParagraphFormat bold */ - bold?: (IProtoBoxedBool|null); - - /** ProtoParagraphFormat italic */ - italic?: (IProtoBoxedBool|null); - - /** ProtoParagraphFormat fontColor */ - fontColor?: (IProtoBoxedColor|null); - - /** ProtoParagraphFormat underline */ - underline?: (IProtoBoxedUnderlineSpec|null); - - /** ProtoParagraphFormat fontSize */ - fontSize?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat characterWidth */ - characterWidth?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat characterSpacing */ - characterSpacing?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat lineFeed */ - lineFeed?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat alignment */ - alignment?: (IProtoBoxedHorizontalAlignment|null); - - /** ProtoParagraphFormat indentionWidth */ - indentionWidth?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat indentionLevel */ - indentionLevel?: (IProtoBoxedInt32|null); - - /** ProtoParagraphFormat spaceAbove */ - spaceAbove?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat spaceBelow */ - spaceBelow?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat widowSetting */ - widowSetting?: (IProtoBoxedInt32|null); - - /** ProtoParagraphFormat orphanSetting */ - orphanSetting?: (IProtoBoxedInt32|null); - - /** ProtoParagraphFormat widowPriority */ - widowPriority?: (IProtoBoxedInt32|null); - - /** ProtoParagraphFormat strikethrough */ - strikethrough?: (IProtoBoxedStrikethroughSpec|null); - - /** ProtoParagraphFormat superscriptSubscript */ - superscriptSubscript?: (IProtoBoxedSPBMode|null); - - /** ProtoParagraphFormat backgroundColor */ - backgroundColor?: (IProtoBoxedColor|null); - - /** ProtoParagraphFormat listSetting */ - listSetting?: (IProtoBoxedListSetting|null); - - /** ProtoParagraphFormat hyphenation */ - hyphenation?: (IProtoBoxedBool|null); - - /** ProtoParagraphFormat preNamedString */ - preNamedString?: (IProtoBoxedString|null); - - /** ProtoParagraphFormat postNamedString */ - postNamedString?: (IProtoBoxedString|null); - - /** ProtoParagraphFormat semanticType */ - semanticType?: (IProtoBoxedString|null); - - /** ProtoParagraphFormat comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoParagraphFormat. */ -export class ProtoParagraphFormat implements IProtoParagraphFormat { - - /** - * Constructs a new ProtoParagraphFormat. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoParagraphFormat); - - /** ProtoParagraphFormat baseFormat. */ - public baseFormat?: (IProtoParagraphFormat|null); - - /** ProtoParagraphFormat name. */ - public name?: (IProtoBoxedString|null); - - /** ProtoParagraphFormat default. */ - public default?: (IProtoBoxedBool|null); - - /** ProtoParagraphFormat font. */ - public font?: (IProtoBoxedFont|null); - - /** ProtoParagraphFormat bold. */ - public bold?: (IProtoBoxedBool|null); - - /** ProtoParagraphFormat italic. */ - public italic?: (IProtoBoxedBool|null); - - /** ProtoParagraphFormat fontColor. */ - public fontColor?: (IProtoBoxedColor|null); - - /** ProtoParagraphFormat underline. */ - public underline?: (IProtoBoxedUnderlineSpec|null); - - /** ProtoParagraphFormat fontSize. */ - public fontSize?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat characterWidth. */ - public characterWidth?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat characterSpacing. */ - public characterSpacing?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat lineFeed. */ - public lineFeed?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat alignment. */ - public alignment?: (IProtoBoxedHorizontalAlignment|null); - - /** ProtoParagraphFormat indentionWidth. */ - public indentionWidth?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat indentionLevel. */ - public indentionLevel?: (IProtoBoxedInt32|null); - - /** ProtoParagraphFormat spaceAbove. */ - public spaceAbove?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat spaceBelow. */ - public spaceBelow?: (IProtoBoxedMeasure|null); - - /** ProtoParagraphFormat widowSetting. */ - public widowSetting?: (IProtoBoxedInt32|null); - - /** ProtoParagraphFormat orphanSetting. */ - public orphanSetting?: (IProtoBoxedInt32|null); - - /** ProtoParagraphFormat widowPriority. */ - public widowPriority?: (IProtoBoxedInt32|null); - - /** ProtoParagraphFormat strikethrough. */ - public strikethrough?: (IProtoBoxedStrikethroughSpec|null); - - /** ProtoParagraphFormat superscriptSubscript. */ - public superscriptSubscript?: (IProtoBoxedSPBMode|null); - - /** ProtoParagraphFormat backgroundColor. */ - public backgroundColor?: (IProtoBoxedColor|null); - - /** ProtoParagraphFormat listSetting. */ - public listSetting?: (IProtoBoxedListSetting|null); - - /** ProtoParagraphFormat hyphenation. */ - public hyphenation?: (IProtoBoxedBool|null); - - /** ProtoParagraphFormat preNamedString. */ - public preNamedString?: (IProtoBoxedString|null); - - /** ProtoParagraphFormat postNamedString. */ - public postNamedString?: (IProtoBoxedString|null); - - /** ProtoParagraphFormat semanticType. */ - public semanticType?: (IProtoBoxedString|null); - - /** ProtoParagraphFormat comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoParagraphFormat instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoParagraphFormat instance - */ - public static create(properties?: IProtoParagraphFormat): ProtoParagraphFormat; - - /** - * Encodes the specified ProtoParagraphFormat message. Does not implicitly {@link ProtoParagraphFormat.verify|verify} messages. - * @param message ProtoParagraphFormat message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoParagraphFormat, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoParagraphFormat message, length delimited. Does not implicitly {@link ProtoParagraphFormat.verify|verify} messages. - * @param message ProtoParagraphFormat message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoParagraphFormat, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoParagraphFormat message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoParagraphFormat - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoParagraphFormat; - - /** - * Decodes a ProtoParagraphFormat message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoParagraphFormat - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoParagraphFormat; - - /** - * Verifies a ProtoParagraphFormat message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoParagraphFormat message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoParagraphFormat - */ - public static fromObject(object: { [k: string]: any }): ProtoParagraphFormat; - - /** - * Creates a plain object from a ProtoParagraphFormat message. Also converts values to other types if specified. - * @param message ProtoParagraphFormat - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoParagraphFormat, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoParagraphFormat to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoParagraphFormat - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSection. */ -export interface IProtoSection { - - /** ProtoSection _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoSection parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoSection uuid */ - uuid?: (string|null); - - /** ProtoSection cDefUuid */ - cDefUuid?: (string|null); - - /** ProtoSection comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoSection. */ -export class ProtoSection implements IProtoSection { - - /** - * Constructs a new ProtoSection. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSection); - - /** ProtoSection _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoSection parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoSection uuid. */ - public uuid: string; - - /** ProtoSection cDefUuid. */ - public cDefUuid: string; - - /** ProtoSection comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoSection instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSection instance - */ - public static create(properties?: IProtoSection): ProtoSection; - - /** - * Encodes the specified ProtoSection message. Does not implicitly {@link ProtoSection.verify|verify} messages. - * @param message ProtoSection message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSection, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSection message, length delimited. Does not implicitly {@link ProtoSection.verify|verify} messages. - * @param message ProtoSection message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSection, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSection message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSection - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSection; - - /** - * Decodes a ProtoSection message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSection - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSection; - - /** - * Verifies a ProtoSection message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSection message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSection - */ - public static fromObject(object: { [k: string]: any }): ProtoSection; - - /** - * Creates a plain object from a ProtoSection message. Also converts values to other types if specified. - * @param message ProtoSection - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSection, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSection to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSection - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSpaceVertically. */ -export interface IProtoSpaceVertically { - - /** ProtoSpaceVertically parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoSpaceVertically space */ - space?: (IProtoMeasure|null); - - /** ProtoSpaceVertically comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoSpaceVertically. */ -export class ProtoSpaceVertically implements IProtoSpaceVertically { - - /** - * Constructs a new ProtoSpaceVertically. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSpaceVertically); - - /** ProtoSpaceVertically parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoSpaceVertically space. */ - public space?: (IProtoMeasure|null); - - /** ProtoSpaceVertically comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoSpaceVertically instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSpaceVertically instance - */ - public static create(properties?: IProtoSpaceVertically): ProtoSpaceVertically; - - /** - * Encodes the specified ProtoSpaceVertically message. Does not implicitly {@link ProtoSpaceVertically.verify|verify} messages. - * @param message ProtoSpaceVertically message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSpaceVertically, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSpaceVertically message, length delimited. Does not implicitly {@link ProtoSpaceVertically.verify|verify} messages. - * @param message ProtoSpaceVertically message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSpaceVertically, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSpaceVertically message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSpaceVertically - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSpaceVertically; - - /** - * Decodes a ProtoSpaceVertically message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSpaceVertically - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSpaceVertically; - - /** - * Verifies a ProtoSpaceVertically message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSpaceVertically message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSpaceVertically - */ - public static fromObject(object: { [k: string]: any }): ProtoSpaceVertically; - - /** - * Creates a plain object from a ProtoSpaceVertically message. Also converts values to other types if specified. - * @param message ProtoSpaceVertically - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSpaceVertically, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSpaceVertically to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSpaceVertically - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSpan. */ -export interface IProtoSpan { - - /** ProtoSpan _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoSpan parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoSpan bold */ - bold?: (IProtoBoxedBool|null); - - /** ProtoSpan italic */ - italic?: (IProtoBoxedBool|null); - - /** ProtoSpan color */ - color?: (IProtoColor|null); - - /** ProtoSpan subscript */ - subscript?: (IProtoBoxedBool|null); - - /** ProtoSpan superscript */ - superscript?: (IProtoBoxedBool|null); - - /** ProtoSpan underline */ - underline?: (IProtoBoxedBool|null); - - /** ProtoSpan strikethrough */ - strikethrough?: (IProtoBoxedBool|null); - - /** ProtoSpan comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoSpan. */ -export class ProtoSpan implements IProtoSpan { - - /** - * Constructs a new ProtoSpan. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSpan); - - /** ProtoSpan _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoSpan parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoSpan bold. */ - public bold?: (IProtoBoxedBool|null); - - /** ProtoSpan italic. */ - public italic?: (IProtoBoxedBool|null); - - /** ProtoSpan color. */ - public color?: (IProtoColor|null); - - /** ProtoSpan subscript. */ - public subscript?: (IProtoBoxedBool|null); - - /** ProtoSpan superscript. */ - public superscript?: (IProtoBoxedBool|null); - - /** ProtoSpan underline. */ - public underline?: (IProtoBoxedBool|null); - - /** ProtoSpan strikethrough. */ - public strikethrough?: (IProtoBoxedBool|null); - - /** ProtoSpan comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoSpan instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSpan instance - */ - public static create(properties?: IProtoSpan): ProtoSpan; - - /** - * Encodes the specified ProtoSpan message. Does not implicitly {@link ProtoSpan.verify|verify} messages. - * @param message ProtoSpan message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSpan, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSpan message, length delimited. Does not implicitly {@link ProtoSpan.verify|verify} messages. - * @param message ProtoSpan message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSpan, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSpan message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSpan - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSpan; - - /** - * Decodes a ProtoSpan message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSpan - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSpan; - - /** - * Verifies a ProtoSpan message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSpan message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSpan - */ - public static fromObject(object: { [k: string]: any }): ProtoSpan; - - /** - * Creates a plain object from a ProtoSpan message. Also converts values to other types if specified. - * @param message ProtoSpan - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSpan, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSpan to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSpan - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTable. */ -export interface IProtoTable { - - /** ProtoTable _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoTable parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTable settings */ - settings?: (IProtoTableSettings|null); - - /** ProtoTable configName */ - configName?: (string|null); - - /** ProtoTable carryOver */ - carryOver?: (INode|null); - - /** ProtoTable subTotal */ - subTotal?: (INode|null); - - /** ProtoTable comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoTable elementProperties */ - elementProperties?: (IProtoTableElementProperties|null); -} - -/** Represents a ProtoTable. */ -export class ProtoTable implements IProtoTable { - - /** - * Constructs a new ProtoTable. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTable); - - /** ProtoTable _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoTable parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTable settings. */ - public settings?: (IProtoTableSettings|null); - - /** ProtoTable configName. */ - public configName: string; - - /** ProtoTable carryOver. */ - public carryOver?: (INode|null); - - /** ProtoTable subTotal. */ - public subTotal?: (INode|null); - - /** ProtoTable comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoTable elementProperties. */ - public elementProperties?: (IProtoTableElementProperties|null); - - /** - * Creates a new ProtoTable instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTable instance - */ - public static create(properties?: IProtoTable): ProtoTable; - - /** - * Encodes the specified ProtoTable message. Does not implicitly {@link ProtoTable.verify|verify} messages. - * @param message ProtoTable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTable message, length delimited. Does not implicitly {@link ProtoTable.verify|verify} messages. - * @param message ProtoTable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTable message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTable; - - /** - * Decodes a ProtoTable message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTable; - - /** - * Verifies a ProtoTable message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTable message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTable - */ - public static fromObject(object: { [k: string]: any }): ProtoTable; - - /** - * Creates a plain object from a ProtoTable message. Also converts values to other types if specified. - * @param message ProtoTable - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTable, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTable to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTable - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableConfig. */ -export interface IProtoTableConfig { - - /** ProtoTableConfig parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTableConfig settings */ - settings?: (IProtoTableSettings|null); - - /** ProtoTableConfig configName */ - configName?: (string|null); - - /** ProtoTableConfig comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoTableConfig. */ -export class ProtoTableConfig implements IProtoTableConfig { - - /** - * Constructs a new ProtoTableConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableConfig); - - /** ProtoTableConfig parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTableConfig settings. */ - public settings?: (IProtoTableSettings|null); - - /** ProtoTableConfig configName. */ - public configName: string; - - /** ProtoTableConfig comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoTableConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableConfig instance - */ - public static create(properties?: IProtoTableConfig): ProtoTableConfig; - - /** - * Encodes the specified ProtoTableConfig message. Does not implicitly {@link ProtoTableConfig.verify|verify} messages. - * @param message ProtoTableConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableConfig message, length delimited. Does not implicitly {@link ProtoTableConfig.verify|verify} messages. - * @param message ProtoTableConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableConfig; - - /** - * Decodes a ProtoTableConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableConfig; - - /** - * Verifies a ProtoTableConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableConfig - */ - public static fromObject(object: { [k: string]: any }): ProtoTableConfig; - - /** - * Creates a plain object from a ProtoTableConfig message. Also converts values to other types if specified. - * @param message ProtoTableConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableSettings. */ -export interface IProtoTableSettings { - - /** ProtoTableSettings xOffset */ - xOffset?: (IProtoMeasure|null); - - /** ProtoTableSettings leftMeasure */ - leftMeasure?: (IProtoBoxedBool|null); - - /** ProtoTableSettings width */ - width?: (IProtoMeasure|null); - - /** ProtoTableSettings repeatHeader */ - repeatHeader?: (IProtoBoxedUint32|null); - - /** ProtoTableSettings ws */ - ws?: (IProtoTableWS|null); -} - -/** Represents a ProtoTableSettings. */ -export class ProtoTableSettings implements IProtoTableSettings { - - /** - * Constructs a new ProtoTableSettings. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableSettings); - - /** ProtoTableSettings xOffset. */ - public xOffset?: (IProtoMeasure|null); - - /** ProtoTableSettings leftMeasure. */ - public leftMeasure?: (IProtoBoxedBool|null); - - /** ProtoTableSettings width. */ - public width?: (IProtoMeasure|null); - - /** ProtoTableSettings repeatHeader. */ - public repeatHeader?: (IProtoBoxedUint32|null); - - /** ProtoTableSettings ws. */ - public ws?: (IProtoTableWS|null); - - /** - * Creates a new ProtoTableSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableSettings instance - */ - public static create(properties?: IProtoTableSettings): ProtoTableSettings; - - /** - * Encodes the specified ProtoTableSettings message. Does not implicitly {@link ProtoTableSettings.verify|verify} messages. - * @param message ProtoTableSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableSettings message, length delimited. Does not implicitly {@link ProtoTableSettings.verify|verify} messages. - * @param message ProtoTableSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableSettings; - - /** - * Decodes a ProtoTableSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableSettings; - - /** - * Verifies a ProtoTableSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableSettings - */ - public static fromObject(object: { [k: string]: any }): ProtoTableSettings; - - /** - * Creates a plain object from a ProtoTableSettings message. Also converts values to other types if specified. - * @param message ProtoTableSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoTableContentGroupType enum. */ -export enum ProtoTableContentGroupType { - HEADER = 0, - BODY = 1, - FOOTER = 2, - SUB_HEADER = 3 -} - -/** Properties of a ProtoBoxedTableContentGroupType. */ -export interface IProtoBoxedTableContentGroupType { - - /** ProtoBoxedTableContentGroupType value */ - value?: (ProtoTableContentGroupType|null); - - /** ProtoBoxedTableContentGroupType isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedTableContentGroupType. */ -export class ProtoBoxedTableContentGroupType implements IProtoBoxedTableContentGroupType { - - /** - * Constructs a new ProtoBoxedTableContentGroupType. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedTableContentGroupType); - - /** ProtoBoxedTableContentGroupType value. */ - public value: ProtoTableContentGroupType; - - /** ProtoBoxedTableContentGroupType isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedTableContentGroupType instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedTableContentGroupType instance - */ - public static create(properties?: IProtoBoxedTableContentGroupType): ProtoBoxedTableContentGroupType; - - /** - * Encodes the specified ProtoBoxedTableContentGroupType message. Does not implicitly {@link ProtoBoxedTableContentGroupType.verify|verify} messages. - * @param message ProtoBoxedTableContentGroupType message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedTableContentGroupType, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedTableContentGroupType message, length delimited. Does not implicitly {@link ProtoBoxedTableContentGroupType.verify|verify} messages. - * @param message ProtoBoxedTableContentGroupType message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedTableContentGroupType, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedTableContentGroupType message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedTableContentGroupType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedTableContentGroupType; - - /** - * Decodes a ProtoBoxedTableContentGroupType message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedTableContentGroupType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedTableContentGroupType; - - /** - * Verifies a ProtoBoxedTableContentGroupType message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedTableContentGroupType message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedTableContentGroupType - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedTableContentGroupType; - - /** - * Creates a plain object from a ProtoBoxedTableContentGroupType message. Also converts values to other types if specified. - * @param message ProtoBoxedTableContentGroupType - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedTableContentGroupType, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedTableContentGroupType to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedTableContentGroupType - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableContentGroup. */ -export interface IProtoTableContentGroup { - - /** ProtoTableContentGroup _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoTableContentGroup parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTableContentGroup settings */ - settings?: (IProtoTableContentGroupSettings|null); - - /** ProtoTableContentGroup comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoTableContentGroup elementProperties */ - elementProperties?: (IProtoTableElementProperties|null); -} - -/** Represents a ProtoTableContentGroup. */ -export class ProtoTableContentGroup implements IProtoTableContentGroup { - - /** - * Constructs a new ProtoTableContentGroup. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableContentGroup); - - /** ProtoTableContentGroup _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoTableContentGroup parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTableContentGroup settings. */ - public settings?: (IProtoTableContentGroupSettings|null); - - /** ProtoTableContentGroup comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoTableContentGroup elementProperties. */ - public elementProperties?: (IProtoTableElementProperties|null); - - /** - * Creates a new ProtoTableContentGroup instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableContentGroup instance - */ - public static create(properties?: IProtoTableContentGroup): ProtoTableContentGroup; - - /** - * Encodes the specified ProtoTableContentGroup message. Does not implicitly {@link ProtoTableContentGroup.verify|verify} messages. - * @param message ProtoTableContentGroup message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableContentGroup, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableContentGroup message, length delimited. Does not implicitly {@link ProtoTableContentGroup.verify|verify} messages. - * @param message ProtoTableContentGroup message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableContentGroup, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableContentGroup message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableContentGroup - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableContentGroup; - - /** - * Decodes a ProtoTableContentGroup message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableContentGroup - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableContentGroup; - - /** - * Verifies a ProtoTableContentGroup message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableContentGroup message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableContentGroup - */ - public static fromObject(object: { [k: string]: any }): ProtoTableContentGroup; - - /** - * Creates a plain object from a ProtoTableContentGroup message. Also converts values to other types if specified. - * @param message ProtoTableContentGroup - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableContentGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableContentGroup to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableContentGroup - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableContentGroupConfig. */ -export interface IProtoTableContentGroupConfig { - - /** ProtoTableContentGroupConfig parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTableContentGroupConfig settings */ - settings?: (IProtoTableContentGroupSettings|null); - - /** ProtoTableContentGroupConfig configName */ - configName?: (string|null); - - /** ProtoTableContentGroupConfig comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoTableContentGroupConfig. */ -export class ProtoTableContentGroupConfig implements IProtoTableContentGroupConfig { - - /** - * Constructs a new ProtoTableContentGroupConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableContentGroupConfig); - - /** ProtoTableContentGroupConfig parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTableContentGroupConfig settings. */ - public settings?: (IProtoTableContentGroupSettings|null); - - /** ProtoTableContentGroupConfig configName. */ - public configName: string; - - /** ProtoTableContentGroupConfig comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoTableContentGroupConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableContentGroupConfig instance - */ - public static create(properties?: IProtoTableContentGroupConfig): ProtoTableContentGroupConfig; - - /** - * Encodes the specified ProtoTableContentGroupConfig message. Does not implicitly {@link ProtoTableContentGroupConfig.verify|verify} messages. - * @param message ProtoTableContentGroupConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableContentGroupConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableContentGroupConfig message, length delimited. Does not implicitly {@link ProtoTableContentGroupConfig.verify|verify} messages. - * @param message ProtoTableContentGroupConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableContentGroupConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableContentGroupConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableContentGroupConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableContentGroupConfig; - - /** - * Decodes a ProtoTableContentGroupConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableContentGroupConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableContentGroupConfig; - - /** - * Verifies a ProtoTableContentGroupConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableContentGroupConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableContentGroupConfig - */ - public static fromObject(object: { [k: string]: any }): ProtoTableContentGroupConfig; - - /** - * Creates a plain object from a ProtoTableContentGroupConfig message. Also converts values to other types if specified. - * @param message ProtoTableContentGroupConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableContentGroupConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableContentGroupConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableContentGroupConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableContentGroupSettings. */ -export interface IProtoTableContentGroupSettings { - - /** ProtoTableContentGroupSettings contentGroupType */ - contentGroupType?: (IProtoBoxedTableContentGroupType|null); - - /** ProtoTableContentGroupSettings backgroundColors */ - backgroundColors?: (IProtoColor[]|null); - - /** ProtoTableContentGroupSettings ws */ - ws?: (IProtoTableWS|null); -} - -/** Represents a ProtoTableContentGroupSettings. */ -export class ProtoTableContentGroupSettings implements IProtoTableContentGroupSettings { - - /** - * Constructs a new ProtoTableContentGroupSettings. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableContentGroupSettings); - - /** ProtoTableContentGroupSettings contentGroupType. */ - public contentGroupType?: (IProtoBoxedTableContentGroupType|null); - - /** ProtoTableContentGroupSettings backgroundColors. */ - public backgroundColors: IProtoColor[]; - - /** ProtoTableContentGroupSettings ws. */ - public ws?: (IProtoTableWS|null); - - /** - * Creates a new ProtoTableContentGroupSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableContentGroupSettings instance - */ - public static create(properties?: IProtoTableContentGroupSettings): ProtoTableContentGroupSettings; - - /** - * Encodes the specified ProtoTableContentGroupSettings message. Does not implicitly {@link ProtoTableContentGroupSettings.verify|verify} messages. - * @param message ProtoTableContentGroupSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableContentGroupSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableContentGroupSettings message, length delimited. Does not implicitly {@link ProtoTableContentGroupSettings.verify|verify} messages. - * @param message ProtoTableContentGroupSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableContentGroupSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableContentGroupSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableContentGroupSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableContentGroupSettings; - - /** - * Decodes a ProtoTableContentGroupSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableContentGroupSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableContentGroupSettings; - - /** - * Verifies a ProtoTableContentGroupSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableContentGroupSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableContentGroupSettings - */ - public static fromObject(object: { [k: string]: any }): ProtoTableContentGroupSettings; - - /** - * Creates a plain object from a ProtoTableContentGroupSettings message. Also converts values to other types if specified. - * @param message ProtoTableContentGroupSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableContentGroupSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableContentGroupSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableContentGroupSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableRow. */ -export interface IProtoTableRow { - - /** ProtoTableRow _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoTableRow parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTableRow settings */ - settings?: (IProtoTableRowSettings|null); - - /** ProtoTableRow rowConfigNumber */ - rowConfigNumber?: (IProtoBoxedUint32|null); - - /** ProtoTableRow comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoTableRow elementProperties */ - elementProperties?: (IProtoTableElementProperties|null); -} - -/** Represents a ProtoTableRow. */ -export class ProtoTableRow implements IProtoTableRow { - - /** - * Constructs a new ProtoTableRow. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableRow); - - /** ProtoTableRow _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoTableRow parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTableRow settings. */ - public settings?: (IProtoTableRowSettings|null); - - /** ProtoTableRow rowConfigNumber. */ - public rowConfigNumber?: (IProtoBoxedUint32|null); - - /** ProtoTableRow comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoTableRow elementProperties. */ - public elementProperties?: (IProtoTableElementProperties|null); - - /** - * Creates a new ProtoTableRow instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableRow instance - */ - public static create(properties?: IProtoTableRow): ProtoTableRow; - - /** - * Encodes the specified ProtoTableRow message. Does not implicitly {@link ProtoTableRow.verify|verify} messages. - * @param message ProtoTableRow message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableRow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableRow message, length delimited. Does not implicitly {@link ProtoTableRow.verify|verify} messages. - * @param message ProtoTableRow message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableRow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableRow message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableRow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableRow; - - /** - * Decodes a ProtoTableRow message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableRow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableRow; - - /** - * Verifies a ProtoTableRow message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableRow message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableRow - */ - public static fromObject(object: { [k: string]: any }): ProtoTableRow; - - /** - * Creates a plain object from a ProtoTableRow message. Also converts values to other types if specified. - * @param message ProtoTableRow - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableRow, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableRow to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableRow - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableRowConfig. */ -export interface IProtoTableRowConfig { - - /** ProtoTableRowConfig parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTableRowConfig settings */ - settings?: (IProtoTableRowSettings|null); - - /** ProtoTableRowConfig configName */ - configName?: (string|null); - - /** ProtoTableRowConfig rowHeader */ - rowHeader?: (string|null); - - /** ProtoTableRowConfig rowFooter */ - rowFooter?: (string|null); - - /** ProtoTableRowConfig comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoTableRowConfig. */ -export class ProtoTableRowConfig implements IProtoTableRowConfig { - - /** - * Constructs a new ProtoTableRowConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableRowConfig); - - /** ProtoTableRowConfig parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTableRowConfig settings. */ - public settings?: (IProtoTableRowSettings|null); - - /** ProtoTableRowConfig configName. */ - public configName: string; - - /** ProtoTableRowConfig rowHeader. */ - public rowHeader: string; - - /** ProtoTableRowConfig rowFooter. */ - public rowFooter: string; - - /** ProtoTableRowConfig comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoTableRowConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableRowConfig instance - */ - public static create(properties?: IProtoTableRowConfig): ProtoTableRowConfig; - - /** - * Encodes the specified ProtoTableRowConfig message. Does not implicitly {@link ProtoTableRowConfig.verify|verify} messages. - * @param message ProtoTableRowConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableRowConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableRowConfig message, length delimited. Does not implicitly {@link ProtoTableRowConfig.verify|verify} messages. - * @param message ProtoTableRowConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableRowConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableRowConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableRowConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableRowConfig; - - /** - * Decodes a ProtoTableRowConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableRowConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableRowConfig; - - /** - * Verifies a ProtoTableRowConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableRowConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableRowConfig - */ - public static fromObject(object: { [k: string]: any }): ProtoTableRowConfig; - - /** - * Creates a plain object from a ProtoTableRowConfig message. Also converts values to other types if specified. - * @param message ProtoTableRowConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableRowConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableRowConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableRowConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableRowSettings. */ -export interface IProtoTableRowSettings { - - /** ProtoTableRowSettings minHeight */ - minHeight?: (IProtoMeasure|null); - - /** ProtoTableRowSettings ws */ - ws?: (IProtoTableWS|null); -} - -/** Represents a ProtoTableRowSettings. */ -export class ProtoTableRowSettings implements IProtoTableRowSettings { - - /** - * Constructs a new ProtoTableRowSettings. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableRowSettings); - - /** ProtoTableRowSettings minHeight. */ - public minHeight?: (IProtoMeasure|null); - - /** ProtoTableRowSettings ws. */ - public ws?: (IProtoTableWS|null); - - /** - * Creates a new ProtoTableRowSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableRowSettings instance - */ - public static create(properties?: IProtoTableRowSettings): ProtoTableRowSettings; - - /** - * Encodes the specified ProtoTableRowSettings message. Does not implicitly {@link ProtoTableRowSettings.verify|verify} messages. - * @param message ProtoTableRowSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableRowSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableRowSettings message, length delimited. Does not implicitly {@link ProtoTableRowSettings.verify|verify} messages. - * @param message ProtoTableRowSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableRowSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableRowSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableRowSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableRowSettings; - - /** - * Decodes a ProtoTableRowSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableRowSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableRowSettings; - - /** - * Verifies a ProtoTableRowSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableRowSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableRowSettings - */ - public static fromObject(object: { [k: string]: any }): ProtoTableRowSettings; - - /** - * Creates a plain object from a ProtoTableRowSettings message. Also converts values to other types if specified. - * @param message ProtoTableRowSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableRowSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableRowSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableRowSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoTableCellType enum. */ -export enum ProtoTableCellType { - TABLE_CELL_BODY = 0, - TABLE_CELL_ROW_HEADER = 1, - TABLE_CELL_ROW_FOOTER = 2 -} - -/** Properties of a ProtoBoxedTableCellType. */ -export interface IProtoBoxedTableCellType { - - /** ProtoBoxedTableCellType value */ - value?: (ProtoTableCellType|null); - - /** ProtoBoxedTableCellType isNull */ - isNull?: (boolean|null); -} - -/** Represents a ProtoBoxedTableCellType. */ -export class ProtoBoxedTableCellType implements IProtoBoxedTableCellType { - - /** - * Constructs a new ProtoBoxedTableCellType. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBoxedTableCellType); - - /** ProtoBoxedTableCellType value. */ - public value: ProtoTableCellType; - - /** ProtoBoxedTableCellType isNull. */ - public isNull: boolean; - - /** - * Creates a new ProtoBoxedTableCellType instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBoxedTableCellType instance - */ - public static create(properties?: IProtoBoxedTableCellType): ProtoBoxedTableCellType; - - /** - * Encodes the specified ProtoBoxedTableCellType message. Does not implicitly {@link ProtoBoxedTableCellType.verify|verify} messages. - * @param message ProtoBoxedTableCellType message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBoxedTableCellType, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBoxedTableCellType message, length delimited. Does not implicitly {@link ProtoBoxedTableCellType.verify|verify} messages. - * @param message ProtoBoxedTableCellType message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBoxedTableCellType, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBoxedTableCellType message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBoxedTableCellType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBoxedTableCellType; - - /** - * Decodes a ProtoBoxedTableCellType message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBoxedTableCellType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBoxedTableCellType; - - /** - * Verifies a ProtoBoxedTableCellType message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBoxedTableCellType message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBoxedTableCellType - */ - public static fromObject(object: { [k: string]: any }): ProtoBoxedTableCellType; - - /** - * Creates a plain object from a ProtoBoxedTableCellType message. Also converts values to other types if specified. - * @param message ProtoBoxedTableCellType - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBoxedTableCellType, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBoxedTableCellType to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBoxedTableCellType - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableCell. */ -export interface IProtoTableCell { - - /** ProtoTableCell _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoTableCell parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTableCell settings */ - settings?: (IProtoTableCellSettings|null); - - /** ProtoTableCell cellConfigNumber */ - cellConfigNumber?: (IProtoBoxedUint32|null); - - /** ProtoTableCell mergedLeft */ - mergedLeft?: (boolean|null); - - /** ProtoTableCell mergedUp */ - mergedUp?: (boolean|null); - - /** ProtoTableCell comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoTableCell elementProperties */ - elementProperties?: (IProtoTableElementProperties|null); -} - -/** Represents a ProtoTableCell. */ -export class ProtoTableCell implements IProtoTableCell { - - /** - * Constructs a new ProtoTableCell. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableCell); - - /** ProtoTableCell _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoTableCell parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTableCell settings. */ - public settings?: (IProtoTableCellSettings|null); - - /** ProtoTableCell cellConfigNumber. */ - public cellConfigNumber?: (IProtoBoxedUint32|null); - - /** ProtoTableCell mergedLeft. */ - public mergedLeft: boolean; - - /** ProtoTableCell mergedUp. */ - public mergedUp: boolean; - - /** ProtoTableCell comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoTableCell elementProperties. */ - public elementProperties?: (IProtoTableElementProperties|null); - - /** - * Creates a new ProtoTableCell instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableCell instance - */ - public static create(properties?: IProtoTableCell): ProtoTableCell; - - /** - * Encodes the specified ProtoTableCell message. Does not implicitly {@link ProtoTableCell.verify|verify} messages. - * @param message ProtoTableCell message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableCell, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableCell message, length delimited. Does not implicitly {@link ProtoTableCell.verify|verify} messages. - * @param message ProtoTableCell message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableCell, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableCell message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableCell - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableCell; - - /** - * Decodes a ProtoTableCell message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableCell - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableCell; - - /** - * Verifies a ProtoTableCell message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableCell message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableCell - */ - public static fromObject(object: { [k: string]: any }): ProtoTableCell; - - /** - * Creates a plain object from a ProtoTableCell message. Also converts values to other types if specified. - * @param message ProtoTableCell - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableCell, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableCell to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableCell - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableCellConfig. */ -export interface IProtoTableCellConfig { - - /** ProtoTableCellConfig parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTableCellConfig settings */ - settings?: (IProtoTableCellSettings|null); - - /** ProtoTableCellConfig configName */ - configName?: (string|null); - - /** ProtoTableCellConfig cellType */ - cellType?: (IProtoBoxedTableCellType|null); - - /** ProtoTableCellConfig comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoTableCellConfig. */ -export class ProtoTableCellConfig implements IProtoTableCellConfig { - - /** - * Constructs a new ProtoTableCellConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableCellConfig); - - /** ProtoTableCellConfig parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTableCellConfig settings. */ - public settings?: (IProtoTableCellSettings|null); - - /** ProtoTableCellConfig configName. */ - public configName: string; - - /** ProtoTableCellConfig cellType. */ - public cellType?: (IProtoBoxedTableCellType|null); - - /** ProtoTableCellConfig comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoTableCellConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableCellConfig instance - */ - public static create(properties?: IProtoTableCellConfig): ProtoTableCellConfig; - - /** - * Encodes the specified ProtoTableCellConfig message. Does not implicitly {@link ProtoTableCellConfig.verify|verify} messages. - * @param message ProtoTableCellConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableCellConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableCellConfig message, length delimited. Does not implicitly {@link ProtoTableCellConfig.verify|verify} messages. - * @param message ProtoTableCellConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableCellConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableCellConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableCellConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableCellConfig; - - /** - * Decodes a ProtoTableCellConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableCellConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableCellConfig; - - /** - * Verifies a ProtoTableCellConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableCellConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableCellConfig - */ - public static fromObject(object: { [k: string]: any }): ProtoTableCellConfig; - - /** - * Creates a plain object from a ProtoTableCellConfig message. Also converts values to other types if specified. - * @param message ProtoTableCellConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableCellConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableCellConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableCellConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableCellSettings. */ -export interface IProtoTableCellSettings { - - /** ProtoTableCellSettings width */ - width?: (IProtoMeasure|null); - - /** ProtoTableCellSettings align */ - align?: (IProtoBoxedHorizontalAlignment|null); - - /** ProtoTableCellSettings valign */ - valign?: (IProtoBoxedVerticalAlignment|null); - - /** ProtoTableCellSettings backgroundColor */ - backgroundColor?: (IProtoColor|null); - - /** ProtoTableCellSettings padding */ - padding?: (IProtoSideMeasures|null); - - /** ProtoTableCellSettings border */ - border?: (IProtoSideBorders|null); - - /** ProtoTableCellSettings margin */ - margin?: (IProtoSideMeasures|null); - - /** ProtoTableCellSettings rotation */ - rotation?: (IProtoBoxedDouble|null); - - /** ProtoTableCellSettings defaultParagraphFormat */ - defaultParagraphFormat?: (IProtoBoxedString|null); -} - -/** Represents a ProtoTableCellSettings. */ -export class ProtoTableCellSettings implements IProtoTableCellSettings { - - /** - * Constructs a new ProtoTableCellSettings. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableCellSettings); - - /** ProtoTableCellSettings width. */ - public width?: (IProtoMeasure|null); - - /** ProtoTableCellSettings align. */ - public align?: (IProtoBoxedHorizontalAlignment|null); - - /** ProtoTableCellSettings valign. */ - public valign?: (IProtoBoxedVerticalAlignment|null); - - /** ProtoTableCellSettings backgroundColor. */ - public backgroundColor?: (IProtoColor|null); - - /** ProtoTableCellSettings padding. */ - public padding?: (IProtoSideMeasures|null); - - /** ProtoTableCellSettings border. */ - public border?: (IProtoSideBorders|null); - - /** ProtoTableCellSettings margin. */ - public margin?: (IProtoSideMeasures|null); - - /** ProtoTableCellSettings rotation. */ - public rotation?: (IProtoBoxedDouble|null); - - /** ProtoTableCellSettings defaultParagraphFormat. */ - public defaultParagraphFormat?: (IProtoBoxedString|null); - - /** - * Creates a new ProtoTableCellSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableCellSettings instance - */ - public static create(properties?: IProtoTableCellSettings): ProtoTableCellSettings; - - /** - * Encodes the specified ProtoTableCellSettings message. Does not implicitly {@link ProtoTableCellSettings.verify|verify} messages. - * @param message ProtoTableCellSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableCellSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableCellSettings message, length delimited. Does not implicitly {@link ProtoTableCellSettings.verify|verify} messages. - * @param message ProtoTableCellSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableCellSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableCellSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableCellSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableCellSettings; - - /** - * Decodes a ProtoTableCellSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableCellSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableCellSettings; - - /** - * Verifies a ProtoTableCellSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableCellSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableCellSettings - */ - public static fromObject(object: { [k: string]: any }): ProtoTableCellSettings; - - /** - * Creates a plain object from a ProtoTableCellSettings message. Also converts values to other types if specified. - * @param message ProtoTableCellSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableCellSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableCellSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableCellSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableWS. */ -export interface IProtoTableWS { - - /** ProtoTableWS minLinesBefore */ - minLinesBefore?: (number|null); - - /** ProtoTableWS minLinesAfter */ - minLinesAfter?: (number|null); - - /** ProtoTableWS priority */ - priority?: (number|null); -} - -/** Represents a ProtoTableWS. */ -export class ProtoTableWS implements IProtoTableWS { - - /** - * Constructs a new ProtoTableWS. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableWS); - - /** ProtoTableWS minLinesBefore. */ - public minLinesBefore: number; - - /** ProtoTableWS minLinesAfter. */ - public minLinesAfter: number; - - /** ProtoTableWS priority. */ - public priority: number; - - /** - * Creates a new ProtoTableWS instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableWS instance - */ - public static create(properties?: IProtoTableWS): ProtoTableWS; - - /** - * Encodes the specified ProtoTableWS message. Does not implicitly {@link ProtoTableWS.verify|verify} messages. - * @param message ProtoTableWS message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableWS, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableWS message, length delimited. Does not implicitly {@link ProtoTableWS.verify|verify} messages. - * @param message ProtoTableWS message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableWS, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableWS message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableWS - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableWS; - - /** - * Decodes a ProtoTableWS message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableWS - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableWS; - - /** - * Verifies a ProtoTableWS message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableWS message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableWS - */ - public static fromObject(object: { [k: string]: any }): ProtoTableWS; - - /** - * Creates a plain object from a ProtoTableWS message. Also converts values to other types if specified. - * @param message ProtoTableWS - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableWS, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableWS to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableWS - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTableElementProperties. */ -export interface IProtoTableElementProperties { - - /** ProtoTableElementProperties widthInheritance */ - widthInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties width */ - width?: (IProtoMeasure|null); - - /** ProtoTableElementProperties widthCode */ - widthCode?: (string|null); - - /** ProtoTableElementProperties alignInheritance */ - alignInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties align */ - align?: (IProtoBoxedHorizontalAlignment|null); - - /** ProtoTableElementProperties alignCode */ - alignCode?: (string|null); - - /** ProtoTableElementProperties valignInheritance */ - valignInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties valign */ - valign?: (IProtoBoxedVerticalAlignment|null); - - /** ProtoTableElementProperties valignCode */ - valignCode?: (string|null); - - /** ProtoTableElementProperties backgroundColorInheritance */ - backgroundColorInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties backgroundColor */ - backgroundColor?: (IProtoColor[]|null); - - /** ProtoTableElementProperties backgroundColorCode */ - backgroundColorCode?: (string|null); - - /** ProtoTableElementProperties paddingTopInheritance */ - paddingTopInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties paddingTop */ - paddingTop?: (IProtoMeasure|null); - - /** ProtoTableElementProperties paddingTopCode */ - paddingTopCode?: (string|null); - - /** ProtoTableElementProperties paddingRightInheritance */ - paddingRightInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties paddingRight */ - paddingRight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties paddingRightCode */ - paddingRightCode?: (string|null); - - /** ProtoTableElementProperties paddingBottomInheritance */ - paddingBottomInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties paddingBottom */ - paddingBottom?: (IProtoMeasure|null); - - /** ProtoTableElementProperties paddingBottomCode */ - paddingBottomCode?: (string|null); - - /** ProtoTableElementProperties paddingLeftInheritance */ - paddingLeftInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties paddingLeft */ - paddingLeft?: (IProtoMeasure|null); - - /** ProtoTableElementProperties paddingLeftCode */ - paddingLeftCode?: (string|null); - - /** ProtoTableElementProperties borderTopColorInheritance */ - borderTopColorInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties borderTopColor */ - borderTopColor?: (IProtoColor|null); - - /** ProtoTableElementProperties borderTopColorCode */ - borderTopColorCode?: (string|null); - - /** ProtoTableElementProperties borderTopWeightInheritance */ - borderTopWeightInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties borderTopWeight */ - borderTopWeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties borderTopWeightCode */ - borderTopWeightCode?: (string|null); - - /** ProtoTableElementProperties borderRightColorInheritance */ - borderRightColorInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties borderRightColor */ - borderRightColor?: (IProtoColor|null); - - /** ProtoTableElementProperties borderRightColorCode */ - borderRightColorCode?: (string|null); - - /** ProtoTableElementProperties borderRightWeightInheritance */ - borderRightWeightInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties borderRightWeight */ - borderRightWeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties borderRightWeightCode */ - borderRightWeightCode?: (string|null); - - /** ProtoTableElementProperties borderBottomColorInheritance */ - borderBottomColorInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties borderBottomColor */ - borderBottomColor?: (IProtoColor|null); - - /** ProtoTableElementProperties borderBottomColorCode */ - borderBottomColorCode?: (string|null); - - /** ProtoTableElementProperties borderBottomWeightInheritance */ - borderBottomWeightInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties borderBottomWeight */ - borderBottomWeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties borderBottomWeightCode */ - borderBottomWeightCode?: (string|null); - - /** ProtoTableElementProperties borderLeftColorInheritance */ - borderLeftColorInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties borderLeftColor */ - borderLeftColor?: (IProtoColor|null); - - /** ProtoTableElementProperties borderLeftColorCode */ - borderLeftColorCode?: (string|null); - - /** ProtoTableElementProperties borderLeftWeightInheritance */ - borderLeftWeightInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties borderLeftWeight */ - borderLeftWeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties borderLeftWeightCode */ - borderLeftWeightCode?: (string|null); - - /** ProtoTableElementProperties marginTopInheritance */ - marginTopInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties marginTop */ - marginTop?: (IProtoMeasure|null); - - /** ProtoTableElementProperties marginTopCode */ - marginTopCode?: (string|null); - - /** ProtoTableElementProperties marginRightInheritance */ - marginRightInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties marginRight */ - marginRight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties marginRightCode */ - marginRightCode?: (string|null); - - /** ProtoTableElementProperties marginBottomInheritance */ - marginBottomInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties marginBottom */ - marginBottom?: (IProtoMeasure|null); - - /** ProtoTableElementProperties marginBottomCode */ - marginBottomCode?: (string|null); - - /** ProtoTableElementProperties marginLeftInheritance */ - marginLeftInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties marginLeft */ - marginLeft?: (IProtoMeasure|null); - - /** ProtoTableElementProperties marginLeftCode */ - marginLeftCode?: (string|null); - - /** ProtoTableElementProperties rotationInheritance */ - rotationInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties rotation */ - rotation?: (IProtoBoxedDouble|null); - - /** ProtoTableElementProperties rotationCode */ - rotationCode?: (string|null); - - /** ProtoTableElementProperties defaultParagraphFormatUUIDInheritance */ - defaultParagraphFormatUUIDInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties defaultParagraphFormatUUID */ - defaultParagraphFormatUUID?: (IProtoBoxedString|null); - - /** ProtoTableElementProperties defaultParagraphFormatUUIDCode */ - defaultParagraphFormatUUIDCode?: (string|null); - - /** ProtoTableElementProperties tableContentGroupTypeInheritance */ - tableContentGroupTypeInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties tableContentGroupType */ - tableContentGroupType?: (IProtoBoxedTableContentGroupType|null); - - /** ProtoTableElementProperties tableContentGroupTypeCode */ - tableContentGroupTypeCode?: (string|null); - - /** ProtoTableElementProperties cellTypeInheritance */ - cellTypeInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties cellType */ - cellType?: (IProtoBoxedTableCellType|null); - - /** ProtoTableElementProperties cellTypeCode */ - cellTypeCode?: (string|null); - - /** ProtoTableElementProperties minRowHeightInheritance */ - minRowHeightInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties minRowHeight */ - minRowHeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties minRowHeightCode */ - minRowHeightCode?: (string|null); - - /** ProtoTableElementProperties wsInheritance */ - wsInheritance?: (Inheritance|null); - - /** ProtoTableElementProperties ws */ - ws?: (IProtoTableWS|null); - - /** ProtoTableElementProperties wsCode */ - wsCode?: (string|null); -} - -/** Represents a ProtoTableElementProperties. */ -export class ProtoTableElementProperties implements IProtoTableElementProperties { - - /** - * Constructs a new ProtoTableElementProperties. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTableElementProperties); - - /** ProtoTableElementProperties widthInheritance. */ - public widthInheritance: Inheritance; - - /** ProtoTableElementProperties width. */ - public width?: (IProtoMeasure|null); - - /** ProtoTableElementProperties widthCode. */ - public widthCode: string; - - /** ProtoTableElementProperties alignInheritance. */ - public alignInheritance: Inheritance; - - /** ProtoTableElementProperties align. */ - public align?: (IProtoBoxedHorizontalAlignment|null); - - /** ProtoTableElementProperties alignCode. */ - public alignCode: string; - - /** ProtoTableElementProperties valignInheritance. */ - public valignInheritance: Inheritance; - - /** ProtoTableElementProperties valign. */ - public valign?: (IProtoBoxedVerticalAlignment|null); - - /** ProtoTableElementProperties valignCode. */ - public valignCode: string; - - /** ProtoTableElementProperties backgroundColorInheritance. */ - public backgroundColorInheritance: Inheritance; - - /** ProtoTableElementProperties backgroundColor. */ - public backgroundColor: IProtoColor[]; - - /** ProtoTableElementProperties backgroundColorCode. */ - public backgroundColorCode: string; - - /** ProtoTableElementProperties paddingTopInheritance. */ - public paddingTopInheritance: Inheritance; - - /** ProtoTableElementProperties paddingTop. */ - public paddingTop?: (IProtoMeasure|null); - - /** ProtoTableElementProperties paddingTopCode. */ - public paddingTopCode: string; - - /** ProtoTableElementProperties paddingRightInheritance. */ - public paddingRightInheritance: Inheritance; - - /** ProtoTableElementProperties paddingRight. */ - public paddingRight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties paddingRightCode. */ - public paddingRightCode: string; - - /** ProtoTableElementProperties paddingBottomInheritance. */ - public paddingBottomInheritance: Inheritance; - - /** ProtoTableElementProperties paddingBottom. */ - public paddingBottom?: (IProtoMeasure|null); - - /** ProtoTableElementProperties paddingBottomCode. */ - public paddingBottomCode: string; - - /** ProtoTableElementProperties paddingLeftInheritance. */ - public paddingLeftInheritance: Inheritance; - - /** ProtoTableElementProperties paddingLeft. */ - public paddingLeft?: (IProtoMeasure|null); - - /** ProtoTableElementProperties paddingLeftCode. */ - public paddingLeftCode: string; - - /** ProtoTableElementProperties borderTopColorInheritance. */ - public borderTopColorInheritance: Inheritance; - - /** ProtoTableElementProperties borderTopColor. */ - public borderTopColor?: (IProtoColor|null); - - /** ProtoTableElementProperties borderTopColorCode. */ - public borderTopColorCode: string; - - /** ProtoTableElementProperties borderTopWeightInheritance. */ - public borderTopWeightInheritance: Inheritance; - - /** ProtoTableElementProperties borderTopWeight. */ - public borderTopWeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties borderTopWeightCode. */ - public borderTopWeightCode: string; - - /** ProtoTableElementProperties borderRightColorInheritance. */ - public borderRightColorInheritance: Inheritance; - - /** ProtoTableElementProperties borderRightColor. */ - public borderRightColor?: (IProtoColor|null); - - /** ProtoTableElementProperties borderRightColorCode. */ - public borderRightColorCode: string; - - /** ProtoTableElementProperties borderRightWeightInheritance. */ - public borderRightWeightInheritance: Inheritance; - - /** ProtoTableElementProperties borderRightWeight. */ - public borderRightWeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties borderRightWeightCode. */ - public borderRightWeightCode: string; - - /** ProtoTableElementProperties borderBottomColorInheritance. */ - public borderBottomColorInheritance: Inheritance; - - /** ProtoTableElementProperties borderBottomColor. */ - public borderBottomColor?: (IProtoColor|null); - - /** ProtoTableElementProperties borderBottomColorCode. */ - public borderBottomColorCode: string; - - /** ProtoTableElementProperties borderBottomWeightInheritance. */ - public borderBottomWeightInheritance: Inheritance; - - /** ProtoTableElementProperties borderBottomWeight. */ - public borderBottomWeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties borderBottomWeightCode. */ - public borderBottomWeightCode: string; - - /** ProtoTableElementProperties borderLeftColorInheritance. */ - public borderLeftColorInheritance: Inheritance; - - /** ProtoTableElementProperties borderLeftColor. */ - public borderLeftColor?: (IProtoColor|null); - - /** ProtoTableElementProperties borderLeftColorCode. */ - public borderLeftColorCode: string; - - /** ProtoTableElementProperties borderLeftWeightInheritance. */ - public borderLeftWeightInheritance: Inheritance; - - /** ProtoTableElementProperties borderLeftWeight. */ - public borderLeftWeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties borderLeftWeightCode. */ - public borderLeftWeightCode: string; - - /** ProtoTableElementProperties marginTopInheritance. */ - public marginTopInheritance: Inheritance; - - /** ProtoTableElementProperties marginTop. */ - public marginTop?: (IProtoMeasure|null); - - /** ProtoTableElementProperties marginTopCode. */ - public marginTopCode: string; - - /** ProtoTableElementProperties marginRightInheritance. */ - public marginRightInheritance: Inheritance; - - /** ProtoTableElementProperties marginRight. */ - public marginRight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties marginRightCode. */ - public marginRightCode: string; - - /** ProtoTableElementProperties marginBottomInheritance. */ - public marginBottomInheritance: Inheritance; - - /** ProtoTableElementProperties marginBottom. */ - public marginBottom?: (IProtoMeasure|null); - - /** ProtoTableElementProperties marginBottomCode. */ - public marginBottomCode: string; - - /** ProtoTableElementProperties marginLeftInheritance. */ - public marginLeftInheritance: Inheritance; - - /** ProtoTableElementProperties marginLeft. */ - public marginLeft?: (IProtoMeasure|null); - - /** ProtoTableElementProperties marginLeftCode. */ - public marginLeftCode: string; - - /** ProtoTableElementProperties rotationInheritance. */ - public rotationInheritance: Inheritance; - - /** ProtoTableElementProperties rotation. */ - public rotation?: (IProtoBoxedDouble|null); - - /** ProtoTableElementProperties rotationCode. */ - public rotationCode: string; - - /** ProtoTableElementProperties defaultParagraphFormatUUIDInheritance. */ - public defaultParagraphFormatUUIDInheritance: Inheritance; - - /** ProtoTableElementProperties defaultParagraphFormatUUID. */ - public defaultParagraphFormatUUID?: (IProtoBoxedString|null); - - /** ProtoTableElementProperties defaultParagraphFormatUUIDCode. */ - public defaultParagraphFormatUUIDCode: string; - - /** ProtoTableElementProperties tableContentGroupTypeInheritance. */ - public tableContentGroupTypeInheritance: Inheritance; - - /** ProtoTableElementProperties tableContentGroupType. */ - public tableContentGroupType?: (IProtoBoxedTableContentGroupType|null); - - /** ProtoTableElementProperties tableContentGroupTypeCode. */ - public tableContentGroupTypeCode: string; - - /** ProtoTableElementProperties cellTypeInheritance. */ - public cellTypeInheritance: Inheritance; - - /** ProtoTableElementProperties cellType. */ - public cellType?: (IProtoBoxedTableCellType|null); - - /** ProtoTableElementProperties cellTypeCode. */ - public cellTypeCode: string; - - /** ProtoTableElementProperties minRowHeightInheritance. */ - public minRowHeightInheritance: Inheritance; - - /** ProtoTableElementProperties minRowHeight. */ - public minRowHeight?: (IProtoMeasure|null); - - /** ProtoTableElementProperties minRowHeightCode. */ - public minRowHeightCode: string; - - /** ProtoTableElementProperties wsInheritance. */ - public wsInheritance: Inheritance; - - /** ProtoTableElementProperties ws. */ - public ws?: (IProtoTableWS|null); - - /** ProtoTableElementProperties wsCode. */ - public wsCode: string; - - /** - * Creates a new ProtoTableElementProperties instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTableElementProperties instance - */ - public static create(properties?: IProtoTableElementProperties): ProtoTableElementProperties; - - /** - * Encodes the specified ProtoTableElementProperties message. Does not implicitly {@link ProtoTableElementProperties.verify|verify} messages. - * @param message ProtoTableElementProperties message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTableElementProperties, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTableElementProperties message, length delimited. Does not implicitly {@link ProtoTableElementProperties.verify|verify} messages. - * @param message ProtoTableElementProperties message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTableElementProperties, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTableElementProperties message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTableElementProperties - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTableElementProperties; - - /** - * Decodes a ProtoTableElementProperties message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTableElementProperties - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTableElementProperties; - - /** - * Verifies a ProtoTableElementProperties message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTableElementProperties message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTableElementProperties - */ - public static fromObject(object: { [k: string]: any }): ProtoTableElementProperties; - - /** - * Creates a plain object from a ProtoTableElementProperties message. Also converts values to other types if specified. - * @param message ProtoTableElementProperties - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTableElementProperties, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTableElementProperties to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTableElementProperties - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoText. */ -export interface IProtoText { - - /** ProtoText parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoText content */ - content?: (string|null); - - /** ProtoText comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoText. */ -export class ProtoText implements IProtoText { - - /** - * Constructs a new ProtoText. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoText); - - /** ProtoText parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoText content. */ - public content: string; - - /** ProtoText comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoText instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoText instance - */ - public static create(properties?: IProtoText): ProtoText; - - /** - * Encodes the specified ProtoText message. Does not implicitly {@link ProtoText.verify|verify} messages. - * @param message ProtoText message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoText, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoText message, length delimited. Does not implicitly {@link ProtoText.verify|verify} messages. - * @param message ProtoText message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoText, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoText message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoText - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoText; - - /** - * Decodes a ProtoText message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoText - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoText; - - /** - * Verifies a ProtoText message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoText message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoText - */ - public static fromObject(object: { [k: string]: any }): ProtoText; - - /** - * Creates a plain object from a ProtoText message. Also converts values to other types if specified. - * @param message ProtoText - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoText, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoText to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoText - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBarcode. */ -export interface IProtoBarcode { - - /** ProtoBarcode type */ - type?: (ProtoBarcodeType|null); - - /** ProtoBarcode x */ - x?: (IProtoMeasure|null); - - /** ProtoBarcode y */ - y?: (IProtoMeasure|null); - - /** ProtoBarcode referencePoint */ - referencePoint?: (ProtoImageReferencePoint|null); - - /** ProtoBarcode rotation */ - rotation?: (number|null); - - /** ProtoBarcode width */ - width?: (IProtoMeasure|null); - - /** ProtoBarcode height */ - height?: (IProtoMeasure|null); - - /** ProtoBarcode padding */ - padding?: (IProtoMeasure|null); - - /** ProtoBarcode data */ - data?: (string|null); - - /** ProtoBarcode positionAbsolute */ - positionAbsolute?: (boolean|null); - - /** ProtoBarcode comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoBarcode uuid */ - uuid?: (string|null); - - /** ProtoBarcode code */ - code?: (string|null); - - /** ProtoBarcode swissQRData */ - swissQRData?: (IProtoSwissQRData|null); -} - -/** Represents a ProtoBarcode. */ -export class ProtoBarcode implements IProtoBarcode { - - /** - * Constructs a new ProtoBarcode. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBarcode); - - /** ProtoBarcode type. */ - public type: ProtoBarcodeType; - - /** ProtoBarcode x. */ - public x?: (IProtoMeasure|null); - - /** ProtoBarcode y. */ - public y?: (IProtoMeasure|null); - - /** ProtoBarcode referencePoint. */ - public referencePoint: ProtoImageReferencePoint; - - /** ProtoBarcode rotation. */ - public rotation: number; - - /** ProtoBarcode width. */ - public width?: (IProtoMeasure|null); - - /** ProtoBarcode height. */ - public height?: (IProtoMeasure|null); - - /** ProtoBarcode padding. */ - public padding?: (IProtoMeasure|null); - - /** ProtoBarcode data. */ - public data: string; - - /** ProtoBarcode positionAbsolute. */ - public positionAbsolute: boolean; - - /** ProtoBarcode comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoBarcode uuid. */ - public uuid: string; - - /** ProtoBarcode code. */ - public code: string; - - /** ProtoBarcode swissQRData. */ - public swissQRData?: (IProtoSwissQRData|null); - - /** - * Creates a new ProtoBarcode instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBarcode instance - */ - public static create(properties?: IProtoBarcode): ProtoBarcode; - - /** - * Encodes the specified ProtoBarcode message. Does not implicitly {@link ProtoBarcode.verify|verify} messages. - * @param message ProtoBarcode message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBarcode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBarcode message, length delimited. Does not implicitly {@link ProtoBarcode.verify|verify} messages. - * @param message ProtoBarcode message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBarcode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBarcode message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBarcode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBarcode; - - /** - * Decodes a ProtoBarcode message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBarcode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBarcode; - - /** - * Verifies a ProtoBarcode message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBarcode message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBarcode - */ - public static fromObject(object: { [k: string]: any }): ProtoBarcode; - - /** - * Creates a plain object from a ProtoBarcode message. Also converts values to other types if specified. - * @param message ProtoBarcode - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBarcode, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBarcode to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBarcode - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBrickReference. */ -export interface IProtoBrickReference { - - /** ProtoBrickReference internName */ - internName?: (string|null); - - /** ProtoBrickReference version */ - version?: (number|null); - - /** ProtoBrickReference comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoBrickReference. */ -export class ProtoBrickReference implements IProtoBrickReference { - - /** - * Constructs a new ProtoBrickReference. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBrickReference); - - /** ProtoBrickReference internName. */ - public internName: string; - - /** ProtoBrickReference version. */ - public version: number; - - /** ProtoBrickReference comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoBrickReference instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBrickReference instance - */ - public static create(properties?: IProtoBrickReference): ProtoBrickReference; - - /** - * Encodes the specified ProtoBrickReference message. Does not implicitly {@link ProtoBrickReference.verify|verify} messages. - * @param message ProtoBrickReference message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBrickReference, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBrickReference message, length delimited. Does not implicitly {@link ProtoBrickReference.verify|verify} messages. - * @param message ProtoBrickReference message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBrickReference, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBrickReference message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBrickReference - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBrickReference; - - /** - * Decodes a ProtoBrickReference message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBrickReference - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBrickReference; - - /** - * Verifies a ProtoBrickReference message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBrickReference message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBrickReference - */ - public static fromObject(object: { [k: string]: any }): ProtoBrickReference; - - /** - * Creates a plain object from a ProtoBrickReference message. Also converts values to other types if specified. - * @param message ProtoBrickReference - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBrickReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBrickReference to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBrickReference - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoBrick. */ -export interface IProtoBrick { - - /** ProtoBrick _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoBrick parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoBrick id */ - id?: (number|Long|null); - - /** ProtoBrick internName */ - internName?: (string|null); - - /** ProtoBrick uuid */ - uuid?: (string|null); - - /** ProtoBrick editable */ - editable?: (boolean|null); - - /** ProtoBrick comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoBrick name */ - name?: (string|null); -} - -/** Represents a ProtoBrick. */ -export class ProtoBrick implements IProtoBrick { - - /** - * Constructs a new ProtoBrick. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoBrick); - - /** ProtoBrick _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoBrick parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoBrick id. */ - public id: (number|Long); - - /** ProtoBrick internName. */ - public internName: string; - - /** ProtoBrick uuid. */ - public uuid: string; - - /** ProtoBrick editable. */ - public editable: boolean; - - /** ProtoBrick comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoBrick name. */ - public name: string; - - /** - * Creates a new ProtoBrick instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoBrick instance - */ - public static create(properties?: IProtoBrick): ProtoBrick; - - /** - * Encodes the specified ProtoBrick message. Does not implicitly {@link ProtoBrick.verify|verify} messages. - * @param message ProtoBrick message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoBrick, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoBrick message, length delimited. Does not implicitly {@link ProtoBrick.verify|verify} messages. - * @param message ProtoBrick message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoBrick, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoBrick message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoBrick - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoBrick; - - /** - * Decodes a ProtoBrick message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoBrick - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoBrick; - - /** - * Verifies a ProtoBrick message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoBrick message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoBrick - */ - public static fromObject(object: { [k: string]: any }): ProtoBrick; - - /** - * Creates a plain object from a ProtoBrick message. Also converts values to other types if specified. - * @param message ProtoBrick - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoBrick, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoBrick to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoBrick - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTemplate. */ -export interface IProtoTemplate { - - /** ProtoTemplate _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoTemplate parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTemplate comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoTemplate uuid */ - uuid?: (string|null); - - /** ProtoTemplate columnBalancing */ - columnBalancing?: (ColumnBalancing|null); - - /** ProtoTemplate semanticType */ - semanticType?: (ProtoSemanticType|null); - - /** ProtoTemplate templateUuid */ - templateUuid?: (string|null); -} - -/** Represents a ProtoTemplate. */ -export class ProtoTemplate implements IProtoTemplate { - - /** - * Constructs a new ProtoTemplate. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTemplate); - - /** ProtoTemplate _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoTemplate parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTemplate comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoTemplate uuid. */ - public uuid: string; - - /** ProtoTemplate columnBalancing. */ - public columnBalancing: ColumnBalancing; - - /** ProtoTemplate semanticType. */ - public semanticType: ProtoSemanticType; - - /** ProtoTemplate templateUuid. */ - public templateUuid: string; - - /** - * Creates a new ProtoTemplate instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTemplate instance - */ - public static create(properties?: IProtoTemplate): ProtoTemplate; - - /** - * Encodes the specified ProtoTemplate message. Does not implicitly {@link ProtoTemplate.verify|verify} messages. - * @param message ProtoTemplate message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTemplate, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTemplate message, length delimited. Does not implicitly {@link ProtoTemplate.verify|verify} messages. - * @param message ProtoTemplate message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTemplate, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTemplate message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTemplate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTemplate; - - /** - * Decodes a ProtoTemplate message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTemplate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTemplate; - - /** - * Verifies a ProtoTemplate message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTemplate message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTemplate - */ - public static fromObject(object: { [k: string]: any }): ProtoTemplate; - - /** - * Creates a plain object from a ProtoTemplate message. Also converts values to other types if specified. - * @param message ProtoTemplate - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTemplate to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTemplate - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ColumnBalancing enum. */ -export enum ColumnBalancing { - NO_BALANCING = 0, - BALANCING = 1 -} - -/** ProtoHeaderMode enum. */ -export enum ProtoHeaderMode { - HEADER_MODE_APPEND_INITIAL = 0, - HEADER_MODE_APPEND = 1, - HEADER_MODE_EXTEND = 2, - HEADER_MODE_REPLACE = 3 -} - -/** Properties of a ProtoHeader. */ -export interface IProtoHeader { - - /** ProtoHeader _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoHeader parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoHeader uuid */ - uuid?: (string|null); - - /** ProtoHeader comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoHeader mode */ - mode?: (ProtoHeaderMode|null); -} - -/** Represents a ProtoHeader. */ -export class ProtoHeader implements IProtoHeader { - - /** - * Constructs a new ProtoHeader. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoHeader); - - /** ProtoHeader _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoHeader parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoHeader uuid. */ - public uuid: string; - - /** ProtoHeader comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoHeader mode. */ - public mode: ProtoHeaderMode; - - /** - * Creates a new ProtoHeader instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoHeader instance - */ - public static create(properties?: IProtoHeader): ProtoHeader; - - /** - * Encodes the specified ProtoHeader message. Does not implicitly {@link ProtoHeader.verify|verify} messages. - * @param message ProtoHeader message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoHeader, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoHeader message, length delimited. Does not implicitly {@link ProtoHeader.verify|verify} messages. - * @param message ProtoHeader message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoHeader, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoHeader message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoHeader - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoHeader; - - /** - * Decodes a ProtoHeader message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoHeader - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoHeader; - - /** - * Verifies a ProtoHeader message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoHeader message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoHeader - */ - public static fromObject(object: { [k: string]: any }): ProtoHeader; - - /** - * Creates a plain object from a ProtoHeader message. Also converts values to other types if specified. - * @param message ProtoHeader - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoHeader to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoHeader - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoFooterMode enum. */ -export enum ProtoFooterMode { - FOOTER_MODE_APPEND_INITIAL = 0, - FOOTER_MODE_APPEND = 1, - FOOTER_MODE_EXTEND = 2, - FOOTER_MODE_REPLACE = 3 -} - -/** Properties of a ProtoFooter. */ -export interface IProtoFooter { - - /** ProtoFooter _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoFooter parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoFooter uuid */ - uuid?: (string|null); - - /** ProtoFooter comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoFooter mode */ - mode?: (ProtoFooterMode|null); -} - -/** Represents a ProtoFooter. */ -export class ProtoFooter implements IProtoFooter { - - /** - * Constructs a new ProtoFooter. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoFooter); - - /** ProtoFooter _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoFooter parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoFooter uuid. */ - public uuid: string; - - /** ProtoFooter comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoFooter mode. */ - public mode: ProtoFooterMode; - - /** - * Creates a new ProtoFooter instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoFooter instance - */ - public static create(properties?: IProtoFooter): ProtoFooter; - - /** - * Encodes the specified ProtoFooter message. Does not implicitly {@link ProtoFooter.verify|verify} messages. - * @param message ProtoFooter message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoFooter, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoFooter message, length delimited. Does not implicitly {@link ProtoFooter.verify|verify} messages. - * @param message ProtoFooter message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoFooter, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoFooter message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoFooter - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoFooter; - - /** - * Decodes a ProtoFooter message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoFooter - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoFooter; - - /** - * Verifies a ProtoFooter message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoFooter message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoFooter - */ - public static fromObject(object: { [k: string]: any }): ProtoFooter; - - /** - * Creates a plain object from a ProtoFooter message. Also converts values to other types if specified. - * @param message ProtoFooter - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoFooter, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoFooter to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoFooter - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Node. */ -export interface INode { - - /** Node children */ - children?: (INode[]|null); - - /** Node listSetting */ - listSetting?: (IProtoListSetting|null); - - /** Node colorDef */ - colorDef?: (IProtoColorDef|null); - - /** Node brick */ - brick?: (IProtoBrick|null); - - /** Node template */ - template?: (IProtoTemplate|null); - - /** Node formatted */ - formatted?: (IProtoFormatted|null); - - /** Node image */ - image?: (IProtoImage|null); - - /** Node paragraphFormat */ - paragraphFormat?: (IProtoParagraphFormat|null); - - /** Node textBrick */ - textBrick?: (IProtoTextBrick|null); - - /** Node text */ - text?: (IProtoText|null); - - /** Node linebreak */ - linebreak?: (IProtoLinebreak|null); - - /** Node spaceVertically */ - spaceVertically?: (IProtoSpaceVertically|null); - - /** Node footer */ - footer?: (IProtoFooter|null); - - /** Node header */ - header?: (IProtoHeader|null); - - /** Node table */ - table?: (IProtoTable|null); - - /** Node tableRow */ - tableRow?: (IProtoTableRow|null); - - /** Node tableCell */ - tableCell?: (IProtoTableCell|null); - - /** Node cDef */ - cDef?: (IProtoCDef|null); - - /** Node pDef */ - pDef?: (IProtoPDef|null); - - /** Node applyCDef */ - applyCDef?: (IProtoApplyProtoCDef|null); - - /** Node applyPDef */ - applyPDef?: (IProtoApplyProtoPDef|null); - - /** Node applyPtConfig */ - applyPtConfig?: (IProtoApplyPtConfig|null); - - /** Node applyUlConfig */ - applyUlConfig?: (IProtoApplyUlConfig|null); - - /** Node ptConfig */ - ptConfig?: (IProtoPtConfig|null); - - /** Node ulConfig */ - ulConfig?: (IProtoUlConfig|null); - - /** Node newPage */ - newPage?: (IProtoNewPage|null); - - /** Node variable */ - variable?: (IProtoVariable|null); - - /** Node namedString */ - namedString?: (IProtoNamedString|null); - - /** Node paragraph */ - paragraph?: (IProtoParagraph|null); - - /** Node section */ - section?: (IProtoSection|null); - - /** Node span */ - span?: (IProtoSpan|null); - - /** Node link */ - link?: (IProtoLink|null); - - /** Node directory */ - directory?: (IProtoDirectory|null); - - /** Node tableContentGroup */ - tableContentGroup?: (IProtoTableContentGroup|null); - - /** Node tableConfig */ - tableConfig?: (IProtoTableConfig|null); - - /** Node tableCellConfig */ - tableCellConfig?: (IProtoTableCellConfig|null); - - /** Node tableRowConfig */ - tableRowConfig?: (IProtoTableRowConfig|null); - - /** Node tableContentGroupConfig */ - tableContentGroupConfig?: (IProtoTableContentGroupConfig|null); - - /** Node brickReference */ - brickReference?: (IProtoBrickReference|null); - - /** Node indentation */ - indentation?: (IProtoIndentation|null); - - /** Node barcode */ - barcode?: (IProtoBarcode|null); - - /** Node wsArea */ - wsArea?: (IProtoWsArea|null); - - /** Node carryOver */ - carryOver?: (IProtoCarryOver|null); - - /** Node subTotal */ - subTotal?: (IProtoSubTotal|null); - - /** Node loop */ - loop?: (IProtoLoop|null); - - /** Node loopEntry */ - loopEntry?: (IProtoLoopEntry|null); - - /** Node rule */ - rule?: (IProtoRule|null); - - /** Node layout */ - layout?: (IProtoLayout|null); - - /** Node advancedIllustrationArea */ - advancedIllustrationArea?: (IProtoAdvancedIllustrationArea|null); - - /** Node adjustHorizontally */ - adjustHorizontally?: (IProtoAdjustHorizontally|null); - - /** Node doctypeScript */ - doctypeScript?: (IProtoDoctypeScript|null); - - /** Node dmScript */ - dmScript?: (IProtoDmScript|null); - - /** Node dynamicTemplate */ - dynamicTemplate?: (IProtoDynamicTemplate|null); - - /** Node selection */ - selection?: (IProtoSelection|null); - - /** Node selectionEntry */ - selectionEntry?: (IProtoSelectionEntry|null); - - /** Node condition */ - condition?: (IProtoCondition|null); - - /** Node pageCondition */ - pageCondition?: (IProtoPageCondition|null); - - /** Node locale */ - locale?: (IProtoLocale|null); - - /** Node tag */ - tag?: (IProtoTag|null); - - /** Node paragraphSetDefault */ - paragraphSetDefault?: (IProtoParagraphSetDefault|null); - - /** Node inputFieldText */ - inputFieldText?: (IProtoInputFieldText|null); - - /** Node inputFieldDate */ - inputFieldDate?: (IProtoInputFieldDate|null); - - /** Node inputFieldCheckbox */ - inputFieldCheckbox?: (IProtoInputFieldCheckbox|null); - - /** Node inputFieldLabel */ - inputFieldLabel?: (IProtoInputFieldLabel|null); - - /** Node inputFieldDropdown */ - inputFieldDropdown?: (IProtoInputFieldDropdown|null); -} - -/** Represents a Node. */ -export class Node implements INode { - - /** - * Constructs a new Node. - * @param [properties] Properties to set - */ - constructor(properties?: INode); - - /** Node children. */ - public children: INode[]; - - /** Node listSetting. */ - public listSetting?: (IProtoListSetting|null); - - /** Node colorDef. */ - public colorDef?: (IProtoColorDef|null); - - /** Node brick. */ - public brick?: (IProtoBrick|null); - - /** Node template. */ - public template?: (IProtoTemplate|null); - - /** Node formatted. */ - public formatted?: (IProtoFormatted|null); - - /** Node image. */ - public image?: (IProtoImage|null); - - /** Node paragraphFormat. */ - public paragraphFormat?: (IProtoParagraphFormat|null); - - /** Node textBrick. */ - public textBrick?: (IProtoTextBrick|null); - - /** Node text. */ - public text?: (IProtoText|null); - - /** Node linebreak. */ - public linebreak?: (IProtoLinebreak|null); - - /** Node spaceVertically. */ - public spaceVertically?: (IProtoSpaceVertically|null); - - /** Node footer. */ - public footer?: (IProtoFooter|null); - - /** Node header. */ - public header?: (IProtoHeader|null); - - /** Node table. */ - public table?: (IProtoTable|null); - - /** Node tableRow. */ - public tableRow?: (IProtoTableRow|null); - - /** Node tableCell. */ - public tableCell?: (IProtoTableCell|null); - - /** Node cDef. */ - public cDef?: (IProtoCDef|null); - - /** Node pDef. */ - public pDef?: (IProtoPDef|null); - - /** Node applyCDef. */ - public applyCDef?: (IProtoApplyProtoCDef|null); - - /** Node applyPDef. */ - public applyPDef?: (IProtoApplyProtoPDef|null); - - /** Node applyPtConfig. */ - public applyPtConfig?: (IProtoApplyPtConfig|null); - - /** Node applyUlConfig. */ - public applyUlConfig?: (IProtoApplyUlConfig|null); - - /** Node ptConfig. */ - public ptConfig?: (IProtoPtConfig|null); - - /** Node ulConfig. */ - public ulConfig?: (IProtoUlConfig|null); - - /** Node newPage. */ - public newPage?: (IProtoNewPage|null); - - /** Node variable. */ - public variable?: (IProtoVariable|null); - - /** Node namedString. */ - public namedString?: (IProtoNamedString|null); - - /** Node paragraph. */ - public paragraph?: (IProtoParagraph|null); - - /** Node section. */ - public section?: (IProtoSection|null); - - /** Node span. */ - public span?: (IProtoSpan|null); - - /** Node link. */ - public link?: (IProtoLink|null); - - /** Node directory. */ - public directory?: (IProtoDirectory|null); - - /** Node tableContentGroup. */ - public tableContentGroup?: (IProtoTableContentGroup|null); - - /** Node tableConfig. */ - public tableConfig?: (IProtoTableConfig|null); - - /** Node tableCellConfig. */ - public tableCellConfig?: (IProtoTableCellConfig|null); - - /** Node tableRowConfig. */ - public tableRowConfig?: (IProtoTableRowConfig|null); - - /** Node tableContentGroupConfig. */ - public tableContentGroupConfig?: (IProtoTableContentGroupConfig|null); - - /** Node brickReference. */ - public brickReference?: (IProtoBrickReference|null); - - /** Node indentation. */ - public indentation?: (IProtoIndentation|null); - - /** Node barcode. */ - public barcode?: (IProtoBarcode|null); - - /** Node wsArea. */ - public wsArea?: (IProtoWsArea|null); - - /** Node carryOver. */ - public carryOver?: (IProtoCarryOver|null); - - /** Node subTotal. */ - public subTotal?: (IProtoSubTotal|null); - - /** Node loop. */ - public loop?: (IProtoLoop|null); - - /** Node loopEntry. */ - public loopEntry?: (IProtoLoopEntry|null); - - /** Node rule. */ - public rule?: (IProtoRule|null); - - /** Node layout. */ - public layout?: (IProtoLayout|null); - - /** Node advancedIllustrationArea. */ - public advancedIllustrationArea?: (IProtoAdvancedIllustrationArea|null); - - /** Node adjustHorizontally. */ - public adjustHorizontally?: (IProtoAdjustHorizontally|null); - - /** Node doctypeScript. */ - public doctypeScript?: (IProtoDoctypeScript|null); - - /** Node dmScript. */ - public dmScript?: (IProtoDmScript|null); - - /** Node dynamicTemplate. */ - public dynamicTemplate?: (IProtoDynamicTemplate|null); - - /** Node selection. */ - public selection?: (IProtoSelection|null); - - /** Node selectionEntry. */ - public selectionEntry?: (IProtoSelectionEntry|null); - - /** Node condition. */ - public condition?: (IProtoCondition|null); - - /** Node pageCondition. */ - public pageCondition?: (IProtoPageCondition|null); - - /** Node locale. */ - public locale?: (IProtoLocale|null); - - /** Node tag. */ - public tag?: (IProtoTag|null); - - /** Node paragraphSetDefault. */ - public paragraphSetDefault?: (IProtoParagraphSetDefault|null); - - /** Node inputFieldText. */ - public inputFieldText?: (IProtoInputFieldText|null); - - /** Node inputFieldDate. */ - public inputFieldDate?: (IProtoInputFieldDate|null); - - /** Node inputFieldCheckbox. */ - public inputFieldCheckbox?: (IProtoInputFieldCheckbox|null); - - /** Node inputFieldLabel. */ - public inputFieldLabel?: (IProtoInputFieldLabel|null); - - /** Node inputFieldDropdown. */ - public inputFieldDropdown?: (IProtoInputFieldDropdown|null); - - /** Node object. */ - public object?: ("listSetting"|"colorDef"|"brick"|"template"|"formatted"|"image"|"paragraphFormat"|"textBrick"|"text"|"linebreak"|"spaceVertically"|"footer"|"header"|"table"|"tableRow"|"tableCell"|"cDef"|"pDef"|"applyCDef"|"applyPDef"|"applyPtConfig"|"applyUlConfig"|"ptConfig"|"ulConfig"|"newPage"|"variable"|"namedString"|"paragraph"|"section"|"span"|"link"|"directory"|"tableContentGroup"|"tableConfig"|"tableCellConfig"|"tableRowConfig"|"tableContentGroupConfig"|"brickReference"|"indentation"|"barcode"|"wsArea"|"carryOver"|"subTotal"|"loop"|"loopEntry"|"rule"|"layout"|"advancedIllustrationArea"|"adjustHorizontally"|"doctypeScript"|"dmScript"|"dynamicTemplate"|"selection"|"selectionEntry"|"condition"|"pageCondition"|"locale"|"tag"|"paragraphSetDefault"|"inputFieldText"|"inputFieldDate"|"inputFieldCheckbox"|"inputFieldLabel"|"inputFieldDropdown"); - - /** - * Creates a new Node instance using the specified properties. - * @param [properties] Properties to set - * @returns Node instance - */ - public static create(properties?: INode): Node; - - /** - * Encodes the specified Node message. Does not implicitly {@link Node.verify|verify} messages. - * @param message Node message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: INode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Node message, length delimited. Does not implicitly {@link Node.verify|verify} messages. - * @param message Node message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: INode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Node message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Node - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Node; - - /** - * Decodes a Node message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Node - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Node; - - /** - * Verifies a Node message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Node message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Node - */ - public static fromObject(object: { [k: string]: any }): Node; - - /** - * Creates a plain object from a Node message. Also converts values to other types if specified. - * @param message Node - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Node, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Node to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Node - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** NodeType enum. */ -export enum NodeType { - DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT = 0, - DOCUMENT_ELEMENT_BRICK_REFERENCE = 1, - DOCUMENT_ELEMENT_BRICK = 2, - DOCUMENT_ELEMENT_DOCUMENT_ELEMENT = 3, - DOCUMENT_ELEMENT_LINEBREAK = 4, - DOCUMENT_ELEMENT_LIST_SETTING = 6, - DOCUMENT_ELEMENT_PARAGRAPH_FORMAT = 7, - DOCUMENT_ELEMENT_PARAGRAPH = 8, - DOCUMENT_ELEMENT_SECTION = 9, - DOCUMENT_ELEMENT_SPAN = 10, - DOCUMENT_ELEMENT_TABLE = 11, - DOCUMENT_ELEMENT_TABLE_CELL = 12, - DOCUMENT_ELEMENT_TABLE_ROW = 13, - DOCUMENT_ELEMENT_TEMPLATE = 15, - DOCUMENT_ELEMENT_TEXT = 16, - DOCUMENT_ELEMENT_COLOR_DEF = 19, - DOCUMENT_ELEMENT_IMAGE = 30, - DOCUMENT_ELEMENT_NAMED_STRING = 34, - DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP = 35, - DOCUMENT_ELEMENT_TABLE_CONFIG = 36, - DOCUMENT_ELEMENT_TABLE_CELL_CONFIG = 37, - DOCUMENT_ELEMENT_TABLE_ROW_CONFIG = 38, - DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG = 39, - DOCUMENT_ELEMENT_LINK = 40, - DOCUMENT_ELEMENT_DIRECTORY = 41, - DOCUMENT_ELEMENT_TEXT_BRICK = 42, - DOCUMENT_ELEMENT_VARIABLE = 44, - DOCUMENT_ELEMENT_SPACE_VERTICALLY = 45, - DOCUMENT_ELEMENT_FORMATTED = 46, - DOCUMENT_ELEMENT_APPLY_C_DEF = 47, - DOCUMENT_ELEMENT_APPLY_P_DEF = 48, - DOCUMENT_ELEMENT_APPLY_PT_CONFIG = 49, - DOCUMENT_ELEMENT_APPLY_UL_CONFIG = 50, - DOCUMENT_ELEMENT_C_DEF = 51, - DOCUMENT_ELEMENT_P_DEF = 52, - DOCUMENT_ELEMENT_PT_CONFIG = 53, - DOCUMENT_ELEMENT_UL_CONFIG = 54, - DOCUMENT_ELEMENT_NEW_PAGE = 55, - DOCUMENT_ELEMENT_HEADER = 56, - DOCUMENT_ELEMENT_FOOTER = 57, - DOCUMENT_ELEMENT_INDENTATION = 60, - DOCUMENT_ELEMENT_BARCODE = 61, - DOCUMENT_ELEMENT_WS_AREA = 62, - DOCUMENT_ELEMENT_CARRY_OVER = 63, - DOCUMENT_ELEMENT_SUB_TOTAL = 64, - DOCUMENT_ELEMENT_LOOP = 65, - DOCUMENT_ELEMENT_LOOP_ENTRY = 66, - DOCUMENT_ELEMENT_RULE = 67, - DOCUMENT_ELEMENT_LIST_LEVEL_SETTING = 68, - DOCUMENT_ELEMENT_LAYOUT = 69, - DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA = 70, - DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY = 71, - DOCUMENT_ELEMENT_DOCTYPE_SCRIPT = 72, - DOCUMENT_ELEMENT_DM_SCRIPT = 73, - DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE = 74, - DOCUMENT_ELEMENT_SELECTION = 75, - DOCUMENT_ELEMENT_SELECTION_ENTRY = 76, - DOCUMENT_ELEMENT_CONDITION = 77, - DOCUMENT_ELEMENT_PAGE_CONDITION = 78, - DOCUMENT_ELEMENT_LOCALE = 79, - DOCUMENT_ELEMENT_TAG = 80, - DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT = 81, - DOCUMENT_ELEMENT_INPUT_FIELD_TEXT = 82, - DOCUMENT_ELEMENT_INPUT_FIELD_DATE = 83, - DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX = 84, - DOCUMENT_ELEMENT_INPUT_FIELD_LABEL = 85, - DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN = 86 -} - -/** ProtoImageScaleType enum. */ -export enum ProtoImageScaleType { - IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL = 0, - IMAGE_SCALE_TYPE_RELATIVE = 1, - IMAGE_SCALE_TYPE_ABSOLUTE = 2, - IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN = 3 -} - -/** ProtoImageUAMode enum. */ -export enum ProtoImageUAMode { - IMAGE_UA_MODE_DO_NOT_USE_AT_ALL = 0, - IMAGE_UA_MODE_INHERITED = 1, - IMAGE_UA_MODE_SIMPLE = 2, - IMAGE_UA_MODE_ADVANCED = 3 -} - -/** ProtoImageContentType enum. */ -export enum ProtoImageContentType { - IMAGE_CONTENT_UUID_REFERENCE_INLINE = 0, - IMAGE_CONTENT_UUID_REFERENCE_LOCAL = 1, - IMAGE_CONTENT_UUID_REFERENCE_GLOBAL = 2, - IMAGE_CONTENT_DMSCRIPT = 3, - IMAGE_CONTENT_IMAGE_DATA = 4 -} - -/** Properties of a ProtoImage. */ -export interface IProtoImage { - - /** ProtoImage parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoImage alt */ - alt?: (string|null); - - /** ProtoImage name */ - name?: (string|null); - - /** ProtoImage src */ - src?: (string|null); - - /** ProtoImage filename */ - filename?: (string|null); - - /** ProtoImage scale */ - scale?: (IProtoBoxedDouble|null); - - /** ProtoImage columnScale */ - columnScale?: (IProtoBoxedDouble|null); - - /** ProtoImage width */ - width?: (IProtoBoxedMeasure|null); - - /** ProtoImage height */ - height?: (IProtoBoxedMeasure|null); - - /** ProtoImage x */ - x?: (IProtoBoxedMeasure|null); - - /** ProtoImage y */ - y?: (IProtoBoxedMeasure|null); - - /** ProtoImage positionAbsolute */ - positionAbsolute?: (IProtoBoxedBool|null); - - /** ProtoImage rotation */ - rotation?: (number|null); - - /** ProtoImage flipSettings */ - flipSettings?: (IProtoFlipSettings|null); - - /** ProtoImage cropSettings */ - cropSettings?: (IProtoCropSettings|null); - - /** ProtoImage aia */ - aia?: (IProtoAdvancedIllustrationAreaImageSettings|null); - - /** ProtoImage uuid */ - uuid?: (string|null); - - /** ProtoImage referencePoint */ - referencePoint?: (ProtoImageReferencePoint|null); - - /** ProtoImage hyperlink */ - hyperlink?: (string|null); - - /** ProtoImage comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoImage imageContentType */ - imageContentType?: (ProtoImageContentType|null); - - /** ProtoImage imageContent */ - imageContent?: (string|null); - - /** ProtoImage scaleType */ - scaleType?: (ProtoImageScaleType|null); - - /** ProtoImage uaMode */ - uaMode?: (ProtoImageUAMode|null); - - /** ProtoImage uaDescription */ - uaDescription?: (string|null); - - /** ProtoImage leftBorderIsLeftMeasure */ - leftBorderIsLeftMeasure?: (IProtoBoxedBool|null); -} - -/** Represents a ProtoImage. */ -export class ProtoImage implements IProtoImage { - - /** - * Constructs a new ProtoImage. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoImage); - - /** ProtoImage parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoImage alt. */ - public alt: string; - - /** ProtoImage name. */ - public name: string; - - /** ProtoImage src. */ - public src: string; - - /** ProtoImage filename. */ - public filename: string; - - /** ProtoImage scale. */ - public scale?: (IProtoBoxedDouble|null); - - /** ProtoImage columnScale. */ - public columnScale?: (IProtoBoxedDouble|null); - - /** ProtoImage width. */ - public width?: (IProtoBoxedMeasure|null); - - /** ProtoImage height. */ - public height?: (IProtoBoxedMeasure|null); - - /** ProtoImage x. */ - public x?: (IProtoBoxedMeasure|null); - - /** ProtoImage y. */ - public y?: (IProtoBoxedMeasure|null); - - /** ProtoImage positionAbsolute. */ - public positionAbsolute?: (IProtoBoxedBool|null); - - /** ProtoImage rotation. */ - public rotation: number; - - /** ProtoImage flipSettings. */ - public flipSettings?: (IProtoFlipSettings|null); - - /** ProtoImage cropSettings. */ - public cropSettings?: (IProtoCropSettings|null); - - /** ProtoImage aia. */ - public aia?: (IProtoAdvancedIllustrationAreaImageSettings|null); - - /** ProtoImage uuid. */ - public uuid: string; - - /** ProtoImage referencePoint. */ - public referencePoint: ProtoImageReferencePoint; - - /** ProtoImage hyperlink. */ - public hyperlink: string; - - /** ProtoImage comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoImage imageContentType. */ - public imageContentType: ProtoImageContentType; - - /** ProtoImage imageContent. */ - public imageContent: string; - - /** ProtoImage scaleType. */ - public scaleType: ProtoImageScaleType; - - /** ProtoImage uaMode. */ - public uaMode: ProtoImageUAMode; - - /** ProtoImage uaDescription. */ - public uaDescription: string; - - /** ProtoImage leftBorderIsLeftMeasure. */ - public leftBorderIsLeftMeasure?: (IProtoBoxedBool|null); - - /** - * Creates a new ProtoImage instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoImage instance - */ - public static create(properties?: IProtoImage): ProtoImage; - - /** - * Encodes the specified ProtoImage message. Does not implicitly {@link ProtoImage.verify|verify} messages. - * @param message ProtoImage message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoImage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoImage message, length delimited. Does not implicitly {@link ProtoImage.verify|verify} messages. - * @param message ProtoImage message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoImage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoImage message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoImage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoImage; - - /** - * Decodes a ProtoImage message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoImage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoImage; - - /** - * Verifies a ProtoImage message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoImage message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoImage - */ - public static fromObject(object: { [k: string]: any }): ProtoImage; - - /** - * Creates a plain object from a ProtoImage message. Also converts values to other types if specified. - * @param message ProtoImage - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoImage, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoImage to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoImage - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoDirectory. */ -export interface IProtoDirectory { - - /** ProtoDirectory _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoDirectory parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoDirectory uuid */ - uuid?: (string|null); - - /** ProtoDirectory comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoDirectory semanticType */ - semanticType?: (ProtoSemanticType|null); - - /** ProtoDirectory editable */ - editable?: (boolean|null); - - /** ProtoDirectory name */ - name?: (string|null); -} - -/** Represents a ProtoDirectory. */ -export class ProtoDirectory implements IProtoDirectory { - - /** - * Constructs a new ProtoDirectory. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoDirectory); - - /** ProtoDirectory _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoDirectory parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoDirectory uuid. */ - public uuid: string; - - /** ProtoDirectory comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoDirectory semanticType. */ - public semanticType: ProtoSemanticType; - - /** ProtoDirectory editable. */ - public editable: boolean; - - /** ProtoDirectory name. */ - public name: string; - - /** - * Creates a new ProtoDirectory instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoDirectory instance - */ - public static create(properties?: IProtoDirectory): ProtoDirectory; - - /** - * Encodes the specified ProtoDirectory message. Does not implicitly {@link ProtoDirectory.verify|verify} messages. - * @param message ProtoDirectory message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoDirectory, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoDirectory message, length delimited. Does not implicitly {@link ProtoDirectory.verify|verify} messages. - * @param message ProtoDirectory message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoDirectory, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoDirectory message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoDirectory - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoDirectory; - - /** - * Decodes a ProtoDirectory message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoDirectory - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoDirectory; - - /** - * Verifies a ProtoDirectory message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoDirectory message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoDirectory - */ - public static fromObject(object: { [k: string]: any }): ProtoDirectory; - - /** - * Creates a plain object from a ProtoDirectory message. Also converts values to other types if specified. - * @param message ProtoDirectory - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoDirectory, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoDirectory to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoDirectory - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTextBrick. */ -export interface IProtoTextBrick { - - /** ProtoTextBrick _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoTextBrick parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTextBrick uuid */ - uuid?: (string|null); - - /** ProtoTextBrick id */ - id?: (number|Long|null); - - /** ProtoTextBrick comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoTextBrick editable */ - editable?: (boolean|null); - - /** ProtoTextBrick name */ - name?: (string|null); -} - -/** Represents a ProtoTextBrick. */ -export class ProtoTextBrick implements IProtoTextBrick { - - /** - * Constructs a new ProtoTextBrick. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTextBrick); - - /** ProtoTextBrick _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoTextBrick parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTextBrick uuid. */ - public uuid: string; - - /** ProtoTextBrick id. */ - public id: (number|Long); - - /** ProtoTextBrick comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoTextBrick editable. */ - public editable: boolean; - - /** ProtoTextBrick name. */ - public name: string; - - /** - * Creates a new ProtoTextBrick instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTextBrick instance - */ - public static create(properties?: IProtoTextBrick): ProtoTextBrick; - - /** - * Encodes the specified ProtoTextBrick message. Does not implicitly {@link ProtoTextBrick.verify|verify} messages. - * @param message ProtoTextBrick message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTextBrick, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTextBrick message, length delimited. Does not implicitly {@link ProtoTextBrick.verify|verify} messages. - * @param message ProtoTextBrick message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTextBrick, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTextBrick message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTextBrick - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTextBrick; - - /** - * Decodes a ProtoTextBrick message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTextBrick - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTextBrick; - - /** - * Verifies a ProtoTextBrick message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTextBrick message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTextBrick - */ - public static fromObject(object: { [k: string]: any }): ProtoTextBrick; - - /** - * Creates a plain object from a ProtoTextBrick message. Also converts values to other types if specified. - * @param message ProtoTextBrick - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTextBrick, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTextBrick to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTextBrick - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoVariable. */ -export interface IProtoVariable { - - /** ProtoVariable parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoVariable path */ - path?: (string|null); - - /** ProtoVariable content */ - content?: (string|null); - - /** ProtoVariable formatUuid */ - formatUuid?: (string|null); - - /** ProtoVariable specialType */ - specialType?: (ProtoVariableSpecialType|null); - - /** ProtoVariable uuid */ - uuid?: (string|null); - - /** ProtoVariable comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoVariable. */ -export class ProtoVariable implements IProtoVariable { - - /** - * Constructs a new ProtoVariable. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoVariable); - - /** ProtoVariable parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoVariable path. */ - public path: string; - - /** ProtoVariable content. */ - public content: string; - - /** ProtoVariable formatUuid. */ - public formatUuid: string; - - /** ProtoVariable specialType. */ - public specialType: ProtoVariableSpecialType; - - /** ProtoVariable uuid. */ - public uuid: string; - - /** ProtoVariable comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoVariable instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoVariable instance - */ - public static create(properties?: IProtoVariable): ProtoVariable; - - /** - * Encodes the specified ProtoVariable message. Does not implicitly {@link ProtoVariable.verify|verify} messages. - * @param message ProtoVariable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoVariable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoVariable message, length delimited. Does not implicitly {@link ProtoVariable.verify|verify} messages. - * @param message ProtoVariable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoVariable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoVariable message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoVariable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoVariable; - - /** - * Decodes a ProtoVariable message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoVariable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoVariable; - - /** - * Verifies a ProtoVariable message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoVariable message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoVariable - */ - public static fromObject(object: { [k: string]: any }): ProtoVariable; - - /** - * Creates a plain object from a ProtoVariable message. Also converts values to other types if specified. - * @param message ProtoVariable - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoVariable, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoVariable to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoVariable - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoVariableSpecialType enum. */ -export enum ProtoVariableSpecialType { - NOT_SPECIAL = 0, - TABLE_NUMBER = 1, - DOC_PAGE_COUNT = 2, - DOC_CUR_PAGE = 3, - CUR_PAGE = 4, - PAGE_COUNT = 5, - PREV_PAGE = 6, - SECTION_PAGE = 7, - UPDATED_AT = 8, - GENERATED_AT = 9 -} - -/** Properties of a ProtoFormatted. */ -export interface IProtoFormatted { - - /** ProtoFormatted parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoFormatted dteditorSyntax */ - dteditorSyntax?: (boolean|null); - - /** ProtoFormatted doctypeContent */ - doctypeContent?: (string|null); - - /** ProtoFormatted doctypeCode */ - doctypeCode?: (string|null); - - /** ProtoFormatted htmlContent */ - htmlContent?: (string|null); - - /** ProtoFormatted htmlCode */ - htmlCode?: (string|null); - - /** ProtoFormatted textContent */ - textContent?: (string|null); - - /** ProtoFormatted textCode */ - textCode?: (string|null); - - /** ProtoFormatted comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoFormatted. */ -export class ProtoFormatted implements IProtoFormatted { - - /** - * Constructs a new ProtoFormatted. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoFormatted); - - /** ProtoFormatted parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoFormatted dteditorSyntax. */ - public dteditorSyntax: boolean; - - /** ProtoFormatted doctypeContent. */ - public doctypeContent: string; - - /** ProtoFormatted doctypeCode. */ - public doctypeCode: string; - - /** ProtoFormatted htmlContent. */ - public htmlContent: string; - - /** ProtoFormatted htmlCode. */ - public htmlCode: string; - - /** ProtoFormatted textContent. */ - public textContent: string; - - /** ProtoFormatted textCode. */ - public textCode: string; - - /** ProtoFormatted comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoFormatted instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoFormatted instance - */ - public static create(properties?: IProtoFormatted): ProtoFormatted; - - /** - * Encodes the specified ProtoFormatted message. Does not implicitly {@link ProtoFormatted.verify|verify} messages. - * @param message ProtoFormatted message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoFormatted, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoFormatted message, length delimited. Does not implicitly {@link ProtoFormatted.verify|verify} messages. - * @param message ProtoFormatted message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoFormatted, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoFormatted message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoFormatted - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoFormatted; - - /** - * Decodes a ProtoFormatted message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoFormatted - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoFormatted; - - /** - * Verifies a ProtoFormatted message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoFormatted message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoFormatted - */ - public static fromObject(object: { [k: string]: any }): ProtoFormatted; - - /** - * Creates a plain object from a ProtoFormatted message. Also converts values to other types if specified. - * @param message ProtoFormatted - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoFormatted, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoFormatted to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoFormatted - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoApplyProtoCDef. */ -export interface IProtoApplyProtoCDef { - - /** ProtoApplyProtoCDef cDefUuid */ - cDefUuid?: (string|null); - - /** ProtoApplyProtoCDef comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoApplyProtoCDef. */ -export class ProtoApplyProtoCDef implements IProtoApplyProtoCDef { - - /** - * Constructs a new ProtoApplyProtoCDef. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoApplyProtoCDef); - - /** ProtoApplyProtoCDef cDefUuid. */ - public cDefUuid: string; - - /** ProtoApplyProtoCDef comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoApplyProtoCDef instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoApplyProtoCDef instance - */ - public static create(properties?: IProtoApplyProtoCDef): ProtoApplyProtoCDef; - - /** - * Encodes the specified ProtoApplyProtoCDef message. Does not implicitly {@link ProtoApplyProtoCDef.verify|verify} messages. - * @param message ProtoApplyProtoCDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoApplyProtoCDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoApplyProtoCDef message, length delimited. Does not implicitly {@link ProtoApplyProtoCDef.verify|verify} messages. - * @param message ProtoApplyProtoCDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoApplyProtoCDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoApplyProtoCDef message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoApplyProtoCDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoApplyProtoCDef; - - /** - * Decodes a ProtoApplyProtoCDef message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoApplyProtoCDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoApplyProtoCDef; - - /** - * Verifies a ProtoApplyProtoCDef message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoApplyProtoCDef message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoApplyProtoCDef - */ - public static fromObject(object: { [k: string]: any }): ProtoApplyProtoCDef; - - /** - * Creates a plain object from a ProtoApplyProtoCDef message. Also converts values to other types if specified. - * @param message ProtoApplyProtoCDef - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoApplyProtoCDef, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoApplyProtoCDef to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoApplyProtoCDef - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoApplyProtoPDef. */ -export interface IProtoApplyProtoPDef { - - /** ProtoApplyProtoPDef pDefUuid */ - pDefUuid?: (string|null); - - /** ProtoApplyProtoPDef comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoApplyProtoPDef. */ -export class ProtoApplyProtoPDef implements IProtoApplyProtoPDef { - - /** - * Constructs a new ProtoApplyProtoPDef. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoApplyProtoPDef); - - /** ProtoApplyProtoPDef pDefUuid. */ - public pDefUuid: string; - - /** ProtoApplyProtoPDef comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoApplyProtoPDef instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoApplyProtoPDef instance - */ - public static create(properties?: IProtoApplyProtoPDef): ProtoApplyProtoPDef; - - /** - * Encodes the specified ProtoApplyProtoPDef message. Does not implicitly {@link ProtoApplyProtoPDef.verify|verify} messages. - * @param message ProtoApplyProtoPDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoApplyProtoPDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoApplyProtoPDef message, length delimited. Does not implicitly {@link ProtoApplyProtoPDef.verify|verify} messages. - * @param message ProtoApplyProtoPDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoApplyProtoPDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoApplyProtoPDef message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoApplyProtoPDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoApplyProtoPDef; - - /** - * Decodes a ProtoApplyProtoPDef message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoApplyProtoPDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoApplyProtoPDef; - - /** - * Verifies a ProtoApplyProtoPDef message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoApplyProtoPDef message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoApplyProtoPDef - */ - public static fromObject(object: { [k: string]: any }): ProtoApplyProtoPDef; - - /** - * Creates a plain object from a ProtoApplyProtoPDef message. Also converts values to other types if specified. - * @param message ProtoApplyProtoPDef - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoApplyProtoPDef, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoApplyProtoPDef to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoApplyProtoPDef - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoApplyPtConfig. */ -export interface IProtoApplyPtConfig { - - /** ProtoApplyPtConfig ptConfigUuid */ - ptConfigUuid?: (string|null); - - /** ProtoApplyPtConfig comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoApplyPtConfig. */ -export class ProtoApplyPtConfig implements IProtoApplyPtConfig { - - /** - * Constructs a new ProtoApplyPtConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoApplyPtConfig); - - /** ProtoApplyPtConfig ptConfigUuid. */ - public ptConfigUuid: string; - - /** ProtoApplyPtConfig comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoApplyPtConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoApplyPtConfig instance - */ - public static create(properties?: IProtoApplyPtConfig): ProtoApplyPtConfig; - - /** - * Encodes the specified ProtoApplyPtConfig message. Does not implicitly {@link ProtoApplyPtConfig.verify|verify} messages. - * @param message ProtoApplyPtConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoApplyPtConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoApplyPtConfig message, length delimited. Does not implicitly {@link ProtoApplyPtConfig.verify|verify} messages. - * @param message ProtoApplyPtConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoApplyPtConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoApplyPtConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoApplyPtConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoApplyPtConfig; - - /** - * Decodes a ProtoApplyPtConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoApplyPtConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoApplyPtConfig; - - /** - * Verifies a ProtoApplyPtConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoApplyPtConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoApplyPtConfig - */ - public static fromObject(object: { [k: string]: any }): ProtoApplyPtConfig; - - /** - * Creates a plain object from a ProtoApplyPtConfig message. Also converts values to other types if specified. - * @param message ProtoApplyPtConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoApplyPtConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoApplyPtConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoApplyPtConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoApplyUlConfig. */ -export interface IProtoApplyUlConfig { - - /** ProtoApplyUlConfig ulConfigUuid */ - ulConfigUuid?: (string|null); - - /** ProtoApplyUlConfig comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoApplyUlConfig. */ -export class ProtoApplyUlConfig implements IProtoApplyUlConfig { - - /** - * Constructs a new ProtoApplyUlConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoApplyUlConfig); - - /** ProtoApplyUlConfig ulConfigUuid. */ - public ulConfigUuid: string; - - /** ProtoApplyUlConfig comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoApplyUlConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoApplyUlConfig instance - */ - public static create(properties?: IProtoApplyUlConfig): ProtoApplyUlConfig; - - /** - * Encodes the specified ProtoApplyUlConfig message. Does not implicitly {@link ProtoApplyUlConfig.verify|verify} messages. - * @param message ProtoApplyUlConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoApplyUlConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoApplyUlConfig message, length delimited. Does not implicitly {@link ProtoApplyUlConfig.verify|verify} messages. - * @param message ProtoApplyUlConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoApplyUlConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoApplyUlConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoApplyUlConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoApplyUlConfig; - - /** - * Decodes a ProtoApplyUlConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoApplyUlConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoApplyUlConfig; - - /** - * Verifies a ProtoApplyUlConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoApplyUlConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoApplyUlConfig - */ - public static fromObject(object: { [k: string]: any }): ProtoApplyUlConfig; - - /** - * Creates a plain object from a ProtoApplyUlConfig message. Also converts values to other types if specified. - * @param message ProtoApplyUlConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoApplyUlConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoApplyUlConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoApplyUlConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoCDef. */ -export interface IProtoCDef { - - /** ProtoCDef columSettings */ - columSettings?: (IProtoColumnSettings|null); - - /** ProtoCDef applyToHeaderFooter */ - applyToHeaderFooter?: (IProtoBoxedBool|null); - - /** ProtoCDef applyImmediate */ - applyImmediate?: (IProtoBoxedBool|null); - - /** ProtoCDef Uuid */ - Uuid?: (string|null); - - /** ProtoCDef comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoCDef. */ -export class ProtoCDef implements IProtoCDef { - - /** - * Constructs a new ProtoCDef. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoCDef); - - /** ProtoCDef columSettings. */ - public columSettings?: (IProtoColumnSettings|null); - - /** ProtoCDef applyToHeaderFooter. */ - public applyToHeaderFooter?: (IProtoBoxedBool|null); - - /** ProtoCDef applyImmediate. */ - public applyImmediate?: (IProtoBoxedBool|null); - - /** ProtoCDef Uuid. */ - public Uuid: string; - - /** ProtoCDef comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoCDef instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoCDef instance - */ - public static create(properties?: IProtoCDef): ProtoCDef; - - /** - * Encodes the specified ProtoCDef message. Does not implicitly {@link ProtoCDef.verify|verify} messages. - * @param message ProtoCDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoCDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoCDef message, length delimited. Does not implicitly {@link ProtoCDef.verify|verify} messages. - * @param message ProtoCDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoCDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoCDef message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoCDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoCDef; - - /** - * Decodes a ProtoCDef message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoCDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoCDef; - - /** - * Verifies a ProtoCDef message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoCDef message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoCDef - */ - public static fromObject(object: { [k: string]: any }): ProtoCDef; - - /** - * Creates a plain object from a ProtoCDef message. Also converts values to other types if specified. - * @param message ProtoCDef - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoCDef, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoCDef to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoCDef - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoPDef. */ -export interface IProtoPDef { - - /** ProtoPDef pageWidth */ - pageWidth?: (IProtoBoxedMeasure|null); - - /** ProtoPDef pageDepth */ - pageDepth?: (IProtoBoxedMeasure|null); - - /** ProtoPDef Uuid */ - Uuid?: (string|null); - - /** ProtoPDef comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoPDef. */ -export class ProtoPDef implements IProtoPDef { - - /** - * Constructs a new ProtoPDef. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoPDef); - - /** ProtoPDef pageWidth. */ - public pageWidth?: (IProtoBoxedMeasure|null); - - /** ProtoPDef pageDepth. */ - public pageDepth?: (IProtoBoxedMeasure|null); - - /** ProtoPDef Uuid. */ - public Uuid: string; - - /** ProtoPDef comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoPDef instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoPDef instance - */ - public static create(properties?: IProtoPDef): ProtoPDef; - - /** - * Encodes the specified ProtoPDef message. Does not implicitly {@link ProtoPDef.verify|verify} messages. - * @param message ProtoPDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoPDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoPDef message, length delimited. Does not implicitly {@link ProtoPDef.verify|verify} messages. - * @param message ProtoPDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoPDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoPDef message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoPDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoPDef; - - /** - * Decodes a ProtoPDef message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoPDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoPDef; - - /** - * Verifies a ProtoPDef message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoPDef message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoPDef - */ - public static fromObject(object: { [k: string]: any }): ProtoPDef; - - /** - * Creates a plain object from a ProtoPDef message. Also converts values to other types if specified. - * @param message ProtoPDef - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoPDef, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoPDef to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoPDef - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoPtConfig. */ -export interface IProtoPtConfig { - - /** ProtoPtConfig height */ - height?: (IProtoBoxedMeasure|null); - - /** ProtoPtConfig lineFeed */ - lineFeed?: (IProtoBoxedMeasure|null); - - /** ProtoPtConfig characterWidth */ - characterWidth?: (IProtoBoxedMeasure|null); - - /** ProtoPtConfig spaceWidth */ - spaceWidth?: (IProtoBoxedMeasure|null); - - /** ProtoPtConfig Uuid */ - Uuid?: (string|null); - - /** ProtoPtConfig comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoPtConfig. */ -export class ProtoPtConfig implements IProtoPtConfig { - - /** - * Constructs a new ProtoPtConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoPtConfig); - - /** ProtoPtConfig height. */ - public height?: (IProtoBoxedMeasure|null); - - /** ProtoPtConfig lineFeed. */ - public lineFeed?: (IProtoBoxedMeasure|null); - - /** ProtoPtConfig characterWidth. */ - public characterWidth?: (IProtoBoxedMeasure|null); - - /** ProtoPtConfig spaceWidth. */ - public spaceWidth?: (IProtoBoxedMeasure|null); - - /** ProtoPtConfig Uuid. */ - public Uuid: string; - - /** ProtoPtConfig comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoPtConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoPtConfig instance - */ - public static create(properties?: IProtoPtConfig): ProtoPtConfig; - - /** - * Encodes the specified ProtoPtConfig message. Does not implicitly {@link ProtoPtConfig.verify|verify} messages. - * @param message ProtoPtConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoPtConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoPtConfig message, length delimited. Does not implicitly {@link ProtoPtConfig.verify|verify} messages. - * @param message ProtoPtConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoPtConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoPtConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoPtConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoPtConfig; - - /** - * Decodes a ProtoPtConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoPtConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoPtConfig; - - /** - * Verifies a ProtoPtConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoPtConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoPtConfig - */ - public static fromObject(object: { [k: string]: any }): ProtoPtConfig; - - /** - * Creates a plain object from a ProtoPtConfig message. Also converts values to other types if specified. - * @param message ProtoPtConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoPtConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoPtConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoPtConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoUlConfig. */ -export interface IProtoUlConfig { - - /** ProtoUlConfig mode */ - mode?: (ProtoUnderlineMode|null); - - /** ProtoUlConfig Uuid */ - Uuid?: (string|null); - - /** ProtoUlConfig comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoUlConfig. */ -export class ProtoUlConfig implements IProtoUlConfig { - - /** - * Constructs a new ProtoUlConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoUlConfig); - - /** ProtoUlConfig mode. */ - public mode: ProtoUnderlineMode; - - /** ProtoUlConfig Uuid. */ - public Uuid: string; - - /** ProtoUlConfig comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoUlConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoUlConfig instance - */ - public static create(properties?: IProtoUlConfig): ProtoUlConfig; - - /** - * Encodes the specified ProtoUlConfig message. Does not implicitly {@link ProtoUlConfig.verify|verify} messages. - * @param message ProtoUlConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoUlConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoUlConfig message, length delimited. Does not implicitly {@link ProtoUlConfig.verify|verify} messages. - * @param message ProtoUlConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoUlConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoUlConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoUlConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoUlConfig; - - /** - * Decodes a ProtoUlConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoUlConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoUlConfig; - - /** - * Verifies a ProtoUlConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoUlConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoUlConfig - */ - public static fromObject(object: { [k: string]: any }): ProtoUlConfig; - - /** - * Creates a plain object from a ProtoUlConfig message. Also converts values to other types if specified. - * @param message ProtoUlConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoUlConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoUlConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoUlConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoPageMode enum. */ -export enum ProtoPageMode { - NEXT_PAGE = 0, - NEXT_RECTO_PAGE = 1, - NEXT_VERSO_PAGE = 2 -} - -/** ProtoPageOrientation enum. */ -export enum ProtoPageOrientation { - UNSET = 0, - PORTRAIT = 1, - LANDSCAPE = 2, - INVERSE_PORTRAIT = 3, - INVERSE_LANDSCAPE = 4 -} - -/** Properties of a ProtoNewPage. */ -export interface IProtoNewPage { - - /** ProtoNewPage uuid */ - uuid?: (string|null); - - /** ProtoNewPage paperTrayUuid */ - paperTrayUuid?: (string|null); - - /** ProtoNewPage paperTrayNumber */ - paperTrayNumber?: (number|null); - - /** ProtoNewPage paperCount */ - paperCount?: (number|null); - - /** ProtoNewPage pageMode */ - pageMode?: (ProtoPageMode|null); - - /** ProtoNewPage pageOrientation */ - pageOrientation?: (ProtoPageOrientation|null); - - /** ProtoNewPage pDefUuid */ - pDefUuid?: (string|null); - - /** ProtoNewPage cDefUuid */ - cDefUuid?: (string|null); - - /** ProtoNewPage comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoNewPage. */ -export class ProtoNewPage implements IProtoNewPage { - - /** - * Constructs a new ProtoNewPage. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoNewPage); - - /** ProtoNewPage uuid. */ - public uuid: string; - - /** ProtoNewPage paperTrayUuid. */ - public paperTrayUuid: string; - - /** ProtoNewPage paperTrayNumber. */ - public paperTrayNumber: number; - - /** ProtoNewPage paperCount. */ - public paperCount: number; - - /** ProtoNewPage pageMode. */ - public pageMode: ProtoPageMode; - - /** ProtoNewPage pageOrientation. */ - public pageOrientation: ProtoPageOrientation; - - /** ProtoNewPage pDefUuid. */ - public pDefUuid: string; - - /** ProtoNewPage cDefUuid. */ - public cDefUuid: string; - - /** ProtoNewPage comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoNewPage instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoNewPage instance - */ - public static create(properties?: IProtoNewPage): ProtoNewPage; - - /** - * Encodes the specified ProtoNewPage message. Does not implicitly {@link ProtoNewPage.verify|verify} messages. - * @param message ProtoNewPage message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoNewPage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoNewPage message, length delimited. Does not implicitly {@link ProtoNewPage.verify|verify} messages. - * @param message ProtoNewPage message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoNewPage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoNewPage message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoNewPage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoNewPage; - - /** - * Decodes a ProtoNewPage message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoNewPage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoNewPage; - - /** - * Verifies a ProtoNewPage message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoNewPage message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoNewPage - */ - public static fromObject(object: { [k: string]: any }): ProtoNewPage; - - /** - * Creates a plain object from a ProtoNewPage message. Also converts values to other types if specified. - * @param message ProtoNewPage - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoNewPage, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoNewPage to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoNewPage - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoIndentation. */ -export interface IProtoIndentation { - - /** ProtoIndentation _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoIndentation parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoIndentation left */ - left?: (IProtoBoxedMeasure|null); - - /** ProtoIndentation right */ - right?: (IProtoBoxedMeasure|null); - - /** ProtoIndentation uuid */ - uuid?: (string|null); - - /** ProtoIndentation comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoIndentation. */ -export class ProtoIndentation implements IProtoIndentation { - - /** - * Constructs a new ProtoIndentation. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoIndentation); - - /** ProtoIndentation _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoIndentation parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoIndentation left. */ - public left?: (IProtoBoxedMeasure|null); - - /** ProtoIndentation right. */ - public right?: (IProtoBoxedMeasure|null); - - /** ProtoIndentation uuid. */ - public uuid: string; - - /** ProtoIndentation comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoIndentation instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoIndentation instance - */ - public static create(properties?: IProtoIndentation): ProtoIndentation; - - /** - * Encodes the specified ProtoIndentation message. Does not implicitly {@link ProtoIndentation.verify|verify} messages. - * @param message ProtoIndentation message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoIndentation, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoIndentation message, length delimited. Does not implicitly {@link ProtoIndentation.verify|verify} messages. - * @param message ProtoIndentation message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoIndentation, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoIndentation message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoIndentation - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoIndentation; - - /** - * Decodes a ProtoIndentation message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoIndentation - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoIndentation; - - /** - * Verifies a ProtoIndentation message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoIndentation message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoIndentation - */ - public static fromObject(object: { [k: string]: any }): ProtoIndentation; - - /** - * Creates a plain object from a ProtoIndentation message. Also converts values to other types if specified. - * @param message ProtoIndentation - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoIndentation, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoIndentation to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoIndentation - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoCarryOver. */ -export interface IProtoCarryOver { - - /** ProtoCarryOver _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoCarryOver parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoCarryOver comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoCarryOver. */ -export class ProtoCarryOver implements IProtoCarryOver { - - /** - * Constructs a new ProtoCarryOver. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoCarryOver); - - /** ProtoCarryOver _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoCarryOver parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoCarryOver comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoCarryOver instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoCarryOver instance - */ - public static create(properties?: IProtoCarryOver): ProtoCarryOver; - - /** - * Encodes the specified ProtoCarryOver message. Does not implicitly {@link ProtoCarryOver.verify|verify} messages. - * @param message ProtoCarryOver message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoCarryOver, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoCarryOver message, length delimited. Does not implicitly {@link ProtoCarryOver.verify|verify} messages. - * @param message ProtoCarryOver message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoCarryOver, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoCarryOver message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoCarryOver - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoCarryOver; - - /** - * Decodes a ProtoCarryOver message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoCarryOver - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoCarryOver; - - /** - * Verifies a ProtoCarryOver message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoCarryOver message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoCarryOver - */ - public static fromObject(object: { [k: string]: any }): ProtoCarryOver; - - /** - * Creates a plain object from a ProtoCarryOver message. Also converts values to other types if specified. - * @param message ProtoCarryOver - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoCarryOver, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoCarryOver to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoCarryOver - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoLoopEntry. */ -export interface IProtoLoopEntry { - - /** ProtoLoopEntry _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoLoopEntry parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoLoopEntry path */ - path?: (string|null); - - /** ProtoLoopEntry index */ - index?: (number|Long|null); - - /** ProtoLoopEntry uuid */ - uuid?: (string|null); - - /** ProtoLoopEntry comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoLoopEntry. */ -export class ProtoLoopEntry implements IProtoLoopEntry { - - /** - * Constructs a new ProtoLoopEntry. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoLoopEntry); - - /** ProtoLoopEntry _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoLoopEntry parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoLoopEntry path. */ - public path: string; - - /** ProtoLoopEntry index. */ - public index: (number|Long); - - /** ProtoLoopEntry uuid. */ - public uuid: string; - - /** ProtoLoopEntry comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoLoopEntry instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoLoopEntry instance - */ - public static create(properties?: IProtoLoopEntry): ProtoLoopEntry; - - /** - * Encodes the specified ProtoLoopEntry message. Does not implicitly {@link ProtoLoopEntry.verify|verify} messages. - * @param message ProtoLoopEntry message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoLoopEntry, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoLoopEntry message, length delimited. Does not implicitly {@link ProtoLoopEntry.verify|verify} messages. - * @param message ProtoLoopEntry message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoLoopEntry, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoLoopEntry message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoLoopEntry - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoLoopEntry; - - /** - * Decodes a ProtoLoopEntry message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoLoopEntry - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoLoopEntry; - - /** - * Verifies a ProtoLoopEntry message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoLoopEntry message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoLoopEntry - */ - public static fromObject(object: { [k: string]: any }): ProtoLoopEntry; - - /** - * Creates a plain object from a ProtoLoopEntry message. Also converts values to other types if specified. - * @param message ProtoLoopEntry - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoLoopEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoLoopEntry to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoLoopEntry - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoLoop. */ -export interface IProtoLoop { - - /** ProtoLoop _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoLoop parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoLoop path */ - path?: (string|null); - - /** ProtoLoop uuid */ - uuid?: (string|null); - - /** ProtoLoop comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoLoop. */ -export class ProtoLoop implements IProtoLoop { - - /** - * Constructs a new ProtoLoop. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoLoop); - - /** ProtoLoop _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoLoop parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoLoop path. */ - public path: string; - - /** ProtoLoop uuid. */ - public uuid: string; - - /** ProtoLoop comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoLoop instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoLoop instance - */ - public static create(properties?: IProtoLoop): ProtoLoop; - - /** - * Encodes the specified ProtoLoop message. Does not implicitly {@link ProtoLoop.verify|verify} messages. - * @param message ProtoLoop message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoLoop, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoLoop message, length delimited. Does not implicitly {@link ProtoLoop.verify|verify} messages. - * @param message ProtoLoop message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoLoop, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoLoop message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoLoop - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoLoop; - - /** - * Decodes a ProtoLoop message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoLoop - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoLoop; - - /** - * Verifies a ProtoLoop message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoLoop message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoLoop - */ - public static fromObject(object: { [k: string]: any }): ProtoLoop; - - /** - * Creates a plain object from a ProtoLoop message. Also converts values to other types if specified. - * @param message ProtoLoop - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoLoop, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoLoop to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoLoop - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoSubTotalPosition enum. */ -export enum ProtoSubTotalPosition { - POSITION_ABOVE_FOOTER = 0, - POSITION_BELOW_CONTENT = 1 -} - -/** Properties of a ProtoSubTotal. */ -export interface IProtoSubTotal { - - /** ProtoSubTotal _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoSubTotal parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoSubTotal applyImmediate */ - applyImmediate?: (boolean|null); - - /** ProtoSubTotal position */ - position?: (ProtoSubTotalPosition|null); - - /** ProtoSubTotal height */ - height?: (IProtoMeasure|null); - - /** ProtoSubTotal comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoSubTotal. */ -export class ProtoSubTotal implements IProtoSubTotal { - - /** - * Constructs a new ProtoSubTotal. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSubTotal); - - /** ProtoSubTotal _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoSubTotal parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoSubTotal applyImmediate. */ - public applyImmediate: boolean; - - /** ProtoSubTotal position. */ - public position: ProtoSubTotalPosition; - - /** ProtoSubTotal height. */ - public height?: (IProtoMeasure|null); - - /** ProtoSubTotal comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoSubTotal instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSubTotal instance - */ - public static create(properties?: IProtoSubTotal): ProtoSubTotal; - - /** - * Encodes the specified ProtoSubTotal message. Does not implicitly {@link ProtoSubTotal.verify|verify} messages. - * @param message ProtoSubTotal message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSubTotal, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSubTotal message, length delimited. Does not implicitly {@link ProtoSubTotal.verify|verify} messages. - * @param message ProtoSubTotal message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSubTotal, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSubTotal message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSubTotal - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSubTotal; - - /** - * Decodes a ProtoSubTotal message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSubTotal - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSubTotal; - - /** - * Verifies a ProtoSubTotal message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSubTotal message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSubTotal - */ - public static fromObject(object: { [k: string]: any }): ProtoSubTotal; - - /** - * Creates a plain object from a ProtoSubTotal message. Also converts values to other types if specified. - * @param message ProtoSubTotal - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSubTotal, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSubTotal to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSubTotal - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoWsArea. */ -export interface IProtoWsArea { - - /** ProtoWsArea _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoWsArea parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoWsArea comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoWsArea. */ -export class ProtoWsArea implements IProtoWsArea { - - /** - * Constructs a new ProtoWsArea. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoWsArea); - - /** ProtoWsArea _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoWsArea parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoWsArea comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoWsArea instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoWsArea instance - */ - public static create(properties?: IProtoWsArea): ProtoWsArea; - - /** - * Encodes the specified ProtoWsArea message. Does not implicitly {@link ProtoWsArea.verify|verify} messages. - * @param message ProtoWsArea message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoWsArea, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoWsArea message, length delimited. Does not implicitly {@link ProtoWsArea.verify|verify} messages. - * @param message ProtoWsArea message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoWsArea, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoWsArea message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoWsArea - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoWsArea; - - /** - * Decodes a ProtoWsArea message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoWsArea - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoWsArea; - - /** - * Verifies a ProtoWsArea message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoWsArea message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoWsArea - */ - public static fromObject(object: { [k: string]: any }): ProtoWsArea; - - /** - * Creates a plain object from a ProtoWsArea message. Also converts values to other types if specified. - * @param message ProtoWsArea - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoWsArea, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoWsArea to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoWsArea - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoRule. */ -export interface IProtoRule { - - /** ProtoRule xOffset */ - xOffset?: (IProtoMeasure|null); - - /** ProtoRule yOffset */ - yOffset?: (IProtoMeasure|null); - - /** ProtoRule width */ - width?: (IProtoMeasure|null); - - /** ProtoRule thickness */ - thickness?: (IProtoMeasure|null); - - /** ProtoRule rotation */ - rotation?: (number|null); - - /** ProtoRule color */ - color?: (IProtoColor|null); - - /** ProtoRule style */ - style?: (ProtoRuleStyle|null); - - /** ProtoRule mode */ - mode?: (ProtoRuleMode|null); - - /** ProtoRule boundaries */ - boundaries?: (IProtoRuleBoundaries|null); - - /** ProtoRule comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoRule. */ -export class ProtoRule implements IProtoRule { - - /** - * Constructs a new ProtoRule. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoRule); - - /** ProtoRule xOffset. */ - public xOffset?: (IProtoMeasure|null); - - /** ProtoRule yOffset. */ - public yOffset?: (IProtoMeasure|null); - - /** ProtoRule width. */ - public width?: (IProtoMeasure|null); - - /** ProtoRule thickness. */ - public thickness?: (IProtoMeasure|null); - - /** ProtoRule rotation. */ - public rotation: number; - - /** ProtoRule color. */ - public color?: (IProtoColor|null); - - /** ProtoRule style. */ - public style: ProtoRuleStyle; - - /** ProtoRule mode. */ - public mode: ProtoRuleMode; - - /** ProtoRule boundaries. */ - public boundaries?: (IProtoRuleBoundaries|null); - - /** ProtoRule comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoRule instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoRule instance - */ - public static create(properties?: IProtoRule): ProtoRule; - - /** - * Encodes the specified ProtoRule message. Does not implicitly {@link ProtoRule.verify|verify} messages. - * @param message ProtoRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoRule message, length delimited. Does not implicitly {@link ProtoRule.verify|verify} messages. - * @param message ProtoRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoRule message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoRule; - - /** - * Decodes a ProtoRule message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoRule; - - /** - * Verifies a ProtoRule message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoRule message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoRule - */ - public static fromObject(object: { [k: string]: any }): ProtoRule; - - /** - * Creates a plain object from a ProtoRule message. Also converts values to other types if specified. - * @param message ProtoRule - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoRule to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoRule - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoRuleMode enum. */ -export enum ProtoRuleMode { - NORMAL = 0, - BOUNDARY = 1 -} - -/** Properties of a ProtoRuleBoundaries. */ -export interface IProtoRuleBoundaries { - - /** ProtoRuleBoundaries start */ - start?: (IProtoMeasure|null); - - /** ProtoRuleBoundaries end */ - end?: (IProtoMeasure|null); -} - -/** Represents a ProtoRuleBoundaries. */ -export class ProtoRuleBoundaries implements IProtoRuleBoundaries { - - /** - * Constructs a new ProtoRuleBoundaries. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoRuleBoundaries); - - /** ProtoRuleBoundaries start. */ - public start?: (IProtoMeasure|null); - - /** ProtoRuleBoundaries end. */ - public end?: (IProtoMeasure|null); - - /** - * Creates a new ProtoRuleBoundaries instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoRuleBoundaries instance - */ - public static create(properties?: IProtoRuleBoundaries): ProtoRuleBoundaries; - - /** - * Encodes the specified ProtoRuleBoundaries message. Does not implicitly {@link ProtoRuleBoundaries.verify|verify} messages. - * @param message ProtoRuleBoundaries message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoRuleBoundaries, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoRuleBoundaries message, length delimited. Does not implicitly {@link ProtoRuleBoundaries.verify|verify} messages. - * @param message ProtoRuleBoundaries message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoRuleBoundaries, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoRuleBoundaries message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoRuleBoundaries - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoRuleBoundaries; - - /** - * Decodes a ProtoRuleBoundaries message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoRuleBoundaries - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoRuleBoundaries; - - /** - * Verifies a ProtoRuleBoundaries message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoRuleBoundaries message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoRuleBoundaries - */ - public static fromObject(object: { [k: string]: any }): ProtoRuleBoundaries; - - /** - * Creates a plain object from a ProtoRuleBoundaries message. Also converts values to other types if specified. - * @param message ProtoRuleBoundaries - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoRuleBoundaries, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoRuleBoundaries to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoRuleBoundaries - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoColorDef. */ -export interface IProtoColorDef { - - /** ProtoColorDef color */ - color?: (IProtoColor|null); - - /** ProtoColorDef comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoColorDef. */ -export class ProtoColorDef implements IProtoColorDef { - - /** - * Constructs a new ProtoColorDef. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoColorDef); - - /** ProtoColorDef color. */ - public color?: (IProtoColor|null); - - /** ProtoColorDef comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoColorDef instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoColorDef instance - */ - public static create(properties?: IProtoColorDef): ProtoColorDef; - - /** - * Encodes the specified ProtoColorDef message. Does not implicitly {@link ProtoColorDef.verify|verify} messages. - * @param message ProtoColorDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoColorDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoColorDef message, length delimited. Does not implicitly {@link ProtoColorDef.verify|verify} messages. - * @param message ProtoColorDef message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoColorDef, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoColorDef message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoColorDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoColorDef; - - /** - * Decodes a ProtoColorDef message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoColorDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoColorDef; - - /** - * Verifies a ProtoColorDef message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoColorDef message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoColorDef - */ - public static fromObject(object: { [k: string]: any }): ProtoColorDef; - - /** - * Creates a plain object from a ProtoColorDef message. Also converts values to other types if specified. - * @param message ProtoColorDef - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoColorDef, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoColorDef to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoColorDef - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoLayout. */ -export interface IProtoLayout { - - /** ProtoLayout parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoLayout name */ - name?: (string|null); - - /** ProtoLayout comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoLayout. */ -export class ProtoLayout implements IProtoLayout { - - /** - * Constructs a new ProtoLayout. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoLayout); - - /** ProtoLayout parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoLayout name. */ - public name: string; - - /** ProtoLayout comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoLayout instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoLayout instance - */ - public static create(properties?: IProtoLayout): ProtoLayout; - - /** - * Encodes the specified ProtoLayout message. Does not implicitly {@link ProtoLayout.verify|verify} messages. - * @param message ProtoLayout message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoLayout, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoLayout message, length delimited. Does not implicitly {@link ProtoLayout.verify|verify} messages. - * @param message ProtoLayout message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoLayout, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoLayout message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoLayout - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoLayout; - - /** - * Decodes a ProtoLayout message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoLayout - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoLayout; - - /** - * Verifies a ProtoLayout message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoLayout message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoLayout - */ - public static fromObject(object: { [k: string]: any }): ProtoLayout; - - /** - * Creates a plain object from a ProtoLayout message. Also converts values to other types if specified. - * @param message ProtoLayout - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoLayout, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoLayout to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoLayout - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoAdvancedIllustrationArea. */ -export interface IProtoAdvancedIllustrationArea { - - /** ProtoAdvancedIllustrationArea _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoAdvancedIllustrationArea parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoAdvancedIllustrationArea uuid */ - uuid?: (string|null); - - /** ProtoAdvancedIllustrationArea absolute */ - absolute?: (boolean|null); - - /** ProtoAdvancedIllustrationArea width */ - width?: (IProtoMeasure|null); - - /** ProtoAdvancedIllustrationArea height */ - height?: (IProtoMeasure|null); - - /** ProtoAdvancedIllustrationArea x */ - x?: (IProtoMeasure|null); - - /** ProtoAdvancedIllustrationArea y */ - y?: (IProtoMeasure|null); - - /** ProtoAdvancedIllustrationArea textFlow */ - textFlow?: (ProtoAdvancedIllustrationAreaTextFlowType|null); - - /** ProtoAdvancedIllustrationArea rotation */ - rotation?: (number|null); - - /** ProtoAdvancedIllustrationArea comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoAdvancedIllustrationArea. */ -export class ProtoAdvancedIllustrationArea implements IProtoAdvancedIllustrationArea { - - /** - * Constructs a new ProtoAdvancedIllustrationArea. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoAdvancedIllustrationArea); - - /** ProtoAdvancedIllustrationArea _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoAdvancedIllustrationArea parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoAdvancedIllustrationArea uuid. */ - public uuid: string; - - /** ProtoAdvancedIllustrationArea absolute. */ - public absolute: boolean; - - /** ProtoAdvancedIllustrationArea width. */ - public width?: (IProtoMeasure|null); - - /** ProtoAdvancedIllustrationArea height. */ - public height?: (IProtoMeasure|null); - - /** ProtoAdvancedIllustrationArea x. */ - public x?: (IProtoMeasure|null); - - /** ProtoAdvancedIllustrationArea y. */ - public y?: (IProtoMeasure|null); - - /** ProtoAdvancedIllustrationArea textFlow. */ - public textFlow: ProtoAdvancedIllustrationAreaTextFlowType; - - /** ProtoAdvancedIllustrationArea rotation. */ - public rotation: number; - - /** ProtoAdvancedIllustrationArea comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoAdvancedIllustrationArea instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoAdvancedIllustrationArea instance - */ - public static create(properties?: IProtoAdvancedIllustrationArea): ProtoAdvancedIllustrationArea; - - /** - * Encodes the specified ProtoAdvancedIllustrationArea message. Does not implicitly {@link ProtoAdvancedIllustrationArea.verify|verify} messages. - * @param message ProtoAdvancedIllustrationArea message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoAdvancedIllustrationArea, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoAdvancedIllustrationArea message, length delimited. Does not implicitly {@link ProtoAdvancedIllustrationArea.verify|verify} messages. - * @param message ProtoAdvancedIllustrationArea message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoAdvancedIllustrationArea, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoAdvancedIllustrationArea message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoAdvancedIllustrationArea - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoAdvancedIllustrationArea; - - /** - * Decodes a ProtoAdvancedIllustrationArea message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoAdvancedIllustrationArea - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoAdvancedIllustrationArea; - - /** - * Verifies a ProtoAdvancedIllustrationArea message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoAdvancedIllustrationArea message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoAdvancedIllustrationArea - */ - public static fromObject(object: { [k: string]: any }): ProtoAdvancedIllustrationArea; - - /** - * Creates a plain object from a ProtoAdvancedIllustrationArea message. Also converts values to other types if specified. - * @param message ProtoAdvancedIllustrationArea - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoAdvancedIllustrationArea, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoAdvancedIllustrationArea to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoAdvancedIllustrationArea - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoAdjustHorizontally. */ -export interface IProtoAdjustHorizontally { - - /** ProtoAdjustHorizontally _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoAdjustHorizontally parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoAdjustHorizontally minFontSize */ - minFontSize?: (IProtoMeasure|null); - - /** ProtoAdjustHorizontally maxFontSize */ - maxFontSize?: (IProtoMeasure|null); - - /** ProtoAdjustHorizontally comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoAdjustHorizontally. */ -export class ProtoAdjustHorizontally implements IProtoAdjustHorizontally { - - /** - * Constructs a new ProtoAdjustHorizontally. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoAdjustHorizontally); - - /** ProtoAdjustHorizontally _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoAdjustHorizontally parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoAdjustHorizontally minFontSize. */ - public minFontSize?: (IProtoMeasure|null); - - /** ProtoAdjustHorizontally maxFontSize. */ - public maxFontSize?: (IProtoMeasure|null); - - /** ProtoAdjustHorizontally comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoAdjustHorizontally instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoAdjustHorizontally instance - */ - public static create(properties?: IProtoAdjustHorizontally): ProtoAdjustHorizontally; - - /** - * Encodes the specified ProtoAdjustHorizontally message. Does not implicitly {@link ProtoAdjustHorizontally.verify|verify} messages. - * @param message ProtoAdjustHorizontally message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoAdjustHorizontally, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoAdjustHorizontally message, length delimited. Does not implicitly {@link ProtoAdjustHorizontally.verify|verify} messages. - * @param message ProtoAdjustHorizontally message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoAdjustHorizontally, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoAdjustHorizontally message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoAdjustHorizontally - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoAdjustHorizontally; - - /** - * Decodes a ProtoAdjustHorizontally message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoAdjustHorizontally - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoAdjustHorizontally; - - /** - * Verifies a ProtoAdjustHorizontally message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoAdjustHorizontally message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoAdjustHorizontally - */ - public static fromObject(object: { [k: string]: any }): ProtoAdjustHorizontally; - - /** - * Creates a plain object from a ProtoAdjustHorizontally message. Also converts values to other types if specified. - * @param message ProtoAdjustHorizontally - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoAdjustHorizontally, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoAdjustHorizontally to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoAdjustHorizontally - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** ProtoDoctypeOutputMode enum. */ -export enum ProtoDoctypeOutputMode { - DOCTYPE_OUTPUT_MODE_NOT_SET = 0, - DOCTYPE = 1, - JSON = 2 -} - -/** Properties of a ProtoDoctypeScript. */ -export interface IProtoDoctypeScript { - - /** ProtoDoctypeScript parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoDoctypeScript content */ - content?: (string|null); - - /** ProtoDoctypeScript outputMode */ - outputMode?: (ProtoDoctypeOutputMode|null); - - /** ProtoDoctypeScript comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoDoctypeScript uuid */ - uuid?: (string|null); -} - -/** Represents a ProtoDoctypeScript. */ -export class ProtoDoctypeScript implements IProtoDoctypeScript { - - /** - * Constructs a new ProtoDoctypeScript. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoDoctypeScript); - - /** ProtoDoctypeScript parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoDoctypeScript content. */ - public content: string; - - /** ProtoDoctypeScript outputMode. */ - public outputMode: ProtoDoctypeOutputMode; - - /** ProtoDoctypeScript comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoDoctypeScript uuid. */ - public uuid: string; - - /** - * Creates a new ProtoDoctypeScript instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoDoctypeScript instance - */ - public static create(properties?: IProtoDoctypeScript): ProtoDoctypeScript; - - /** - * Encodes the specified ProtoDoctypeScript message. Does not implicitly {@link ProtoDoctypeScript.verify|verify} messages. - * @param message ProtoDoctypeScript message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoDoctypeScript, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoDoctypeScript message, length delimited. Does not implicitly {@link ProtoDoctypeScript.verify|verify} messages. - * @param message ProtoDoctypeScript message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoDoctypeScript, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoDoctypeScript message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoDoctypeScript - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoDoctypeScript; - - /** - * Decodes a ProtoDoctypeScript message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoDoctypeScript - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoDoctypeScript; - - /** - * Verifies a ProtoDoctypeScript message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoDoctypeScript message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoDoctypeScript - */ - public static fromObject(object: { [k: string]: any }): ProtoDoctypeScript; - - /** - * Creates a plain object from a ProtoDoctypeScript message. Also converts values to other types if specified. - * @param message ProtoDoctypeScript - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoDoctypeScript, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoDoctypeScript to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoDoctypeScript - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoDmScript. */ -export interface IProtoDmScript { - - /** ProtoDmScript parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoDmScript content */ - content?: (string|null); - - /** ProtoDmScript comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoDmScript uuid */ - uuid?: (string|null); -} - -/** Represents a ProtoDmScript. */ -export class ProtoDmScript implements IProtoDmScript { - - /** - * Constructs a new ProtoDmScript. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoDmScript); - - /** ProtoDmScript parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoDmScript content. */ - public content: string; - - /** ProtoDmScript comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoDmScript uuid. */ - public uuid: string; - - /** - * Creates a new ProtoDmScript instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoDmScript instance - */ - public static create(properties?: IProtoDmScript): ProtoDmScript; - - /** - * Encodes the specified ProtoDmScript message. Does not implicitly {@link ProtoDmScript.verify|verify} messages. - * @param message ProtoDmScript message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoDmScript, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoDmScript message, length delimited. Does not implicitly {@link ProtoDmScript.verify|verify} messages. - * @param message ProtoDmScript message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoDmScript, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoDmScript message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoDmScript - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoDmScript; - - /** - * Decodes a ProtoDmScript message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoDmScript - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoDmScript; - - /** - * Verifies a ProtoDmScript message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoDmScript message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoDmScript - */ - public static fromObject(object: { [k: string]: any }): ProtoDmScript; - - /** - * Creates a plain object from a ProtoDmScript message. Also converts values to other types if specified. - * @param message ProtoDmScript - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoDmScript, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoDmScript to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoDmScript - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoDynamicTemplate. */ -export interface IProtoDynamicTemplate { - - /** ProtoDynamicTemplate parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoDynamicTemplate uuid */ - uuid?: (string|null); - - /** ProtoDynamicTemplate script */ - script?: (string|null); - - /** ProtoDynamicTemplate comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoDynamicTemplate. */ -export class ProtoDynamicTemplate implements IProtoDynamicTemplate { - - /** - * Constructs a new ProtoDynamicTemplate. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoDynamicTemplate); - - /** ProtoDynamicTemplate parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoDynamicTemplate uuid. */ - public uuid: string; - - /** ProtoDynamicTemplate script. */ - public script: string; - - /** ProtoDynamicTemplate comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoDynamicTemplate instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoDynamicTemplate instance - */ - public static create(properties?: IProtoDynamicTemplate): ProtoDynamicTemplate; - - /** - * Encodes the specified ProtoDynamicTemplate message. Does not implicitly {@link ProtoDynamicTemplate.verify|verify} messages. - * @param message ProtoDynamicTemplate message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoDynamicTemplate, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoDynamicTemplate message, length delimited. Does not implicitly {@link ProtoDynamicTemplate.verify|verify} messages. - * @param message ProtoDynamicTemplate message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoDynamicTemplate, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoDynamicTemplate message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoDynamicTemplate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoDynamicTemplate; - - /** - * Decodes a ProtoDynamicTemplate message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoDynamicTemplate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoDynamicTemplate; - - /** - * Verifies a ProtoDynamicTemplate message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoDynamicTemplate message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoDynamicTemplate - */ - public static fromObject(object: { [k: string]: any }): ProtoDynamicTemplate; - - /** - * Creates a plain object from a ProtoDynamicTemplate message. Also converts values to other types if specified. - * @param message ProtoDynamicTemplate - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoDynamicTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoDynamicTemplate to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoDynamicTemplate - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSelection. */ -export interface IProtoSelection { - - /** ProtoSelection _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoSelection parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoSelection uuid */ - uuid?: (string|null); - - /** ProtoSelection comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoSelection internalName */ - internalName?: (string|null); - - /** ProtoSelection name */ - name?: (string|null); - - /** ProtoSelection multi */ - multi?: (boolean|null); - - /** ProtoSelection min */ - min?: (number|Long|null); - - /** ProtoSelection max */ - max?: (number|Long|null); -} - -/** Represents a ProtoSelection. */ -export class ProtoSelection implements IProtoSelection { - - /** - * Constructs a new ProtoSelection. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSelection); - - /** ProtoSelection _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoSelection parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoSelection uuid. */ - public uuid: string; - - /** ProtoSelection comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoSelection internalName. */ - public internalName: string; - - /** ProtoSelection name. */ - public name: string; - - /** ProtoSelection multi. */ - public multi: boolean; - - /** ProtoSelection min. */ - public min: (number|Long); - - /** ProtoSelection max. */ - public max: (number|Long); - - /** - * Creates a new ProtoSelection instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSelection instance - */ - public static create(properties?: IProtoSelection): ProtoSelection; - - /** - * Encodes the specified ProtoSelection message. Does not implicitly {@link ProtoSelection.verify|verify} messages. - * @param message ProtoSelection message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSelection, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSelection message, length delimited. Does not implicitly {@link ProtoSelection.verify|verify} messages. - * @param message ProtoSelection message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSelection, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSelection message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSelection - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSelection; - - /** - * Decodes a ProtoSelection message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSelection - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSelection; - - /** - * Verifies a ProtoSelection message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSelection message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSelection - */ - public static fromObject(object: { [k: string]: any }): ProtoSelection; - - /** - * Creates a plain object from a ProtoSelection message. Also converts values to other types if specified. - * @param message ProtoSelection - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSelection, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSelection to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSelection - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoSelectionEntry. */ -export interface IProtoSelectionEntry { - - /** ProtoSelectionEntry _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoSelectionEntry parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoSelectionEntry uuid */ - uuid?: (string|null); - - /** ProtoSelectionEntry comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoSelectionEntry internalName */ - internalName?: (string|null); - - /** ProtoSelectionEntry name */ - name?: (string|null); - - /** ProtoSelectionEntry selected */ - selected?: (boolean|null); -} - -/** Represents a ProtoSelectionEntry. */ -export class ProtoSelectionEntry implements IProtoSelectionEntry { - - /** - * Constructs a new ProtoSelectionEntry. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoSelectionEntry); - - /** ProtoSelectionEntry _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoSelectionEntry parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoSelectionEntry uuid. */ - public uuid: string; - - /** ProtoSelectionEntry comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoSelectionEntry internalName. */ - public internalName: string; - - /** ProtoSelectionEntry name. */ - public name: string; - - /** ProtoSelectionEntry selected. */ - public selected: boolean; - - /** - * Creates a new ProtoSelectionEntry instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoSelectionEntry instance - */ - public static create(properties?: IProtoSelectionEntry): ProtoSelectionEntry; - - /** - * Encodes the specified ProtoSelectionEntry message. Does not implicitly {@link ProtoSelectionEntry.verify|verify} messages. - * @param message ProtoSelectionEntry message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoSelectionEntry, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoSelectionEntry message, length delimited. Does not implicitly {@link ProtoSelectionEntry.verify|verify} messages. - * @param message ProtoSelectionEntry message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoSelectionEntry, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoSelectionEntry message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoSelectionEntry - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoSelectionEntry; - - /** - * Decodes a ProtoSelectionEntry message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoSelectionEntry - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoSelectionEntry; - - /** - * Verifies a ProtoSelectionEntry message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoSelectionEntry message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoSelectionEntry - */ - public static fromObject(object: { [k: string]: any }): ProtoSelectionEntry; - - /** - * Creates a plain object from a ProtoSelectionEntry message. Also converts values to other types if specified. - * @param message ProtoSelectionEntry - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoSelectionEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoSelectionEntry to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoSelectionEntry - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoCondition. */ -export interface IProtoCondition { - - /** ProtoCondition _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoCondition parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoCondition uuid */ - uuid?: (string|null); - - /** ProtoCondition comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoCondition code */ - code?: (string|null); - - /** ProtoCondition result */ - result?: (boolean|null); - - /** ProtoCondition regenerate */ - regenerate?: (boolean|null); -} - -/** Represents a ProtoCondition. */ -export class ProtoCondition implements IProtoCondition { - - /** - * Constructs a new ProtoCondition. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoCondition); - - /** ProtoCondition _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoCondition parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoCondition uuid. */ - public uuid: string; - - /** ProtoCondition comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoCondition code. */ - public code: string; - - /** ProtoCondition result. */ - public result: boolean; - - /** ProtoCondition regenerate. */ - public regenerate: boolean; - - /** - * Creates a new ProtoCondition instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoCondition instance - */ - public static create(properties?: IProtoCondition): ProtoCondition; - - /** - * Encodes the specified ProtoCondition message. Does not implicitly {@link ProtoCondition.verify|verify} messages. - * @param message ProtoCondition message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoCondition, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoCondition message, length delimited. Does not implicitly {@link ProtoCondition.verify|verify} messages. - * @param message ProtoCondition message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoCondition, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoCondition message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoCondition - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoCondition; - - /** - * Decodes a ProtoCondition message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoCondition - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoCondition; - - /** - * Verifies a ProtoCondition message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoCondition message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoCondition - */ - public static fromObject(object: { [k: string]: any }): ProtoCondition; - - /** - * Creates a plain object from a ProtoCondition message. Also converts values to other types if specified. - * @param message ProtoCondition - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoCondition, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoCondition to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoCondition - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoPageCondition. */ -export interface IProtoPageCondition { - - /** ProtoPageCondition _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoPageCondition parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoPageCondition uuid */ - uuid?: (string|null); - - /** ProtoPageCondition comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoPageCondition code */ - code?: (string|null); -} - -/** Represents a ProtoPageCondition. */ -export class ProtoPageCondition implements IProtoPageCondition { - - /** - * Constructs a new ProtoPageCondition. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoPageCondition); - - /** ProtoPageCondition _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoPageCondition parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoPageCondition uuid. */ - public uuid: string; - - /** ProtoPageCondition comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoPageCondition code. */ - public code: string; - - /** - * Creates a new ProtoPageCondition instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoPageCondition instance - */ - public static create(properties?: IProtoPageCondition): ProtoPageCondition; - - /** - * Encodes the specified ProtoPageCondition message. Does not implicitly {@link ProtoPageCondition.verify|verify} messages. - * @param message ProtoPageCondition message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoPageCondition, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoPageCondition message, length delimited. Does not implicitly {@link ProtoPageCondition.verify|verify} messages. - * @param message ProtoPageCondition message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoPageCondition, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoPageCondition message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoPageCondition - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoPageCondition; - - /** - * Decodes a ProtoPageCondition message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoPageCondition - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoPageCondition; - - /** - * Verifies a ProtoPageCondition message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoPageCondition message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoPageCondition - */ - public static fromObject(object: { [k: string]: any }): ProtoPageCondition; - - /** - * Creates a plain object from a ProtoPageCondition message. Also converts values to other types if specified. - * @param message ProtoPageCondition - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoPageCondition, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoPageCondition to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoPageCondition - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoLocale. */ -export interface IProtoLocale { - - /** ProtoLocale _children */ - _children?: (IProtoDocumentElement[]|null); - - /** ProtoLocale parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoLocale uuid */ - uuid?: (string|null); - - /** ProtoLocale comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoLocale languageUUIDs */ - languageUUIDs?: (string[]|null); - - /** ProtoLocale regionUUIDs */ - regionUUIDs?: (string[]|null); -} - -/** Represents a ProtoLocale. */ -export class ProtoLocale implements IProtoLocale { - - /** - * Constructs a new ProtoLocale. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoLocale); - - /** ProtoLocale _children. */ - public _children: IProtoDocumentElement[]; - - /** ProtoLocale parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoLocale uuid. */ - public uuid: string; - - /** ProtoLocale comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoLocale languageUUIDs. */ - public languageUUIDs: string[]; - - /** ProtoLocale regionUUIDs. */ - public regionUUIDs: string[]; - - /** - * Creates a new ProtoLocale instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoLocale instance - */ - public static create(properties?: IProtoLocale): ProtoLocale; - - /** - * Encodes the specified ProtoLocale message. Does not implicitly {@link ProtoLocale.verify|verify} messages. - * @param message ProtoLocale message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoLocale, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoLocale message, length delimited. Does not implicitly {@link ProtoLocale.verify|verify} messages. - * @param message ProtoLocale message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoLocale, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoLocale message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoLocale - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoLocale; - - /** - * Decodes a ProtoLocale message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoLocale - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoLocale; - - /** - * Verifies a ProtoLocale message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoLocale message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoLocale - */ - public static fromObject(object: { [k: string]: any }): ProtoLocale; - - /** - * Creates a plain object from a ProtoLocale message. Also converts values to other types if specified. - * @param message ProtoLocale - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoLocale, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoLocale to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoLocale - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoTag. */ -export interface IProtoTag { - - /** ProtoTag parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoTag name */ - name?: (string|null); - - /** ProtoTag comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoTag uuid */ - uuid?: (string|null); - - /** ProtoTag params */ - params?: (string[]|null); - - /** ProtoTag nameCode */ - nameCode?: (string|null); - - /** ProtoTag codeMode */ - codeMode?: (boolean|null); -} - -/** Represents a ProtoTag. */ -export class ProtoTag implements IProtoTag { - - /** - * Constructs a new ProtoTag. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoTag); - - /** ProtoTag parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoTag name. */ - public name: string; - - /** ProtoTag comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoTag uuid. */ - public uuid: string; - - /** ProtoTag params. */ - public params: string[]; - - /** ProtoTag nameCode. */ - public nameCode: string; - - /** ProtoTag codeMode. */ - public codeMode: boolean; - - /** - * Creates a new ProtoTag instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoTag instance - */ - public static create(properties?: IProtoTag): ProtoTag; - - /** - * Encodes the specified ProtoTag message. Does not implicitly {@link ProtoTag.verify|verify} messages. - * @param message ProtoTag message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoTag, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoTag message, length delimited. Does not implicitly {@link ProtoTag.verify|verify} messages. - * @param message ProtoTag message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoTag, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoTag message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoTag - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoTag; - - /** - * Decodes a ProtoTag message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoTag - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoTag; - - /** - * Verifies a ProtoTag message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoTag message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoTag - */ - public static fromObject(object: { [k: string]: any }): ProtoTag; - - /** - * Creates a plain object from a ProtoTag message. Also converts values to other types if specified. - * @param message ProtoTag - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoTag, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoTag to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoTag - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoParagraphSetDefault. */ -export interface IProtoParagraphSetDefault { - - /** ProtoParagraphSetDefault parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoParagraphSetDefault name */ - name?: (string|null); - - /** ProtoParagraphSetDefault paragraphFormatUUID */ - paragraphFormatUUID?: (string|null); - - /** ProtoParagraphSetDefault uuid */ - uuid?: (string|null); - - /** ProtoParagraphSetDefault comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); -} - -/** Represents a ProtoParagraphSetDefault. */ -export class ProtoParagraphSetDefault implements IProtoParagraphSetDefault { - - /** - * Constructs a new ProtoParagraphSetDefault. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoParagraphSetDefault); - - /** ProtoParagraphSetDefault parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoParagraphSetDefault name. */ - public name: string; - - /** ProtoParagraphSetDefault paragraphFormatUUID. */ - public paragraphFormatUUID: string; - - /** ProtoParagraphSetDefault uuid. */ - public uuid: string; - - /** ProtoParagraphSetDefault comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** - * Creates a new ProtoParagraphSetDefault instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoParagraphSetDefault instance - */ - public static create(properties?: IProtoParagraphSetDefault): ProtoParagraphSetDefault; - - /** - * Encodes the specified ProtoParagraphSetDefault message. Does not implicitly {@link ProtoParagraphSetDefault.verify|verify} messages. - * @param message ProtoParagraphSetDefault message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoParagraphSetDefault, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoParagraphSetDefault message, length delimited. Does not implicitly {@link ProtoParagraphSetDefault.verify|verify} messages. - * @param message ProtoParagraphSetDefault message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoParagraphSetDefault, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoParagraphSetDefault message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoParagraphSetDefault - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoParagraphSetDefault; - - /** - * Decodes a ProtoParagraphSetDefault message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoParagraphSetDefault - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoParagraphSetDefault; - - /** - * Verifies a ProtoParagraphSetDefault message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoParagraphSetDefault message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoParagraphSetDefault - */ - public static fromObject(object: { [k: string]: any }): ProtoParagraphSetDefault; - - /** - * Creates a plain object from a ProtoParagraphSetDefault message. Also converts values to other types if specified. - * @param message ProtoParagraphSetDefault - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoParagraphSetDefault, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoParagraphSetDefault to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoParagraphSetDefault - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoInputFieldText. */ -export interface IProtoInputFieldText { - - /** ProtoInputFieldText parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldText base */ - base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldText pdfPrintingBehavior */ - pdfPrintingBehavior?: (PDFPrintingBehavior|null); - - /** ProtoInputFieldText pdfSize */ - pdfSize?: (IProtoBoxedMeasure|null); - - /** ProtoInputFieldText pdfFormName */ - pdfFormName?: (string|null); - - /** ProtoInputFieldText comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoInputFieldText uuid */ - uuid?: (string|null); -} - -/** Represents a ProtoInputFieldText. */ -export class ProtoInputFieldText implements IProtoInputFieldText { - - /** - * Constructs a new ProtoInputFieldText. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoInputFieldText); - - /** ProtoInputFieldText parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldText base. */ - public base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldText pdfPrintingBehavior. */ - public pdfPrintingBehavior: PDFPrintingBehavior; - - /** ProtoInputFieldText pdfSize. */ - public pdfSize?: (IProtoBoxedMeasure|null); - - /** ProtoInputFieldText pdfFormName. */ - public pdfFormName: string; - - /** ProtoInputFieldText comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoInputFieldText uuid. */ - public uuid: string; - - /** - * Creates a new ProtoInputFieldText instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoInputFieldText instance - */ - public static create(properties?: IProtoInputFieldText): ProtoInputFieldText; - - /** - * Encodes the specified ProtoInputFieldText message. Does not implicitly {@link ProtoInputFieldText.verify|verify} messages. - * @param message ProtoInputFieldText message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoInputFieldText, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoInputFieldText message, length delimited. Does not implicitly {@link ProtoInputFieldText.verify|verify} messages. - * @param message ProtoInputFieldText message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoInputFieldText, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoInputFieldText message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoInputFieldText - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoInputFieldText; - - /** - * Decodes a ProtoInputFieldText message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoInputFieldText - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoInputFieldText; - - /** - * Verifies a ProtoInputFieldText message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoInputFieldText message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoInputFieldText - */ - public static fromObject(object: { [k: string]: any }): ProtoInputFieldText; - - /** - * Creates a plain object from a ProtoInputFieldText message. Also converts values to other types if specified. - * @param message ProtoInputFieldText - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoInputFieldText, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoInputFieldText to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoInputFieldText - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoInputFieldDate. */ -export interface IProtoInputFieldDate { - - /** ProtoInputFieldDate parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldDate base */ - base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldDate comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoInputFieldDate uuid */ - uuid?: (string|null); -} - -/** Represents a ProtoInputFieldDate. */ -export class ProtoInputFieldDate implements IProtoInputFieldDate { - - /** - * Constructs a new ProtoInputFieldDate. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoInputFieldDate); - - /** ProtoInputFieldDate parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldDate base. */ - public base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldDate comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoInputFieldDate uuid. */ - public uuid: string; - - /** - * Creates a new ProtoInputFieldDate instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoInputFieldDate instance - */ - public static create(properties?: IProtoInputFieldDate): ProtoInputFieldDate; - - /** - * Encodes the specified ProtoInputFieldDate message. Does not implicitly {@link ProtoInputFieldDate.verify|verify} messages. - * @param message ProtoInputFieldDate message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoInputFieldDate, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoInputFieldDate message, length delimited. Does not implicitly {@link ProtoInputFieldDate.verify|verify} messages. - * @param message ProtoInputFieldDate message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoInputFieldDate, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoInputFieldDate message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoInputFieldDate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoInputFieldDate; - - /** - * Decodes a ProtoInputFieldDate message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoInputFieldDate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoInputFieldDate; - - /** - * Verifies a ProtoInputFieldDate message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoInputFieldDate message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoInputFieldDate - */ - public static fromObject(object: { [k: string]: any }): ProtoInputFieldDate; - - /** - * Creates a plain object from a ProtoInputFieldDate message. Also converts values to other types if specified. - * @param message ProtoInputFieldDate - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoInputFieldDate, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoInputFieldDate to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoInputFieldDate - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoInputFieldCheckbox. */ -export interface IProtoInputFieldCheckbox { - - /** ProtoInputFieldCheckbox parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldCheckbox base */ - base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldCheckbox comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoInputFieldCheckbox uuid */ - uuid?: (string|null); -} - -/** Represents a ProtoInputFieldCheckbox. */ -export class ProtoInputFieldCheckbox implements IProtoInputFieldCheckbox { - - /** - * Constructs a new ProtoInputFieldCheckbox. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoInputFieldCheckbox); - - /** ProtoInputFieldCheckbox parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldCheckbox base. */ - public base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldCheckbox comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoInputFieldCheckbox uuid. */ - public uuid: string; - - /** - * Creates a new ProtoInputFieldCheckbox instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoInputFieldCheckbox instance - */ - public static create(properties?: IProtoInputFieldCheckbox): ProtoInputFieldCheckbox; - - /** - * Encodes the specified ProtoInputFieldCheckbox message. Does not implicitly {@link ProtoInputFieldCheckbox.verify|verify} messages. - * @param message ProtoInputFieldCheckbox message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoInputFieldCheckbox, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoInputFieldCheckbox message, length delimited. Does not implicitly {@link ProtoInputFieldCheckbox.verify|verify} messages. - * @param message ProtoInputFieldCheckbox message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoInputFieldCheckbox, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoInputFieldCheckbox message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoInputFieldCheckbox - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoInputFieldCheckbox; - - /** - * Decodes a ProtoInputFieldCheckbox message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoInputFieldCheckbox - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoInputFieldCheckbox; - - /** - * Verifies a ProtoInputFieldCheckbox message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoInputFieldCheckbox message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoInputFieldCheckbox - */ - public static fromObject(object: { [k: string]: any }): ProtoInputFieldCheckbox; - - /** - * Creates a plain object from a ProtoInputFieldCheckbox message. Also converts values to other types if specified. - * @param message ProtoInputFieldCheckbox - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoInputFieldCheckbox, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoInputFieldCheckbox to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoInputFieldCheckbox - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoInputFieldLabel. */ -export interface IProtoInputFieldLabel { - - /** ProtoInputFieldLabel parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldLabel base */ - base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldLabel comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoInputFieldLabel uuid */ - uuid?: (string|null); -} - -/** Represents a ProtoInputFieldLabel. */ -export class ProtoInputFieldLabel implements IProtoInputFieldLabel { - - /** - * Constructs a new ProtoInputFieldLabel. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoInputFieldLabel); - - /** ProtoInputFieldLabel parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldLabel base. */ - public base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldLabel comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoInputFieldLabel uuid. */ - public uuid: string; - - /** - * Creates a new ProtoInputFieldLabel instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoInputFieldLabel instance - */ - public static create(properties?: IProtoInputFieldLabel): ProtoInputFieldLabel; - - /** - * Encodes the specified ProtoInputFieldLabel message. Does not implicitly {@link ProtoInputFieldLabel.verify|verify} messages. - * @param message ProtoInputFieldLabel message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoInputFieldLabel, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoInputFieldLabel message, length delimited. Does not implicitly {@link ProtoInputFieldLabel.verify|verify} messages. - * @param message ProtoInputFieldLabel message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoInputFieldLabel, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoInputFieldLabel message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoInputFieldLabel - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoInputFieldLabel; - - /** - * Decodes a ProtoInputFieldLabel message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoInputFieldLabel - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoInputFieldLabel; - - /** - * Verifies a ProtoInputFieldLabel message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoInputFieldLabel message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoInputFieldLabel - */ - public static fromObject(object: { [k: string]: any }): ProtoInputFieldLabel; - - /** - * Creates a plain object from a ProtoInputFieldLabel message. Also converts values to other types if specified. - * @param message ProtoInputFieldLabel - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoInputFieldLabel, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoInputFieldLabel to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoInputFieldLabel - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ProtoInputFieldDropdown. */ -export interface IProtoInputFieldDropdown { - - /** ProtoInputFieldDropdown parent */ - parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldDropdown base */ - base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldDropdown options */ - options?: (IProtoOption[]|null); - - /** ProtoInputFieldDropdown bindOptionsCode */ - bindOptionsCode?: (boolean|null); - - /** ProtoInputFieldDropdown optionsCode */ - optionsCode?: (string|null); - - /** ProtoInputFieldDropdown comChannelUUIDs */ - comChannelUUIDs?: (string[]|null); - - /** ProtoInputFieldDropdown uuid */ - uuid?: (string|null); -} - -/** Represents a ProtoInputFieldDropdown. */ -export class ProtoInputFieldDropdown implements IProtoInputFieldDropdown { - - /** - * Constructs a new ProtoInputFieldDropdown. - * @param [properties] Properties to set - */ - constructor(properties?: IProtoInputFieldDropdown); - - /** ProtoInputFieldDropdown parent. */ - public parent?: (IProtoDocumentElement|null); - - /** ProtoInputFieldDropdown base. */ - public base?: (IProtoBaseInputField|null); - - /** ProtoInputFieldDropdown options. */ - public options: IProtoOption[]; - - /** ProtoInputFieldDropdown bindOptionsCode. */ - public bindOptionsCode: boolean; - - /** ProtoInputFieldDropdown optionsCode. */ - public optionsCode: string; - - /** ProtoInputFieldDropdown comChannelUUIDs. */ - public comChannelUUIDs: string[]; - - /** ProtoInputFieldDropdown uuid. */ - public uuid: string; - - /** - * Creates a new ProtoInputFieldDropdown instance using the specified properties. - * @param [properties] Properties to set - * @returns ProtoInputFieldDropdown instance - */ - public static create(properties?: IProtoInputFieldDropdown): ProtoInputFieldDropdown; - - /** - * Encodes the specified ProtoInputFieldDropdown message. Does not implicitly {@link ProtoInputFieldDropdown.verify|verify} messages. - * @param message ProtoInputFieldDropdown message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProtoInputFieldDropdown, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ProtoInputFieldDropdown message, length delimited. Does not implicitly {@link ProtoInputFieldDropdown.verify|verify} messages. - * @param message ProtoInputFieldDropdown message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProtoInputFieldDropdown, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ProtoInputFieldDropdown message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ProtoInputFieldDropdown - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoInputFieldDropdown; - - /** - * Decodes a ProtoInputFieldDropdown message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ProtoInputFieldDropdown - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoInputFieldDropdown; - - /** - * Verifies a ProtoInputFieldDropdown message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ProtoInputFieldDropdown message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ProtoInputFieldDropdown - */ - public static fromObject(object: { [k: string]: any }): ProtoInputFieldDropdown; - - /** - * Creates a plain object from a ProtoInputFieldDropdown message. Also converts values to other types if specified. - * @param message ProtoInputFieldDropdown - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ProtoInputFieldDropdown, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ProtoInputFieldDropdown to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ProtoInputFieldDropdown - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} diff --git a/build/Docframe.js b/build/Docframe.js deleted file mode 100644 index 7bfbb56..0000000 --- a/build/Docframe.js +++ /dev/null @@ -1,46543 +0,0 @@ -/*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"); - -// Common aliases -var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; - -// Exported root namespace -var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); - -$root.ProtoBoxedBool = (function() { - - /** - * Properties of a ProtoBoxedBool. - * @name IProtoBoxedBool - * @interface IProtoBoxedBool - * @property {boolean|null} [value] ProtoBoxedBool value - * @property {boolean|null} [isNull] ProtoBoxedBool isNull - */ - - /** - * Constructs a new ProtoBoxedBool. - * @name ProtoBoxedBool - * @classdesc Represents a ProtoBoxedBool. - * @implements IProtoBoxedBool - * @constructor - * @param {IProtoBoxedBool=} [properties] Properties to set - */ - function ProtoBoxedBool(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedBool value. - * @member {boolean} value - * @memberof ProtoBoxedBool - * @instance - */ - ProtoBoxedBool.prototype.value = false; - - /** - * ProtoBoxedBool isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedBool - * @instance - */ - ProtoBoxedBool.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedBool instance using the specified properties. - * @function create - * @memberof ProtoBoxedBool - * @static - * @param {IProtoBoxedBool=} [properties] Properties to set - * @returns {ProtoBoxedBool} ProtoBoxedBool instance - */ - ProtoBoxedBool.create = function create(properties) { - return new ProtoBoxedBool(properties); - }; - - /** - * Encodes the specified ProtoBoxedBool message. Does not implicitly {@link ProtoBoxedBool.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedBool - * @static - * @param {IProtoBoxedBool} message ProtoBoxedBool message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedBool.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedBool message, length delimited. Does not implicitly {@link ProtoBoxedBool.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedBool - * @static - * @param {IProtoBoxedBool} message ProtoBoxedBool message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedBool.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedBool message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedBool - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedBool} ProtoBoxedBool - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedBool(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.bool(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedBool message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedBool - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedBool} ProtoBoxedBool - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedBool.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedBool message. - * @function verify - * @memberof ProtoBoxedBool - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "boolean") - return "value: boolean expected"; - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedBool message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedBool - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedBool} ProtoBoxedBool - */ - ProtoBoxedBool.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedBool) - return object; - var message = new $root.ProtoBoxedBool(); - if (object.value != null) - message.value = Boolean(object.value); - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedBool message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedBool - * @static - * @param {ProtoBoxedBool} message ProtoBoxedBool - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedBool.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = false; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedBool to JSON. - * @function toJSON - * @memberof ProtoBoxedBool - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedBool.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedBool - * @function getTypeUrl - * @memberof ProtoBoxedBool - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedBool.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedBool"; - }; - - return ProtoBoxedBool; -})(); - -$root.ProtoBoxedDouble = (function() { - - /** - * Properties of a ProtoBoxedDouble. - * @name IProtoBoxedDouble - * @interface IProtoBoxedDouble - * @property {number|null} [value] ProtoBoxedDouble value - * @property {boolean|null} [isNull] ProtoBoxedDouble isNull - */ - - /** - * Constructs a new ProtoBoxedDouble. - * @name ProtoBoxedDouble - * @classdesc Represents a ProtoBoxedDouble. - * @implements IProtoBoxedDouble - * @constructor - * @param {IProtoBoxedDouble=} [properties] Properties to set - */ - function ProtoBoxedDouble(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedDouble value. - * @member {number} value - * @memberof ProtoBoxedDouble - * @instance - */ - ProtoBoxedDouble.prototype.value = 0; - - /** - * ProtoBoxedDouble isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedDouble - * @instance - */ - ProtoBoxedDouble.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedDouble instance using the specified properties. - * @function create - * @memberof ProtoBoxedDouble - * @static - * @param {IProtoBoxedDouble=} [properties] Properties to set - * @returns {ProtoBoxedDouble} ProtoBoxedDouble instance - */ - ProtoBoxedDouble.create = function create(properties) { - return new ProtoBoxedDouble(properties); - }; - - /** - * Encodes the specified ProtoBoxedDouble message. Does not implicitly {@link ProtoBoxedDouble.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedDouble - * @static - * @param {IProtoBoxedDouble} message ProtoBoxedDouble message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedDouble.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedDouble message, length delimited. Does not implicitly {@link ProtoBoxedDouble.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedDouble - * @static - * @param {IProtoBoxedDouble} message ProtoBoxedDouble message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedDouble.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedDouble message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedDouble - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedDouble} ProtoBoxedDouble - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedDouble(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.double(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedDouble message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedDouble - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedDouble} ProtoBoxedDouble - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedDouble.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedDouble message. - * @function verify - * @memberof ProtoBoxedDouble - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "number") - return "value: number expected"; - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedDouble message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedDouble - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedDouble} ProtoBoxedDouble - */ - ProtoBoxedDouble.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedDouble) - return object; - var message = new $root.ProtoBoxedDouble(); - if (object.value != null) - message.value = Number(object.value); - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedDouble message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedDouble - * @static - * @param {ProtoBoxedDouble} message ProtoBoxedDouble - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedDouble.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedDouble to JSON. - * @function toJSON - * @memberof ProtoBoxedDouble - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedDouble.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedDouble - * @function getTypeUrl - * @memberof ProtoBoxedDouble - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedDouble.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedDouble"; - }; - - return ProtoBoxedDouble; -})(); - -$root.ProtoBoxedInt32 = (function() { - - /** - * Properties of a ProtoBoxedInt32. - * @name IProtoBoxedInt32 - * @interface IProtoBoxedInt32 - * @property {number|null} [value] ProtoBoxedInt32 value - * @property {boolean|null} [isNull] ProtoBoxedInt32 isNull - */ - - /** - * Constructs a new ProtoBoxedInt32. - * @name ProtoBoxedInt32 - * @classdesc Represents a ProtoBoxedInt32. - * @implements IProtoBoxedInt32 - * @constructor - * @param {IProtoBoxedInt32=} [properties] Properties to set - */ - function ProtoBoxedInt32(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedInt32 value. - * @member {number} value - * @memberof ProtoBoxedInt32 - * @instance - */ - ProtoBoxedInt32.prototype.value = 0; - - /** - * ProtoBoxedInt32 isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedInt32 - * @instance - */ - ProtoBoxedInt32.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedInt32 instance using the specified properties. - * @function create - * @memberof ProtoBoxedInt32 - * @static - * @param {IProtoBoxedInt32=} [properties] Properties to set - * @returns {ProtoBoxedInt32} ProtoBoxedInt32 instance - */ - ProtoBoxedInt32.create = function create(properties) { - return new ProtoBoxedInt32(properties); - }; - - /** - * Encodes the specified ProtoBoxedInt32 message. Does not implicitly {@link ProtoBoxedInt32.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedInt32 - * @static - * @param {IProtoBoxedInt32} message ProtoBoxedInt32 message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedInt32.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedInt32 message, length delimited. Does not implicitly {@link ProtoBoxedInt32.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedInt32 - * @static - * @param {IProtoBoxedInt32} message ProtoBoxedInt32 message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedInt32.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedInt32 message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedInt32 - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedInt32} ProtoBoxedInt32 - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedInt32(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedInt32 message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedInt32 - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedInt32} ProtoBoxedInt32 - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedInt32.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedInt32 message. - * @function verify - * @memberof ProtoBoxedInt32 - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isInteger(message.value)) - return "value: integer expected"; - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedInt32 message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedInt32 - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedInt32} ProtoBoxedInt32 - */ - ProtoBoxedInt32.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedInt32) - return object; - var message = new $root.ProtoBoxedInt32(); - if (object.value != null) - message.value = object.value | 0; - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedInt32 message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedInt32 - * @static - * @param {ProtoBoxedInt32} message ProtoBoxedInt32 - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedInt32.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedInt32 to JSON. - * @function toJSON - * @memberof ProtoBoxedInt32 - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedInt32.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedInt32 - * @function getTypeUrl - * @memberof ProtoBoxedInt32 - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedInt32.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedInt32"; - }; - - return ProtoBoxedInt32; -})(); - -$root.ProtoBoxedUint32 = (function() { - - /** - * Properties of a ProtoBoxedUint32. - * @name IProtoBoxedUint32 - * @interface IProtoBoxedUint32 - * @property {number|null} [value] ProtoBoxedUint32 value - * @property {boolean|null} [isNull] ProtoBoxedUint32 isNull - */ - - /** - * Constructs a new ProtoBoxedUint32. - * @name ProtoBoxedUint32 - * @classdesc Represents a ProtoBoxedUint32. - * @implements IProtoBoxedUint32 - * @constructor - * @param {IProtoBoxedUint32=} [properties] Properties to set - */ - function ProtoBoxedUint32(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedUint32 value. - * @member {number} value - * @memberof ProtoBoxedUint32 - * @instance - */ - ProtoBoxedUint32.prototype.value = 0; - - /** - * ProtoBoxedUint32 isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedUint32 - * @instance - */ - ProtoBoxedUint32.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedUint32 instance using the specified properties. - * @function create - * @memberof ProtoBoxedUint32 - * @static - * @param {IProtoBoxedUint32=} [properties] Properties to set - * @returns {ProtoBoxedUint32} ProtoBoxedUint32 instance - */ - ProtoBoxedUint32.create = function create(properties) { - return new ProtoBoxedUint32(properties); - }; - - /** - * Encodes the specified ProtoBoxedUint32 message. Does not implicitly {@link ProtoBoxedUint32.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedUint32 - * @static - * @param {IProtoBoxedUint32} message ProtoBoxedUint32 message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedUint32.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedUint32 message, length delimited. Does not implicitly {@link ProtoBoxedUint32.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedUint32 - * @static - * @param {IProtoBoxedUint32} message ProtoBoxedUint32 message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedUint32.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedUint32 message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedUint32 - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedUint32} ProtoBoxedUint32 - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedUint32(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.uint32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedUint32 message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedUint32 - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedUint32} ProtoBoxedUint32 - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedUint32.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedUint32 message. - * @function verify - * @memberof ProtoBoxedUint32 - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isInteger(message.value)) - return "value: integer expected"; - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedUint32 message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedUint32 - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedUint32} ProtoBoxedUint32 - */ - ProtoBoxedUint32.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedUint32) - return object; - var message = new $root.ProtoBoxedUint32(); - if (object.value != null) - message.value = object.value >>> 0; - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedUint32 message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedUint32 - * @static - * @param {ProtoBoxedUint32} message ProtoBoxedUint32 - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedUint32.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedUint32 to JSON. - * @function toJSON - * @memberof ProtoBoxedUint32 - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedUint32.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedUint32 - * @function getTypeUrl - * @memberof ProtoBoxedUint32 - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedUint32.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedUint32"; - }; - - return ProtoBoxedUint32; -})(); - -$root.ProtoBoxedString = (function() { - - /** - * Properties of a ProtoBoxedString. - * @name IProtoBoxedString - * @interface IProtoBoxedString - * @property {string|null} [value] ProtoBoxedString value - * @property {boolean|null} [isNull] ProtoBoxedString isNull - */ - - /** - * Constructs a new ProtoBoxedString. - * @name ProtoBoxedString - * @classdesc Represents a ProtoBoxedString. - * @implements IProtoBoxedString - * @constructor - * @param {IProtoBoxedString=} [properties] Properties to set - */ - function ProtoBoxedString(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedString value. - * @member {string} value - * @memberof ProtoBoxedString - * @instance - */ - ProtoBoxedString.prototype.value = ""; - - /** - * ProtoBoxedString isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedString - * @instance - */ - ProtoBoxedString.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedString instance using the specified properties. - * @function create - * @memberof ProtoBoxedString - * @static - * @param {IProtoBoxedString=} [properties] Properties to set - * @returns {ProtoBoxedString} ProtoBoxedString instance - */ - ProtoBoxedString.create = function create(properties) { - return new ProtoBoxedString(properties); - }; - - /** - * Encodes the specified ProtoBoxedString message. Does not implicitly {@link ProtoBoxedString.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedString - * @static - * @param {IProtoBoxedString} message ProtoBoxedString message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedString.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedString message, length delimited. Does not implicitly {@link ProtoBoxedString.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedString - * @static - * @param {IProtoBoxedString} message ProtoBoxedString message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedString.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedString message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedString - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedString} ProtoBoxedString - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedString(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.string(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedString message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedString - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedString} ProtoBoxedString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedString.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedString message. - * @function verify - * @memberof ProtoBoxedString - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedString message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedString - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedString} ProtoBoxedString - */ - ProtoBoxedString.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedString) - return object; - var message = new $root.ProtoBoxedString(); - if (object.value != null) - message.value = String(object.value); - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedString message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedString - * @static - * @param {ProtoBoxedString} message ProtoBoxedString - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedString.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedString to JSON. - * @function toJSON - * @memberof ProtoBoxedString - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedString.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedString - * @function getTypeUrl - * @memberof ProtoBoxedString - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedString"; - }; - - return ProtoBoxedString; -})(); - -/** - * ProtoSPBMode enum. - * @name ProtoSPBMode - * @enum {number} - * @property {number} NONE=0 NONE value - * @property {number} SUPERSCRIPT=1 SUPERSCRIPT value - * @property {number} SUBSCRIPT=2 SUBSCRIPT value - */ -$root.ProtoSPBMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NONE"] = 0; - values[valuesById[1] = "SUPERSCRIPT"] = 1; - values[valuesById[2] = "SUBSCRIPT"] = 2; - return values; -})(); - -$root.ProtoBoxedSPBMode = (function() { - - /** - * Properties of a ProtoBoxedSPBMode. - * @name IProtoBoxedSPBMode - * @interface IProtoBoxedSPBMode - * @property {ProtoSPBMode|null} [value] ProtoBoxedSPBMode value - * @property {boolean|null} [isNull] ProtoBoxedSPBMode isNull - */ - - /** - * Constructs a new ProtoBoxedSPBMode. - * @name ProtoBoxedSPBMode - * @classdesc Represents a ProtoBoxedSPBMode. - * @implements IProtoBoxedSPBMode - * @constructor - * @param {IProtoBoxedSPBMode=} [properties] Properties to set - */ - function ProtoBoxedSPBMode(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedSPBMode value. - * @member {ProtoSPBMode} value - * @memberof ProtoBoxedSPBMode - * @instance - */ - ProtoBoxedSPBMode.prototype.value = 0; - - /** - * ProtoBoxedSPBMode isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedSPBMode - * @instance - */ - ProtoBoxedSPBMode.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedSPBMode instance using the specified properties. - * @function create - * @memberof ProtoBoxedSPBMode - * @static - * @param {IProtoBoxedSPBMode=} [properties] Properties to set - * @returns {ProtoBoxedSPBMode} ProtoBoxedSPBMode instance - */ - ProtoBoxedSPBMode.create = function create(properties) { - return new ProtoBoxedSPBMode(properties); - }; - - /** - * Encodes the specified ProtoBoxedSPBMode message. Does not implicitly {@link ProtoBoxedSPBMode.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedSPBMode - * @static - * @param {IProtoBoxedSPBMode} message ProtoBoxedSPBMode message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedSPBMode.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedSPBMode message, length delimited. Does not implicitly {@link ProtoBoxedSPBMode.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedSPBMode - * @static - * @param {IProtoBoxedSPBMode} message ProtoBoxedSPBMode message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedSPBMode.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedSPBMode message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedSPBMode - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedSPBMode} ProtoBoxedSPBMode - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedSPBMode(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedSPBMode message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedSPBMode - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedSPBMode} ProtoBoxedSPBMode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedSPBMode.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedSPBMode message. - * @function verify - * @memberof ProtoBoxedSPBMode - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: - return "value: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedSPBMode message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedSPBMode - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedSPBMode} ProtoBoxedSPBMode - */ - ProtoBoxedSPBMode.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedSPBMode) - return object; - var message = new $root.ProtoBoxedSPBMode(); - 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) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedSPBMode message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedSPBMode - * @static - * @param {ProtoBoxedSPBMode} message ProtoBoxedSPBMode - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedSPBMode.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = options.enums === String ? "NONE" : 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.ProtoSPBMode[message.value] === undefined ? message.value : $root.ProtoSPBMode[message.value] : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedSPBMode to JSON. - * @function toJSON - * @memberof ProtoBoxedSPBMode - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedSPBMode.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedSPBMode - * @function getTypeUrl - * @memberof ProtoBoxedSPBMode - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedSPBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedSPBMode"; - }; - - return ProtoBoxedSPBMode; -})(); - -/** - * ProtoRuleStyle enum. - * @name ProtoRuleStyle - * @enum {number} - * @property {number} DUMMY_RULE_STYLE=0 DUMMY_RULE_STYLE value - * @property {number} SOLID=1 SOLID value - * @property {number} SPARSE_SHADING=2 SPARSE_SHADING value - * @property {number} MEDIUM_SHADING=3 MEDIUM_SHADING value - * @property {number} DENSE_SHADING=4 DENSE_SHADING value - * @property {number} LIGHT_DOTTED=5 LIGHT_DOTTED value - * @property {number} MEDIUM_DOTTED=6 MEDIUM_DOTTED value - * @property {number} HEAVY_DOTTED=7 HEAVY_DOTTED value - * @property {number} LIGHT_DASHED=8 LIGHT_DASHED value - * @property {number} MEDIUM_DASHED=9 MEDIUM_DASHED value - * @property {number} HEAVY_DASHED=10 HEAVY_DASHED value - * @property {number} DASH_PATTERN=11 DASH_PATTERN value - * @property {number} DOUBLE=254 DOUBLE value - */ -$root.ProtoRuleStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DUMMY_RULE_STYLE"] = 0; - values[valuesById[1] = "SOLID"] = 1; - values[valuesById[2] = "SPARSE_SHADING"] = 2; - values[valuesById[3] = "MEDIUM_SHADING"] = 3; - values[valuesById[4] = "DENSE_SHADING"] = 4; - values[valuesById[5] = "LIGHT_DOTTED"] = 5; - values[valuesById[6] = "MEDIUM_DOTTED"] = 6; - values[valuesById[7] = "HEAVY_DOTTED"] = 7; - values[valuesById[8] = "LIGHT_DASHED"] = 8; - values[valuesById[9] = "MEDIUM_DASHED"] = 9; - values[valuesById[10] = "HEAVY_DASHED"] = 10; - values[valuesById[11] = "DASH_PATTERN"] = 11; - values[valuesById[254] = "DOUBLE"] = 254; - return values; -})(); - -$root.ProtoStrikethroughSpec = (function() { - - /** - * Properties of a ProtoStrikethroughSpec. - * @name IProtoStrikethroughSpec - * @interface IProtoStrikethroughSpec - * @property {IProtoMeasure|null} [weight] ProtoStrikethroughSpec weight - * @property {ProtoUnderlineMode|null} [mode] ProtoStrikethroughSpec mode - * @property {IProtoColor|null} [color] ProtoStrikethroughSpec color - * @property {number|null} [offsetEm] ProtoStrikethroughSpec offsetEm - * @property {ProtoRuleStyle|null} [style] ProtoStrikethroughSpec style - */ - - /** - * Constructs a new ProtoStrikethroughSpec. - * @name ProtoStrikethroughSpec - * @classdesc Represents a ProtoStrikethroughSpec. - * @implements IProtoStrikethroughSpec - * @constructor - * @param {IProtoStrikethroughSpec=} [properties] Properties to set - */ - function ProtoStrikethroughSpec(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoStrikethroughSpec weight. - * @member {IProtoMeasure|null|undefined} weight - * @memberof ProtoStrikethroughSpec - * @instance - */ - ProtoStrikethroughSpec.prototype.weight = null; - - /** - * ProtoStrikethroughSpec mode. - * @member {ProtoUnderlineMode} mode - * @memberof ProtoStrikethroughSpec - * @instance - */ - ProtoStrikethroughSpec.prototype.mode = 0; - - /** - * ProtoStrikethroughSpec color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoStrikethroughSpec - * @instance - */ - ProtoStrikethroughSpec.prototype.color = null; - - /** - * ProtoStrikethroughSpec offsetEm. - * @member {number} offsetEm - * @memberof ProtoStrikethroughSpec - * @instance - */ - ProtoStrikethroughSpec.prototype.offsetEm = 0; - - /** - * ProtoStrikethroughSpec style. - * @member {ProtoRuleStyle} style - * @memberof ProtoStrikethroughSpec - * @instance - */ - ProtoStrikethroughSpec.prototype.style = 0; - - /** - * Creates a new ProtoStrikethroughSpec instance using the specified properties. - * @function create - * @memberof ProtoStrikethroughSpec - * @static - * @param {IProtoStrikethroughSpec=} [properties] Properties to set - * @returns {ProtoStrikethroughSpec} ProtoStrikethroughSpec instance - */ - ProtoStrikethroughSpec.create = function create(properties) { - return new ProtoStrikethroughSpec(properties); - }; - - /** - * Encodes the specified ProtoStrikethroughSpec message. Does not implicitly {@link ProtoStrikethroughSpec.verify|verify} messages. - * @function encode - * @memberof ProtoStrikethroughSpec - * @static - * @param {IProtoStrikethroughSpec} message ProtoStrikethroughSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoStrikethroughSpec.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.weight != null && Object.hasOwnProperty.call(message, "weight")) - $root.ProtoMeasure.encode(message.weight, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.mode); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $root.ProtoColor.encode(message.color, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.offsetEm != null && Object.hasOwnProperty.call(message, "offsetEm")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoStrikethroughSpec message, length delimited. Does not implicitly {@link ProtoStrikethroughSpec.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoStrikethroughSpec - * @static - * @param {IProtoStrikethroughSpec} message ProtoStrikethroughSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoStrikethroughSpec.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoStrikethroughSpec message from the specified reader or buffer. - * @function decode - * @memberof ProtoStrikethroughSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoStrikethroughSpec} ProtoStrikethroughSpec - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoStrikethroughSpec(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.weight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.mode = reader.int32(); - break; - } - case 3: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 4: { - message.offsetEm = reader.int32(); - break; - } - case 5: { - message.style = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoStrikethroughSpec message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoStrikethroughSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoStrikethroughSpec} ProtoStrikethroughSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoStrikethroughSpec.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoStrikethroughSpec message. - * @function verify - * @memberof ProtoStrikethroughSpec - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.weight != null && message.hasOwnProperty("weight")) { - var error = $root.ProtoMeasure.verify(message.weight); - if (error) - return "weight." + error; - } - if (message.mode != null && message.hasOwnProperty("mode")) - switch (message.mode) { - default: - return "mode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color); - if (error) - return "color." + error; - } - if (message.offsetEm != null && message.hasOwnProperty("offsetEm")) - if (!$util.isInteger(message.offsetEm)) - return "offsetEm: integer expected"; - if (message.style != null && message.hasOwnProperty("style")) - switch (message.style) { - default: - return "style: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 254: - break; - } - return null; - }; - - /** - * Creates a ProtoStrikethroughSpec message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoStrikethroughSpec - * @static - * @param {Object.} object Plain object - * @returns {ProtoStrikethroughSpec} ProtoStrikethroughSpec - */ - ProtoStrikethroughSpec.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoStrikethroughSpec) - return object; - 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); - } - 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); - } - if (object.offsetEm != null) - 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; - }; - - /** - * Creates a plain object from a ProtoStrikethroughSpec message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoStrikethroughSpec - * @static - * @param {ProtoStrikethroughSpec} message ProtoStrikethroughSpec - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoStrikethroughSpec.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.weight = null; - object.mode = options.enums === String ? "DUMMY_UNDERLINE_MODE" : 0; - object.color = null; - object.offsetEm = 0; - object.style = options.enums === String ? "DUMMY_RULE_STYLE" : 0; - } - if (message.weight != null && message.hasOwnProperty("weight")) - object.weight = $root.ProtoMeasure.toObject(message.weight, options); - if (message.mode != null && message.hasOwnProperty("mode")) - object.mode = options.enums === String ? $root.ProtoUnderlineMode[message.mode] === undefined ? message.mode : $root.ProtoUnderlineMode[message.mode] : message.mode; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.offsetEm != null && message.hasOwnProperty("offsetEm")) - object.offsetEm = message.offsetEm; - if (message.style != null && message.hasOwnProperty("style")) - object.style = options.enums === String ? $root.ProtoRuleStyle[message.style] === undefined ? message.style : $root.ProtoRuleStyle[message.style] : message.style; - return object; - }; - - /** - * Converts this ProtoStrikethroughSpec to JSON. - * @function toJSON - * @memberof ProtoStrikethroughSpec - * @instance - * @returns {Object.} JSON object - */ - ProtoStrikethroughSpec.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoStrikethroughSpec - * @function getTypeUrl - * @memberof ProtoStrikethroughSpec - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoStrikethroughSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoStrikethroughSpec"; - }; - - return ProtoStrikethroughSpec; -})(); - -$root.ProtoBoxedStrikethroughSpec = (function() { - - /** - * Properties of a ProtoBoxedStrikethroughSpec. - * @name IProtoBoxedStrikethroughSpec - * @interface IProtoBoxedStrikethroughSpec - * @property {IProtoStrikethroughSpec|null} [value] ProtoBoxedStrikethroughSpec value - * @property {boolean|null} [isNull] ProtoBoxedStrikethroughSpec isNull - */ - - /** - * Constructs a new ProtoBoxedStrikethroughSpec. - * @name ProtoBoxedStrikethroughSpec - * @classdesc Represents a ProtoBoxedStrikethroughSpec. - * @implements IProtoBoxedStrikethroughSpec - * @constructor - * @param {IProtoBoxedStrikethroughSpec=} [properties] Properties to set - */ - function ProtoBoxedStrikethroughSpec(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedStrikethroughSpec value. - * @member {IProtoStrikethroughSpec|null|undefined} value - * @memberof ProtoBoxedStrikethroughSpec - * @instance - */ - ProtoBoxedStrikethroughSpec.prototype.value = null; - - /** - * ProtoBoxedStrikethroughSpec isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedStrikethroughSpec - * @instance - */ - ProtoBoxedStrikethroughSpec.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedStrikethroughSpec instance using the specified properties. - * @function create - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @param {IProtoBoxedStrikethroughSpec=} [properties] Properties to set - * @returns {ProtoBoxedStrikethroughSpec} ProtoBoxedStrikethroughSpec instance - */ - ProtoBoxedStrikethroughSpec.create = function create(properties) { - return new ProtoBoxedStrikethroughSpec(properties); - }; - - /** - * Encodes the specified ProtoBoxedStrikethroughSpec message. Does not implicitly {@link ProtoBoxedStrikethroughSpec.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @param {IProtoBoxedStrikethroughSpec} message ProtoBoxedStrikethroughSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedStrikethroughSpec.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedStrikethroughSpec message, length delimited. Does not implicitly {@link ProtoBoxedStrikethroughSpec.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @param {IProtoBoxedStrikethroughSpec} message ProtoBoxedStrikethroughSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedStrikethroughSpec.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedStrikethroughSpec message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedStrikethroughSpec} ProtoBoxedStrikethroughSpec - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedStrikethroughSpec(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = $root.ProtoStrikethroughSpec.decode(reader, reader.uint32()); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedStrikethroughSpec message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedStrikethroughSpec} ProtoBoxedStrikethroughSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedStrikethroughSpec.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedStrikethroughSpec message. - * @function verify - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoStrikethroughSpec.verify(message.value); - if (error) - return "value." + error; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedStrikethroughSpec message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedStrikethroughSpec} ProtoBoxedStrikethroughSpec - */ - ProtoBoxedStrikethroughSpec.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedStrikethroughSpec) - return object; - 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); - } - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedStrikethroughSpec message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @param {ProtoBoxedStrikethroughSpec} message ProtoBoxedStrikethroughSpec - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedStrikethroughSpec.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = null; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.ProtoStrikethroughSpec.toObject(message.value, options); - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedStrikethroughSpec to JSON. - * @function toJSON - * @memberof ProtoBoxedStrikethroughSpec - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedStrikethroughSpec.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedStrikethroughSpec - * @function getTypeUrl - * @memberof ProtoBoxedStrikethroughSpec - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedStrikethroughSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedStrikethroughSpec"; - }; - - return ProtoBoxedStrikethroughSpec; -})(); - -/** - * ProtoMeasureType enum. - * @name ProtoMeasureType - * @enum {number} - * @property {number} PT=0 PT value - * @property {number} CM=1 CM value - * @property {number} MM=2 MM value - * @property {number} IN=3 IN value - * @property {number} PERCENT=4 PERCENT value - * @property {number} PX=5 PX value - */ -$root.ProtoMeasureType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "PT"] = 0; - values[valuesById[1] = "CM"] = 1; - values[valuesById[2] = "MM"] = 2; - values[valuesById[3] = "IN"] = 3; - values[valuesById[4] = "PERCENT"] = 4; - values[valuesById[5] = "PX"] = 5; - return values; -})(); - -$root.ProtoMeasure = (function() { - - /** - * Properties of a ProtoMeasure. - * @name IProtoMeasure - * @interface IProtoMeasure - * @property {number|null} [value] ProtoMeasure value - * @property {ProtoMeasureType|null} [mtype] ProtoMeasure mtype - */ - - /** - * Constructs a new ProtoMeasure. - * @name ProtoMeasure - * @classdesc Represents a ProtoMeasure. - * @implements IProtoMeasure - * @constructor - * @param {IProtoMeasure=} [properties] Properties to set - */ - function ProtoMeasure(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoMeasure value. - * @member {number} value - * @memberof ProtoMeasure - * @instance - */ - ProtoMeasure.prototype.value = 0; - - /** - * ProtoMeasure mtype. - * @member {ProtoMeasureType} mtype - * @memberof ProtoMeasure - * @instance - */ - ProtoMeasure.prototype.mtype = 0; - - /** - * Creates a new ProtoMeasure instance using the specified properties. - * @function create - * @memberof ProtoMeasure - * @static - * @param {IProtoMeasure=} [properties] Properties to set - * @returns {ProtoMeasure} ProtoMeasure instance - */ - ProtoMeasure.create = function create(properties) { - return new ProtoMeasure(properties); - }; - - /** - * Encodes the specified ProtoMeasure message. Does not implicitly {@link ProtoMeasure.verify|verify} messages. - * @function encode - * @memberof ProtoMeasure - * @static - * @param {IProtoMeasure} message ProtoMeasure message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoMeasure.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoMeasure message, length delimited. Does not implicitly {@link ProtoMeasure.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoMeasure - * @static - * @param {IProtoMeasure} message ProtoMeasure message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoMeasure.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoMeasure message from the specified reader or buffer. - * @function decode - * @memberof ProtoMeasure - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoMeasure} ProtoMeasure - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoMeasure(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.double(); - break; - } - case 2: { - message.mtype = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoMeasure message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoMeasure - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoMeasure} ProtoMeasure - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoMeasure.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoMeasure message. - * @function verify - * @memberof ProtoMeasure - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "number") - return "value: number expected"; - if (message.mtype != null && message.hasOwnProperty("mtype")) - switch (message.mtype) { - default: - return "mtype: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; - } - return null; - }; - - /** - * Creates a ProtoMeasure message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoMeasure - * @static - * @param {Object.} object Plain object - * @returns {ProtoMeasure} ProtoMeasure - */ - ProtoMeasure.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoMeasure) - return object; - var message = new $root.ProtoMeasure(); - if (object.value != null) - 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; - }; - - /** - * Creates a plain object from a ProtoMeasure message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoMeasure - * @static - * @param {ProtoMeasure} message ProtoMeasure - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoMeasure.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = 0; - object.mtype = options.enums === String ? "PT" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; - if (message.mtype != null && message.hasOwnProperty("mtype")) - object.mtype = options.enums === String ? $root.ProtoMeasureType[message.mtype] === undefined ? message.mtype : $root.ProtoMeasureType[message.mtype] : message.mtype; - return object; - }; - - /** - * Converts this ProtoMeasure to JSON. - * @function toJSON - * @memberof ProtoMeasure - * @instance - * @returns {Object.} JSON object - */ - ProtoMeasure.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoMeasure - * @function getTypeUrl - * @memberof ProtoMeasure - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoMeasure.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoMeasure"; - }; - - return ProtoMeasure; -})(); - -$root.ProtoBoxedMeasure = (function() { - - /** - * Properties of a ProtoBoxedMeasure. - * @name IProtoBoxedMeasure - * @interface IProtoBoxedMeasure - * @property {IProtoMeasure|null} [value] ProtoBoxedMeasure value - * @property {boolean|null} [isNull] ProtoBoxedMeasure isNull - */ - - /** - * Constructs a new ProtoBoxedMeasure. - * @name ProtoBoxedMeasure - * @classdesc Represents a ProtoBoxedMeasure. - * @implements IProtoBoxedMeasure - * @constructor - * @param {IProtoBoxedMeasure=} [properties] Properties to set - */ - function ProtoBoxedMeasure(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedMeasure value. - * @member {IProtoMeasure|null|undefined} value - * @memberof ProtoBoxedMeasure - * @instance - */ - ProtoBoxedMeasure.prototype.value = null; - - /** - * ProtoBoxedMeasure isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedMeasure - * @instance - */ - ProtoBoxedMeasure.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedMeasure instance using the specified properties. - * @function create - * @memberof ProtoBoxedMeasure - * @static - * @param {IProtoBoxedMeasure=} [properties] Properties to set - * @returns {ProtoBoxedMeasure} ProtoBoxedMeasure instance - */ - ProtoBoxedMeasure.create = function create(properties) { - return new ProtoBoxedMeasure(properties); - }; - - /** - * Encodes the specified ProtoBoxedMeasure message. Does not implicitly {@link ProtoBoxedMeasure.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedMeasure - * @static - * @param {IProtoBoxedMeasure} message ProtoBoxedMeasure message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedMeasure.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedMeasure message, length delimited. Does not implicitly {@link ProtoBoxedMeasure.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedMeasure - * @static - * @param {IProtoBoxedMeasure} message ProtoBoxedMeasure message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedMeasure.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedMeasure message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedMeasure - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedMeasure} ProtoBoxedMeasure - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedMeasure(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedMeasure message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedMeasure - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedMeasure} ProtoBoxedMeasure - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedMeasure.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedMeasure message. - * @function verify - * @memberof ProtoBoxedMeasure - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoMeasure.verify(message.value); - if (error) - return "value." + error; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedMeasure message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedMeasure - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedMeasure} ProtoBoxedMeasure - */ - ProtoBoxedMeasure.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedMeasure) - return object; - 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); - } - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedMeasure message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedMeasure - * @static - * @param {ProtoBoxedMeasure} message ProtoBoxedMeasure - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedMeasure.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = null; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.ProtoMeasure.toObject(message.value, options); - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedMeasure to JSON. - * @function toJSON - * @memberof ProtoBoxedMeasure - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedMeasure.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedMeasure - * @function getTypeUrl - * @memberof ProtoBoxedMeasure - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedMeasure.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedMeasure"; - }; - - return ProtoBoxedMeasure; -})(); - -$root.ProtoSideMeasures = (function() { - - /** - * Properties of a ProtoSideMeasures. - * @name IProtoSideMeasures - * @interface IProtoSideMeasures - * @property {IProtoMeasure|null} [top] ProtoSideMeasures top - * @property {IProtoMeasure|null} [right] ProtoSideMeasures right - * @property {IProtoMeasure|null} [bottom] ProtoSideMeasures bottom - * @property {IProtoMeasure|null} [left] ProtoSideMeasures left - */ - - /** - * Constructs a new ProtoSideMeasures. - * @name ProtoSideMeasures - * @classdesc Represents a ProtoSideMeasures. - * @implements IProtoSideMeasures - * @constructor - * @param {IProtoSideMeasures=} [properties] Properties to set - */ - function ProtoSideMeasures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSideMeasures top. - * @member {IProtoMeasure|null|undefined} top - * @memberof ProtoSideMeasures - * @instance - */ - ProtoSideMeasures.prototype.top = null; - - /** - * ProtoSideMeasures right. - * @member {IProtoMeasure|null|undefined} right - * @memberof ProtoSideMeasures - * @instance - */ - ProtoSideMeasures.prototype.right = null; - - /** - * ProtoSideMeasures bottom. - * @member {IProtoMeasure|null|undefined} bottom - * @memberof ProtoSideMeasures - * @instance - */ - ProtoSideMeasures.prototype.bottom = null; - - /** - * ProtoSideMeasures left. - * @member {IProtoMeasure|null|undefined} left - * @memberof ProtoSideMeasures - * @instance - */ - ProtoSideMeasures.prototype.left = null; - - /** - * Creates a new ProtoSideMeasures instance using the specified properties. - * @function create - * @memberof ProtoSideMeasures - * @static - * @param {IProtoSideMeasures=} [properties] Properties to set - * @returns {ProtoSideMeasures} ProtoSideMeasures instance - */ - ProtoSideMeasures.create = function create(properties) { - return new ProtoSideMeasures(properties); - }; - - /** - * Encodes the specified ProtoSideMeasures message. Does not implicitly {@link ProtoSideMeasures.verify|verify} messages. - * @function encode - * @memberof ProtoSideMeasures - * @static - * @param {IProtoSideMeasures} message ProtoSideMeasures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSideMeasures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.top != null && Object.hasOwnProperty.call(message, "top")) - $root.ProtoMeasure.encode(message.top, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.right != null && Object.hasOwnProperty.call(message, "right")) - $root.ProtoMeasure.encode(message.right, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.bottom != null && Object.hasOwnProperty.call(message, "bottom")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoSideMeasures message, length delimited. Does not implicitly {@link ProtoSideMeasures.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSideMeasures - * @static - * @param {IProtoSideMeasures} message ProtoSideMeasures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSideMeasures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSideMeasures message from the specified reader or buffer. - * @function decode - * @memberof ProtoSideMeasures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSideMeasures} ProtoSideMeasures - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSideMeasures(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.top = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.right = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - message.bottom = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.left = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSideMeasures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSideMeasures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSideMeasures} ProtoSideMeasures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSideMeasures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSideMeasures message. - * @function verify - * @memberof ProtoSideMeasures - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.top != null && message.hasOwnProperty("top")) { - 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); - if (error) - return "right." + error; - } - if (message.bottom != null && message.hasOwnProperty("bottom")) { - 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); - if (error) - return "left." + error; - } - return null; - }; - - /** - * Creates a ProtoSideMeasures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSideMeasures - * @static - * @param {Object.} object Plain object - * @returns {ProtoSideMeasures} ProtoSideMeasures - */ - ProtoSideMeasures.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSideMeasures) - return object; - 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); - } - if (object.right != null) { - if (typeof object.right !== "object") - throw TypeError(".ProtoSideMeasures.right: object expected"); - 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); - } - if (object.left != null) { - if (typeof object.left !== "object") - throw TypeError(".ProtoSideMeasures.left: object expected"); - message.left = $root.ProtoMeasure.fromObject(object.left); - } - return message; - }; - - /** - * Creates a plain object from a ProtoSideMeasures message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSideMeasures - * @static - * @param {ProtoSideMeasures} message ProtoSideMeasures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSideMeasures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.top = null; - object.right = null; - object.bottom = null; - object.left = null; - } - if (message.top != null && message.hasOwnProperty("top")) - object.top = $root.ProtoMeasure.toObject(message.top, options); - if (message.right != null && message.hasOwnProperty("right")) - object.right = $root.ProtoMeasure.toObject(message.right, options); - if (message.bottom != null && message.hasOwnProperty("bottom")) - object.bottom = $root.ProtoMeasure.toObject(message.bottom, options); - if (message.left != null && message.hasOwnProperty("left")) - object.left = $root.ProtoMeasure.toObject(message.left, options); - return object; - }; - - /** - * Converts this ProtoSideMeasures to JSON. - * @function toJSON - * @memberof ProtoSideMeasures - * @instance - * @returns {Object.} JSON object - */ - ProtoSideMeasures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSideMeasures - * @function getTypeUrl - * @memberof ProtoSideMeasures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSideMeasures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSideMeasures"; - }; - - return ProtoSideMeasures; -})(); - -/** - * ProtoAdvancedIllustrationAreaTextFlowType enum. - * @name ProtoAdvancedIllustrationAreaTextFlowType - * @enum {number} - * @property {number} DO_NOT_USE_AT_ALL=0 DO_NOT_USE_AT_ALL value - * @property {number} AROUND=1 AROUND value - * @property {number} NO_FLOW=2 NO_FLOW value - * @property {number} FOREGROUND=3 FOREGROUND value - * @property {number} BACKGROUND=4 BACKGROUND value - */ -$root.ProtoAdvancedIllustrationAreaTextFlowType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DO_NOT_USE_AT_ALL"] = 0; - values[valuesById[1] = "AROUND"] = 1; - values[valuesById[2] = "NO_FLOW"] = 2; - values[valuesById[3] = "FOREGROUND"] = 3; - values[valuesById[4] = "BACKGROUND"] = 4; - return values; -})(); - -$root.ProtoBoxedAdvancedIllustrationAreaTextFlowType = (function() { - - /** - * Properties of a ProtoBoxedAdvancedIllustrationAreaTextFlowType. - * @name IProtoBoxedAdvancedIllustrationAreaTextFlowType - * @interface IProtoBoxedAdvancedIllustrationAreaTextFlowType - * @property {ProtoAdvancedIllustrationAreaTextFlowType|null} [value] ProtoBoxedAdvancedIllustrationAreaTextFlowType value - * @property {boolean|null} [isNull] ProtoBoxedAdvancedIllustrationAreaTextFlowType isNull - */ - - /** - * Constructs a new ProtoBoxedAdvancedIllustrationAreaTextFlowType. - * @name ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @classdesc Represents a ProtoBoxedAdvancedIllustrationAreaTextFlowType. - * @implements IProtoBoxedAdvancedIllustrationAreaTextFlowType - * @constructor - * @param {IProtoBoxedAdvancedIllustrationAreaTextFlowType=} [properties] Properties to set - */ - function ProtoBoxedAdvancedIllustrationAreaTextFlowType(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedAdvancedIllustrationAreaTextFlowType value. - * @member {ProtoAdvancedIllustrationAreaTextFlowType} value - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @instance - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.prototype.value = 0; - - /** - * ProtoBoxedAdvancedIllustrationAreaTextFlowType isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @instance - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedAdvancedIllustrationAreaTextFlowType instance using the specified properties. - * @function create - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @param {IProtoBoxedAdvancedIllustrationAreaTextFlowType=} [properties] Properties to set - * @returns {ProtoBoxedAdvancedIllustrationAreaTextFlowType} ProtoBoxedAdvancedIllustrationAreaTextFlowType instance - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.create = function create(properties) { - return new ProtoBoxedAdvancedIllustrationAreaTextFlowType(properties); - }; - - /** - * Encodes the specified ProtoBoxedAdvancedIllustrationAreaTextFlowType message. Does not implicitly {@link ProtoBoxedAdvancedIllustrationAreaTextFlowType.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @param {IProtoBoxedAdvancedIllustrationAreaTextFlowType} message ProtoBoxedAdvancedIllustrationAreaTextFlowType message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedAdvancedIllustrationAreaTextFlowType message, length delimited. Does not implicitly {@link ProtoBoxedAdvancedIllustrationAreaTextFlowType.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @param {IProtoBoxedAdvancedIllustrationAreaTextFlowType} message ProtoBoxedAdvancedIllustrationAreaTextFlowType message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedAdvancedIllustrationAreaTextFlowType message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedAdvancedIllustrationAreaTextFlowType} ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedAdvancedIllustrationAreaTextFlowType message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedAdvancedIllustrationAreaTextFlowType} ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedAdvancedIllustrationAreaTextFlowType message. - * @function verify - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: - return "value: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedAdvancedIllustrationAreaTextFlowType message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedAdvancedIllustrationAreaTextFlowType} ProtoBoxedAdvancedIllustrationAreaTextFlowType - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType) - return object; - var message = new $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType(); - 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) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedAdvancedIllustrationAreaTextFlowType message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @param {ProtoBoxedAdvancedIllustrationAreaTextFlowType} message ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = options.enums === String ? "DO_NOT_USE_AT_ALL" : 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.ProtoAdvancedIllustrationAreaTextFlowType[message.value] === undefined ? message.value : $root.ProtoAdvancedIllustrationAreaTextFlowType[message.value] : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedAdvancedIllustrationAreaTextFlowType to JSON. - * @function toJSON - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @function getTypeUrl - * @memberof ProtoBoxedAdvancedIllustrationAreaTextFlowType - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedAdvancedIllustrationAreaTextFlowType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedAdvancedIllustrationAreaTextFlowType"; - }; - - return ProtoBoxedAdvancedIllustrationAreaTextFlowType; -})(); - -$root.ProtoAdvancedIllustrationAreaImageSettings = (function() { - - /** - * Properties of a ProtoAdvancedIllustrationAreaImageSettings. - * @name IProtoAdvancedIllustrationAreaImageSettings - * @interface IProtoAdvancedIllustrationAreaImageSettings - * @property {IProtoBoxedAdvancedIllustrationAreaTextFlowType|null} [textFlow] ProtoAdvancedIllustrationAreaImageSettings textFlow - * @property {IProtoSideMeasures|null} [margin] ProtoAdvancedIllustrationAreaImageSettings margin - */ - - /** - * Constructs a new ProtoAdvancedIllustrationAreaImageSettings. - * @name ProtoAdvancedIllustrationAreaImageSettings - * @classdesc Represents a ProtoAdvancedIllustrationAreaImageSettings. - * @implements IProtoAdvancedIllustrationAreaImageSettings - * @constructor - * @param {IProtoAdvancedIllustrationAreaImageSettings=} [properties] Properties to set - */ - function ProtoAdvancedIllustrationAreaImageSettings(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoAdvancedIllustrationAreaImageSettings textFlow. - * @member {IProtoBoxedAdvancedIllustrationAreaTextFlowType|null|undefined} textFlow - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @instance - */ - ProtoAdvancedIllustrationAreaImageSettings.prototype.textFlow = null; - - /** - * ProtoAdvancedIllustrationAreaImageSettings margin. - * @member {IProtoSideMeasures|null|undefined} margin - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @instance - */ - ProtoAdvancedIllustrationAreaImageSettings.prototype.margin = null; - - /** - * Creates a new ProtoAdvancedIllustrationAreaImageSettings instance using the specified properties. - * @function create - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @param {IProtoAdvancedIllustrationAreaImageSettings=} [properties] Properties to set - * @returns {ProtoAdvancedIllustrationAreaImageSettings} ProtoAdvancedIllustrationAreaImageSettings instance - */ - ProtoAdvancedIllustrationAreaImageSettings.create = function create(properties) { - return new ProtoAdvancedIllustrationAreaImageSettings(properties); - }; - - /** - * Encodes the specified ProtoAdvancedIllustrationAreaImageSettings message. Does not implicitly {@link ProtoAdvancedIllustrationAreaImageSettings.verify|verify} messages. - * @function encode - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @param {IProtoAdvancedIllustrationAreaImageSettings} message ProtoAdvancedIllustrationAreaImageSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoAdvancedIllustrationAreaImageSettings.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.textFlow != null && Object.hasOwnProperty.call(message, "textFlow")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoAdvancedIllustrationAreaImageSettings message, length delimited. Does not implicitly {@link ProtoAdvancedIllustrationAreaImageSettings.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @param {IProtoAdvancedIllustrationAreaImageSettings} message ProtoAdvancedIllustrationAreaImageSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoAdvancedIllustrationAreaImageSettings.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoAdvancedIllustrationAreaImageSettings message from the specified reader or buffer. - * @function decode - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoAdvancedIllustrationAreaImageSettings} ProtoAdvancedIllustrationAreaImageSettings - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoAdvancedIllustrationAreaImageSettings(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.textFlow = $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.decode(reader, reader.uint32()); - break; - } - case 2: { - message.margin = $root.ProtoSideMeasures.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoAdvancedIllustrationAreaImageSettings message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoAdvancedIllustrationAreaImageSettings} ProtoAdvancedIllustrationAreaImageSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoAdvancedIllustrationAreaImageSettings.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoAdvancedIllustrationAreaImageSettings message. - * @function verify - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.textFlow != null && message.hasOwnProperty("textFlow")) { - 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); - if (error) - return "margin." + error; - } - return null; - }; - - /** - * Creates a ProtoAdvancedIllustrationAreaImageSettings message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @param {Object.} object Plain object - * @returns {ProtoAdvancedIllustrationAreaImageSettings} ProtoAdvancedIllustrationAreaImageSettings - */ - ProtoAdvancedIllustrationAreaImageSettings.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoAdvancedIllustrationAreaImageSettings) - return object; - 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); - } - if (object.margin != null) { - if (typeof object.margin !== "object") - throw TypeError(".ProtoAdvancedIllustrationAreaImageSettings.margin: object expected"); - message.margin = $root.ProtoSideMeasures.fromObject(object.margin); - } - return message; - }; - - /** - * Creates a plain object from a ProtoAdvancedIllustrationAreaImageSettings message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @param {ProtoAdvancedIllustrationAreaImageSettings} message ProtoAdvancedIllustrationAreaImageSettings - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoAdvancedIllustrationAreaImageSettings.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.textFlow = null; - object.margin = null; - } - if (message.textFlow != null && message.hasOwnProperty("textFlow")) - object.textFlow = $root.ProtoBoxedAdvancedIllustrationAreaTextFlowType.toObject(message.textFlow, options); - if (message.margin != null && message.hasOwnProperty("margin")) - object.margin = $root.ProtoSideMeasures.toObject(message.margin, options); - return object; - }; - - /** - * Converts this ProtoAdvancedIllustrationAreaImageSettings to JSON. - * @function toJSON - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @instance - * @returns {Object.} JSON object - */ - ProtoAdvancedIllustrationAreaImageSettings.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoAdvancedIllustrationAreaImageSettings - * @function getTypeUrl - * @memberof ProtoAdvancedIllustrationAreaImageSettings - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoAdvancedIllustrationAreaImageSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoAdvancedIllustrationAreaImageSettings"; - }; - - return ProtoAdvancedIllustrationAreaImageSettings; -})(); - -$root.ProtoFont = (function() { - - /** - * Properties of a ProtoFont. - * @name IProtoFont - * @interface IProtoFont - * @property {number|null} [id] ProtoFont id - * @property {string|null} [name] ProtoFont name - */ - - /** - * Constructs a new ProtoFont. - * @name ProtoFont - * @classdesc Represents a ProtoFont. - * @implements IProtoFont - * @constructor - * @param {IProtoFont=} [properties] Properties to set - */ - function ProtoFont(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoFont id. - * @member {number} id - * @memberof ProtoFont - * @instance - */ - ProtoFont.prototype.id = 0; - - /** - * ProtoFont name. - * @member {string} name - * @memberof ProtoFont - * @instance - */ - ProtoFont.prototype.name = ""; - - /** - * Creates a new ProtoFont instance using the specified properties. - * @function create - * @memberof ProtoFont - * @static - * @param {IProtoFont=} [properties] Properties to set - * @returns {ProtoFont} ProtoFont instance - */ - ProtoFont.create = function create(properties) { - return new ProtoFont(properties); - }; - - /** - * Encodes the specified ProtoFont message. Does not implicitly {@link ProtoFont.verify|verify} messages. - * @function encode - * @memberof ProtoFont - * @static - * @param {IProtoFont} message ProtoFont message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoFont.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoFont message, length delimited. Does not implicitly {@link ProtoFont.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoFont - * @static - * @param {IProtoFont} message ProtoFont message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoFont.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoFont message from the specified reader or buffer. - * @function decode - * @memberof ProtoFont - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoFont} ProtoFont - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoFont(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.int32(); - break; - } - case 2: { - message.name = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoFont message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoFont - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoFont} ProtoFont - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoFont.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoFont message. - * @function verify - * @memberof ProtoFont - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isInteger(message.id)) - return "id: integer expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - return null; - }; - - /** - * Creates a ProtoFont message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoFont - * @static - * @param {Object.} object Plain object - * @returns {ProtoFont} ProtoFont - */ - ProtoFont.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoFont) - return object; - var message = new $root.ProtoFont(); - if (object.id != null) - message.id = object.id | 0; - if (object.name != null) - message.name = String(object.name); - return message; - }; - - /** - * Creates a plain object from a ProtoFont message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoFont - * @static - * @param {ProtoFont} message ProtoFont - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoFont.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.id = 0; - object.name = ""; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - return object; - }; - - /** - * Converts this ProtoFont to JSON. - * @function toJSON - * @memberof ProtoFont - * @instance - * @returns {Object.} JSON object - */ - ProtoFont.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoFont - * @function getTypeUrl - * @memberof ProtoFont - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoFont.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoFont"; - }; - - return ProtoFont; -})(); - -$root.ProtoBoxedFont = (function() { - - /** - * Properties of a ProtoBoxedFont. - * @name IProtoBoxedFont - * @interface IProtoBoxedFont - * @property {IProtoFont|null} [value] ProtoBoxedFont value - * @property {boolean|null} [isNull] ProtoBoxedFont isNull - */ - - /** - * Constructs a new ProtoBoxedFont. - * @name ProtoBoxedFont - * @classdesc Represents a ProtoBoxedFont. - * @implements IProtoBoxedFont - * @constructor - * @param {IProtoBoxedFont=} [properties] Properties to set - */ - function ProtoBoxedFont(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedFont value. - * @member {IProtoFont|null|undefined} value - * @memberof ProtoBoxedFont - * @instance - */ - ProtoBoxedFont.prototype.value = null; - - /** - * ProtoBoxedFont isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedFont - * @instance - */ - ProtoBoxedFont.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedFont instance using the specified properties. - * @function create - * @memberof ProtoBoxedFont - * @static - * @param {IProtoBoxedFont=} [properties] Properties to set - * @returns {ProtoBoxedFont} ProtoBoxedFont instance - */ - ProtoBoxedFont.create = function create(properties) { - return new ProtoBoxedFont(properties); - }; - - /** - * Encodes the specified ProtoBoxedFont message. Does not implicitly {@link ProtoBoxedFont.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedFont - * @static - * @param {IProtoBoxedFont} message ProtoBoxedFont message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedFont.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedFont message, length delimited. Does not implicitly {@link ProtoBoxedFont.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedFont - * @static - * @param {IProtoBoxedFont} message ProtoBoxedFont message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedFont.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedFont message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedFont - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedFont} ProtoBoxedFont - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedFont(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedFont message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedFont - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedFont} ProtoBoxedFont - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedFont.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedFont message. - * @function verify - * @memberof ProtoBoxedFont - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoFont.verify(message.value); - if (error) - return "value." + error; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedFont message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedFont - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedFont} ProtoBoxedFont - */ - ProtoBoxedFont.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedFont) - return object; - 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); - } - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedFont message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedFont - * @static - * @param {ProtoBoxedFont} message ProtoBoxedFont - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedFont.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = null; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.ProtoFont.toObject(message.value, options); - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedFont to JSON. - * @function toJSON - * @memberof ProtoBoxedFont - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedFont.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedFont - * @function getTypeUrl - * @memberof ProtoBoxedFont - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedFont.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedFont"; - }; - - return ProtoBoxedFont; -})(); - -/** - * ProtoColorType enum. - * @name ProtoColorType - * @enum {number} - * @property {number} DUMMY_COLOR_TYPE=0 DUMMY_COLOR_TYPE value - * @property {number} RGB=3 RGB value - * @property {number} CMYK=4 CMYK value - */ -$root.ProtoColorType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DUMMY_COLOR_TYPE"] = 0; - values[valuesById[3] = "RGB"] = 3; - values[valuesById[4] = "CMYK"] = 4; - return values; -})(); - -$root.ProtoColor = (function() { - - /** - * Properties of a ProtoColor. - * @name IProtoColor - * @interface IProtoColor - * @property {IProtoBoxedString|null} [name] ProtoColor name - * @property {ProtoColorType|null} [type] ProtoColor type - * @property {number|null} [r] ProtoColor r - * @property {number|null} [g] ProtoColor g - * @property {number|null} [b] ProtoColor b - * @property {number|null} [c] ProtoColor c - * @property {number|null} [m] ProtoColor m - * @property {number|null} [y] ProtoColor y - * @property {number|null} [k] ProtoColor k - */ - - /** - * Constructs a new ProtoColor. - * @name ProtoColor - * @classdesc Represents a ProtoColor. - * @implements IProtoColor - * @constructor - * @param {IProtoColor=} [properties] Properties to set - */ - function ProtoColor(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoColor name. - * @member {IProtoBoxedString|null|undefined} name - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.name = null; - - /** - * ProtoColor type. - * @member {ProtoColorType} type - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.type = 0; - - /** - * ProtoColor r. - * @member {number} r - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.r = 0; - - /** - * ProtoColor g. - * @member {number} g - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.g = 0; - - /** - * ProtoColor b. - * @member {number} b - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.b = 0; - - /** - * ProtoColor c. - * @member {number} c - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.c = 0; - - /** - * ProtoColor m. - * @member {number} m - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.m = 0; - - /** - * ProtoColor y. - * @member {number} y - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.y = 0; - - /** - * ProtoColor k. - * @member {number} k - * @memberof ProtoColor - * @instance - */ - ProtoColor.prototype.k = 0; - - /** - * Creates a new ProtoColor instance using the specified properties. - * @function create - * @memberof ProtoColor - * @static - * @param {IProtoColor=} [properties] Properties to set - * @returns {ProtoColor} ProtoColor instance - */ - ProtoColor.create = function create(properties) { - return new ProtoColor(properties); - }; - - /** - * Encodes the specified ProtoColor message. Does not implicitly {@link ProtoColor.verify|verify} messages. - * @function encode - * @memberof ProtoColor - * @static - * @param {IProtoColor} message ProtoColor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoColor.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - $root.ProtoBoxedString.encode(message.name, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); - if (message.r != null && Object.hasOwnProperty.call(message, "r")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.r); - if (message.g != null && Object.hasOwnProperty.call(message, "g")) - 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.c != null && Object.hasOwnProperty.call(message, "c")) - writer.uint32(/* id 6, wireType 5 =*/53).float(message.c); - if (message.m != null && Object.hasOwnProperty.call(message, "m")) - writer.uint32(/* id 7, wireType 5 =*/61).float(message.m); - if (message.y != null && Object.hasOwnProperty.call(message, "y")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoColor message, length delimited. Does not implicitly {@link ProtoColor.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoColor - * @static - * @param {IProtoColor} message ProtoColor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoColor.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoColor message from the specified reader or buffer. - * @function decode - * @memberof ProtoColor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoColor} ProtoColor - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoColor(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 2: { - message.type = reader.int32(); - break; - } - case 3: { - message.r = reader.int32(); - break; - } - case 4: { - message.g = reader.int32(); - break; - } - case 5: { - message.b = reader.int32(); - break; - } - case 6: { - message.c = reader.float(); - break; - } - case 7: { - message.m = reader.float(); - break; - } - case 8: { - message.y = reader.float(); - break; - } - case 9: { - message.k = reader.float(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoColor message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoColor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoColor} ProtoColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoColor.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoColor message. - * @function verify - * @memberof ProtoColor - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) { - var error = $root.ProtoBoxedString.verify(message.name); - if (error) - return "name." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 3: - case 4: - break; - } - if (message.r != null && message.hasOwnProperty("r")) - if (!$util.isInteger(message.r)) - return "r: integer expected"; - if (message.g != null && message.hasOwnProperty("g")) - if (!$util.isInteger(message.g)) - return "g: integer expected"; - if (message.b != null && message.hasOwnProperty("b")) - if (!$util.isInteger(message.b)) - return "b: integer expected"; - if (message.c != null && message.hasOwnProperty("c")) - if (typeof message.c !== "number") - return "c: number expected"; - if (message.m != null && message.hasOwnProperty("m")) - if (typeof message.m !== "number") - return "m: number expected"; - if (message.y != null && message.hasOwnProperty("y")) - if (typeof message.y !== "number") - return "y: number expected"; - if (message.k != null && message.hasOwnProperty("k")) - if (typeof message.k !== "number") - return "k: number expected"; - return null; - }; - - /** - * Creates a ProtoColor message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoColor - * @static - * @param {Object.} object Plain object - * @returns {ProtoColor} ProtoColor - */ - ProtoColor.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoColor) - return object; - 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); - } - 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) - message.r = object.r | 0; - if (object.g != null) - message.g = object.g | 0; - if (object.b != null) - message.b = object.b | 0; - if (object.c != null) - message.c = Number(object.c); - if (object.m != null) - message.m = Number(object.m); - if (object.y != null) - message.y = Number(object.y); - if (object.k != null) - message.k = Number(object.k); - return message; - }; - - /** - * Creates a plain object from a ProtoColor message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoColor - * @static - * @param {ProtoColor} message ProtoColor - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoColor.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.name = null; - object.type = options.enums === String ? "DUMMY_COLOR_TYPE" : 0; - object.r = 0; - object.g = 0; - object.b = 0; - object.c = 0; - object.m = 0; - object.y = 0; - object.k = 0; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = $root.ProtoBoxedString.toObject(message.name, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoColorType[message.type] === undefined ? message.type : $root.ProtoColorType[message.type] : message.type; - if (message.r != null && message.hasOwnProperty("r")) - object.r = message.r; - if (message.g != null && message.hasOwnProperty("g")) - object.g = message.g; - if (message.b != null && message.hasOwnProperty("b")) - object.b = message.b; - if (message.c != null && message.hasOwnProperty("c")) - object.c = options.json && !isFinite(message.c) ? String(message.c) : message.c; - if (message.m != null && message.hasOwnProperty("m")) - object.m = options.json && !isFinite(message.m) ? String(message.m) : message.m; - if (message.y != null && message.hasOwnProperty("y")) - object.y = options.json && !isFinite(message.y) ? String(message.y) : message.y; - if (message.k != null && message.hasOwnProperty("k")) - object.k = options.json && !isFinite(message.k) ? String(message.k) : message.k; - return object; - }; - - /** - * Converts this ProtoColor to JSON. - * @function toJSON - * @memberof ProtoColor - * @instance - * @returns {Object.} JSON object - */ - ProtoColor.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoColor - * @function getTypeUrl - * @memberof ProtoColor - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoColor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoColor"; - }; - - return ProtoColor; -})(); - -$root.ProtoBoxedColor = (function() { - - /** - * Properties of a ProtoBoxedColor. - * @name IProtoBoxedColor - * @interface IProtoBoxedColor - * @property {IProtoColor|null} [value] ProtoBoxedColor value - * @property {boolean|null} [isNull] ProtoBoxedColor isNull - */ - - /** - * Constructs a new ProtoBoxedColor. - * @name ProtoBoxedColor - * @classdesc Represents a ProtoBoxedColor. - * @implements IProtoBoxedColor - * @constructor - * @param {IProtoBoxedColor=} [properties] Properties to set - */ - function ProtoBoxedColor(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedColor value. - * @member {IProtoColor|null|undefined} value - * @memberof ProtoBoxedColor - * @instance - */ - ProtoBoxedColor.prototype.value = null; - - /** - * ProtoBoxedColor isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedColor - * @instance - */ - ProtoBoxedColor.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedColor instance using the specified properties. - * @function create - * @memberof ProtoBoxedColor - * @static - * @param {IProtoBoxedColor=} [properties] Properties to set - * @returns {ProtoBoxedColor} ProtoBoxedColor instance - */ - ProtoBoxedColor.create = function create(properties) { - return new ProtoBoxedColor(properties); - }; - - /** - * Encodes the specified ProtoBoxedColor message. Does not implicitly {@link ProtoBoxedColor.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedColor - * @static - * @param {IProtoBoxedColor} message ProtoBoxedColor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedColor.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedColor message, length delimited. Does not implicitly {@link ProtoBoxedColor.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedColor - * @static - * @param {IProtoBoxedColor} message ProtoBoxedColor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedColor.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedColor message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedColor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedColor} ProtoBoxedColor - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedColor(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedColor message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedColor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedColor} ProtoBoxedColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedColor.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedColor message. - * @function verify - * @memberof ProtoBoxedColor - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoColor.verify(message.value); - if (error) - return "value." + error; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedColor message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedColor - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedColor} ProtoBoxedColor - */ - ProtoBoxedColor.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedColor) - return object; - 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); - } - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedColor message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedColor - * @static - * @param {ProtoBoxedColor} message ProtoBoxedColor - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedColor.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = null; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.ProtoColor.toObject(message.value, options); - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedColor to JSON. - * @function toJSON - * @memberof ProtoBoxedColor - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedColor.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedColor - * @function getTypeUrl - * @memberof ProtoBoxedColor - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedColor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedColor"; - }; - - return ProtoBoxedColor; -})(); - -$root.ProtoRGBColor = (function() { - - /** - * Properties of a ProtoRGBColor. - * @name IProtoRGBColor - * @interface IProtoRGBColor - * @property {IProtoBoxedString|null} [name] ProtoRGBColor name - * @property {ProtoColorType|null} [type] ProtoRGBColor type - * @property {number|null} [r] ProtoRGBColor r - * @property {number|null} [g] ProtoRGBColor g - * @property {number|null} [b] ProtoRGBColor b - */ - - /** - * Constructs a new ProtoRGBColor. - * @name ProtoRGBColor - * @classdesc Represents a ProtoRGBColor. - * @implements IProtoRGBColor - * @constructor - * @param {IProtoRGBColor=} [properties] Properties to set - */ - function ProtoRGBColor(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoRGBColor name. - * @member {IProtoBoxedString|null|undefined} name - * @memberof ProtoRGBColor - * @instance - */ - ProtoRGBColor.prototype.name = null; - - /** - * ProtoRGBColor type. - * @member {ProtoColorType} type - * @memberof ProtoRGBColor - * @instance - */ - ProtoRGBColor.prototype.type = 0; - - /** - * ProtoRGBColor r. - * @member {number} r - * @memberof ProtoRGBColor - * @instance - */ - ProtoRGBColor.prototype.r = 0; - - /** - * ProtoRGBColor g. - * @member {number} g - * @memberof ProtoRGBColor - * @instance - */ - ProtoRGBColor.prototype.g = 0; - - /** - * ProtoRGBColor b. - * @member {number} b - * @memberof ProtoRGBColor - * @instance - */ - ProtoRGBColor.prototype.b = 0; - - /** - * Creates a new ProtoRGBColor instance using the specified properties. - * @function create - * @memberof ProtoRGBColor - * @static - * @param {IProtoRGBColor=} [properties] Properties to set - * @returns {ProtoRGBColor} ProtoRGBColor instance - */ - ProtoRGBColor.create = function create(properties) { - return new ProtoRGBColor(properties); - }; - - /** - * Encodes the specified ProtoRGBColor message. Does not implicitly {@link ProtoRGBColor.verify|verify} messages. - * @function encode - * @memberof ProtoRGBColor - * @static - * @param {IProtoRGBColor} message ProtoRGBColor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoRGBColor.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - $root.ProtoBoxedString.encode(message.name, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); - if (message.r != null && Object.hasOwnProperty.call(message, "r")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.r); - if (message.g != null && Object.hasOwnProperty.call(message, "g")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoRGBColor message, length delimited. Does not implicitly {@link ProtoRGBColor.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoRGBColor - * @static - * @param {IProtoRGBColor} message ProtoRGBColor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoRGBColor.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoRGBColor message from the specified reader or buffer. - * @function decode - * @memberof ProtoRGBColor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoRGBColor} ProtoRGBColor - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoRGBColor(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 2: { - message.type = reader.int32(); - break; - } - case 3: { - message.r = reader.int32(); - break; - } - case 4: { - message.g = reader.int32(); - break; - } - case 5: { - message.b = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoRGBColor message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoRGBColor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoRGBColor} ProtoRGBColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoRGBColor.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoRGBColor message. - * @function verify - * @memberof ProtoRGBColor - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) { - var error = $root.ProtoBoxedString.verify(message.name); - if (error) - return "name." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 3: - case 4: - break; - } - if (message.r != null && message.hasOwnProperty("r")) - if (!$util.isInteger(message.r)) - return "r: integer expected"; - if (message.g != null && message.hasOwnProperty("g")) - if (!$util.isInteger(message.g)) - return "g: integer expected"; - if (message.b != null && message.hasOwnProperty("b")) - if (!$util.isInteger(message.b)) - return "b: integer expected"; - return null; - }; - - /** - * Creates a ProtoRGBColor message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoRGBColor - * @static - * @param {Object.} object Plain object - * @returns {ProtoRGBColor} ProtoRGBColor - */ - ProtoRGBColor.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoRGBColor) - return object; - 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); - } - 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) - message.r = object.r | 0; - if (object.g != null) - message.g = object.g | 0; - if (object.b != null) - message.b = object.b | 0; - return message; - }; - - /** - * Creates a plain object from a ProtoRGBColor message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoRGBColor - * @static - * @param {ProtoRGBColor} message ProtoRGBColor - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoRGBColor.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.name = null; - object.type = options.enums === String ? "DUMMY_COLOR_TYPE" : 0; - object.r = 0; - object.g = 0; - object.b = 0; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = $root.ProtoBoxedString.toObject(message.name, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoColorType[message.type] === undefined ? message.type : $root.ProtoColorType[message.type] : message.type; - if (message.r != null && message.hasOwnProperty("r")) - object.r = message.r; - if (message.g != null && message.hasOwnProperty("g")) - object.g = message.g; - if (message.b != null && message.hasOwnProperty("b")) - object.b = message.b; - return object; - }; - - /** - * Converts this ProtoRGBColor to JSON. - * @function toJSON - * @memberof ProtoRGBColor - * @instance - * @returns {Object.} JSON object - */ - ProtoRGBColor.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoRGBColor - * @function getTypeUrl - * @memberof ProtoRGBColor - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoRGBColor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoRGBColor"; - }; - - return ProtoRGBColor; -})(); - -$root.ProtoCMYKColor = (function() { - - /** - * Properties of a ProtoCMYKColor. - * @name IProtoCMYKColor - * @interface IProtoCMYKColor - * @property {IProtoBoxedString|null} [name] ProtoCMYKColor name - * @property {ProtoColorType|null} [type] ProtoCMYKColor type - * @property {number|null} [c] ProtoCMYKColor c - * @property {number|null} [m] ProtoCMYKColor m - * @property {number|null} [y] ProtoCMYKColor y - * @property {number|null} [k] ProtoCMYKColor k - */ - - /** - * Constructs a new ProtoCMYKColor. - * @name ProtoCMYKColor - * @classdesc Represents a ProtoCMYKColor. - * @implements IProtoCMYKColor - * @constructor - * @param {IProtoCMYKColor=} [properties] Properties to set - */ - function ProtoCMYKColor(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoCMYKColor name. - * @member {IProtoBoxedString|null|undefined} name - * @memberof ProtoCMYKColor - * @instance - */ - ProtoCMYKColor.prototype.name = null; - - /** - * ProtoCMYKColor type. - * @member {ProtoColorType} type - * @memberof ProtoCMYKColor - * @instance - */ - ProtoCMYKColor.prototype.type = 0; - - /** - * ProtoCMYKColor c. - * @member {number} c - * @memberof ProtoCMYKColor - * @instance - */ - ProtoCMYKColor.prototype.c = 0; - - /** - * ProtoCMYKColor m. - * @member {number} m - * @memberof ProtoCMYKColor - * @instance - */ - ProtoCMYKColor.prototype.m = 0; - - /** - * ProtoCMYKColor y. - * @member {number} y - * @memberof ProtoCMYKColor - * @instance - */ - ProtoCMYKColor.prototype.y = 0; - - /** - * ProtoCMYKColor k. - * @member {number} k - * @memberof ProtoCMYKColor - * @instance - */ - ProtoCMYKColor.prototype.k = 0; - - /** - * Creates a new ProtoCMYKColor instance using the specified properties. - * @function create - * @memberof ProtoCMYKColor - * @static - * @param {IProtoCMYKColor=} [properties] Properties to set - * @returns {ProtoCMYKColor} ProtoCMYKColor instance - */ - ProtoCMYKColor.create = function create(properties) { - return new ProtoCMYKColor(properties); - }; - - /** - * Encodes the specified ProtoCMYKColor message. Does not implicitly {@link ProtoCMYKColor.verify|verify} messages. - * @function encode - * @memberof ProtoCMYKColor - * @static - * @param {IProtoCMYKColor} message ProtoCMYKColor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCMYKColor.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - $root.ProtoBoxedString.encode(message.name, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); - if (message.c != null && Object.hasOwnProperty.call(message, "c")) - writer.uint32(/* id 3, wireType 5 =*/29).float(message.c); - if (message.m != null && Object.hasOwnProperty.call(message, "m")) - writer.uint32(/* id 4, wireType 5 =*/37).float(message.m); - if (message.y != null && Object.hasOwnProperty.call(message, "y")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoCMYKColor message, length delimited. Does not implicitly {@link ProtoCMYKColor.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoCMYKColor - * @static - * @param {IProtoCMYKColor} message ProtoCMYKColor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCMYKColor.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoCMYKColor message from the specified reader or buffer. - * @function decode - * @memberof ProtoCMYKColor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoCMYKColor} ProtoCMYKColor - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCMYKColor(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 2: { - message.type = reader.int32(); - break; - } - case 3: { - message.c = reader.float(); - break; - } - case 4: { - message.m = reader.float(); - break; - } - case 5: { - message.y = reader.float(); - break; - } - case 6: { - message.k = reader.float(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoCMYKColor message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoCMYKColor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoCMYKColor} ProtoCMYKColor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoCMYKColor.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoCMYKColor message. - * @function verify - * @memberof ProtoCMYKColor - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) { - var error = $root.ProtoBoxedString.verify(message.name); - if (error) - return "name." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 3: - case 4: - break; - } - if (message.c != null && message.hasOwnProperty("c")) - if (typeof message.c !== "number") - return "c: number expected"; - if (message.m != null && message.hasOwnProperty("m")) - if (typeof message.m !== "number") - return "m: number expected"; - if (message.y != null && message.hasOwnProperty("y")) - if (typeof message.y !== "number") - return "y: number expected"; - if (message.k != null && message.hasOwnProperty("k")) - if (typeof message.k !== "number") - return "k: number expected"; - return null; - }; - - /** - * Creates a ProtoCMYKColor message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoCMYKColor - * @static - * @param {Object.} object Plain object - * @returns {ProtoCMYKColor} ProtoCMYKColor - */ - ProtoCMYKColor.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoCMYKColor) - return object; - 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); - } - 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) - message.c = Number(object.c); - if (object.m != null) - message.m = Number(object.m); - if (object.y != null) - message.y = Number(object.y); - if (object.k != null) - message.k = Number(object.k); - return message; - }; - - /** - * Creates a plain object from a ProtoCMYKColor message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoCMYKColor - * @static - * @param {ProtoCMYKColor} message ProtoCMYKColor - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoCMYKColor.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.name = null; - object.type = options.enums === String ? "DUMMY_COLOR_TYPE" : 0; - object.c = 0; - object.m = 0; - object.y = 0; - object.k = 0; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = $root.ProtoBoxedString.toObject(message.name, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoColorType[message.type] === undefined ? message.type : $root.ProtoColorType[message.type] : message.type; - if (message.c != null && message.hasOwnProperty("c")) - object.c = options.json && !isFinite(message.c) ? String(message.c) : message.c; - if (message.m != null && message.hasOwnProperty("m")) - object.m = options.json && !isFinite(message.m) ? String(message.m) : message.m; - if (message.y != null && message.hasOwnProperty("y")) - object.y = options.json && !isFinite(message.y) ? String(message.y) : message.y; - if (message.k != null && message.hasOwnProperty("k")) - object.k = options.json && !isFinite(message.k) ? String(message.k) : message.k; - return object; - }; - - /** - * Converts this ProtoCMYKColor to JSON. - * @function toJSON - * @memberof ProtoCMYKColor - * @instance - * @returns {Object.} JSON object - */ - ProtoCMYKColor.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoCMYKColor - * @function getTypeUrl - * @memberof ProtoCMYKColor - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoCMYKColor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoCMYKColor"; - }; - - return ProtoCMYKColor; -})(); - -/** - * ProtoHorizontalAlignment enum. - * @name ProtoHorizontalAlignment - * @enum {number} - * @property {number} ALIGN_LEFT=0 ALIGN_LEFT value - * @property {number} ALIGN_CENTER=1 ALIGN_CENTER value - * @property {number} ALIGN_RIGHT=2 ALIGN_RIGHT value - * @property {number} ALIGN_JUSTIFY=3 ALIGN_JUSTIFY value - * @property {number} ALIGN_FULL_JUSTIFY=4 ALIGN_FULL_JUSTIFY value - * @property {number} ALIGN_CENTER_ON_PAGE=5 ALIGN_CENTER_ON_PAGE value - */ -$root.ProtoHorizontalAlignment = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ALIGN_LEFT"] = 0; - values[valuesById[1] = "ALIGN_CENTER"] = 1; - values[valuesById[2] = "ALIGN_RIGHT"] = 2; - values[valuesById[3] = "ALIGN_JUSTIFY"] = 3; - values[valuesById[4] = "ALIGN_FULL_JUSTIFY"] = 4; - values[valuesById[5] = "ALIGN_CENTER_ON_PAGE"] = 5; - return values; -})(); - -/** - * ProtoVerticalAlignment enum. - * @name ProtoVerticalAlignment - * @enum {number} - * @property {number} TOP=0 TOP value - * @property {number} MIDDLE=1 MIDDLE value - * @property {number} BOTTOM=2 BOTTOM value - */ -$root.ProtoVerticalAlignment = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "TOP"] = 0; - values[valuesById[1] = "MIDDLE"] = 1; - values[valuesById[2] = "BOTTOM"] = 2; - return values; -})(); - -$root.ProtoBoxedHorizontalAlignment = (function() { - - /** - * Properties of a ProtoBoxedHorizontalAlignment. - * @name IProtoBoxedHorizontalAlignment - * @interface IProtoBoxedHorizontalAlignment - * @property {ProtoHorizontalAlignment|null} [value] ProtoBoxedHorizontalAlignment value - * @property {boolean|null} [isNull] ProtoBoxedHorizontalAlignment isNull - */ - - /** - * Constructs a new ProtoBoxedHorizontalAlignment. - * @name ProtoBoxedHorizontalAlignment - * @classdesc Represents a ProtoBoxedHorizontalAlignment. - * @implements IProtoBoxedHorizontalAlignment - * @constructor - * @param {IProtoBoxedHorizontalAlignment=} [properties] Properties to set - */ - function ProtoBoxedHorizontalAlignment(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedHorizontalAlignment value. - * @member {ProtoHorizontalAlignment} value - * @memberof ProtoBoxedHorizontalAlignment - * @instance - */ - ProtoBoxedHorizontalAlignment.prototype.value = 0; - - /** - * ProtoBoxedHorizontalAlignment isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedHorizontalAlignment - * @instance - */ - ProtoBoxedHorizontalAlignment.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedHorizontalAlignment instance using the specified properties. - * @function create - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @param {IProtoBoxedHorizontalAlignment=} [properties] Properties to set - * @returns {ProtoBoxedHorizontalAlignment} ProtoBoxedHorizontalAlignment instance - */ - ProtoBoxedHorizontalAlignment.create = function create(properties) { - return new ProtoBoxedHorizontalAlignment(properties); - }; - - /** - * Encodes the specified ProtoBoxedHorizontalAlignment message. Does not implicitly {@link ProtoBoxedHorizontalAlignment.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @param {IProtoBoxedHorizontalAlignment} message ProtoBoxedHorizontalAlignment message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedHorizontalAlignment.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedHorizontalAlignment message, length delimited. Does not implicitly {@link ProtoBoxedHorizontalAlignment.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @param {IProtoBoxedHorizontalAlignment} message ProtoBoxedHorizontalAlignment message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedHorizontalAlignment.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedHorizontalAlignment message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedHorizontalAlignment} ProtoBoxedHorizontalAlignment - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedHorizontalAlignment(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedHorizontalAlignment message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedHorizontalAlignment} ProtoBoxedHorizontalAlignment - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedHorizontalAlignment.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedHorizontalAlignment message. - * @function verify - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: - return "value: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedHorizontalAlignment message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedHorizontalAlignment} ProtoBoxedHorizontalAlignment - */ - ProtoBoxedHorizontalAlignment.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedHorizontalAlignment) - return object; - var message = new $root.ProtoBoxedHorizontalAlignment(); - 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) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedHorizontalAlignment message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @param {ProtoBoxedHorizontalAlignment} message ProtoBoxedHorizontalAlignment - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedHorizontalAlignment.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = options.enums === String ? "ALIGN_LEFT" : 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.ProtoHorizontalAlignment[message.value] === undefined ? message.value : $root.ProtoHorizontalAlignment[message.value] : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedHorizontalAlignment to JSON. - * @function toJSON - * @memberof ProtoBoxedHorizontalAlignment - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedHorizontalAlignment.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedHorizontalAlignment - * @function getTypeUrl - * @memberof ProtoBoxedHorizontalAlignment - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedHorizontalAlignment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedHorizontalAlignment"; - }; - - return ProtoBoxedHorizontalAlignment; -})(); - -$root.ProtoBoxedVerticalAlignment = (function() { - - /** - * Properties of a ProtoBoxedVerticalAlignment. - * @name IProtoBoxedVerticalAlignment - * @interface IProtoBoxedVerticalAlignment - * @property {ProtoVerticalAlignment|null} [value] ProtoBoxedVerticalAlignment value - * @property {boolean|null} [isNull] ProtoBoxedVerticalAlignment isNull - */ - - /** - * Constructs a new ProtoBoxedVerticalAlignment. - * @name ProtoBoxedVerticalAlignment - * @classdesc Represents a ProtoBoxedVerticalAlignment. - * @implements IProtoBoxedVerticalAlignment - * @constructor - * @param {IProtoBoxedVerticalAlignment=} [properties] Properties to set - */ - function ProtoBoxedVerticalAlignment(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedVerticalAlignment value. - * @member {ProtoVerticalAlignment} value - * @memberof ProtoBoxedVerticalAlignment - * @instance - */ - ProtoBoxedVerticalAlignment.prototype.value = 0; - - /** - * ProtoBoxedVerticalAlignment isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedVerticalAlignment - * @instance - */ - ProtoBoxedVerticalAlignment.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedVerticalAlignment instance using the specified properties. - * @function create - * @memberof ProtoBoxedVerticalAlignment - * @static - * @param {IProtoBoxedVerticalAlignment=} [properties] Properties to set - * @returns {ProtoBoxedVerticalAlignment} ProtoBoxedVerticalAlignment instance - */ - ProtoBoxedVerticalAlignment.create = function create(properties) { - return new ProtoBoxedVerticalAlignment(properties); - }; - - /** - * Encodes the specified ProtoBoxedVerticalAlignment message. Does not implicitly {@link ProtoBoxedVerticalAlignment.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedVerticalAlignment - * @static - * @param {IProtoBoxedVerticalAlignment} message ProtoBoxedVerticalAlignment message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedVerticalAlignment.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedVerticalAlignment message, length delimited. Does not implicitly {@link ProtoBoxedVerticalAlignment.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedVerticalAlignment - * @static - * @param {IProtoBoxedVerticalAlignment} message ProtoBoxedVerticalAlignment message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedVerticalAlignment.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedVerticalAlignment message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedVerticalAlignment - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedVerticalAlignment} ProtoBoxedVerticalAlignment - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedVerticalAlignment(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedVerticalAlignment message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedVerticalAlignment - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedVerticalAlignment} ProtoBoxedVerticalAlignment - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedVerticalAlignment.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedVerticalAlignment message. - * @function verify - * @memberof ProtoBoxedVerticalAlignment - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: - return "value: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedVerticalAlignment message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedVerticalAlignment - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedVerticalAlignment} ProtoBoxedVerticalAlignment - */ - ProtoBoxedVerticalAlignment.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedVerticalAlignment) - return object; - var message = new $root.ProtoBoxedVerticalAlignment(); - 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) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedVerticalAlignment message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedVerticalAlignment - * @static - * @param {ProtoBoxedVerticalAlignment} message ProtoBoxedVerticalAlignment - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedVerticalAlignment.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = options.enums === String ? "TOP" : 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.ProtoVerticalAlignment[message.value] === undefined ? message.value : $root.ProtoVerticalAlignment[message.value] : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedVerticalAlignment to JSON. - * @function toJSON - * @memberof ProtoBoxedVerticalAlignment - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedVerticalAlignment.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedVerticalAlignment - * @function getTypeUrl - * @memberof ProtoBoxedVerticalAlignment - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedVerticalAlignment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedVerticalAlignment"; - }; - - return ProtoBoxedVerticalAlignment; -})(); - -/** - * ProtoBarcodeType enum. - * @name ProtoBarcodeType - * @enum {number} - * @property {number} PDF417=0 PDF417 value - * @property {number} DATAMATRIX=1 DATAMATRIX value - * @property {number} BC128=2 BC128 value - * @property {number} QR=3 QR value - * @property {number} ITF=4 ITF value - * @property {number} EAN8=5 EAN8 value - * @property {number} EAN13=6 EAN13 value - * @property {number} CODE39=7 CODE39 value - * @property {number} SWISSQR=8 SWISSQR value - * @property {number} AZTEC=9 AZTEC value - */ -$root.ProtoBarcodeType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "PDF417"] = 0; - values[valuesById[1] = "DATAMATRIX"] = 1; - values[valuesById[2] = "BC128"] = 2; - values[valuesById[3] = "QR"] = 3; - values[valuesById[4] = "ITF"] = 4; - values[valuesById[5] = "EAN8"] = 5; - values[valuesById[6] = "EAN13"] = 6; - values[valuesById[7] = "CODE39"] = 7; - values[valuesById[8] = "SWISSQR"] = 8; - values[valuesById[9] = "AZTEC"] = 9; - return values; -})(); - -$root.ProtoSwissQRCreditor = (function() { - - /** - * Properties of a ProtoSwissQRCreditor. - * @name IProtoSwissQRCreditor - * @interface IProtoSwissQRCreditor - * @property {string|null} [addressType] ProtoSwissQRCreditor addressType - * @property {string|null} [name] ProtoSwissQRCreditor name - * @property {string|null} [postalCode] ProtoSwissQRCreditor postalCode - * @property {string|null} [town] ProtoSwissQRCreditor town - * @property {string|null} [country] ProtoSwissQRCreditor country - * @property {string|null} [streetOrAddressLine1] ProtoSwissQRCreditor streetOrAddressLine1 - * @property {string|null} [buildingNumberOrAddressLine2] ProtoSwissQRCreditor buildingNumberOrAddressLine2 - * @property {string|null} [iban] ProtoSwissQRCreditor iban - * @property {string|null} [amount] ProtoSwissQRCreditor amount - * @property {string|null} [currency] ProtoSwissQRCreditor currency - */ - - /** - * Constructs a new ProtoSwissQRCreditor. - * @name ProtoSwissQRCreditor - * @classdesc Represents a ProtoSwissQRCreditor. - * @implements IProtoSwissQRCreditor - * @constructor - * @param {IProtoSwissQRCreditor=} [properties] Properties to set - */ - function ProtoSwissQRCreditor(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSwissQRCreditor addressType. - * @member {string} addressType - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.addressType = ""; - - /** - * ProtoSwissQRCreditor name. - * @member {string} name - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.name = ""; - - /** - * ProtoSwissQRCreditor postalCode. - * @member {string} postalCode - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.postalCode = ""; - - /** - * ProtoSwissQRCreditor town. - * @member {string} town - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.town = ""; - - /** - * ProtoSwissQRCreditor country. - * @member {string} country - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.country = ""; - - /** - * ProtoSwissQRCreditor streetOrAddressLine1. - * @member {string} streetOrAddressLine1 - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.streetOrAddressLine1 = ""; - - /** - * ProtoSwissQRCreditor buildingNumberOrAddressLine2. - * @member {string} buildingNumberOrAddressLine2 - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.buildingNumberOrAddressLine2 = ""; - - /** - * ProtoSwissQRCreditor iban. - * @member {string} iban - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.iban = ""; - - /** - * ProtoSwissQRCreditor amount. - * @member {string} amount - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.amount = ""; - - /** - * ProtoSwissQRCreditor currency. - * @member {string} currency - * @memberof ProtoSwissQRCreditor - * @instance - */ - ProtoSwissQRCreditor.prototype.currency = ""; - - /** - * Creates a new ProtoSwissQRCreditor instance using the specified properties. - * @function create - * @memberof ProtoSwissQRCreditor - * @static - * @param {IProtoSwissQRCreditor=} [properties] Properties to set - * @returns {ProtoSwissQRCreditor} ProtoSwissQRCreditor instance - */ - ProtoSwissQRCreditor.create = function create(properties) { - return new ProtoSwissQRCreditor(properties); - }; - - /** - * Encodes the specified ProtoSwissQRCreditor message. Does not implicitly {@link ProtoSwissQRCreditor.verify|verify} messages. - * @function encode - * @memberof ProtoSwissQRCreditor - * @static - * @param {IProtoSwissQRCreditor} message ProtoSwissQRCreditor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSwissQRCreditor.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.addressType != null && Object.hasOwnProperty.call(message, "addressType")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.addressType); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.postalCode != null && Object.hasOwnProperty.call(message, "postalCode")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.postalCode); - if (message.town != null && Object.hasOwnProperty.call(message, "town")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.town); - if (message.country != null && Object.hasOwnProperty.call(message, "country")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.country); - if (message.streetOrAddressLine1 != null && Object.hasOwnProperty.call(message, "streetOrAddressLine1")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.streetOrAddressLine1); - if (message.buildingNumberOrAddressLine2 != null && Object.hasOwnProperty.call(message, "buildingNumberOrAddressLine2")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.buildingNumberOrAddressLine2); - if (message.iban != null && Object.hasOwnProperty.call(message, "iban")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.iban); - if (message.amount != null && Object.hasOwnProperty.call(message, "amount")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoSwissQRCreditor message, length delimited. Does not implicitly {@link ProtoSwissQRCreditor.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSwissQRCreditor - * @static - * @param {IProtoSwissQRCreditor} message ProtoSwissQRCreditor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSwissQRCreditor.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSwissQRCreditor message from the specified reader or buffer. - * @function decode - * @memberof ProtoSwissQRCreditor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSwissQRCreditor} ProtoSwissQRCreditor - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSwissQRCreditor(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.addressType = reader.string(); - break; - } - case 2: { - message.name = reader.string(); - break; - } - case 3: { - message.postalCode = reader.string(); - break; - } - case 4: { - message.town = reader.string(); - break; - } - case 5: { - message.country = reader.string(); - break; - } - case 6: { - message.streetOrAddressLine1 = reader.string(); - break; - } - case 7: { - message.buildingNumberOrAddressLine2 = reader.string(); - break; - } - case 8: { - message.iban = reader.string(); - break; - } - case 9: { - message.amount = reader.string(); - break; - } - case 10: { - message.currency = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSwissQRCreditor message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSwissQRCreditor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSwissQRCreditor} ProtoSwissQRCreditor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSwissQRCreditor.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSwissQRCreditor message. - * @function verify - * @memberof ProtoSwissQRCreditor - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.addressType != null && message.hasOwnProperty("addressType")) - if (!$util.isString(message.addressType)) - return "addressType: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.postalCode != null && message.hasOwnProperty("postalCode")) - if (!$util.isString(message.postalCode)) - return "postalCode: string expected"; - if (message.town != null && message.hasOwnProperty("town")) - if (!$util.isString(message.town)) - return "town: string expected"; - if (message.country != null && message.hasOwnProperty("country")) - if (!$util.isString(message.country)) - return "country: string expected"; - if (message.streetOrAddressLine1 != null && message.hasOwnProperty("streetOrAddressLine1")) - if (!$util.isString(message.streetOrAddressLine1)) - return "streetOrAddressLine1: string expected"; - if (message.buildingNumberOrAddressLine2 != null && message.hasOwnProperty("buildingNumberOrAddressLine2")) - if (!$util.isString(message.buildingNumberOrAddressLine2)) - return "buildingNumberOrAddressLine2: string expected"; - if (message.iban != null && message.hasOwnProperty("iban")) - if (!$util.isString(message.iban)) - return "iban: string expected"; - if (message.amount != null && message.hasOwnProperty("amount")) - if (!$util.isString(message.amount)) - return "amount: string expected"; - if (message.currency != null && message.hasOwnProperty("currency")) - if (!$util.isString(message.currency)) - return "currency: string expected"; - return null; - }; - - /** - * Creates a ProtoSwissQRCreditor message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSwissQRCreditor - * @static - * @param {Object.} object Plain object - * @returns {ProtoSwissQRCreditor} ProtoSwissQRCreditor - */ - ProtoSwissQRCreditor.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSwissQRCreditor) - return object; - var message = new $root.ProtoSwissQRCreditor(); - if (object.addressType != null) - message.addressType = String(object.addressType); - if (object.name != null) - message.name = String(object.name); - if (object.postalCode != null) - message.postalCode = String(object.postalCode); - if (object.town != null) - message.town = String(object.town); - if (object.country != null) - message.country = String(object.country); - if (object.streetOrAddressLine1 != null) - message.streetOrAddressLine1 = String(object.streetOrAddressLine1); - if (object.buildingNumberOrAddressLine2 != null) - message.buildingNumberOrAddressLine2 = String(object.buildingNumberOrAddressLine2); - if (object.iban != null) - message.iban = String(object.iban); - if (object.amount != null) - message.amount = String(object.amount); - if (object.currency != null) - message.currency = String(object.currency); - return message; - }; - - /** - * Creates a plain object from a ProtoSwissQRCreditor message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSwissQRCreditor - * @static - * @param {ProtoSwissQRCreditor} message ProtoSwissQRCreditor - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSwissQRCreditor.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.addressType = ""; - object.name = ""; - object.postalCode = ""; - object.town = ""; - object.country = ""; - object.streetOrAddressLine1 = ""; - object.buildingNumberOrAddressLine2 = ""; - object.iban = ""; - object.amount = ""; - object.currency = ""; - } - if (message.addressType != null && message.hasOwnProperty("addressType")) - object.addressType = message.addressType; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.postalCode != null && message.hasOwnProperty("postalCode")) - object.postalCode = message.postalCode; - if (message.town != null && message.hasOwnProperty("town")) - object.town = message.town; - if (message.country != null && message.hasOwnProperty("country")) - object.country = message.country; - if (message.streetOrAddressLine1 != null && message.hasOwnProperty("streetOrAddressLine1")) - object.streetOrAddressLine1 = message.streetOrAddressLine1; - if (message.buildingNumberOrAddressLine2 != null && message.hasOwnProperty("buildingNumberOrAddressLine2")) - object.buildingNumberOrAddressLine2 = message.buildingNumberOrAddressLine2; - if (message.iban != null && message.hasOwnProperty("iban")) - object.iban = message.iban; - if (message.amount != null && message.hasOwnProperty("amount")) - object.amount = message.amount; - if (message.currency != null && message.hasOwnProperty("currency")) - object.currency = message.currency; - return object; - }; - - /** - * Converts this ProtoSwissQRCreditor to JSON. - * @function toJSON - * @memberof ProtoSwissQRCreditor - * @instance - * @returns {Object.} JSON object - */ - ProtoSwissQRCreditor.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSwissQRCreditor - * @function getTypeUrl - * @memberof ProtoSwissQRCreditor - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSwissQRCreditor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSwissQRCreditor"; - }; - - return ProtoSwissQRCreditor; -})(); - -$root.ProtoSwissQRDebitor = (function() { - - /** - * Properties of a ProtoSwissQRDebitor. - * @name IProtoSwissQRDebitor - * @interface IProtoSwissQRDebitor - * @property {string|null} [addressType] ProtoSwissQRDebitor addressType - * @property {string|null} [name] ProtoSwissQRDebitor name - * @property {string|null} [postalCode] ProtoSwissQRDebitor postalCode - * @property {string|null} [town] ProtoSwissQRDebitor town - * @property {string|null} [country] ProtoSwissQRDebitor country - * @property {string|null} [streetOrAddressLine1] ProtoSwissQRDebitor streetOrAddressLine1 - * @property {string|null} [buildingNumberOrAddressLine2] ProtoSwissQRDebitor buildingNumberOrAddressLine2 - * @property {string|null} [paymentReferenceType] ProtoSwissQRDebitor paymentReferenceType - * @property {string|null} [paymentReference] ProtoSwissQRDebitor paymentReference - * @property {string|null} [unstructuredReference] ProtoSwissQRDebitor unstructuredReference - * @property {string|null} [billInformation] ProtoSwissQRDebitor billInformation - */ - - /** - * Constructs a new ProtoSwissQRDebitor. - * @name ProtoSwissQRDebitor - * @classdesc Represents a ProtoSwissQRDebitor. - * @implements IProtoSwissQRDebitor - * @constructor - * @param {IProtoSwissQRDebitor=} [properties] Properties to set - */ - function ProtoSwissQRDebitor(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSwissQRDebitor addressType. - * @member {string} addressType - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.addressType = ""; - - /** - * ProtoSwissQRDebitor name. - * @member {string} name - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.name = ""; - - /** - * ProtoSwissQRDebitor postalCode. - * @member {string} postalCode - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.postalCode = ""; - - /** - * ProtoSwissQRDebitor town. - * @member {string} town - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.town = ""; - - /** - * ProtoSwissQRDebitor country. - * @member {string} country - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.country = ""; - - /** - * ProtoSwissQRDebitor streetOrAddressLine1. - * @member {string} streetOrAddressLine1 - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.streetOrAddressLine1 = ""; - - /** - * ProtoSwissQRDebitor buildingNumberOrAddressLine2. - * @member {string} buildingNumberOrAddressLine2 - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.buildingNumberOrAddressLine2 = ""; - - /** - * ProtoSwissQRDebitor paymentReferenceType. - * @member {string} paymentReferenceType - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.paymentReferenceType = ""; - - /** - * ProtoSwissQRDebitor paymentReference. - * @member {string} paymentReference - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.paymentReference = ""; - - /** - * ProtoSwissQRDebitor unstructuredReference. - * @member {string} unstructuredReference - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.unstructuredReference = ""; - - /** - * ProtoSwissQRDebitor billInformation. - * @member {string} billInformation - * @memberof ProtoSwissQRDebitor - * @instance - */ - ProtoSwissQRDebitor.prototype.billInformation = ""; - - /** - * Creates a new ProtoSwissQRDebitor instance using the specified properties. - * @function create - * @memberof ProtoSwissQRDebitor - * @static - * @param {IProtoSwissQRDebitor=} [properties] Properties to set - * @returns {ProtoSwissQRDebitor} ProtoSwissQRDebitor instance - */ - ProtoSwissQRDebitor.create = function create(properties) { - return new ProtoSwissQRDebitor(properties); - }; - - /** - * Encodes the specified ProtoSwissQRDebitor message. Does not implicitly {@link ProtoSwissQRDebitor.verify|verify} messages. - * @function encode - * @memberof ProtoSwissQRDebitor - * @static - * @param {IProtoSwissQRDebitor} message ProtoSwissQRDebitor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSwissQRDebitor.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.addressType != null && Object.hasOwnProperty.call(message, "addressType")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.addressType); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.postalCode != null && Object.hasOwnProperty.call(message, "postalCode")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.postalCode); - if (message.town != null && Object.hasOwnProperty.call(message, "town")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.town); - if (message.country != null && Object.hasOwnProperty.call(message, "country")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.country); - if (message.streetOrAddressLine1 != null && Object.hasOwnProperty.call(message, "streetOrAddressLine1")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.streetOrAddressLine1); - if (message.buildingNumberOrAddressLine2 != null && Object.hasOwnProperty.call(message, "buildingNumberOrAddressLine2")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.buildingNumberOrAddressLine2); - if (message.paymentReferenceType != null && Object.hasOwnProperty.call(message, "paymentReferenceType")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.paymentReferenceType); - if (message.paymentReference != null && Object.hasOwnProperty.call(message, "paymentReference")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.paymentReference); - if (message.unstructuredReference != null && Object.hasOwnProperty.call(message, "unstructuredReference")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoSwissQRDebitor message, length delimited. Does not implicitly {@link ProtoSwissQRDebitor.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSwissQRDebitor - * @static - * @param {IProtoSwissQRDebitor} message ProtoSwissQRDebitor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSwissQRDebitor.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSwissQRDebitor message from the specified reader or buffer. - * @function decode - * @memberof ProtoSwissQRDebitor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSwissQRDebitor} ProtoSwissQRDebitor - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSwissQRDebitor(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.addressType = reader.string(); - break; - } - case 2: { - message.name = reader.string(); - break; - } - case 3: { - message.postalCode = reader.string(); - break; - } - case 4: { - message.town = reader.string(); - break; - } - case 5: { - message.country = reader.string(); - break; - } - case 6: { - message.streetOrAddressLine1 = reader.string(); - break; - } - case 7: { - message.buildingNumberOrAddressLine2 = reader.string(); - break; - } - case 8: { - message.paymentReferenceType = reader.string(); - break; - } - case 9: { - message.paymentReference = reader.string(); - break; - } - case 10: { - message.unstructuredReference = reader.string(); - break; - } - case 11: { - message.billInformation = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSwissQRDebitor message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSwissQRDebitor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSwissQRDebitor} ProtoSwissQRDebitor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSwissQRDebitor.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSwissQRDebitor message. - * @function verify - * @memberof ProtoSwissQRDebitor - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.addressType != null && message.hasOwnProperty("addressType")) - if (!$util.isString(message.addressType)) - return "addressType: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.postalCode != null && message.hasOwnProperty("postalCode")) - if (!$util.isString(message.postalCode)) - return "postalCode: string expected"; - if (message.town != null && message.hasOwnProperty("town")) - if (!$util.isString(message.town)) - return "town: string expected"; - if (message.country != null && message.hasOwnProperty("country")) - if (!$util.isString(message.country)) - return "country: string expected"; - if (message.streetOrAddressLine1 != null && message.hasOwnProperty("streetOrAddressLine1")) - if (!$util.isString(message.streetOrAddressLine1)) - return "streetOrAddressLine1: string expected"; - if (message.buildingNumberOrAddressLine2 != null && message.hasOwnProperty("buildingNumberOrAddressLine2")) - if (!$util.isString(message.buildingNumberOrAddressLine2)) - return "buildingNumberOrAddressLine2: string expected"; - if (message.paymentReferenceType != null && message.hasOwnProperty("paymentReferenceType")) - if (!$util.isString(message.paymentReferenceType)) - return "paymentReferenceType: string expected"; - if (message.paymentReference != null && message.hasOwnProperty("paymentReference")) - if (!$util.isString(message.paymentReference)) - return "paymentReference: string expected"; - if (message.unstructuredReference != null && message.hasOwnProperty("unstructuredReference")) - if (!$util.isString(message.unstructuredReference)) - return "unstructuredReference: string expected"; - if (message.billInformation != null && message.hasOwnProperty("billInformation")) - if (!$util.isString(message.billInformation)) - return "billInformation: string expected"; - return null; - }; - - /** - * Creates a ProtoSwissQRDebitor message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSwissQRDebitor - * @static - * @param {Object.} object Plain object - * @returns {ProtoSwissQRDebitor} ProtoSwissQRDebitor - */ - ProtoSwissQRDebitor.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSwissQRDebitor) - return object; - var message = new $root.ProtoSwissQRDebitor(); - if (object.addressType != null) - message.addressType = String(object.addressType); - if (object.name != null) - message.name = String(object.name); - if (object.postalCode != null) - message.postalCode = String(object.postalCode); - if (object.town != null) - message.town = String(object.town); - if (object.country != null) - message.country = String(object.country); - if (object.streetOrAddressLine1 != null) - message.streetOrAddressLine1 = String(object.streetOrAddressLine1); - if (object.buildingNumberOrAddressLine2 != null) - message.buildingNumberOrAddressLine2 = String(object.buildingNumberOrAddressLine2); - if (object.paymentReferenceType != null) - message.paymentReferenceType = String(object.paymentReferenceType); - if (object.paymentReference != null) - message.paymentReference = String(object.paymentReference); - if (object.unstructuredReference != null) - message.unstructuredReference = String(object.unstructuredReference); - if (object.billInformation != null) - message.billInformation = String(object.billInformation); - return message; - }; - - /** - * Creates a plain object from a ProtoSwissQRDebitor message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSwissQRDebitor - * @static - * @param {ProtoSwissQRDebitor} message ProtoSwissQRDebitor - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSwissQRDebitor.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.addressType = ""; - object.name = ""; - object.postalCode = ""; - object.town = ""; - object.country = ""; - object.streetOrAddressLine1 = ""; - object.buildingNumberOrAddressLine2 = ""; - object.paymentReferenceType = ""; - object.paymentReference = ""; - object.unstructuredReference = ""; - object.billInformation = ""; - } - if (message.addressType != null && message.hasOwnProperty("addressType")) - object.addressType = message.addressType; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.postalCode != null && message.hasOwnProperty("postalCode")) - object.postalCode = message.postalCode; - if (message.town != null && message.hasOwnProperty("town")) - object.town = message.town; - if (message.country != null && message.hasOwnProperty("country")) - object.country = message.country; - if (message.streetOrAddressLine1 != null && message.hasOwnProperty("streetOrAddressLine1")) - object.streetOrAddressLine1 = message.streetOrAddressLine1; - if (message.buildingNumberOrAddressLine2 != null && message.hasOwnProperty("buildingNumberOrAddressLine2")) - object.buildingNumberOrAddressLine2 = message.buildingNumberOrAddressLine2; - if (message.paymentReferenceType != null && message.hasOwnProperty("paymentReferenceType")) - object.paymentReferenceType = message.paymentReferenceType; - if (message.paymentReference != null && message.hasOwnProperty("paymentReference")) - object.paymentReference = message.paymentReference; - if (message.unstructuredReference != null && message.hasOwnProperty("unstructuredReference")) - object.unstructuredReference = message.unstructuredReference; - if (message.billInformation != null && message.hasOwnProperty("billInformation")) - object.billInformation = message.billInformation; - return object; - }; - - /** - * Converts this ProtoSwissQRDebitor to JSON. - * @function toJSON - * @memberof ProtoSwissQRDebitor - * @instance - * @returns {Object.} JSON object - */ - ProtoSwissQRDebitor.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSwissQRDebitor - * @function getTypeUrl - * @memberof ProtoSwissQRDebitor - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSwissQRDebitor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSwissQRDebitor"; - }; - - return ProtoSwissQRDebitor; -})(); - -$root.ProtoSwissQRData = (function() { - - /** - * Properties of a ProtoSwissQRData. - * @name IProtoSwissQRData - * @interface IProtoSwissQRData - * @property {IProtoSwissQRCreditor|null} [creditor] ProtoSwissQRData creditor - * @property {IProtoSwissQRDebitor|null} [debitor] ProtoSwissQRData debitor - */ - - /** - * Constructs a new ProtoSwissQRData. - * @name ProtoSwissQRData - * @classdesc Represents a ProtoSwissQRData. - * @implements IProtoSwissQRData - * @constructor - * @param {IProtoSwissQRData=} [properties] Properties to set - */ - function ProtoSwissQRData(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSwissQRData creditor. - * @member {IProtoSwissQRCreditor|null|undefined} creditor - * @memberof ProtoSwissQRData - * @instance - */ - ProtoSwissQRData.prototype.creditor = null; - - /** - * ProtoSwissQRData debitor. - * @member {IProtoSwissQRDebitor|null|undefined} debitor - * @memberof ProtoSwissQRData - * @instance - */ - ProtoSwissQRData.prototype.debitor = null; - - /** - * Creates a new ProtoSwissQRData instance using the specified properties. - * @function create - * @memberof ProtoSwissQRData - * @static - * @param {IProtoSwissQRData=} [properties] Properties to set - * @returns {ProtoSwissQRData} ProtoSwissQRData instance - */ - ProtoSwissQRData.create = function create(properties) { - return new ProtoSwissQRData(properties); - }; - - /** - * Encodes the specified ProtoSwissQRData message. Does not implicitly {@link ProtoSwissQRData.verify|verify} messages. - * @function encode - * @memberof ProtoSwissQRData - * @static - * @param {IProtoSwissQRData} message ProtoSwissQRData message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSwissQRData.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.creditor != null && Object.hasOwnProperty.call(message, "creditor")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoSwissQRData message, length delimited. Does not implicitly {@link ProtoSwissQRData.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSwissQRData - * @static - * @param {IProtoSwissQRData} message ProtoSwissQRData message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSwissQRData.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSwissQRData message from the specified reader or buffer. - * @function decode - * @memberof ProtoSwissQRData - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSwissQRData} ProtoSwissQRData - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSwissQRData(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.creditor = $root.ProtoSwissQRCreditor.decode(reader, reader.uint32()); - break; - } - case 2: { - message.debitor = $root.ProtoSwissQRDebitor.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSwissQRData message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSwissQRData - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSwissQRData} ProtoSwissQRData - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSwissQRData.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSwissQRData message. - * @function verify - * @memberof ProtoSwissQRData - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.creditor != null && message.hasOwnProperty("creditor")) { - 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); - if (error) - return "debitor." + error; - } - return null; - }; - - /** - * Creates a ProtoSwissQRData message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSwissQRData - * @static - * @param {Object.} object Plain object - * @returns {ProtoSwissQRData} ProtoSwissQRData - */ - ProtoSwissQRData.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSwissQRData) - return object; - 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); - } - if (object.debitor != null) { - if (typeof object.debitor !== "object") - throw TypeError(".ProtoSwissQRData.debitor: object expected"); - message.debitor = $root.ProtoSwissQRDebitor.fromObject(object.debitor); - } - return message; - }; - - /** - * Creates a plain object from a ProtoSwissQRData message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSwissQRData - * @static - * @param {ProtoSwissQRData} message ProtoSwissQRData - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSwissQRData.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.creditor = null; - object.debitor = null; - } - if (message.creditor != null && message.hasOwnProperty("creditor")) - object.creditor = $root.ProtoSwissQRCreditor.toObject(message.creditor, options); - if (message.debitor != null && message.hasOwnProperty("debitor")) - object.debitor = $root.ProtoSwissQRDebitor.toObject(message.debitor, options); - return object; - }; - - /** - * Converts this ProtoSwissQRData to JSON. - * @function toJSON - * @memberof ProtoSwissQRData - * @instance - * @returns {Object.} JSON object - */ - ProtoSwissQRData.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSwissQRData - * @function getTypeUrl - * @memberof ProtoSwissQRData - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSwissQRData.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSwissQRData"; - }; - - return ProtoSwissQRData; -})(); - -$root.ProtoLinebreak = (function() { - - /** - * Properties of a ProtoLinebreak. - * @name IProtoLinebreak - * @interface IProtoLinebreak - * @property {IProtoDocumentElement|null} [parent] ProtoLinebreak parent - * @property {Array.|null} [comChannelUUIDs] ProtoLinebreak comChannelUUIDs - * @property {string|null} [uuid] ProtoLinebreak uuid - * @property {IProtoBoxedUint32|null} [count] ProtoLinebreak count - */ - - /** - * Constructs a new ProtoLinebreak. - * @name ProtoLinebreak - * @classdesc Represents a ProtoLinebreak. - * @implements IProtoLinebreak - * @constructor - * @param {IProtoLinebreak=} [properties] Properties to set - */ - function ProtoLinebreak(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoLinebreak parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoLinebreak - * @instance - */ - ProtoLinebreak.prototype.parent = null; - - /** - * ProtoLinebreak comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoLinebreak - * @instance - */ - ProtoLinebreak.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoLinebreak uuid. - * @member {string} uuid - * @memberof ProtoLinebreak - * @instance - */ - ProtoLinebreak.prototype.uuid = ""; - - /** - * ProtoLinebreak count. - * @member {IProtoBoxedUint32|null|undefined} count - * @memberof ProtoLinebreak - * @instance - */ - ProtoLinebreak.prototype.count = null; - - /** - * Creates a new ProtoLinebreak instance using the specified properties. - * @function create - * @memberof ProtoLinebreak - * @static - * @param {IProtoLinebreak=} [properties] Properties to set - * @returns {ProtoLinebreak} ProtoLinebreak instance - */ - ProtoLinebreak.create = function create(properties) { - return new ProtoLinebreak(properties); - }; - - /** - * Encodes the specified ProtoLinebreak message. Does not implicitly {@link ProtoLinebreak.verify|verify} messages. - * @function encode - * @memberof ProtoLinebreak - * @static - * @param {IProtoLinebreak} message ProtoLinebreak message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLinebreak.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - 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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - 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(); - return writer; - }; - - /** - * Encodes the specified ProtoLinebreak message, length delimited. Does not implicitly {@link ProtoLinebreak.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoLinebreak - * @static - * @param {IProtoLinebreak} message ProtoLinebreak message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLinebreak.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoLinebreak message from the specified reader or buffer. - * @function decode - * @memberof ProtoLinebreak - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoLinebreak} ProtoLinebreak - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLinebreak(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - message.count = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoLinebreak message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoLinebreak - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoLinebreak} ProtoLinebreak - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoLinebreak.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoLinebreak message. - * @function verify - * @memberof ProtoLinebreak - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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"; - if (message.count != null && message.hasOwnProperty("count")) { - var error = $root.ProtoBoxedUint32.verify(message.count); - if (error) - return "count." + error; - } - return null; - }; - - /** - * Creates a ProtoLinebreak message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoLinebreak - * @static - * @param {Object.} object Plain object - * @returns {ProtoLinebreak} ProtoLinebreak - */ - ProtoLinebreak.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoLinebreak) - return object; - 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); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoLinebreak.comChannelUUIDs: array expected"); - 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); - if (object.count != null) { - if (typeof object.count !== "object") - throw TypeError(".ProtoLinebreak.count: object expected"); - message.count = $root.ProtoBoxedUint32.fromObject(object.count); - } - return message; - }; - - /** - * Creates a plain object from a ProtoLinebreak message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoLinebreak - * @static - * @param {ProtoLinebreak} message ProtoLinebreak - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoLinebreak.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.count = null; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.comChannelUUIDs && 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.count != null && message.hasOwnProperty("count")) - object.count = $root.ProtoBoxedUint32.toObject(message.count, options); - return object; - }; - - /** - * Converts this ProtoLinebreak to JSON. - * @function toJSON - * @memberof ProtoLinebreak - * @instance - * @returns {Object.} JSON object - */ - ProtoLinebreak.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoLinebreak - * @function getTypeUrl - * @memberof ProtoLinebreak - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoLinebreak.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoLinebreak"; - }; - - return ProtoLinebreak; -})(); - -$root.ProtoBorder = (function() { - - /** - * Properties of a ProtoBorder. - * @name IProtoBorder - * @interface IProtoBorder - * @property {IProtoMeasure|null} [weight] ProtoBorder weight - * @property {IProtoColor|null} [color] ProtoBorder color - */ - - /** - * Constructs a new ProtoBorder. - * @name ProtoBorder - * @classdesc Represents a ProtoBorder. - * @implements IProtoBorder - * @constructor - * @param {IProtoBorder=} [properties] Properties to set - */ - function ProtoBorder(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBorder weight. - * @member {IProtoMeasure|null|undefined} weight - * @memberof ProtoBorder - * @instance - */ - ProtoBorder.prototype.weight = null; - - /** - * ProtoBorder color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoBorder - * @instance - */ - ProtoBorder.prototype.color = null; - - /** - * Creates a new ProtoBorder instance using the specified properties. - * @function create - * @memberof ProtoBorder - * @static - * @param {IProtoBorder=} [properties] Properties to set - * @returns {ProtoBorder} ProtoBorder instance - */ - ProtoBorder.create = function create(properties) { - return new ProtoBorder(properties); - }; - - /** - * Encodes the specified ProtoBorder message. Does not implicitly {@link ProtoBorder.verify|verify} messages. - * @function encode - * @memberof ProtoBorder - * @static - * @param {IProtoBorder} message ProtoBorder message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBorder.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.weight != null && Object.hasOwnProperty.call(message, "weight")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoBorder message, length delimited. Does not implicitly {@link ProtoBorder.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBorder - * @static - * @param {IProtoBorder} message ProtoBorder message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBorder.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBorder message from the specified reader or buffer. - * @function decode - * @memberof ProtoBorder - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBorder} ProtoBorder - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBorder(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.weight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBorder message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBorder - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBorder} ProtoBorder - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBorder.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBorder message. - * @function verify - * @memberof ProtoBorder - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.weight != null && message.hasOwnProperty("weight")) { - 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); - if (error) - return "color." + error; - } - return null; - }; - - /** - * Creates a ProtoBorder message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBorder - * @static - * @param {Object.} object Plain object - * @returns {ProtoBorder} ProtoBorder - */ - ProtoBorder.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBorder) - return object; - 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); - } - if (object.color != null) { - if (typeof object.color !== "object") - throw TypeError(".ProtoBorder.color: object expected"); - message.color = $root.ProtoColor.fromObject(object.color); - } - return message; - }; - - /** - * Creates a plain object from a ProtoBorder message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBorder - * @static - * @param {ProtoBorder} message ProtoBorder - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBorder.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.weight = null; - object.color = null; - } - if (message.weight != null && message.hasOwnProperty("weight")) - object.weight = $root.ProtoMeasure.toObject(message.weight, options); - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - return object; - }; - - /** - * Converts this ProtoBorder to JSON. - * @function toJSON - * @memberof ProtoBorder - * @instance - * @returns {Object.} JSON object - */ - ProtoBorder.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBorder - * @function getTypeUrl - * @memberof ProtoBorder - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBorder.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBorder"; - }; - - return ProtoBorder; -})(); - -$root.ProtoSideBorders = (function() { - - /** - * Properties of a ProtoSideBorders. - * @name IProtoSideBorders - * @interface IProtoSideBorders - * @property {IProtoBorder|null} [top] ProtoSideBorders top - * @property {IProtoBorder|null} [right] ProtoSideBorders right - * @property {IProtoBorder|null} [bottom] ProtoSideBorders bottom - * @property {IProtoBorder|null} [left] ProtoSideBorders left - */ - - /** - * Constructs a new ProtoSideBorders. - * @name ProtoSideBorders - * @classdesc Represents a ProtoSideBorders. - * @implements IProtoSideBorders - * @constructor - * @param {IProtoSideBorders=} [properties] Properties to set - */ - function ProtoSideBorders(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSideBorders top. - * @member {IProtoBorder|null|undefined} top - * @memberof ProtoSideBorders - * @instance - */ - ProtoSideBorders.prototype.top = null; - - /** - * ProtoSideBorders right. - * @member {IProtoBorder|null|undefined} right - * @memberof ProtoSideBorders - * @instance - */ - ProtoSideBorders.prototype.right = null; - - /** - * ProtoSideBorders bottom. - * @member {IProtoBorder|null|undefined} bottom - * @memberof ProtoSideBorders - * @instance - */ - ProtoSideBorders.prototype.bottom = null; - - /** - * ProtoSideBorders left. - * @member {IProtoBorder|null|undefined} left - * @memberof ProtoSideBorders - * @instance - */ - ProtoSideBorders.prototype.left = null; - - /** - * Creates a new ProtoSideBorders instance using the specified properties. - * @function create - * @memberof ProtoSideBorders - * @static - * @param {IProtoSideBorders=} [properties] Properties to set - * @returns {ProtoSideBorders} ProtoSideBorders instance - */ - ProtoSideBorders.create = function create(properties) { - return new ProtoSideBorders(properties); - }; - - /** - * Encodes the specified ProtoSideBorders message. Does not implicitly {@link ProtoSideBorders.verify|verify} messages. - * @function encode - * @memberof ProtoSideBorders - * @static - * @param {IProtoSideBorders} message ProtoSideBorders message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSideBorders.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.top != null && Object.hasOwnProperty.call(message, "top")) - $root.ProtoBorder.encode(message.top, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.right != null && Object.hasOwnProperty.call(message, "right")) - $root.ProtoBorder.encode(message.right, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.bottom != null && Object.hasOwnProperty.call(message, "bottom")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoSideBorders message, length delimited. Does not implicitly {@link ProtoSideBorders.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSideBorders - * @static - * @param {IProtoSideBorders} message ProtoSideBorders message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSideBorders.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSideBorders message from the specified reader or buffer. - * @function decode - * @memberof ProtoSideBorders - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSideBorders} ProtoSideBorders - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSideBorders(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.top = $root.ProtoBorder.decode(reader, reader.uint32()); - break; - } - case 2: { - message.right = $root.ProtoBorder.decode(reader, reader.uint32()); - break; - } - case 3: { - message.bottom = $root.ProtoBorder.decode(reader, reader.uint32()); - break; - } - case 4: { - message.left = $root.ProtoBorder.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSideBorders message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSideBorders - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSideBorders} ProtoSideBorders - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSideBorders.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSideBorders message. - * @function verify - * @memberof ProtoSideBorders - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.top != null && message.hasOwnProperty("top")) { - 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); - if (error) - return "right." + error; - } - if (message.bottom != null && message.hasOwnProperty("bottom")) { - 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); - if (error) - return "left." + error; - } - return null; - }; - - /** - * Creates a ProtoSideBorders message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSideBorders - * @static - * @param {Object.} object Plain object - * @returns {ProtoSideBorders} ProtoSideBorders - */ - ProtoSideBorders.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSideBorders) - return object; - 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); - } - if (object.right != null) { - if (typeof object.right !== "object") - throw TypeError(".ProtoSideBorders.right: object expected"); - 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); - } - if (object.left != null) { - if (typeof object.left !== "object") - throw TypeError(".ProtoSideBorders.left: object expected"); - message.left = $root.ProtoBorder.fromObject(object.left); - } - return message; - }; - - /** - * Creates a plain object from a ProtoSideBorders message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSideBorders - * @static - * @param {ProtoSideBorders} message ProtoSideBorders - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSideBorders.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.top = null; - object.right = null; - object.bottom = null; - object.left = null; - } - if (message.top != null && message.hasOwnProperty("top")) - object.top = $root.ProtoBorder.toObject(message.top, options); - if (message.right != null && message.hasOwnProperty("right")) - object.right = $root.ProtoBorder.toObject(message.right, options); - if (message.bottom != null && message.hasOwnProperty("bottom")) - object.bottom = $root.ProtoBorder.toObject(message.bottom, options); - if (message.left != null && message.hasOwnProperty("left")) - object.left = $root.ProtoBorder.toObject(message.left, options); - return object; - }; - - /** - * Converts this ProtoSideBorders to JSON. - * @function toJSON - * @memberof ProtoSideBorders - * @instance - * @returns {Object.} JSON object - */ - ProtoSideBorders.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSideBorders - * @function getTypeUrl - * @memberof ProtoSideBorders - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSideBorders.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSideBorders"; - }; - - return ProtoSideBorders; -})(); - -/** - * ProtoPositionMode enum. - * @name ProtoPositionMode - * @enum {number} - * @property {number} CENTER=0 CENTER value - * @property {number} LEFT=1 LEFT value - * @property {number} FOLIO=2 FOLIO value - * @property {number} RIGHT=3 RIGHT value - * @property {number} REVERSE_FOLIO=4 REVERSE_FOLIO value - */ -$root.ProtoPositionMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "CENTER"] = 0; - values[valuesById[1] = "LEFT"] = 1; - values[valuesById[2] = "FOLIO"] = 2; - values[valuesById[3] = "RIGHT"] = 3; - values[valuesById[4] = "REVERSE_FOLIO"] = 4; - return values; -})(); - -$root.ProtoBoxedPositionMode = (function() { - - /** - * Properties of a ProtoBoxedPositionMode. - * @name IProtoBoxedPositionMode - * @interface IProtoBoxedPositionMode - * @property {ProtoPositionMode|null} [value] ProtoBoxedPositionMode value - * @property {boolean|null} [isNull] ProtoBoxedPositionMode isNull - */ - - /** - * Constructs a new ProtoBoxedPositionMode. - * @name ProtoBoxedPositionMode - * @classdesc Represents a ProtoBoxedPositionMode. - * @implements IProtoBoxedPositionMode - * @constructor - * @param {IProtoBoxedPositionMode=} [properties] Properties to set - */ - function ProtoBoxedPositionMode(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedPositionMode value. - * @member {ProtoPositionMode} value - * @memberof ProtoBoxedPositionMode - * @instance - */ - ProtoBoxedPositionMode.prototype.value = 0; - - /** - * ProtoBoxedPositionMode isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedPositionMode - * @instance - */ - ProtoBoxedPositionMode.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedPositionMode instance using the specified properties. - * @function create - * @memberof ProtoBoxedPositionMode - * @static - * @param {IProtoBoxedPositionMode=} [properties] Properties to set - * @returns {ProtoBoxedPositionMode} ProtoBoxedPositionMode instance - */ - ProtoBoxedPositionMode.create = function create(properties) { - return new ProtoBoxedPositionMode(properties); - }; - - /** - * Encodes the specified ProtoBoxedPositionMode message. Does not implicitly {@link ProtoBoxedPositionMode.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedPositionMode - * @static - * @param {IProtoBoxedPositionMode} message ProtoBoxedPositionMode message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedPositionMode.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedPositionMode message, length delimited. Does not implicitly {@link ProtoBoxedPositionMode.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedPositionMode - * @static - * @param {IProtoBoxedPositionMode} message ProtoBoxedPositionMode message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedPositionMode.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedPositionMode message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedPositionMode - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedPositionMode} ProtoBoxedPositionMode - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedPositionMode(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedPositionMode message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedPositionMode - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedPositionMode} ProtoBoxedPositionMode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedPositionMode.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedPositionMode message. - * @function verify - * @memberof ProtoBoxedPositionMode - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: - return "value: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedPositionMode message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedPositionMode - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedPositionMode} ProtoBoxedPositionMode - */ - ProtoBoxedPositionMode.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedPositionMode) - return object; - var message = new $root.ProtoBoxedPositionMode(); - 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) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedPositionMode message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedPositionMode - * @static - * @param {ProtoBoxedPositionMode} message ProtoBoxedPositionMode - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedPositionMode.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = options.enums === String ? "CENTER" : 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.ProtoPositionMode[message.value] === undefined ? message.value : $root.ProtoPositionMode[message.value] : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedPositionMode to JSON. - * @function toJSON - * @memberof ProtoBoxedPositionMode - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedPositionMode.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedPositionMode - * @function getTypeUrl - * @memberof ProtoBoxedPositionMode - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedPositionMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedPositionMode"; - }; - - return ProtoBoxedPositionMode; -})(); - -$root.ProtoColumnSettings = (function() { - - /** - * Properties of a ProtoColumnSettings. - * @name IProtoColumnSettings - * @interface IProtoColumnSettings - * @property {IProtoBoxedMeasure|null} [width] ProtoColumnSettings width - * @property {IProtoBoxedMeasure|null} [interColumnSpace] ProtoColumnSettings interColumnSpace - * @property {IProtoBoxedMeasure|null} [positionOffset] ProtoColumnSettings positionOffset - * @property {ProtoPositionMode|null} [positionMode] ProtoColumnSettings positionMode - * @property {IProtoBoxedMeasure|null} [outsideMargin] ProtoColumnSettings outsideMargin - */ - - /** - * Constructs a new ProtoColumnSettings. - * @name ProtoColumnSettings - * @classdesc Represents a ProtoColumnSettings. - * @implements IProtoColumnSettings - * @constructor - * @param {IProtoColumnSettings=} [properties] Properties to set - */ - function ProtoColumnSettings(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoColumnSettings width. - * @member {IProtoBoxedMeasure|null|undefined} width - * @memberof ProtoColumnSettings - * @instance - */ - ProtoColumnSettings.prototype.width = null; - - /** - * ProtoColumnSettings interColumnSpace. - * @member {IProtoBoxedMeasure|null|undefined} interColumnSpace - * @memberof ProtoColumnSettings - * @instance - */ - ProtoColumnSettings.prototype.interColumnSpace = null; - - /** - * ProtoColumnSettings positionOffset. - * @member {IProtoBoxedMeasure|null|undefined} positionOffset - * @memberof ProtoColumnSettings - * @instance - */ - ProtoColumnSettings.prototype.positionOffset = null; - - /** - * ProtoColumnSettings positionMode. - * @member {ProtoPositionMode} positionMode - * @memberof ProtoColumnSettings - * @instance - */ - ProtoColumnSettings.prototype.positionMode = 0; - - /** - * ProtoColumnSettings outsideMargin. - * @member {IProtoBoxedMeasure|null|undefined} outsideMargin - * @memberof ProtoColumnSettings - * @instance - */ - ProtoColumnSettings.prototype.outsideMargin = null; - - /** - * Creates a new ProtoColumnSettings instance using the specified properties. - * @function create - * @memberof ProtoColumnSettings - * @static - * @param {IProtoColumnSettings=} [properties] Properties to set - * @returns {ProtoColumnSettings} ProtoColumnSettings instance - */ - ProtoColumnSettings.create = function create(properties) { - return new ProtoColumnSettings(properties); - }; - - /** - * Encodes the specified ProtoColumnSettings message. Does not implicitly {@link ProtoColumnSettings.verify|verify} messages. - * @function encode - * @memberof ProtoColumnSettings - * @static - * @param {IProtoColumnSettings} message ProtoColumnSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoColumnSettings.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $root.ProtoBoxedMeasure.encode(message.width, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.interColumnSpace != null && Object.hasOwnProperty.call(message, "interColumnSpace")) - $root.ProtoBoxedMeasure.encode(message.interColumnSpace, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.positionOffset != null && Object.hasOwnProperty.call(message, "positionOffset")) - $root.ProtoBoxedMeasure.encode(message.positionOffset, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.positionMode != null && Object.hasOwnProperty.call(message, "positionMode")) - 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(); - return writer; - }; - - /** - * Encodes the specified ProtoColumnSettings message, length delimited. Does not implicitly {@link ProtoColumnSettings.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoColumnSettings - * @static - * @param {IProtoColumnSettings} message ProtoColumnSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoColumnSettings.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoColumnSettings message from the specified reader or buffer. - * @function decode - * @memberof ProtoColumnSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoColumnSettings} ProtoColumnSettings - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoColumnSettings(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.interColumnSpace = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - message.positionOffset = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.positionMode = reader.int32(); - break; - } - case 5: { - message.outsideMargin = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoColumnSettings message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoColumnSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoColumnSettings} ProtoColumnSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoColumnSettings.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoColumnSettings message. - * @function verify - * @memberof ProtoColumnSettings - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.width != null && message.hasOwnProperty("width")) { - 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); - if (error) - return "interColumnSpace." + error; - } - if (message.positionOffset != null && message.hasOwnProperty("positionOffset")) { - var error = $root.ProtoBoxedMeasure.verify(message.positionOffset); - if (error) - return "positionOffset." + error; - } - if (message.positionMode != null && message.hasOwnProperty("positionMode")) - switch (message.positionMode) { - default: - return "positionMode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.outsideMargin != null && message.hasOwnProperty("outsideMargin")) { - var error = $root.ProtoBoxedMeasure.verify(message.outsideMargin); - if (error) - return "outsideMargin." + error; - } - return null; - }; - - /** - * Creates a ProtoColumnSettings message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoColumnSettings - * @static - * @param {Object.} object Plain object - * @returns {ProtoColumnSettings} ProtoColumnSettings - */ - ProtoColumnSettings.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoColumnSettings) - return object; - 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); - } - if (object.interColumnSpace != null) { - if (typeof object.interColumnSpace !== "object") - throw TypeError(".ProtoColumnSettings.interColumnSpace: object expected"); - 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); - } - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoColumnSettings message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoColumnSettings - * @static - * @param {ProtoColumnSettings} message ProtoColumnSettings - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoColumnSettings.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.width = null; - object.interColumnSpace = null; - object.positionOffset = null; - object.positionMode = options.enums === String ? "CENTER" : 0; - object.outsideMargin = null; - } - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoBoxedMeasure.toObject(message.width, options); - if (message.interColumnSpace != null && message.hasOwnProperty("interColumnSpace")) - object.interColumnSpace = $root.ProtoBoxedMeasure.toObject(message.interColumnSpace, options); - if (message.positionOffset != null && message.hasOwnProperty("positionOffset")) - object.positionOffset = $root.ProtoBoxedMeasure.toObject(message.positionOffset, options); - if (message.positionMode != null && message.hasOwnProperty("positionMode")) - object.positionMode = options.enums === String ? $root.ProtoPositionMode[message.positionMode] === undefined ? message.positionMode : $root.ProtoPositionMode[message.positionMode] : message.positionMode; - if (message.outsideMargin != null && message.hasOwnProperty("outsideMargin")) - object.outsideMargin = $root.ProtoBoxedMeasure.toObject(message.outsideMargin, options); - return object; - }; - - /** - * Converts this ProtoColumnSettings to JSON. - * @function toJSON - * @memberof ProtoColumnSettings - * @instance - * @returns {Object.} JSON object - */ - ProtoColumnSettings.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoColumnSettings - * @function getTypeUrl - * @memberof ProtoColumnSettings - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoColumnSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoColumnSettings"; - }; - - return ProtoColumnSettings; -})(); - -$root.ProtoGraphicState = (function() { - - /** - * Properties of a ProtoGraphicState. - * @name IProtoGraphicState - * @interface IProtoGraphicState - * @property {IProtoBoxedBool|null} [bold] ProtoGraphicState bold - * @property {IProtoBoxedBool|null} [italic] ProtoGraphicState italic - * @property {Array.|null} [colorStack] ProtoGraphicState colorStack - * @property {IProtoBoxedBool|null} [subscript] ProtoGraphicState subscript - * @property {IProtoBoxedBool|null} [superscript] ProtoGraphicState superscript - * @property {IProtoBoxedBool|null} [underline] ProtoGraphicState underline - * @property {IProtoBoxedBool|null} [strikethrough] ProtoGraphicState strikethrough - */ - - /** - * Constructs a new ProtoGraphicState. - * @name ProtoGraphicState - * @classdesc Represents a ProtoGraphicState. - * @implements IProtoGraphicState - * @constructor - * @param {IProtoGraphicState=} [properties] Properties to set - */ - function ProtoGraphicState(properties) { - this.colorStack = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoGraphicState bold. - * @member {IProtoBoxedBool|null|undefined} bold - * @memberof ProtoGraphicState - * @instance - */ - ProtoGraphicState.prototype.bold = null; - - /** - * ProtoGraphicState italic. - * @member {IProtoBoxedBool|null|undefined} italic - * @memberof ProtoGraphicState - * @instance - */ - ProtoGraphicState.prototype.italic = null; - - /** - * ProtoGraphicState colorStack. - * @member {Array.} colorStack - * @memberof ProtoGraphicState - * @instance - */ - ProtoGraphicState.prototype.colorStack = $util.emptyArray; - - /** - * ProtoGraphicState subscript. - * @member {IProtoBoxedBool|null|undefined} subscript - * @memberof ProtoGraphicState - * @instance - */ - ProtoGraphicState.prototype.subscript = null; - - /** - * ProtoGraphicState superscript. - * @member {IProtoBoxedBool|null|undefined} superscript - * @memberof ProtoGraphicState - * @instance - */ - ProtoGraphicState.prototype.superscript = null; - - /** - * ProtoGraphicState underline. - * @member {IProtoBoxedBool|null|undefined} underline - * @memberof ProtoGraphicState - * @instance - */ - ProtoGraphicState.prototype.underline = null; - - /** - * ProtoGraphicState strikethrough. - * @member {IProtoBoxedBool|null|undefined} strikethrough - * @memberof ProtoGraphicState - * @instance - */ - ProtoGraphicState.prototype.strikethrough = null; - - /** - * Creates a new ProtoGraphicState instance using the specified properties. - * @function create - * @memberof ProtoGraphicState - * @static - * @param {IProtoGraphicState=} [properties] Properties to set - * @returns {ProtoGraphicState} ProtoGraphicState instance - */ - ProtoGraphicState.create = function create(properties) { - return new ProtoGraphicState(properties); - }; - - /** - * Encodes the specified ProtoGraphicState message. Does not implicitly {@link ProtoGraphicState.verify|verify} messages. - * @function encode - * @memberof ProtoGraphicState - * @static - * @param {IProtoGraphicState} message ProtoGraphicState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoGraphicState.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.bold != null && Object.hasOwnProperty.call(message, "bold")) - $root.ProtoBoxedBool.encode(message.bold, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.italic != null && Object.hasOwnProperty.call(message, "italic")) - $root.ProtoBoxedBool.encode(message.italic, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.colorStack != null && message.colorStack.length) - for (var i = 0; i < message.colorStack.length; ++i) - $root.ProtoColor.encode(message.colorStack[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.subscript != null && Object.hasOwnProperty.call(message, "subscript")) - $root.ProtoBoxedBool.encode(message.subscript, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.superscript != null && Object.hasOwnProperty.call(message, "superscript")) - $root.ProtoBoxedBool.encode(message.superscript, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.underline != null && Object.hasOwnProperty.call(message, "underline")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoGraphicState message, length delimited. Does not implicitly {@link ProtoGraphicState.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoGraphicState - * @static - * @param {IProtoGraphicState} message ProtoGraphicState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoGraphicState.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoGraphicState message from the specified reader or buffer. - * @function decode - * @memberof ProtoGraphicState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoGraphicState} ProtoGraphicState - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoGraphicState(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 2: { - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.colorStack && message.colorStack.length)) - message.colorStack = []; - message.colorStack.push($root.ProtoColor.decode(reader, reader.uint32())); - break; - } - case 4: { - message.subscript = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 5: { - message.superscript = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 6: { - message.underline = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 7: { - message.strikethrough = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoGraphicState message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoGraphicState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoGraphicState} ProtoGraphicState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoGraphicState.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoGraphicState message. - * @function verify - * @memberof ProtoGraphicState - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.bold != null && message.hasOwnProperty("bold")) { - 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); - if (error) - return "italic." + error; - } - if (message.colorStack != null && message.hasOwnProperty("colorStack")) { - 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]); - if (error) - return "colorStack." + error; - } - } - if (message.subscript != null && message.hasOwnProperty("subscript")) { - 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); - if (error) - return "superscript." + error; - } - if (message.underline != null && message.hasOwnProperty("underline")) { - 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); - if (error) - return "strikethrough." + error; - } - return null; - }; - - /** - * Creates a ProtoGraphicState message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoGraphicState - * @static - * @param {Object.} object Plain object - * @returns {ProtoGraphicState} ProtoGraphicState - */ - ProtoGraphicState.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoGraphicState) - return object; - 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); - } - if (object.italic != null) { - if (typeof object.italic !== "object") - throw TypeError(".ProtoGraphicState.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic); - } - if (object.colorStack) { - if (!Array.isArray(object.colorStack)) - throw TypeError(".ProtoGraphicState.colorStack: array expected"); - 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]); - } - } - if (object.subscript != null) { - if (typeof object.subscript !== "object") - throw TypeError(".ProtoGraphicState.subscript: object expected"); - 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); - } - if (object.underline != null) { - if (typeof object.underline !== "object") - throw TypeError(".ProtoGraphicState.underline: object expected"); - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoGraphicState message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoGraphicState - * @static - * @param {ProtoGraphicState} message ProtoGraphicState - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoGraphicState.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.colorStack = []; - if (options.defaults) { - object.bold = null; - object.italic = null; - object.subscript = null; - object.superscript = null; - object.underline = null; - object.strikethrough = null; - } - if (message.bold != null && message.hasOwnProperty("bold")) - object.bold = $root.ProtoBoxedBool.toObject(message.bold, options); - if (message.italic != null && message.hasOwnProperty("italic")) - object.italic = $root.ProtoBoxedBool.toObject(message.italic, options); - if (message.colorStack && message.colorStack.length) { - object.colorStack = []; - for (var j = 0; j < message.colorStack.length; ++j) - object.colorStack[j] = $root.ProtoColor.toObject(message.colorStack[j], options); - } - if (message.subscript != null && message.hasOwnProperty("subscript")) - object.subscript = $root.ProtoBoxedBool.toObject(message.subscript, options); - if (message.superscript != null && message.hasOwnProperty("superscript")) - object.superscript = $root.ProtoBoxedBool.toObject(message.superscript, options); - if (message.underline != null && message.hasOwnProperty("underline")) - object.underline = $root.ProtoBoxedBool.toObject(message.underline, options); - if (message.strikethrough != null && message.hasOwnProperty("strikethrough")) - object.strikethrough = $root.ProtoBoxedBool.toObject(message.strikethrough, options); - return object; - }; - - /** - * Converts this ProtoGraphicState to JSON. - * @function toJSON - * @memberof ProtoGraphicState - * @instance - * @returns {Object.} JSON object - */ - ProtoGraphicState.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoGraphicState - * @function getTypeUrl - * @memberof ProtoGraphicState - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoGraphicState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoGraphicState"; - }; - - return ProtoGraphicState; -})(); - -$root.ProtoHtmlParser = (function() { - - /** - * Properties of a ProtoHtmlParser. - * @name IProtoHtmlParser - * @interface IProtoHtmlParser - */ - - /** - * Constructs a new ProtoHtmlParser. - * @name ProtoHtmlParser - * @classdesc Represents a ProtoHtmlParser. - * @implements IProtoHtmlParser - * @constructor - * @param {IProtoHtmlParser=} [properties] Properties to set - */ - function ProtoHtmlParser(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new ProtoHtmlParser instance using the specified properties. - * @function create - * @memberof ProtoHtmlParser - * @static - * @param {IProtoHtmlParser=} [properties] Properties to set - * @returns {ProtoHtmlParser} ProtoHtmlParser instance - */ - ProtoHtmlParser.create = function create(properties) { - return new ProtoHtmlParser(properties); - }; - - /** - * Encodes the specified ProtoHtmlParser message. Does not implicitly {@link ProtoHtmlParser.verify|verify} messages. - * @function encode - * @memberof ProtoHtmlParser - * @static - * @param {IProtoHtmlParser} message ProtoHtmlParser message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoHtmlParser.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified ProtoHtmlParser message, length delimited. Does not implicitly {@link ProtoHtmlParser.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoHtmlParser - * @static - * @param {IProtoHtmlParser} message ProtoHtmlParser message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoHtmlParser.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoHtmlParser message from the specified reader or buffer. - * @function decode - * @memberof ProtoHtmlParser - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoHtmlParser} ProtoHtmlParser - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoHtmlParser(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoHtmlParser message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoHtmlParser - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoHtmlParser} ProtoHtmlParser - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoHtmlParser.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoHtmlParser message. - * @function verify - * @memberof ProtoHtmlParser - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a ProtoHtmlParser message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoHtmlParser - * @static - * @param {Object.} object Plain object - * @returns {ProtoHtmlParser} ProtoHtmlParser - */ - ProtoHtmlParser.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoHtmlParser) - return object; - return new $root.ProtoHtmlParser(); - }; - - /** - * Creates a plain object from a ProtoHtmlParser message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoHtmlParser - * @static - * @param {ProtoHtmlParser} message ProtoHtmlParser - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoHtmlParser.toObject = function toObject() { - return {}; - }; - - /** - * Converts this ProtoHtmlParser to JSON. - * @function toJSON - * @memberof ProtoHtmlParser - * @instance - * @returns {Object.} JSON object - */ - ProtoHtmlParser.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoHtmlParser - * @function getTypeUrl - * @memberof ProtoHtmlParser - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoHtmlParser.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoHtmlParser"; - }; - - return ProtoHtmlParser; -})(); - -/** - * ProtoUnderlineMode enum. - * @name ProtoUnderlineMode - * @enum {number} - * @property {number} DUMMY_UNDERLINE_MODE=0 DUMMY_UNDERLINE_MODE value - * @property {number} WORDS_NO_BLANKS=1 WORDS_NO_BLANKS value - * @property {number} WORDS_AND_BLANKS=2 WORDS_AND_BLANKS value - * @property {number} CHARACTERS_NO_BLANKS=3 CHARACTERS_NO_BLANKS value - * @property {number} CHARACTERS_AND_BLANKS=4 CHARACTERS_AND_BLANKS value - */ -$root.ProtoUnderlineMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DUMMY_UNDERLINE_MODE"] = 0; - values[valuesById[1] = "WORDS_NO_BLANKS"] = 1; - values[valuesById[2] = "WORDS_AND_BLANKS"] = 2; - values[valuesById[3] = "CHARACTERS_NO_BLANKS"] = 3; - values[valuesById[4] = "CHARACTERS_AND_BLANKS"] = 4; - return values; -})(); - -$root.ProtoUnderlineSpec = (function() { - - /** - * Properties of a ProtoUnderlineSpec. - * @name IProtoUnderlineSpec - * @interface IProtoUnderlineSpec - * @property {IProtoMeasure|null} [weight] ProtoUnderlineSpec weight - * @property {ProtoUnderlineMode|null} [mode] ProtoUnderlineSpec mode - * @property {IProtoColor|null} [color] ProtoUnderlineSpec color - * @property {number|null} [offsetEm] ProtoUnderlineSpec offsetEm - * @property {ProtoRuleStyle|null} [style] ProtoUnderlineSpec style - */ - - /** - * Constructs a new ProtoUnderlineSpec. - * @name ProtoUnderlineSpec - * @classdesc Represents a ProtoUnderlineSpec. - * @implements IProtoUnderlineSpec - * @constructor - * @param {IProtoUnderlineSpec=} [properties] Properties to set - */ - function ProtoUnderlineSpec(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoUnderlineSpec weight. - * @member {IProtoMeasure|null|undefined} weight - * @memberof ProtoUnderlineSpec - * @instance - */ - ProtoUnderlineSpec.prototype.weight = null; - - /** - * ProtoUnderlineSpec mode. - * @member {ProtoUnderlineMode} mode - * @memberof ProtoUnderlineSpec - * @instance - */ - ProtoUnderlineSpec.prototype.mode = 0; - - /** - * ProtoUnderlineSpec color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoUnderlineSpec - * @instance - */ - ProtoUnderlineSpec.prototype.color = null; - - /** - * ProtoUnderlineSpec offsetEm. - * @member {number} offsetEm - * @memberof ProtoUnderlineSpec - * @instance - */ - ProtoUnderlineSpec.prototype.offsetEm = 0; - - /** - * ProtoUnderlineSpec style. - * @member {ProtoRuleStyle} style - * @memberof ProtoUnderlineSpec - * @instance - */ - ProtoUnderlineSpec.prototype.style = 0; - - /** - * Creates a new ProtoUnderlineSpec instance using the specified properties. - * @function create - * @memberof ProtoUnderlineSpec - * @static - * @param {IProtoUnderlineSpec=} [properties] Properties to set - * @returns {ProtoUnderlineSpec} ProtoUnderlineSpec instance - */ - ProtoUnderlineSpec.create = function create(properties) { - return new ProtoUnderlineSpec(properties); - }; - - /** - * Encodes the specified ProtoUnderlineSpec message. Does not implicitly {@link ProtoUnderlineSpec.verify|verify} messages. - * @function encode - * @memberof ProtoUnderlineSpec - * @static - * @param {IProtoUnderlineSpec} message ProtoUnderlineSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoUnderlineSpec.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.weight != null && Object.hasOwnProperty.call(message, "weight")) - $root.ProtoMeasure.encode(message.weight, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.mode); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $root.ProtoColor.encode(message.color, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.offsetEm != null && Object.hasOwnProperty.call(message, "offsetEm")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoUnderlineSpec message, length delimited. Does not implicitly {@link ProtoUnderlineSpec.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoUnderlineSpec - * @static - * @param {IProtoUnderlineSpec} message ProtoUnderlineSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoUnderlineSpec.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoUnderlineSpec message from the specified reader or buffer. - * @function decode - * @memberof ProtoUnderlineSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoUnderlineSpec} ProtoUnderlineSpec - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoUnderlineSpec(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.weight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.mode = reader.int32(); - break; - } - case 3: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 4: { - message.offsetEm = reader.int32(); - break; - } - case 5: { - message.style = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoUnderlineSpec message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoUnderlineSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoUnderlineSpec} ProtoUnderlineSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoUnderlineSpec.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoUnderlineSpec message. - * @function verify - * @memberof ProtoUnderlineSpec - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.weight != null && message.hasOwnProperty("weight")) { - var error = $root.ProtoMeasure.verify(message.weight); - if (error) - return "weight." + error; - } - if (message.mode != null && message.hasOwnProperty("mode")) - switch (message.mode) { - default: - return "mode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color); - if (error) - return "color." + error; - } - if (message.offsetEm != null && message.hasOwnProperty("offsetEm")) - if (!$util.isInteger(message.offsetEm)) - return "offsetEm: integer expected"; - if (message.style != null && message.hasOwnProperty("style")) - switch (message.style) { - default: - return "style: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 254: - break; - } - return null; - }; - - /** - * Creates a ProtoUnderlineSpec message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoUnderlineSpec - * @static - * @param {Object.} object Plain object - * @returns {ProtoUnderlineSpec} ProtoUnderlineSpec - */ - ProtoUnderlineSpec.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoUnderlineSpec) - return object; - 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); - } - 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); - } - if (object.offsetEm != null) - 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; - }; - - /** - * Creates a plain object from a ProtoUnderlineSpec message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoUnderlineSpec - * @static - * @param {ProtoUnderlineSpec} message ProtoUnderlineSpec - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoUnderlineSpec.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.weight = null; - object.mode = options.enums === String ? "DUMMY_UNDERLINE_MODE" : 0; - object.color = null; - object.offsetEm = 0; - object.style = options.enums === String ? "DUMMY_RULE_STYLE" : 0; - } - if (message.weight != null && message.hasOwnProperty("weight")) - object.weight = $root.ProtoMeasure.toObject(message.weight, options); - if (message.mode != null && message.hasOwnProperty("mode")) - object.mode = options.enums === String ? $root.ProtoUnderlineMode[message.mode] === undefined ? message.mode : $root.ProtoUnderlineMode[message.mode] : message.mode; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.offsetEm != null && message.hasOwnProperty("offsetEm")) - object.offsetEm = message.offsetEm; - if (message.style != null && message.hasOwnProperty("style")) - object.style = options.enums === String ? $root.ProtoRuleStyle[message.style] === undefined ? message.style : $root.ProtoRuleStyle[message.style] : message.style; - return object; - }; - - /** - * Converts this ProtoUnderlineSpec to JSON. - * @function toJSON - * @memberof ProtoUnderlineSpec - * @instance - * @returns {Object.} JSON object - */ - ProtoUnderlineSpec.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoUnderlineSpec - * @function getTypeUrl - * @memberof ProtoUnderlineSpec - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoUnderlineSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoUnderlineSpec"; - }; - - return ProtoUnderlineSpec; -})(); - -$root.ProtoBoxedUnderlineSpec = (function() { - - /** - * Properties of a ProtoBoxedUnderlineSpec. - * @name IProtoBoxedUnderlineSpec - * @interface IProtoBoxedUnderlineSpec - * @property {IProtoUnderlineSpec|null} [value] ProtoBoxedUnderlineSpec value - * @property {boolean|null} [isNull] ProtoBoxedUnderlineSpec isNull - */ - - /** - * Constructs a new ProtoBoxedUnderlineSpec. - * @name ProtoBoxedUnderlineSpec - * @classdesc Represents a ProtoBoxedUnderlineSpec. - * @implements IProtoBoxedUnderlineSpec - * @constructor - * @param {IProtoBoxedUnderlineSpec=} [properties] Properties to set - */ - function ProtoBoxedUnderlineSpec(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedUnderlineSpec value. - * @member {IProtoUnderlineSpec|null|undefined} value - * @memberof ProtoBoxedUnderlineSpec - * @instance - */ - ProtoBoxedUnderlineSpec.prototype.value = null; - - /** - * ProtoBoxedUnderlineSpec isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedUnderlineSpec - * @instance - */ - ProtoBoxedUnderlineSpec.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedUnderlineSpec instance using the specified properties. - * @function create - * @memberof ProtoBoxedUnderlineSpec - * @static - * @param {IProtoBoxedUnderlineSpec=} [properties] Properties to set - * @returns {ProtoBoxedUnderlineSpec} ProtoBoxedUnderlineSpec instance - */ - ProtoBoxedUnderlineSpec.create = function create(properties) { - return new ProtoBoxedUnderlineSpec(properties); - }; - - /** - * Encodes the specified ProtoBoxedUnderlineSpec message. Does not implicitly {@link ProtoBoxedUnderlineSpec.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedUnderlineSpec - * @static - * @param {IProtoBoxedUnderlineSpec} message ProtoBoxedUnderlineSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedUnderlineSpec.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedUnderlineSpec message, length delimited. Does not implicitly {@link ProtoBoxedUnderlineSpec.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedUnderlineSpec - * @static - * @param {IProtoBoxedUnderlineSpec} message ProtoBoxedUnderlineSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedUnderlineSpec.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedUnderlineSpec message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedUnderlineSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedUnderlineSpec} ProtoBoxedUnderlineSpec - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedUnderlineSpec(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = $root.ProtoUnderlineSpec.decode(reader, reader.uint32()); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedUnderlineSpec message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedUnderlineSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedUnderlineSpec} ProtoBoxedUnderlineSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedUnderlineSpec.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedUnderlineSpec message. - * @function verify - * @memberof ProtoBoxedUnderlineSpec - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoUnderlineSpec.verify(message.value); - if (error) - return "value." + error; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedUnderlineSpec message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedUnderlineSpec - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedUnderlineSpec} ProtoBoxedUnderlineSpec - */ - ProtoBoxedUnderlineSpec.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedUnderlineSpec) - return object; - 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); - } - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedUnderlineSpec message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedUnderlineSpec - * @static - * @param {ProtoBoxedUnderlineSpec} message ProtoBoxedUnderlineSpec - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedUnderlineSpec.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = null; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.ProtoUnderlineSpec.toObject(message.value, options); - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedUnderlineSpec to JSON. - * @function toJSON - * @memberof ProtoBoxedUnderlineSpec - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedUnderlineSpec.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedUnderlineSpec - * @function getTypeUrl - * @memberof ProtoBoxedUnderlineSpec - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedUnderlineSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedUnderlineSpec"; - }; - - return ProtoBoxedUnderlineSpec; -})(); - -$root.ProtoCropSettings = (function() { - - /** - * Properties of a ProtoCropSettings. - * @name IProtoCropSettings - * @interface IProtoCropSettings - * @property {IProtoBoxedMeasure|null} [x] ProtoCropSettings x - * @property {IProtoBoxedMeasure|null} [y] ProtoCropSettings y - * @property {IProtoBoxedMeasure|null} [width] ProtoCropSettings width - * @property {IProtoBoxedMeasure|null} [height] ProtoCropSettings height - */ - - /** - * Constructs a new ProtoCropSettings. - * @name ProtoCropSettings - * @classdesc Represents a ProtoCropSettings. - * @implements IProtoCropSettings - * @constructor - * @param {IProtoCropSettings=} [properties] Properties to set - */ - function ProtoCropSettings(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoCropSettings x. - * @member {IProtoBoxedMeasure|null|undefined} x - * @memberof ProtoCropSettings - * @instance - */ - ProtoCropSettings.prototype.x = null; - - /** - * ProtoCropSettings y. - * @member {IProtoBoxedMeasure|null|undefined} y - * @memberof ProtoCropSettings - * @instance - */ - ProtoCropSettings.prototype.y = null; - - /** - * ProtoCropSettings width. - * @member {IProtoBoxedMeasure|null|undefined} width - * @memberof ProtoCropSettings - * @instance - */ - ProtoCropSettings.prototype.width = null; - - /** - * ProtoCropSettings height. - * @member {IProtoBoxedMeasure|null|undefined} height - * @memberof ProtoCropSettings - * @instance - */ - ProtoCropSettings.prototype.height = null; - - /** - * Creates a new ProtoCropSettings instance using the specified properties. - * @function create - * @memberof ProtoCropSettings - * @static - * @param {IProtoCropSettings=} [properties] Properties to set - * @returns {ProtoCropSettings} ProtoCropSettings instance - */ - ProtoCropSettings.create = function create(properties) { - return new ProtoCropSettings(properties); - }; - - /** - * Encodes the specified ProtoCropSettings message. Does not implicitly {@link ProtoCropSettings.verify|verify} messages. - * @function encode - * @memberof ProtoCropSettings - * @static - * @param {IProtoCropSettings} message ProtoCropSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCropSettings.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.x != null && Object.hasOwnProperty.call(message, "x")) - $root.ProtoBoxedMeasure.encode(message.x, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.y != null && Object.hasOwnProperty.call(message, "y")) - $root.ProtoBoxedMeasure.encode(message.y, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoCropSettings message, length delimited. Does not implicitly {@link ProtoCropSettings.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoCropSettings - * @static - * @param {IProtoCropSettings} message ProtoCropSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCropSettings.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoCropSettings message from the specified reader or buffer. - * @function decode - * @memberof ProtoCropSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoCropSettings} ProtoCropSettings - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCropSettings(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.x = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.y = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoCropSettings message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoCropSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoCropSettings} ProtoCropSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoCropSettings.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoCropSettings message. - * @function verify - * @memberof ProtoCropSettings - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.x != null && message.hasOwnProperty("x")) { - 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); - if (error) - return "y." + error; - } - if (message.width != null && message.hasOwnProperty("width")) { - 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); - if (error) - return "height." + error; - } - return null; - }; - - /** - * Creates a ProtoCropSettings message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoCropSettings - * @static - * @param {Object.} object Plain object - * @returns {ProtoCropSettings} ProtoCropSettings - */ - ProtoCropSettings.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoCropSettings) - return object; - 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); - } - if (object.y != null) { - if (typeof object.y !== "object") - throw TypeError(".ProtoCropSettings.y: object expected"); - 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); - } - if (object.height != null) { - if (typeof object.height !== "object") - throw TypeError(".ProtoCropSettings.height: object expected"); - message.height = $root.ProtoBoxedMeasure.fromObject(object.height); - } - return message; - }; - - /** - * Creates a plain object from a ProtoCropSettings message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoCropSettings - * @static - * @param {ProtoCropSettings} message ProtoCropSettings - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoCropSettings.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.x = null; - object.y = null; - object.width = null; - object.height = null; - } - if (message.x != null && message.hasOwnProperty("x")) - object.x = $root.ProtoBoxedMeasure.toObject(message.x, options); - if (message.y != null && message.hasOwnProperty("y")) - object.y = $root.ProtoBoxedMeasure.toObject(message.y, options); - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoBoxedMeasure.toObject(message.width, options); - if (message.height != null && message.hasOwnProperty("height")) - object.height = $root.ProtoBoxedMeasure.toObject(message.height, options); - return object; - }; - - /** - * Converts this ProtoCropSettings to JSON. - * @function toJSON - * @memberof ProtoCropSettings - * @instance - * @returns {Object.} JSON object - */ - ProtoCropSettings.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoCropSettings - * @function getTypeUrl - * @memberof ProtoCropSettings - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoCropSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoCropSettings"; - }; - - return ProtoCropSettings; -})(); - -$root.ProtoFlipSettings = (function() { - - /** - * Properties of a ProtoFlipSettings. - * @name IProtoFlipSettings - * @interface IProtoFlipSettings - * @property {boolean|null} [x] ProtoFlipSettings x - * @property {boolean|null} [y] ProtoFlipSettings y - */ - - /** - * Constructs a new ProtoFlipSettings. - * @name ProtoFlipSettings - * @classdesc Represents a ProtoFlipSettings. - * @implements IProtoFlipSettings - * @constructor - * @param {IProtoFlipSettings=} [properties] Properties to set - */ - function ProtoFlipSettings(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoFlipSettings x. - * @member {boolean} x - * @memberof ProtoFlipSettings - * @instance - */ - ProtoFlipSettings.prototype.x = false; - - /** - * ProtoFlipSettings y. - * @member {boolean} y - * @memberof ProtoFlipSettings - * @instance - */ - ProtoFlipSettings.prototype.y = false; - - /** - * Creates a new ProtoFlipSettings instance using the specified properties. - * @function create - * @memberof ProtoFlipSettings - * @static - * @param {IProtoFlipSettings=} [properties] Properties to set - * @returns {ProtoFlipSettings} ProtoFlipSettings instance - */ - ProtoFlipSettings.create = function create(properties) { - return new ProtoFlipSettings(properties); - }; - - /** - * Encodes the specified ProtoFlipSettings message. Does not implicitly {@link ProtoFlipSettings.verify|verify} messages. - * @function encode - * @memberof ProtoFlipSettings - * @static - * @param {IProtoFlipSettings} message ProtoFlipSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoFlipSettings.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.x != null && Object.hasOwnProperty.call(message, "x")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoFlipSettings message, length delimited. Does not implicitly {@link ProtoFlipSettings.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoFlipSettings - * @static - * @param {IProtoFlipSettings} message ProtoFlipSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoFlipSettings.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoFlipSettings message from the specified reader or buffer. - * @function decode - * @memberof ProtoFlipSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoFlipSettings} ProtoFlipSettings - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoFlipSettings(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.x = reader.bool(); - break; - } - case 2: { - message.y = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoFlipSettings message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoFlipSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoFlipSettings} ProtoFlipSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoFlipSettings.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoFlipSettings message. - * @function verify - * @memberof ProtoFlipSettings - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.x != null && message.hasOwnProperty("x")) - if (typeof message.x !== "boolean") - return "x: boolean expected"; - if (message.y != null && message.hasOwnProperty("y")) - if (typeof message.y !== "boolean") - return "y: boolean expected"; - return null; - }; - - /** - * Creates a ProtoFlipSettings message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoFlipSettings - * @static - * @param {Object.} object Plain object - * @returns {ProtoFlipSettings} ProtoFlipSettings - */ - ProtoFlipSettings.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoFlipSettings) - return object; - var message = new $root.ProtoFlipSettings(); - if (object.x != null) - message.x = Boolean(object.x); - if (object.y != null) - message.y = Boolean(object.y); - return message; - }; - - /** - * Creates a plain object from a ProtoFlipSettings message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoFlipSettings - * @static - * @param {ProtoFlipSettings} message ProtoFlipSettings - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoFlipSettings.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.x = false; - object.y = false; - } - if (message.x != null && message.hasOwnProperty("x")) - object.x = message.x; - if (message.y != null && message.hasOwnProperty("y")) - object.y = message.y; - return object; - }; - - /** - * Converts this ProtoFlipSettings to JSON. - * @function toJSON - * @memberof ProtoFlipSettings - * @instance - * @returns {Object.} JSON object - */ - ProtoFlipSettings.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoFlipSettings - * @function getTypeUrl - * @memberof ProtoFlipSettings - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoFlipSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoFlipSettings"; - }; - - return ProtoFlipSettings; -})(); - -/** - * ProtoImageReferencePoint enum. - * @name ProtoImageReferencePoint - * @enum {number} - * @property {number} REF_POINT_DO_NOT_USE_AT_ALL=0 REF_POINT_DO_NOT_USE_AT_ALL value - * @property {number} REF_POINT_BOTTOM_LEFT=1 REF_POINT_BOTTOM_LEFT value - * @property {number} REF_POINT_TOP_LEFT=2 REF_POINT_TOP_LEFT value - * @property {number} REF_POINT_CENTER=3 REF_POINT_CENTER value - * @property {number} REF_POINT_BOTTOM_RIGHT=4 REF_POINT_BOTTOM_RIGHT value - * @property {number} REF_POINT_TOP_RIGHT=5 REF_POINT_TOP_RIGHT value - */ -$root.ProtoImageReferencePoint = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "REF_POINT_DO_NOT_USE_AT_ALL"] = 0; - values[valuesById[1] = "REF_POINT_BOTTOM_LEFT"] = 1; - values[valuesById[2] = "REF_POINT_TOP_LEFT"] = 2; - values[valuesById[3] = "REF_POINT_CENTER"] = 3; - values[valuesById[4] = "REF_POINT_BOTTOM_RIGHT"] = 4; - values[valuesById[5] = "REF_POINT_TOP_RIGHT"] = 5; - return values; -})(); - -/** - * ProtoSemanticType enum. - * @name ProtoSemanticType - * @enum {number} - * @property {number} SEMANTIC_TYPE_NONE=0 SEMANTIC_TYPE_NONE value - * @property {number} SEMANTIC_TYPE_PART=1 SEMANTIC_TYPE_PART value - * @property {number} SEMANTIC_TYPE_ART=2 SEMANTIC_TYPE_ART value - * @property {number} SEMANTIC_TYPE_SECT=3 SEMANTIC_TYPE_SECT value - * @property {number} SEMANTIC_TYPE_DIV=4 SEMANTIC_TYPE_DIV value - */ -$root.ProtoSemanticType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "SEMANTIC_TYPE_NONE"] = 0; - values[valuesById[1] = "SEMANTIC_TYPE_PART"] = 1; - values[valuesById[2] = "SEMANTIC_TYPE_ART"] = 2; - values[valuesById[3] = "SEMANTIC_TYPE_SECT"] = 3; - values[valuesById[4] = "SEMANTIC_TYPE_DIV"] = 4; - return values; -})(); - -$root.ProtoOption = (function() { - - /** - * Properties of a ProtoOption. - * @name IProtoOption - * @interface IProtoOption - * @property {string|null} [key] ProtoOption key - * @property {string|null} [value] ProtoOption value - */ - - /** - * Constructs a new ProtoOption. - * @name ProtoOption - * @classdesc Represents a ProtoOption. - * @implements IProtoOption - * @constructor - * @param {IProtoOption=} [properties] Properties to set - */ - function ProtoOption(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoOption key. - * @member {string} key - * @memberof ProtoOption - * @instance - */ - ProtoOption.prototype.key = ""; - - /** - * ProtoOption value. - * @member {string} value - * @memberof ProtoOption - * @instance - */ - ProtoOption.prototype.value = ""; - - /** - * Creates a new ProtoOption instance using the specified properties. - * @function create - * @memberof ProtoOption - * @static - * @param {IProtoOption=} [properties] Properties to set - * @returns {ProtoOption} ProtoOption instance - */ - ProtoOption.create = function create(properties) { - return new ProtoOption(properties); - }; - - /** - * Encodes the specified ProtoOption message. Does not implicitly {@link ProtoOption.verify|verify} messages. - * @function encode - * @memberof ProtoOption - * @static - * @param {IProtoOption} message ProtoOption message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoOption.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.key != null && Object.hasOwnProperty.call(message, "key")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoOption message, length delimited. Does not implicitly {@link ProtoOption.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoOption - * @static - * @param {IProtoOption} message ProtoOption message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoOption.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoOption message from the specified reader or buffer. - * @function decode - * @memberof ProtoOption - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoOption} ProtoOption - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoOption(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.key = reader.string(); - break; - } - case 2: { - message.value = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoOption message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoOption - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoOption} ProtoOption - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoOption.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoOption message. - * @function verify - * @memberof ProtoOption - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.key != null && message.hasOwnProperty("key")) - if (!$util.isString(message.key)) - return "key: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - return null; - }; - - /** - * Creates a ProtoOption message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoOption - * @static - * @param {Object.} object Plain object - * @returns {ProtoOption} ProtoOption - */ - ProtoOption.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoOption) - return object; - var message = new $root.ProtoOption(); - if (object.key != null) - message.key = String(object.key); - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from a ProtoOption message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoOption - * @static - * @param {ProtoOption} message ProtoOption - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoOption.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.key = ""; - object.value = ""; - } - if (message.key != null && message.hasOwnProperty("key")) - object.key = message.key; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - return object; - }; - - /** - * Converts this ProtoOption to JSON. - * @function toJSON - * @memberof ProtoOption - * @instance - * @returns {Object.} JSON object - */ - ProtoOption.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoOption - * @function getTypeUrl - * @memberof ProtoOption - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoOption.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoOption"; - }; - - return ProtoOption; -})(); - -/** - * PDFPrintingBehavior enum. - * @name PDFPrintingBehavior - * @enum {number} - * @property {number} PDF_PRINTING_BEHAVIOR_INPUT=0 PDF_PRINTING_BEHAVIOR_INPUT value - * @property {number} PDF_PRINTING_BEHAVIOR_TEXT=1 PDF_PRINTING_BEHAVIOR_TEXT value - * @property {number} PDF_PRINTING_BEHAVIOR_INHERIT=2 PDF_PRINTING_BEHAVIOR_INHERIT value - */ -$root.PDFPrintingBehavior = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "PDF_PRINTING_BEHAVIOR_INPUT"] = 0; - values[valuesById[1] = "PDF_PRINTING_BEHAVIOR_TEXT"] = 1; - values[valuesById[2] = "PDF_PRINTING_BEHAVIOR_INHERIT"] = 2; - return values; -})(); - -$root.ProtoBaseInputField = (function() { - - /** - * Properties of a ProtoBaseInputField. - * @name IProtoBaseInputField - * @interface IProtoBaseInputField - * @property {string|null} [name] ProtoBaseInputField name - * @property {boolean|null} [meta] ProtoBaseInputField meta - * @property {IProtoBoxedString|null} [value] ProtoBaseInputField value - * @property {string|null} [formatUUID] ProtoBaseInputField formatUUID - * @property {string|null} [dataTypeUUID] ProtoBaseInputField dataTypeUUID - * @property {string|null} [onChangeCode] ProtoBaseInputField onChangeCode - * @property {string|null} [placeholder] ProtoBaseInputField placeholder - * @property {boolean|null} [bindDefaultValue] ProtoBaseInputField bindDefaultValue - * @property {string|null} [defaultValueCode] ProtoBaseInputField defaultValueCode - * @property {boolean|null} [readonly] ProtoBaseInputField readonly - */ - - /** - * Constructs a new ProtoBaseInputField. - * @name ProtoBaseInputField - * @classdesc Represents a ProtoBaseInputField. - * @implements IProtoBaseInputField - * @constructor - * @param {IProtoBaseInputField=} [properties] Properties to set - */ - function ProtoBaseInputField(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBaseInputField name. - * @member {string} name - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.name = ""; - - /** - * ProtoBaseInputField meta. - * @member {boolean} meta - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.meta = false; - - /** - * ProtoBaseInputField value. - * @member {IProtoBoxedString|null|undefined} value - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.value = null; - - /** - * ProtoBaseInputField formatUUID. - * @member {string} formatUUID - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.formatUUID = ""; - - /** - * ProtoBaseInputField dataTypeUUID. - * @member {string} dataTypeUUID - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.dataTypeUUID = ""; - - /** - * ProtoBaseInputField onChangeCode. - * @member {string} onChangeCode - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.onChangeCode = ""; - - /** - * ProtoBaseInputField placeholder. - * @member {string} placeholder - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.placeholder = ""; - - /** - * ProtoBaseInputField bindDefaultValue. - * @member {boolean} bindDefaultValue - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.bindDefaultValue = false; - - /** - * ProtoBaseInputField defaultValueCode. - * @member {string} defaultValueCode - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.defaultValueCode = ""; - - /** - * ProtoBaseInputField readonly. - * @member {boolean} readonly - * @memberof ProtoBaseInputField - * @instance - */ - ProtoBaseInputField.prototype.readonly = false; - - /** - * Creates a new ProtoBaseInputField instance using the specified properties. - * @function create - * @memberof ProtoBaseInputField - * @static - * @param {IProtoBaseInputField=} [properties] Properties to set - * @returns {ProtoBaseInputField} ProtoBaseInputField instance - */ - ProtoBaseInputField.create = function create(properties) { - return new ProtoBaseInputField(properties); - }; - - /** - * Encodes the specified ProtoBaseInputField message. Does not implicitly {@link ProtoBaseInputField.verify|verify} messages. - * @function encode - * @memberof ProtoBaseInputField - * @static - * @param {IProtoBaseInputField} message ProtoBaseInputField message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBaseInputField.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.meta != null && Object.hasOwnProperty.call(message, "meta")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.meta); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.ProtoBoxedString.encode(message.value, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.formatUUID != null && Object.hasOwnProperty.call(message, "formatUUID")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.formatUUID); - if (message.dataTypeUUID != null && Object.hasOwnProperty.call(message, "dataTypeUUID")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.dataTypeUUID); - if (message.onChangeCode != null && Object.hasOwnProperty.call(message, "onChangeCode")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.onChangeCode); - if (message.placeholder != null && Object.hasOwnProperty.call(message, "placeholder")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.placeholder); - if (message.bindDefaultValue != null && Object.hasOwnProperty.call(message, "bindDefaultValue")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.bindDefaultValue); - if (message.defaultValueCode != null && Object.hasOwnProperty.call(message, "defaultValueCode")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.defaultValueCode); - if (message.readonly != null && Object.hasOwnProperty.call(message, "readonly")) - writer.uint32(/* id 10, wireType 0 =*/80).bool(message.readonly); - return writer; - }; - - /** - * Encodes the specified ProtoBaseInputField message, length delimited. Does not implicitly {@link ProtoBaseInputField.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBaseInputField - * @static - * @param {IProtoBaseInputField} message ProtoBaseInputField message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBaseInputField.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBaseInputField message from the specified reader or buffer. - * @function decode - * @memberof ProtoBaseInputField - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBaseInputField} ProtoBaseInputField - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBaseInputField(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 2: { - message.meta = reader.bool(); - break; - } - case 3: { - message.value = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 4: { - message.formatUUID = reader.string(); - break; - } - case 5: { - message.dataTypeUUID = reader.string(); - break; - } - case 6: { - message.onChangeCode = reader.string(); - break; - } - case 7: { - message.placeholder = reader.string(); - break; - } - case 8: { - message.bindDefaultValue = reader.bool(); - break; - } - case 9: { - message.defaultValueCode = reader.string(); - break; - } - case 10: { - message.readonly = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBaseInputField message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBaseInputField - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBaseInputField} ProtoBaseInputField - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBaseInputField.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBaseInputField message. - * @function verify - * @memberof ProtoBaseInputField - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.meta != null && message.hasOwnProperty("meta")) - if (typeof message.meta !== "boolean") - return "meta: boolean expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoBoxedString.verify(message.value); - if (error) - return "value." + error; - } - if (message.formatUUID != null && message.hasOwnProperty("formatUUID")) - if (!$util.isString(message.formatUUID)) - return "formatUUID: string expected"; - if (message.dataTypeUUID != null && message.hasOwnProperty("dataTypeUUID")) - if (!$util.isString(message.dataTypeUUID)) - return "dataTypeUUID: string expected"; - if (message.onChangeCode != null && message.hasOwnProperty("onChangeCode")) - if (!$util.isString(message.onChangeCode)) - return "onChangeCode: string expected"; - if (message.placeholder != null && message.hasOwnProperty("placeholder")) - if (!$util.isString(message.placeholder)) - return "placeholder: string expected"; - if (message.bindDefaultValue != null && message.hasOwnProperty("bindDefaultValue")) - if (typeof message.bindDefaultValue !== "boolean") - return "bindDefaultValue: boolean expected"; - if (message.defaultValueCode != null && message.hasOwnProperty("defaultValueCode")) - if (!$util.isString(message.defaultValueCode)) - return "defaultValueCode: string expected"; - if (message.readonly != null && message.hasOwnProperty("readonly")) - if (typeof message.readonly !== "boolean") - return "readonly: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBaseInputField message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBaseInputField - * @static - * @param {Object.} object Plain object - * @returns {ProtoBaseInputField} ProtoBaseInputField - */ - ProtoBaseInputField.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBaseInputField) - return object; - var message = new $root.ProtoBaseInputField(); - if (object.name != null) - message.name = String(object.name); - if (object.meta != null) - 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); - } - if (object.formatUUID != null) - message.formatUUID = String(object.formatUUID); - if (object.dataTypeUUID != null) - message.dataTypeUUID = String(object.dataTypeUUID); - if (object.onChangeCode != null) - message.onChangeCode = String(object.onChangeCode); - if (object.placeholder != null) - message.placeholder = String(object.placeholder); - if (object.bindDefaultValue != null) - message.bindDefaultValue = Boolean(object.bindDefaultValue); - if (object.defaultValueCode != null) - message.defaultValueCode = String(object.defaultValueCode); - if (object.readonly != null) - message.readonly = Boolean(object.readonly); - return message; - }; - - /** - * Creates a plain object from a ProtoBaseInputField message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBaseInputField - * @static - * @param {ProtoBaseInputField} message ProtoBaseInputField - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBaseInputField.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.name = ""; - object.meta = false; - object.value = null; - object.formatUUID = ""; - object.dataTypeUUID = ""; - object.onChangeCode = ""; - object.placeholder = ""; - object.bindDefaultValue = false; - object.defaultValueCode = ""; - object.readonly = false; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.meta != null && message.hasOwnProperty("meta")) - object.meta = message.meta; - if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.ProtoBoxedString.toObject(message.value, options); - if (message.formatUUID != null && message.hasOwnProperty("formatUUID")) - object.formatUUID = message.formatUUID; - if (message.dataTypeUUID != null && message.hasOwnProperty("dataTypeUUID")) - object.dataTypeUUID = message.dataTypeUUID; - if (message.onChangeCode != null && message.hasOwnProperty("onChangeCode")) - object.onChangeCode = message.onChangeCode; - if (message.placeholder != null && message.hasOwnProperty("placeholder")) - object.placeholder = message.placeholder; - if (message.bindDefaultValue != null && message.hasOwnProperty("bindDefaultValue")) - object.bindDefaultValue = message.bindDefaultValue; - if (message.defaultValueCode != null && message.hasOwnProperty("defaultValueCode")) - object.defaultValueCode = message.defaultValueCode; - if (message.readonly != null && message.hasOwnProperty("readonly")) - object.readonly = message.readonly; - return object; - }; - - /** - * Converts this ProtoBaseInputField to JSON. - * @function toJSON - * @memberof ProtoBaseInputField - * @instance - * @returns {Object.} JSON object - */ - ProtoBaseInputField.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBaseInputField - * @function getTypeUrl - * @memberof ProtoBaseInputField - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBaseInputField.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBaseInputField"; - }; - - return ProtoBaseInputField; -})(); - -/** - * Inheritance enum. - * @name Inheritance - * @enum {number} - * @property {number} INHERITANCE_INHERIT=0 INHERITANCE_INHERIT value - * @property {number} INHERITANCE_CODE=1 INHERITANCE_CODE value - * @property {number} INHERITANCE_BIND_CODE=2 INHERITANCE_BIND_CODE value - * @property {number} INHERITANCE_STATIC=3 INHERITANCE_STATIC value - * @property {number} INHERITANCE_RESET=4 INHERITANCE_RESET value - */ -$root.Inheritance = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "INHERITANCE_INHERIT"] = 0; - values[valuesById[1] = "INHERITANCE_CODE"] = 1; - values[valuesById[2] = "INHERITANCE_BIND_CODE"] = 2; - values[valuesById[3] = "INHERITANCE_STATIC"] = 3; - values[valuesById[4] = "INHERITANCE_RESET"] = 4; - return values; -})(); - -$root.ProtoDocumentElement = (function() { - - /** - * Properties of a ProtoDocumentElement. - * @name IProtoDocumentElement - * @interface IProtoDocumentElement - * @property {IProtoDocumentElement|null} [parent] ProtoDocumentElement parent - * @property {Array.|null} [comChannelUUIDs] ProtoDocumentElement comChannelUUIDs - */ - - /** - * Constructs a new ProtoDocumentElement. - * @name ProtoDocumentElement - * @classdesc Represents a ProtoDocumentElement. - * @implements IProtoDocumentElement - * @constructor - * @param {IProtoDocumentElement=} [properties] Properties to set - */ - function ProtoDocumentElement(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoDocumentElement parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoDocumentElement - * @instance - */ - ProtoDocumentElement.prototype.parent = null; - - /** - * ProtoDocumentElement comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoDocumentElement - * @instance - */ - ProtoDocumentElement.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoDocumentElement instance using the specified properties. - * @function create - * @memberof ProtoDocumentElement - * @static - * @param {IProtoDocumentElement=} [properties] Properties to set - * @returns {ProtoDocumentElement} ProtoDocumentElement instance - */ - ProtoDocumentElement.create = function create(properties) { - return new ProtoDocumentElement(properties); - }; - - /** - * Encodes the specified ProtoDocumentElement message. Does not implicitly {@link ProtoDocumentElement.verify|verify} messages. - * @function encode - * @memberof ProtoDocumentElement - * @static - * @param {IProtoDocumentElement} message ProtoDocumentElement message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDocumentElement.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoDocumentElement message, length delimited. Does not implicitly {@link ProtoDocumentElement.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoDocumentElement - * @static - * @param {IProtoDocumentElement} message ProtoDocumentElement message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDocumentElement.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoDocumentElement message from the specified reader or buffer. - * @function decode - * @memberof ProtoDocumentElement - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoDocumentElement} ProtoDocumentElement - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDocumentElement(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoDocumentElement message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoDocumentElement - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoDocumentElement} ProtoDocumentElement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoDocumentElement.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoDocumentElement message. - * @function verify - * @memberof ProtoDocumentElement - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoDocumentElement message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoDocumentElement - * @static - * @param {Object.} object Plain object - * @returns {ProtoDocumentElement} ProtoDocumentElement - */ - ProtoDocumentElement.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoDocumentElement) - return object; - 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); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoDocumentElement.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoDocumentElement message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoDocumentElement - * @static - * @param {ProtoDocumentElement} message ProtoDocumentElement - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoDocumentElement.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) - object.parent = null; - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoDocumentElement to JSON. - * @function toJSON - * @memberof ProtoDocumentElement - * @instance - * @returns {Object.} JSON object - */ - ProtoDocumentElement.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoDocumentElement - * @function getTypeUrl - * @memberof ProtoDocumentElement - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoDocumentElement.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoDocumentElement"; - }; - - return ProtoDocumentElement; -})(); - -$root.ProtoBranchDocumentElement = (function() { - - /** - * Properties of a ProtoBranchDocumentElement. - * @name IProtoBranchDocumentElement - * @interface IProtoBranchDocumentElement - * @property {Array.|null} [_children] ProtoBranchDocumentElement _children - * @property {IProtoDocumentElement|null} [parent] ProtoBranchDocumentElement parent - * @property {Array.|null} [comChannelUUIDs] ProtoBranchDocumentElement comChannelUUIDs - */ - - /** - * Constructs a new ProtoBranchDocumentElement. - * @name ProtoBranchDocumentElement - * @classdesc Represents a ProtoBranchDocumentElement. - * @implements IProtoBranchDocumentElement - * @constructor - * @param {IProtoBranchDocumentElement=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBranchDocumentElement _children. - * @member {Array.} _children - * @memberof ProtoBranchDocumentElement - * @instance - */ - ProtoBranchDocumentElement.prototype._children = $util.emptyArray; - - /** - * ProtoBranchDocumentElement parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoBranchDocumentElement - * @instance - */ - ProtoBranchDocumentElement.prototype.parent = null; - - /** - * ProtoBranchDocumentElement comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoBranchDocumentElement - * @instance - */ - ProtoBranchDocumentElement.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoBranchDocumentElement instance using the specified properties. - * @function create - * @memberof ProtoBranchDocumentElement - * @static - * @param {IProtoBranchDocumentElement=} [properties] Properties to set - * @returns {ProtoBranchDocumentElement} ProtoBranchDocumentElement instance - */ - ProtoBranchDocumentElement.create = function create(properties) { - return new ProtoBranchDocumentElement(properties); - }; - - /** - * Encodes the specified ProtoBranchDocumentElement message. Does not implicitly {@link ProtoBranchDocumentElement.verify|verify} messages. - * @function encode - * @memberof ProtoBranchDocumentElement - * @static - * @param {IProtoBranchDocumentElement} message ProtoBranchDocumentElement message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBranchDocumentElement.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoBranchDocumentElement message, length delimited. Does not implicitly {@link ProtoBranchDocumentElement.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBranchDocumentElement - * @static - * @param {IProtoBranchDocumentElement} message ProtoBranchDocumentElement message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBranchDocumentElement.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBranchDocumentElement message from the specified reader or buffer. - * @function decode - * @memberof ProtoBranchDocumentElement - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBranchDocumentElement} ProtoBranchDocumentElement - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBranchDocumentElement(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBranchDocumentElement message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBranchDocumentElement - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBranchDocumentElement} ProtoBranchDocumentElement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBranchDocumentElement.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBranchDocumentElement message. - * @function verify - * @memberof ProtoBranchDocumentElement - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoBranchDocumentElement message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBranchDocumentElement - * @static - * @param {Object.} object Plain object - * @returns {ProtoBranchDocumentElement} ProtoBranchDocumentElement - */ - ProtoBranchDocumentElement.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBranchDocumentElement) - return object; - var message = new $root.ProtoBranchDocumentElement(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoBranchDocumentElement._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoBranchDocumentElement.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoBranchDocumentElement.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoBranchDocumentElement message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBranchDocumentElement - * @static - * @param {ProtoBranchDocumentElement} message ProtoBranchDocumentElement - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBranchDocumentElement.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) - object.parent = null; - if (message._children && 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoBranchDocumentElement to JSON. - * @function toJSON - * @memberof ProtoBranchDocumentElement - * @instance - * @returns {Object.} JSON object - */ - ProtoBranchDocumentElement.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBranchDocumentElement - * @function getTypeUrl - * @memberof ProtoBranchDocumentElement - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBranchDocumentElement.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBranchDocumentElement"; - }; - - return ProtoBranchDocumentElement; -})(); - -$root.ProtoLink = (function() { - - /** - * Properties of a ProtoLink. - * @name IProtoLink - * @interface IProtoLink - * @property {Array.|null} [_children] ProtoLink _children - * @property {string|null} [url] ProtoLink url - * @property {Array.|null} [comChannelUUIDs] ProtoLink comChannelUUIDs - */ - - /** - * Constructs a new ProtoLink. - * @name ProtoLink - * @classdesc Represents a ProtoLink. - * @implements IProtoLink - * @constructor - * @param {IProtoLink=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoLink _children. - * @member {Array.} _children - * @memberof ProtoLink - * @instance - */ - ProtoLink.prototype._children = $util.emptyArray; - - /** - * ProtoLink url. - * @member {string} url - * @memberof ProtoLink - * @instance - */ - ProtoLink.prototype.url = ""; - - /** - * ProtoLink comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoLink - * @instance - */ - ProtoLink.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoLink instance using the specified properties. - * @function create - * @memberof ProtoLink - * @static - * @param {IProtoLink=} [properties] Properties to set - * @returns {ProtoLink} ProtoLink instance - */ - ProtoLink.create = function create(properties) { - return new ProtoLink(properties); - }; - - /** - * Encodes the specified ProtoLink message. Does not implicitly {@link ProtoLink.verify|verify} messages. - * @function encode - * @memberof ProtoLink - * @static - * @param {IProtoLink} message ProtoLink message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLink.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.url); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoLink message, length delimited. Does not implicitly {@link ProtoLink.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoLink - * @static - * @param {IProtoLink} message ProtoLink message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLink.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoLink message from the specified reader or buffer. - * @function decode - * @memberof ProtoLink - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoLink} ProtoLink - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLink(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.url = reader.string(); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoLink message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoLink - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoLink} ProtoLink - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoLink.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoLink message. - * @function verify - * @memberof ProtoLink - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoLink message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoLink - * @static - * @param {Object.} object Plain object - * @returns {ProtoLink} ProtoLink - */ - ProtoLink.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoLink) - return object; - var message = new $root.ProtoLink(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoLink._children: array expected"); - 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]); - } - } - if (object.url != null) - message.url = String(object.url); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoLink.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoLink message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoLink - * @static - * @param {ProtoLink} message ProtoLink - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoLink.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) - object.url = ""; - if (message._children && 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoLink to JSON. - * @function toJSON - * @memberof ProtoLink - * @instance - * @returns {Object.} JSON object - */ - ProtoLink.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoLink - * @function getTypeUrl - * @memberof ProtoLink - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoLink.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoLink"; - }; - - return ProtoLink; -})(); - -/** - * ProtoNumberType enum. - * @name ProtoNumberType - * @enum {number} - * @property {number} ARABIC=0 ARABIC value - * @property {number} ROM_UPPERCASE=1 ROM_UPPERCASE value - * @property {number} ROM_LOWERCASE=2 ROM_LOWERCASE value - * @property {number} LETTER_UPPERCASE=3 LETTER_UPPERCASE value - * @property {number} LETTER_LOWERCASE=4 LETTER_LOWERCASE value - */ -$root.ProtoNumberType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ARABIC"] = 0; - values[valuesById[1] = "ROM_UPPERCASE"] = 1; - values[valuesById[2] = "ROM_LOWERCASE"] = 2; - values[valuesById[3] = "LETTER_UPPERCASE"] = 3; - values[valuesById[4] = "LETTER_LOWERCASE"] = 4; - return values; -})(); - -/** - * ProtoListLevelSettingType enum. - * @name ProtoListLevelSettingType - * @enum {number} - * @property {number} UNNUMBERED=0 UNNUMBERED value - * @property {number} NUMERIC=1 NUMERIC value - * @property {number} IMAGE=2 IMAGE value - */ -$root.ProtoListLevelSettingType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNNUMBERED"] = 0; - values[valuesById[1] = "NUMERIC"] = 1; - values[valuesById[2] = "IMAGE"] = 2; - return values; -})(); - -$root.ProtoListLevelSetting = (function() { - - /** - * Properties of a ProtoListLevelSetting. - * @name IProtoListLevelSetting - * @interface IProtoListLevelSetting - * @property {string|null} [listSettingName] ProtoListLevelSetting listSettingName - * @property {IProtoBoxedUint32|null} [fontSize] ProtoListLevelSetting fontSize - * @property {ProtoListLevelSettingType|null} [type] ProtoListLevelSetting type - * @property {number|null} [level] ProtoListLevelSetting level - * @property {string|null} [prefix] ProtoListLevelSetting prefix - * @property {string|null} [suffix] ProtoListLevelSetting suffix - * @property {IProtoFont|null} [fixFontFamily] ProtoListLevelSetting fixFontFamily - * @property {boolean|null} [fixBold] ProtoListLevelSetting fixBold - * @property {boolean|null} [fixItalic] ProtoListLevelSetting fixItalic - * @property {number|null} [indentionWidth] ProtoListLevelSetting indentionWidth - * @property {IProtoColor|null} [color] ProtoListLevelSetting color - * @property {string|null} [imageName] ProtoListLevelSetting imageName - * @property {IProtoFont|null} [fontFamily] ProtoListLevelSetting fontFamily - * @property {IProtoBoxedBool|null} [bold] ProtoListLevelSetting bold - * @property {IProtoBoxedBool|null} [italic] ProtoListLevelSetting italic - * @property {ProtoNumberType|null} [numberType] ProtoListLevelSetting numberType - * @property {string|null} [character] ProtoListLevelSetting character - */ - - /** - * Constructs a new ProtoListLevelSetting. - * @name ProtoListLevelSetting - * @classdesc Represents a ProtoListLevelSetting. - * @implements IProtoListLevelSetting - * @constructor - * @param {IProtoListLevelSetting=} [properties] Properties to set - */ - function ProtoListLevelSetting(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoListLevelSetting listSettingName. - * @member {string} listSettingName - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.listSettingName = ""; - - /** - * ProtoListLevelSetting fontSize. - * @member {IProtoBoxedUint32|null|undefined} fontSize - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.fontSize = null; - - /** - * ProtoListLevelSetting type. - * @member {ProtoListLevelSettingType} type - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.type = 0; - - /** - * ProtoListLevelSetting level. - * @member {number} level - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.level = 0; - - /** - * ProtoListLevelSetting prefix. - * @member {string} prefix - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.prefix = ""; - - /** - * ProtoListLevelSetting suffix. - * @member {string} suffix - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.suffix = ""; - - /** - * ProtoListLevelSetting fixFontFamily. - * @member {IProtoFont|null|undefined} fixFontFamily - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.fixFontFamily = null; - - /** - * ProtoListLevelSetting fixBold. - * @member {boolean} fixBold - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.fixBold = false; - - /** - * ProtoListLevelSetting fixItalic. - * @member {boolean} fixItalic - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.fixItalic = false; - - /** - * ProtoListLevelSetting indentionWidth. - * @member {number} indentionWidth - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.indentionWidth = 0; - - /** - * ProtoListLevelSetting color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.color = null; - - /** - * ProtoListLevelSetting imageName. - * @member {string} imageName - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.imageName = ""; - - /** - * ProtoListLevelSetting fontFamily. - * @member {IProtoFont|null|undefined} fontFamily - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.fontFamily = null; - - /** - * ProtoListLevelSetting bold. - * @member {IProtoBoxedBool|null|undefined} bold - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.bold = null; - - /** - * ProtoListLevelSetting italic. - * @member {IProtoBoxedBool|null|undefined} italic - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.italic = null; - - /** - * ProtoListLevelSetting numberType. - * @member {ProtoNumberType} numberType - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.numberType = 0; - - /** - * ProtoListLevelSetting character. - * @member {string} character - * @memberof ProtoListLevelSetting - * @instance - */ - ProtoListLevelSetting.prototype.character = ""; - - /** - * Creates a new ProtoListLevelSetting instance using the specified properties. - * @function create - * @memberof ProtoListLevelSetting - * @static - * @param {IProtoListLevelSetting=} [properties] Properties to set - * @returns {ProtoListLevelSetting} ProtoListLevelSetting instance - */ - ProtoListLevelSetting.create = function create(properties) { - return new ProtoListLevelSetting(properties); - }; - - /** - * Encodes the specified ProtoListLevelSetting message. Does not implicitly {@link ProtoListLevelSetting.verify|verify} messages. - * @function encode - * @memberof ProtoListLevelSetting - * @static - * @param {IProtoListLevelSetting} message ProtoListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoListLevelSetting.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.listSettingName != null && Object.hasOwnProperty.call(message, "listSettingName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.listSettingName); - if (message.fontSize != null && Object.hasOwnProperty.call(message, "fontSize")) - $root.ProtoBoxedUint32.encode(message.fontSize, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.type); - if (message.level != null && Object.hasOwnProperty.call(message, "level")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.level); - if (message.prefix != null && Object.hasOwnProperty.call(message, "prefix")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.prefix); - if (message.suffix != null && Object.hasOwnProperty.call(message, "suffix")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.suffix); - if (message.fixFontFamily != null && Object.hasOwnProperty.call(message, "fixFontFamily")) - $root.ProtoFont.encode(message.fixFontFamily, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.fixBold != null && Object.hasOwnProperty.call(message, "fixBold")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.fixBold); - if (message.fixItalic != null && Object.hasOwnProperty.call(message, "fixItalic")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.fixItalic); - if (message.indentionWidth != null && Object.hasOwnProperty.call(message, "indentionWidth")) - writer.uint32(/* id 10, wireType 0 =*/80).int32(message.indentionWidth); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $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.fontFamily != null && Object.hasOwnProperty.call(message, "fontFamily")) - $root.ProtoFont.encode(message.fontFamily, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); - if (message.bold != null && Object.hasOwnProperty.call(message, "bold")) - $root.ProtoBoxedBool.encode(message.bold, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.italic != null && Object.hasOwnProperty.call(message, "italic")) - $root.ProtoBoxedBool.encode(message.italic, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim(); - if (message.numberType != null && Object.hasOwnProperty.call(message, "numberType")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoListLevelSetting message, length delimited. Does not implicitly {@link ProtoListLevelSetting.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoListLevelSetting - * @static - * @param {IProtoListLevelSetting} message ProtoListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoListLevelSetting.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoListLevelSetting message from the specified reader or buffer. - * @function decode - * @memberof ProtoListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoListLevelSetting} ProtoListLevelSetting - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoListLevelSetting(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.listSettingName = reader.string(); - break; - } - case 2: { - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - case 3: { - message.type = reader.int32(); - break; - } - case 4: { - message.level = reader.int32(); - break; - } - case 5: { - message.prefix = reader.string(); - break; - } - case 6: { - message.suffix = reader.string(); - break; - } - case 7: { - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 8: { - message.fixBold = reader.bool(); - break; - } - case 9: { - message.fixItalic = reader.bool(); - break; - } - case 10: { - message.indentionWidth = reader.int32(); - break; - } - case 11: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 12: { - message.imageName = reader.string(); - break; - } - case 13: { - message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 14: { - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 15: { - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 16: { - message.numberType = reader.int32(); - break; - } - case 17: { - message.character = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoListLevelSetting message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoListLevelSetting} ProtoListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoListLevelSetting.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoListLevelSetting message. - * @function verify - * @memberof ProtoListLevelSetting - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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); - if (error) - return "fontSize." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.level != null && message.hasOwnProperty("level")) - if (!$util.isInteger(message.level)) - return "level: integer expected"; - if (message.prefix != null && message.hasOwnProperty("prefix")) - if (!$util.isString(message.prefix)) - return "prefix: string expected"; - if (message.suffix != null && message.hasOwnProperty("suffix")) - if (!$util.isString(message.suffix)) - return "suffix: string expected"; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily); - if (error) - return "fixFontFamily." + error; - } - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - if (typeof message.fixBold !== "boolean") - return "fixBold: boolean expected"; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - if (typeof message.fixItalic !== "boolean") - return "fixItalic: boolean expected"; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - if (!$util.isInteger(message.indentionWidth)) - return "indentionWidth: integer expected"; - if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color); - if (error) - return "color." + error; - } - if (message.imageName != null && message.hasOwnProperty("imageName")) - if (!$util.isString(message.imageName)) - return "imageName: string expected"; - if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) { - 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); - if (error) - return "bold." + error; - } - if (message.italic != null && message.hasOwnProperty("italic")) { - var error = $root.ProtoBoxedBool.verify(message.italic); - if (error) - return "italic." + error; - } - if (message.numberType != null && message.hasOwnProperty("numberType")) - switch (message.numberType) { - default: - return "numberType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.character != null && message.hasOwnProperty("character")) - if (!$util.isString(message.character)) - return "character: string expected"; - return null; - }; - - /** - * Creates a ProtoListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoListLevelSetting - * @static - * @param {Object.} object Plain object - * @returns {ProtoListLevelSetting} ProtoListLevelSetting - */ - ProtoListLevelSetting.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoListLevelSetting) - return object; - var message = new $root.ProtoListLevelSetting(); - if (object.listSettingName != null) - 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); - } - 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) - message.level = object.level | 0; - if (object.prefix != null) - message.prefix = String(object.prefix); - if (object.suffix != null) - 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); - } - if (object.fixBold != null) - message.fixBold = Boolean(object.fixBold); - if (object.fixItalic != null) - message.fixItalic = Boolean(object.fixItalic); - if (object.indentionWidth != null) - 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); - } - if (object.imageName != null) - 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); - } - if (object.bold != null) { - if (typeof object.bold !== "object") - throw TypeError(".ProtoListLevelSetting.bold: object expected"); - 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); - } - 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) - message.character = String(object.character); - return message; - }; - - /** - * Creates a plain object from a ProtoListLevelSetting message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoListLevelSetting - * @static - * @param {ProtoListLevelSetting} message ProtoListLevelSetting - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoListLevelSetting.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.listSettingName = ""; - object.fontSize = null; - object.type = options.enums === String ? "UNNUMBERED" : 0; - object.level = 0; - object.prefix = ""; - object.suffix = ""; - object.fixFontFamily = null; - object.fixBold = false; - object.fixItalic = false; - object.indentionWidth = 0; - object.color = null; - object.imageName = ""; - object.fontFamily = null; - object.bold = null; - object.italic = null; - object.numberType = options.enums === String ? "ARABIC" : 0; - object.character = ""; - } - if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) - object.listSettingName = message.listSettingName; - if (message.fontSize != null && message.hasOwnProperty("fontSize")) - object.fontSize = $root.ProtoBoxedUint32.toObject(message.fontSize, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoListLevelSettingType[message.type] === undefined ? message.type : $root.ProtoListLevelSettingType[message.type] : message.type; - if (message.level != null && message.hasOwnProperty("level")) - object.level = message.level; - if (message.prefix != null && message.hasOwnProperty("prefix")) - object.prefix = message.prefix; - if (message.suffix != null && message.hasOwnProperty("suffix")) - object.suffix = message.suffix; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) - object.fixFontFamily = $root.ProtoFont.toObject(message.fixFontFamily, options); - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - object.fixBold = message.fixBold; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - object.fixItalic = message.fixItalic; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - object.indentionWidth = message.indentionWidth; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.imageName != null && message.hasOwnProperty("imageName")) - object.imageName = message.imageName; - if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) - object.fontFamily = $root.ProtoFont.toObject(message.fontFamily, options); - if (message.bold != null && message.hasOwnProperty("bold")) - object.bold = $root.ProtoBoxedBool.toObject(message.bold, options); - if (message.italic != null && message.hasOwnProperty("italic")) - object.italic = $root.ProtoBoxedBool.toObject(message.italic, options); - if (message.numberType != null && message.hasOwnProperty("numberType")) - object.numberType = options.enums === String ? $root.ProtoNumberType[message.numberType] === undefined ? message.numberType : $root.ProtoNumberType[message.numberType] : message.numberType; - if (message.character != null && message.hasOwnProperty("character")) - object.character = message.character; - return object; - }; - - /** - * Converts this ProtoListLevelSetting to JSON. - * @function toJSON - * @memberof ProtoListLevelSetting - * @instance - * @returns {Object.} JSON object - */ - ProtoListLevelSetting.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoListLevelSetting - * @function getTypeUrl - * @memberof ProtoListLevelSetting - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoListLevelSetting"; - }; - - return ProtoListLevelSetting; -})(); - -$root.ProtoImageListLevelSetting = (function() { - - /** - * Properties of a ProtoImageListLevelSetting. - * @name IProtoImageListLevelSetting - * @interface IProtoImageListLevelSetting - * @property {string|null} [listSettingName] ProtoImageListLevelSetting listSettingName - * @property {IProtoBoxedUint32|null} [fontSize] ProtoImageListLevelSetting fontSize - * @property {ProtoListLevelSettingType|null} [type] ProtoImageListLevelSetting type - * @property {number|null} [level] ProtoImageListLevelSetting level - * @property {string|null} [prefix] ProtoImageListLevelSetting prefix - * @property {string|null} [suffix] ProtoImageListLevelSetting suffix - * @property {IProtoFont|null} [fixFontFamily] ProtoImageListLevelSetting fixFontFamily - * @property {boolean|null} [fixBold] ProtoImageListLevelSetting fixBold - * @property {boolean|null} [fixItalic] ProtoImageListLevelSetting fixItalic - * @property {number|null} [indentionWidth] ProtoImageListLevelSetting indentionWidth - * @property {IProtoColor|null} [color] ProtoImageListLevelSetting color - * @property {string|null} [imageName] ProtoImageListLevelSetting imageName - */ - - /** - * Constructs a new ProtoImageListLevelSetting. - * @name ProtoImageListLevelSetting - * @classdesc Represents a ProtoImageListLevelSetting. - * @implements IProtoImageListLevelSetting - * @constructor - * @param {IProtoImageListLevelSetting=} [properties] Properties to set - */ - function ProtoImageListLevelSetting(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoImageListLevelSetting listSettingName. - * @member {string} listSettingName - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.listSettingName = ""; - - /** - * ProtoImageListLevelSetting fontSize. - * @member {IProtoBoxedUint32|null|undefined} fontSize - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.fontSize = null; - - /** - * ProtoImageListLevelSetting type. - * @member {ProtoListLevelSettingType} type - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.type = 0; - - /** - * ProtoImageListLevelSetting level. - * @member {number} level - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.level = 0; - - /** - * ProtoImageListLevelSetting prefix. - * @member {string} prefix - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.prefix = ""; - - /** - * ProtoImageListLevelSetting suffix. - * @member {string} suffix - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.suffix = ""; - - /** - * ProtoImageListLevelSetting fixFontFamily. - * @member {IProtoFont|null|undefined} fixFontFamily - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.fixFontFamily = null; - - /** - * ProtoImageListLevelSetting fixBold. - * @member {boolean} fixBold - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.fixBold = false; - - /** - * ProtoImageListLevelSetting fixItalic. - * @member {boolean} fixItalic - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.fixItalic = false; - - /** - * ProtoImageListLevelSetting indentionWidth. - * @member {number} indentionWidth - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.indentionWidth = 0; - - /** - * ProtoImageListLevelSetting color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.color = null; - - /** - * ProtoImageListLevelSetting imageName. - * @member {string} imageName - * @memberof ProtoImageListLevelSetting - * @instance - */ - ProtoImageListLevelSetting.prototype.imageName = ""; - - /** - * Creates a new ProtoImageListLevelSetting instance using the specified properties. - * @function create - * @memberof ProtoImageListLevelSetting - * @static - * @param {IProtoImageListLevelSetting=} [properties] Properties to set - * @returns {ProtoImageListLevelSetting} ProtoImageListLevelSetting instance - */ - ProtoImageListLevelSetting.create = function create(properties) { - return new ProtoImageListLevelSetting(properties); - }; - - /** - * Encodes the specified ProtoImageListLevelSetting message. Does not implicitly {@link ProtoImageListLevelSetting.verify|verify} messages. - * @function encode - * @memberof ProtoImageListLevelSetting - * @static - * @param {IProtoImageListLevelSetting} message ProtoImageListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoImageListLevelSetting.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.listSettingName != null && Object.hasOwnProperty.call(message, "listSettingName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.listSettingName); - if (message.fontSize != null && Object.hasOwnProperty.call(message, "fontSize")) - $root.ProtoBoxedUint32.encode(message.fontSize, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.type); - if (message.level != null && Object.hasOwnProperty.call(message, "level")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.level); - if (message.prefix != null && Object.hasOwnProperty.call(message, "prefix")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.prefix); - if (message.suffix != null && Object.hasOwnProperty.call(message, "suffix")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.suffix); - if (message.fixFontFamily != null && Object.hasOwnProperty.call(message, "fixFontFamily")) - $root.ProtoFont.encode(message.fixFontFamily, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.fixBold != null && Object.hasOwnProperty.call(message, "fixBold")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.fixBold); - if (message.fixItalic != null && Object.hasOwnProperty.call(message, "fixItalic")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.fixItalic); - if (message.indentionWidth != null && Object.hasOwnProperty.call(message, "indentionWidth")) - writer.uint32(/* id 10, wireType 0 =*/80).int32(message.indentionWidth); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $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); - return writer; - }; - - /** - * Encodes the specified ProtoImageListLevelSetting message, length delimited. Does not implicitly {@link ProtoImageListLevelSetting.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoImageListLevelSetting - * @static - * @param {IProtoImageListLevelSetting} message ProtoImageListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoImageListLevelSetting.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoImageListLevelSetting message from the specified reader or buffer. - * @function decode - * @memberof ProtoImageListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoImageListLevelSetting} ProtoImageListLevelSetting - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoImageListLevelSetting(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.listSettingName = reader.string(); - break; - } - case 2: { - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - case 3: { - message.type = reader.int32(); - break; - } - case 4: { - message.level = reader.int32(); - break; - } - case 5: { - message.prefix = reader.string(); - break; - } - case 6: { - message.suffix = reader.string(); - break; - } - case 7: { - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 8: { - message.fixBold = reader.bool(); - break; - } - case 9: { - message.fixItalic = reader.bool(); - break; - } - case 10: { - message.indentionWidth = reader.int32(); - break; - } - case 11: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 12: { - message.imageName = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoImageListLevelSetting message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoImageListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoImageListLevelSetting} ProtoImageListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoImageListLevelSetting.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoImageListLevelSetting message. - * @function verify - * @memberof ProtoImageListLevelSetting - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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); - if (error) - return "fontSize." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.level != null && message.hasOwnProperty("level")) - if (!$util.isInteger(message.level)) - return "level: integer expected"; - if (message.prefix != null && message.hasOwnProperty("prefix")) - if (!$util.isString(message.prefix)) - return "prefix: string expected"; - if (message.suffix != null && message.hasOwnProperty("suffix")) - if (!$util.isString(message.suffix)) - return "suffix: string expected"; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily); - if (error) - return "fixFontFamily." + error; - } - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - if (typeof message.fixBold !== "boolean") - return "fixBold: boolean expected"; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - if (typeof message.fixItalic !== "boolean") - return "fixItalic: boolean expected"; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - if (!$util.isInteger(message.indentionWidth)) - return "indentionWidth: integer expected"; - if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color); - if (error) - return "color." + error; - } - if (message.imageName != null && message.hasOwnProperty("imageName")) - if (!$util.isString(message.imageName)) - return "imageName: string expected"; - return null; - }; - - /** - * Creates a ProtoImageListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoImageListLevelSetting - * @static - * @param {Object.} object Plain object - * @returns {ProtoImageListLevelSetting} ProtoImageListLevelSetting - */ - ProtoImageListLevelSetting.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoImageListLevelSetting) - return object; - var message = new $root.ProtoImageListLevelSetting(); - if (object.listSettingName != null) - 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); - } - 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) - message.level = object.level | 0; - if (object.prefix != null) - message.prefix = String(object.prefix); - if (object.suffix != null) - 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); - } - if (object.fixBold != null) - message.fixBold = Boolean(object.fixBold); - if (object.fixItalic != null) - message.fixItalic = Boolean(object.fixItalic); - if (object.indentionWidth != null) - 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); - } - if (object.imageName != null) - message.imageName = String(object.imageName); - return message; - }; - - /** - * Creates a plain object from a ProtoImageListLevelSetting message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoImageListLevelSetting - * @static - * @param {ProtoImageListLevelSetting} message ProtoImageListLevelSetting - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoImageListLevelSetting.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.listSettingName = ""; - object.fontSize = null; - object.type = options.enums === String ? "UNNUMBERED" : 0; - object.level = 0; - object.prefix = ""; - object.suffix = ""; - object.fixFontFamily = null; - object.fixBold = false; - object.fixItalic = false; - object.indentionWidth = 0; - object.color = null; - object.imageName = ""; - } - if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) - object.listSettingName = message.listSettingName; - if (message.fontSize != null && message.hasOwnProperty("fontSize")) - object.fontSize = $root.ProtoBoxedUint32.toObject(message.fontSize, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoListLevelSettingType[message.type] === undefined ? message.type : $root.ProtoListLevelSettingType[message.type] : message.type; - if (message.level != null && message.hasOwnProperty("level")) - object.level = message.level; - if (message.prefix != null && message.hasOwnProperty("prefix")) - object.prefix = message.prefix; - if (message.suffix != null && message.hasOwnProperty("suffix")) - object.suffix = message.suffix; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) - object.fixFontFamily = $root.ProtoFont.toObject(message.fixFontFamily, options); - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - object.fixBold = message.fixBold; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - object.fixItalic = message.fixItalic; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - object.indentionWidth = message.indentionWidth; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.imageName != null && message.hasOwnProperty("imageName")) - object.imageName = message.imageName; - return object; - }; - - /** - * Converts this ProtoImageListLevelSetting to JSON. - * @function toJSON - * @memberof ProtoImageListLevelSetting - * @instance - * @returns {Object.} JSON object - */ - ProtoImageListLevelSetting.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoImageListLevelSetting - * @function getTypeUrl - * @memberof ProtoImageListLevelSetting - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoImageListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoImageListLevelSetting"; - }; - - return ProtoImageListLevelSetting; -})(); - -$root.ProtoTextListLevelSetting = (function() { - - /** - * Properties of a ProtoTextListLevelSetting. - * @name IProtoTextListLevelSetting - * @interface IProtoTextListLevelSetting - * @property {string|null} [listSettingName] ProtoTextListLevelSetting listSettingName - * @property {IProtoBoxedUint32|null} [fontSize] ProtoTextListLevelSetting fontSize - * @property {ProtoListLevelSettingType|null} [type] ProtoTextListLevelSetting type - * @property {number|null} [level] ProtoTextListLevelSetting level - * @property {string|null} [prefix] ProtoTextListLevelSetting prefix - * @property {string|null} [suffix] ProtoTextListLevelSetting suffix - * @property {IProtoFont|null} [fixFontFamily] ProtoTextListLevelSetting fixFontFamily - * @property {boolean|null} [fixBold] ProtoTextListLevelSetting fixBold - * @property {boolean|null} [fixItalic] ProtoTextListLevelSetting fixItalic - * @property {number|null} [indentionWidth] ProtoTextListLevelSetting indentionWidth - * @property {IProtoColor|null} [color] ProtoTextListLevelSetting color - * @property {IProtoFont|null} [fontFamily] ProtoTextListLevelSetting fontFamily - * @property {IProtoBoxedBool|null} [bold] ProtoTextListLevelSetting bold - * @property {IProtoBoxedBool|null} [italic] ProtoTextListLevelSetting italic - */ - - /** - * Constructs a new ProtoTextListLevelSetting. - * @name ProtoTextListLevelSetting - * @classdesc Represents a ProtoTextListLevelSetting. - * @implements IProtoTextListLevelSetting - * @constructor - * @param {IProtoTextListLevelSetting=} [properties] Properties to set - */ - function ProtoTextListLevelSetting(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTextListLevelSetting listSettingName. - * @member {string} listSettingName - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.listSettingName = ""; - - /** - * ProtoTextListLevelSetting fontSize. - * @member {IProtoBoxedUint32|null|undefined} fontSize - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.fontSize = null; - - /** - * ProtoTextListLevelSetting type. - * @member {ProtoListLevelSettingType} type - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.type = 0; - - /** - * ProtoTextListLevelSetting level. - * @member {number} level - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.level = 0; - - /** - * ProtoTextListLevelSetting prefix. - * @member {string} prefix - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.prefix = ""; - - /** - * ProtoTextListLevelSetting suffix. - * @member {string} suffix - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.suffix = ""; - - /** - * ProtoTextListLevelSetting fixFontFamily. - * @member {IProtoFont|null|undefined} fixFontFamily - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.fixFontFamily = null; - - /** - * ProtoTextListLevelSetting fixBold. - * @member {boolean} fixBold - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.fixBold = false; - - /** - * ProtoTextListLevelSetting fixItalic. - * @member {boolean} fixItalic - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.fixItalic = false; - - /** - * ProtoTextListLevelSetting indentionWidth. - * @member {number} indentionWidth - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.indentionWidth = 0; - - /** - * ProtoTextListLevelSetting color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.color = null; - - /** - * ProtoTextListLevelSetting fontFamily. - * @member {IProtoFont|null|undefined} fontFamily - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.fontFamily = null; - - /** - * ProtoTextListLevelSetting bold. - * @member {IProtoBoxedBool|null|undefined} bold - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.bold = null; - - /** - * ProtoTextListLevelSetting italic. - * @member {IProtoBoxedBool|null|undefined} italic - * @memberof ProtoTextListLevelSetting - * @instance - */ - ProtoTextListLevelSetting.prototype.italic = null; - - /** - * Creates a new ProtoTextListLevelSetting instance using the specified properties. - * @function create - * @memberof ProtoTextListLevelSetting - * @static - * @param {IProtoTextListLevelSetting=} [properties] Properties to set - * @returns {ProtoTextListLevelSetting} ProtoTextListLevelSetting instance - */ - ProtoTextListLevelSetting.create = function create(properties) { - return new ProtoTextListLevelSetting(properties); - }; - - /** - * Encodes the specified ProtoTextListLevelSetting message. Does not implicitly {@link ProtoTextListLevelSetting.verify|verify} messages. - * @function encode - * @memberof ProtoTextListLevelSetting - * @static - * @param {IProtoTextListLevelSetting} message ProtoTextListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTextListLevelSetting.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.listSettingName != null && Object.hasOwnProperty.call(message, "listSettingName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.listSettingName); - if (message.fontSize != null && Object.hasOwnProperty.call(message, "fontSize")) - $root.ProtoBoxedUint32.encode(message.fontSize, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.type); - if (message.level != null && Object.hasOwnProperty.call(message, "level")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.level); - if (message.prefix != null && Object.hasOwnProperty.call(message, "prefix")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.prefix); - if (message.suffix != null && Object.hasOwnProperty.call(message, "suffix")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.suffix); - if (message.fixFontFamily != null && Object.hasOwnProperty.call(message, "fixFontFamily")) - $root.ProtoFont.encode(message.fixFontFamily, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.fixBold != null && Object.hasOwnProperty.call(message, "fixBold")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.fixBold); - if (message.fixItalic != null && Object.hasOwnProperty.call(message, "fixItalic")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.fixItalic); - if (message.indentionWidth != null && Object.hasOwnProperty.call(message, "indentionWidth")) - writer.uint32(/* id 10, wireType 0 =*/80).int32(message.indentionWidth); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $root.ProtoColor.encode(message.color, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.fontFamily != null && Object.hasOwnProperty.call(message, "fontFamily")) - $root.ProtoFont.encode(message.fontFamily, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.bold != null && Object.hasOwnProperty.call(message, "bold")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoTextListLevelSetting message, length delimited. Does not implicitly {@link ProtoTextListLevelSetting.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTextListLevelSetting - * @static - * @param {IProtoTextListLevelSetting} message ProtoTextListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTextListLevelSetting.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTextListLevelSetting message from the specified reader or buffer. - * @function decode - * @memberof ProtoTextListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTextListLevelSetting} ProtoTextListLevelSetting - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTextListLevelSetting(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.listSettingName = reader.string(); - break; - } - case 2: { - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - case 3: { - message.type = reader.int32(); - break; - } - case 4: { - message.level = reader.int32(); - break; - } - case 5: { - message.prefix = reader.string(); - break; - } - case 6: { - message.suffix = reader.string(); - break; - } - case 7: { - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 8: { - message.fixBold = reader.bool(); - break; - } - case 9: { - message.fixItalic = reader.bool(); - break; - } - case 10: { - message.indentionWidth = reader.int32(); - break; - } - case 11: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 12: { - message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 13: { - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 14: { - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTextListLevelSetting message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTextListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTextListLevelSetting} ProtoTextListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTextListLevelSetting.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTextListLevelSetting message. - * @function verify - * @memberof ProtoTextListLevelSetting - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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); - if (error) - return "fontSize." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.level != null && message.hasOwnProperty("level")) - if (!$util.isInteger(message.level)) - return "level: integer expected"; - if (message.prefix != null && message.hasOwnProperty("prefix")) - if (!$util.isString(message.prefix)) - return "prefix: string expected"; - if (message.suffix != null && message.hasOwnProperty("suffix")) - if (!$util.isString(message.suffix)) - return "suffix: string expected"; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily); - if (error) - return "fixFontFamily." + error; - } - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - if (typeof message.fixBold !== "boolean") - return "fixBold: boolean expected"; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - if (typeof message.fixItalic !== "boolean") - return "fixItalic: boolean expected"; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - if (!$util.isInteger(message.indentionWidth)) - return "indentionWidth: integer expected"; - if (message.color != null && message.hasOwnProperty("color")) { - 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); - if (error) - return "fontFamily." + error; - } - if (message.bold != null && message.hasOwnProperty("bold")) { - 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); - if (error) - return "italic." + error; - } - return null; - }; - - /** - * Creates a ProtoTextListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTextListLevelSetting - * @static - * @param {Object.} object Plain object - * @returns {ProtoTextListLevelSetting} ProtoTextListLevelSetting - */ - ProtoTextListLevelSetting.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTextListLevelSetting) - return object; - var message = new $root.ProtoTextListLevelSetting(); - if (object.listSettingName != null) - 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); - } - 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) - message.level = object.level | 0; - if (object.prefix != null) - message.prefix = String(object.prefix); - if (object.suffix != null) - 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); - } - if (object.fixBold != null) - message.fixBold = Boolean(object.fixBold); - if (object.fixItalic != null) - message.fixItalic = Boolean(object.fixItalic); - if (object.indentionWidth != null) - 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); - } - if (object.fontFamily != null) { - if (typeof object.fontFamily !== "object") - throw TypeError(".ProtoTextListLevelSetting.fontFamily: object expected"); - 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); - } - if (object.italic != null) { - if (typeof object.italic !== "object") - throw TypeError(".ProtoTextListLevelSetting.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTextListLevelSetting message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTextListLevelSetting - * @static - * @param {ProtoTextListLevelSetting} message ProtoTextListLevelSetting - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTextListLevelSetting.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.listSettingName = ""; - object.fontSize = null; - object.type = options.enums === String ? "UNNUMBERED" : 0; - object.level = 0; - object.prefix = ""; - object.suffix = ""; - object.fixFontFamily = null; - object.fixBold = false; - object.fixItalic = false; - object.indentionWidth = 0; - object.color = null; - object.fontFamily = null; - object.bold = null; - object.italic = null; - } - if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) - object.listSettingName = message.listSettingName; - if (message.fontSize != null && message.hasOwnProperty("fontSize")) - object.fontSize = $root.ProtoBoxedUint32.toObject(message.fontSize, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoListLevelSettingType[message.type] === undefined ? message.type : $root.ProtoListLevelSettingType[message.type] : message.type; - if (message.level != null && message.hasOwnProperty("level")) - object.level = message.level; - if (message.prefix != null && message.hasOwnProperty("prefix")) - object.prefix = message.prefix; - if (message.suffix != null && message.hasOwnProperty("suffix")) - object.suffix = message.suffix; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) - object.fixFontFamily = $root.ProtoFont.toObject(message.fixFontFamily, options); - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - object.fixBold = message.fixBold; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - object.fixItalic = message.fixItalic; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - object.indentionWidth = message.indentionWidth; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) - object.fontFamily = $root.ProtoFont.toObject(message.fontFamily, options); - if (message.bold != null && message.hasOwnProperty("bold")) - object.bold = $root.ProtoBoxedBool.toObject(message.bold, options); - if (message.italic != null && message.hasOwnProperty("italic")) - object.italic = $root.ProtoBoxedBool.toObject(message.italic, options); - return object; - }; - - /** - * Converts this ProtoTextListLevelSetting to JSON. - * @function toJSON - * @memberof ProtoTextListLevelSetting - * @instance - * @returns {Object.} JSON object - */ - ProtoTextListLevelSetting.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTextListLevelSetting - * @function getTypeUrl - * @memberof ProtoTextListLevelSetting - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTextListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTextListLevelSetting"; - }; - - return ProtoTextListLevelSetting; -})(); - -$root.ProtoNumberListLevelSetting = (function() { - - /** - * Properties of a ProtoNumberListLevelSetting. - * @name IProtoNumberListLevelSetting - * @interface IProtoNumberListLevelSetting - * @property {string|null} [listSettingName] ProtoNumberListLevelSetting listSettingName - * @property {IProtoBoxedUint32|null} [fontSize] ProtoNumberListLevelSetting fontSize - * @property {ProtoListLevelSettingType|null} [type] ProtoNumberListLevelSetting type - * @property {number|null} [level] ProtoNumberListLevelSetting level - * @property {string|null} [prefix] ProtoNumberListLevelSetting prefix - * @property {string|null} [suffix] ProtoNumberListLevelSetting suffix - * @property {IProtoFont|null} [fixFontFamily] ProtoNumberListLevelSetting fixFontFamily - * @property {boolean|null} [fixBold] ProtoNumberListLevelSetting fixBold - * @property {boolean|null} [fixItalic] ProtoNumberListLevelSetting fixItalic - * @property {number|null} [indentionWidth] ProtoNumberListLevelSetting indentionWidth - * @property {IProtoColor|null} [color] ProtoNumberListLevelSetting color - * @property {IProtoFont|null} [fontFamily] ProtoNumberListLevelSetting fontFamily - * @property {IProtoBoxedBool|null} [bold] ProtoNumberListLevelSetting bold - * @property {IProtoBoxedBool|null} [italic] ProtoNumberListLevelSetting italic - * @property {ProtoNumberType|null} [numberType] ProtoNumberListLevelSetting numberType - */ - - /** - * Constructs a new ProtoNumberListLevelSetting. - * @name ProtoNumberListLevelSetting - * @classdesc Represents a ProtoNumberListLevelSetting. - * @implements IProtoNumberListLevelSetting - * @constructor - * @param {IProtoNumberListLevelSetting=} [properties] Properties to set - */ - function ProtoNumberListLevelSetting(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoNumberListLevelSetting listSettingName. - * @member {string} listSettingName - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.listSettingName = ""; - - /** - * ProtoNumberListLevelSetting fontSize. - * @member {IProtoBoxedUint32|null|undefined} fontSize - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.fontSize = null; - - /** - * ProtoNumberListLevelSetting type. - * @member {ProtoListLevelSettingType} type - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.type = 0; - - /** - * ProtoNumberListLevelSetting level. - * @member {number} level - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.level = 0; - - /** - * ProtoNumberListLevelSetting prefix. - * @member {string} prefix - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.prefix = ""; - - /** - * ProtoNumberListLevelSetting suffix. - * @member {string} suffix - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.suffix = ""; - - /** - * ProtoNumberListLevelSetting fixFontFamily. - * @member {IProtoFont|null|undefined} fixFontFamily - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.fixFontFamily = null; - - /** - * ProtoNumberListLevelSetting fixBold. - * @member {boolean} fixBold - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.fixBold = false; - - /** - * ProtoNumberListLevelSetting fixItalic. - * @member {boolean} fixItalic - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.fixItalic = false; - - /** - * ProtoNumberListLevelSetting indentionWidth. - * @member {number} indentionWidth - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.indentionWidth = 0; - - /** - * ProtoNumberListLevelSetting color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.color = null; - - /** - * ProtoNumberListLevelSetting fontFamily. - * @member {IProtoFont|null|undefined} fontFamily - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.fontFamily = null; - - /** - * ProtoNumberListLevelSetting bold. - * @member {IProtoBoxedBool|null|undefined} bold - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.bold = null; - - /** - * ProtoNumberListLevelSetting italic. - * @member {IProtoBoxedBool|null|undefined} italic - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.italic = null; - - /** - * ProtoNumberListLevelSetting numberType. - * @member {ProtoNumberType} numberType - * @memberof ProtoNumberListLevelSetting - * @instance - */ - ProtoNumberListLevelSetting.prototype.numberType = 0; - - /** - * Creates a new ProtoNumberListLevelSetting instance using the specified properties. - * @function create - * @memberof ProtoNumberListLevelSetting - * @static - * @param {IProtoNumberListLevelSetting=} [properties] Properties to set - * @returns {ProtoNumberListLevelSetting} ProtoNumberListLevelSetting instance - */ - ProtoNumberListLevelSetting.create = function create(properties) { - return new ProtoNumberListLevelSetting(properties); - }; - - /** - * Encodes the specified ProtoNumberListLevelSetting message. Does not implicitly {@link ProtoNumberListLevelSetting.verify|verify} messages. - * @function encode - * @memberof ProtoNumberListLevelSetting - * @static - * @param {IProtoNumberListLevelSetting} message ProtoNumberListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoNumberListLevelSetting.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.listSettingName != null && Object.hasOwnProperty.call(message, "listSettingName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.listSettingName); - if (message.fontSize != null && Object.hasOwnProperty.call(message, "fontSize")) - $root.ProtoBoxedUint32.encode(message.fontSize, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.type); - if (message.level != null && Object.hasOwnProperty.call(message, "level")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.level); - if (message.prefix != null && Object.hasOwnProperty.call(message, "prefix")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.prefix); - if (message.suffix != null && Object.hasOwnProperty.call(message, "suffix")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.suffix); - if (message.fixFontFamily != null && Object.hasOwnProperty.call(message, "fixFontFamily")) - $root.ProtoFont.encode(message.fixFontFamily, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.fixBold != null && Object.hasOwnProperty.call(message, "fixBold")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.fixBold); - if (message.fixItalic != null && Object.hasOwnProperty.call(message, "fixItalic")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.fixItalic); - if (message.indentionWidth != null && Object.hasOwnProperty.call(message, "indentionWidth")) - writer.uint32(/* id 10, wireType 0 =*/80).int32(message.indentionWidth); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $root.ProtoColor.encode(message.color, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.fontFamily != null && Object.hasOwnProperty.call(message, "fontFamily")) - $root.ProtoFont.encode(message.fontFamily, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.bold != null && Object.hasOwnProperty.call(message, "bold")) - $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.numberType != null && Object.hasOwnProperty.call(message, "numberType")) - writer.uint32(/* id 15, wireType 0 =*/120).int32(message.numberType); - return writer; - }; - - /** - * Encodes the specified ProtoNumberListLevelSetting message, length delimited. Does not implicitly {@link ProtoNumberListLevelSetting.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoNumberListLevelSetting - * @static - * @param {IProtoNumberListLevelSetting} message ProtoNumberListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoNumberListLevelSetting.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoNumberListLevelSetting message from the specified reader or buffer. - * @function decode - * @memberof ProtoNumberListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoNumberListLevelSetting} ProtoNumberListLevelSetting - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoNumberListLevelSetting(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.listSettingName = reader.string(); - break; - } - case 2: { - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - case 3: { - message.type = reader.int32(); - break; - } - case 4: { - message.level = reader.int32(); - break; - } - case 5: { - message.prefix = reader.string(); - break; - } - case 6: { - message.suffix = reader.string(); - break; - } - case 7: { - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 8: { - message.fixBold = reader.bool(); - break; - } - case 9: { - message.fixItalic = reader.bool(); - break; - } - case 10: { - message.indentionWidth = reader.int32(); - break; - } - case 11: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 12: { - message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 13: { - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 14: { - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 15: { - message.numberType = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoNumberListLevelSetting message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoNumberListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoNumberListLevelSetting} ProtoNumberListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoNumberListLevelSetting.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoNumberListLevelSetting message. - * @function verify - * @memberof ProtoNumberListLevelSetting - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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); - if (error) - return "fontSize." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.level != null && message.hasOwnProperty("level")) - if (!$util.isInteger(message.level)) - return "level: integer expected"; - if (message.prefix != null && message.hasOwnProperty("prefix")) - if (!$util.isString(message.prefix)) - return "prefix: string expected"; - if (message.suffix != null && message.hasOwnProperty("suffix")) - if (!$util.isString(message.suffix)) - return "suffix: string expected"; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily); - if (error) - return "fixFontFamily." + error; - } - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - if (typeof message.fixBold !== "boolean") - return "fixBold: boolean expected"; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - if (typeof message.fixItalic !== "boolean") - return "fixItalic: boolean expected"; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - if (!$util.isInteger(message.indentionWidth)) - return "indentionWidth: integer expected"; - if (message.color != null && message.hasOwnProperty("color")) { - 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); - if (error) - return "fontFamily." + error; - } - if (message.bold != null && message.hasOwnProperty("bold")) { - 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); - if (error) - return "italic." + error; - } - if (message.numberType != null && message.hasOwnProperty("numberType")) - switch (message.numberType) { - default: - return "numberType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - return null; - }; - - /** - * Creates a ProtoNumberListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoNumberListLevelSetting - * @static - * @param {Object.} object Plain object - * @returns {ProtoNumberListLevelSetting} ProtoNumberListLevelSetting - */ - ProtoNumberListLevelSetting.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoNumberListLevelSetting) - return object; - var message = new $root.ProtoNumberListLevelSetting(); - if (object.listSettingName != null) - 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); - } - 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) - message.level = object.level | 0; - if (object.prefix != null) - message.prefix = String(object.prefix); - if (object.suffix != null) - 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); - } - if (object.fixBold != null) - message.fixBold = Boolean(object.fixBold); - if (object.fixItalic != null) - message.fixItalic = Boolean(object.fixItalic); - if (object.indentionWidth != null) - 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); - } - if (object.fontFamily != null) { - if (typeof object.fontFamily !== "object") - throw TypeError(".ProtoNumberListLevelSetting.fontFamily: object expected"); - 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); - } - if (object.italic != null) { - if (typeof object.italic !== "object") - throw TypeError(".ProtoNumberListLevelSetting.italic: object expected"); - 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; - } - return message; - }; - - /** - * Creates a plain object from a ProtoNumberListLevelSetting message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoNumberListLevelSetting - * @static - * @param {ProtoNumberListLevelSetting} message ProtoNumberListLevelSetting - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoNumberListLevelSetting.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.listSettingName = ""; - object.fontSize = null; - object.type = options.enums === String ? "UNNUMBERED" : 0; - object.level = 0; - object.prefix = ""; - object.suffix = ""; - object.fixFontFamily = null; - object.fixBold = false; - object.fixItalic = false; - object.indentionWidth = 0; - object.color = null; - object.fontFamily = null; - object.bold = null; - object.italic = null; - object.numberType = options.enums === String ? "ARABIC" : 0; - } - if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) - object.listSettingName = message.listSettingName; - if (message.fontSize != null && message.hasOwnProperty("fontSize")) - object.fontSize = $root.ProtoBoxedUint32.toObject(message.fontSize, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoListLevelSettingType[message.type] === undefined ? message.type : $root.ProtoListLevelSettingType[message.type] : message.type; - if (message.level != null && message.hasOwnProperty("level")) - object.level = message.level; - if (message.prefix != null && message.hasOwnProperty("prefix")) - object.prefix = message.prefix; - if (message.suffix != null && message.hasOwnProperty("suffix")) - object.suffix = message.suffix; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) - object.fixFontFamily = $root.ProtoFont.toObject(message.fixFontFamily, options); - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - object.fixBold = message.fixBold; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - object.fixItalic = message.fixItalic; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - object.indentionWidth = message.indentionWidth; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) - object.fontFamily = $root.ProtoFont.toObject(message.fontFamily, options); - if (message.bold != null && message.hasOwnProperty("bold")) - object.bold = $root.ProtoBoxedBool.toObject(message.bold, options); - if (message.italic != null && message.hasOwnProperty("italic")) - object.italic = $root.ProtoBoxedBool.toObject(message.italic, options); - if (message.numberType != null && message.hasOwnProperty("numberType")) - object.numberType = options.enums === String ? $root.ProtoNumberType[message.numberType] === undefined ? message.numberType : $root.ProtoNumberType[message.numberType] : message.numberType; - return object; - }; - - /** - * Converts this ProtoNumberListLevelSetting to JSON. - * @function toJSON - * @memberof ProtoNumberListLevelSetting - * @instance - * @returns {Object.} JSON object - */ - ProtoNumberListLevelSetting.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoNumberListLevelSetting - * @function getTypeUrl - * @memberof ProtoNumberListLevelSetting - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoNumberListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoNumberListLevelSetting"; - }; - - return ProtoNumberListLevelSetting; -})(); - -$root.ProtoUnnumberedListLevelSetting = (function() { - - /** - * Properties of a ProtoUnnumberedListLevelSetting. - * @name IProtoUnnumberedListLevelSetting - * @interface IProtoUnnumberedListLevelSetting - * @property {string|null} [listSettingName] ProtoUnnumberedListLevelSetting listSettingName - * @property {IProtoBoxedUint32|null} [fontSize] ProtoUnnumberedListLevelSetting fontSize - * @property {ProtoListLevelSettingType|null} [type] ProtoUnnumberedListLevelSetting type - * @property {number|null} [level] ProtoUnnumberedListLevelSetting level - * @property {string|null} [prefix] ProtoUnnumberedListLevelSetting prefix - * @property {string|null} [suffix] ProtoUnnumberedListLevelSetting suffix - * @property {IProtoFont|null} [fixFontFamily] ProtoUnnumberedListLevelSetting fixFontFamily - * @property {boolean|null} [fixBold] ProtoUnnumberedListLevelSetting fixBold - * @property {boolean|null} [fixItalic] ProtoUnnumberedListLevelSetting fixItalic - * @property {number|null} [indentionWidth] ProtoUnnumberedListLevelSetting indentionWidth - * @property {IProtoColor|null} [color] ProtoUnnumberedListLevelSetting color - * @property {IProtoFont|null} [fontFamily] ProtoUnnumberedListLevelSetting fontFamily - * @property {IProtoBoxedBool|null} [bold] ProtoUnnumberedListLevelSetting bold - * @property {IProtoBoxedBool|null} [italic] ProtoUnnumberedListLevelSetting italic - * @property {string|null} [character] ProtoUnnumberedListLevelSetting character - */ - - /** - * Constructs a new ProtoUnnumberedListLevelSetting. - * @name ProtoUnnumberedListLevelSetting - * @classdesc Represents a ProtoUnnumberedListLevelSetting. - * @implements IProtoUnnumberedListLevelSetting - * @constructor - * @param {IProtoUnnumberedListLevelSetting=} [properties] Properties to set - */ - function ProtoUnnumberedListLevelSetting(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoUnnumberedListLevelSetting listSettingName. - * @member {string} listSettingName - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.listSettingName = ""; - - /** - * ProtoUnnumberedListLevelSetting fontSize. - * @member {IProtoBoxedUint32|null|undefined} fontSize - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.fontSize = null; - - /** - * ProtoUnnumberedListLevelSetting type. - * @member {ProtoListLevelSettingType} type - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.type = 0; - - /** - * ProtoUnnumberedListLevelSetting level. - * @member {number} level - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.level = 0; - - /** - * ProtoUnnumberedListLevelSetting prefix. - * @member {string} prefix - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.prefix = ""; - - /** - * ProtoUnnumberedListLevelSetting suffix. - * @member {string} suffix - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.suffix = ""; - - /** - * ProtoUnnumberedListLevelSetting fixFontFamily. - * @member {IProtoFont|null|undefined} fixFontFamily - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.fixFontFamily = null; - - /** - * ProtoUnnumberedListLevelSetting fixBold. - * @member {boolean} fixBold - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.fixBold = false; - - /** - * ProtoUnnumberedListLevelSetting fixItalic. - * @member {boolean} fixItalic - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.fixItalic = false; - - /** - * ProtoUnnumberedListLevelSetting indentionWidth. - * @member {number} indentionWidth - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.indentionWidth = 0; - - /** - * ProtoUnnumberedListLevelSetting color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.color = null; - - /** - * ProtoUnnumberedListLevelSetting fontFamily. - * @member {IProtoFont|null|undefined} fontFamily - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.fontFamily = null; - - /** - * ProtoUnnumberedListLevelSetting bold. - * @member {IProtoBoxedBool|null|undefined} bold - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.bold = null; - - /** - * ProtoUnnumberedListLevelSetting italic. - * @member {IProtoBoxedBool|null|undefined} italic - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.italic = null; - - /** - * ProtoUnnumberedListLevelSetting character. - * @member {string} character - * @memberof ProtoUnnumberedListLevelSetting - * @instance - */ - ProtoUnnumberedListLevelSetting.prototype.character = ""; - - /** - * Creates a new ProtoUnnumberedListLevelSetting instance using the specified properties. - * @function create - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @param {IProtoUnnumberedListLevelSetting=} [properties] Properties to set - * @returns {ProtoUnnumberedListLevelSetting} ProtoUnnumberedListLevelSetting instance - */ - ProtoUnnumberedListLevelSetting.create = function create(properties) { - return new ProtoUnnumberedListLevelSetting(properties); - }; - - /** - * Encodes the specified ProtoUnnumberedListLevelSetting message. Does not implicitly {@link ProtoUnnumberedListLevelSetting.verify|verify} messages. - * @function encode - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @param {IProtoUnnumberedListLevelSetting} message ProtoUnnumberedListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoUnnumberedListLevelSetting.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.listSettingName != null && Object.hasOwnProperty.call(message, "listSettingName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.listSettingName); - if (message.fontSize != null && Object.hasOwnProperty.call(message, "fontSize")) - $root.ProtoBoxedUint32.encode(message.fontSize, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.type); - if (message.level != null && Object.hasOwnProperty.call(message, "level")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.level); - if (message.prefix != null && Object.hasOwnProperty.call(message, "prefix")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.prefix); - if (message.suffix != null && Object.hasOwnProperty.call(message, "suffix")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.suffix); - if (message.fixFontFamily != null && Object.hasOwnProperty.call(message, "fixFontFamily")) - $root.ProtoFont.encode(message.fixFontFamily, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.fixBold != null && Object.hasOwnProperty.call(message, "fixBold")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.fixBold); - if (message.fixItalic != null && Object.hasOwnProperty.call(message, "fixItalic")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.fixItalic); - if (message.indentionWidth != null && Object.hasOwnProperty.call(message, "indentionWidth")) - writer.uint32(/* id 10, wireType 0 =*/80).int32(message.indentionWidth); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $root.ProtoColor.encode(message.color, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.fontFamily != null && Object.hasOwnProperty.call(message, "fontFamily")) - $root.ProtoFont.encode(message.fontFamily, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.bold != null && Object.hasOwnProperty.call(message, "bold")) - $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.character != null && Object.hasOwnProperty.call(message, "character")) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.character); - return writer; - }; - - /** - * Encodes the specified ProtoUnnumberedListLevelSetting message, length delimited. Does not implicitly {@link ProtoUnnumberedListLevelSetting.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @param {IProtoUnnumberedListLevelSetting} message ProtoUnnumberedListLevelSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoUnnumberedListLevelSetting.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoUnnumberedListLevelSetting message from the specified reader or buffer. - * @function decode - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoUnnumberedListLevelSetting} ProtoUnnumberedListLevelSetting - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoUnnumberedListLevelSetting(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.listSettingName = reader.string(); - break; - } - case 2: { - message.fontSize = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - case 3: { - message.type = reader.int32(); - break; - } - case 4: { - message.level = reader.int32(); - break; - } - case 5: { - message.prefix = reader.string(); - break; - } - case 6: { - message.suffix = reader.string(); - break; - } - case 7: { - message.fixFontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 8: { - message.fixBold = reader.bool(); - break; - } - case 9: { - message.fixItalic = reader.bool(); - break; - } - case 10: { - message.indentionWidth = reader.int32(); - break; - } - case 11: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 12: { - message.fontFamily = $root.ProtoFont.decode(reader, reader.uint32()); - break; - } - case 13: { - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 14: { - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 15: { - message.character = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoUnnumberedListLevelSetting message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoUnnumberedListLevelSetting} ProtoUnnumberedListLevelSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoUnnumberedListLevelSetting.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoUnnumberedListLevelSetting message. - * @function verify - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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); - if (error) - return "fontSize." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.level != null && message.hasOwnProperty("level")) - if (!$util.isInteger(message.level)) - return "level: integer expected"; - if (message.prefix != null && message.hasOwnProperty("prefix")) - if (!$util.isString(message.prefix)) - return "prefix: string expected"; - if (message.suffix != null && message.hasOwnProperty("suffix")) - if (!$util.isString(message.suffix)) - return "suffix: string expected"; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) { - var error = $root.ProtoFont.verify(message.fixFontFamily); - if (error) - return "fixFontFamily." + error; - } - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - if (typeof message.fixBold !== "boolean") - return "fixBold: boolean expected"; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - if (typeof message.fixItalic !== "boolean") - return "fixItalic: boolean expected"; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - if (!$util.isInteger(message.indentionWidth)) - return "indentionWidth: integer expected"; - if (message.color != null && message.hasOwnProperty("color")) { - 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); - if (error) - return "fontFamily." + error; - } - if (message.bold != null && message.hasOwnProperty("bold")) { - 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); - if (error) - return "italic." + error; - } - if (message.character != null && message.hasOwnProperty("character")) - if (!$util.isString(message.character)) - return "character: string expected"; - return null; - }; - - /** - * Creates a ProtoUnnumberedListLevelSetting message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @param {Object.} object Plain object - * @returns {ProtoUnnumberedListLevelSetting} ProtoUnnumberedListLevelSetting - */ - ProtoUnnumberedListLevelSetting.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoUnnumberedListLevelSetting) - return object; - var message = new $root.ProtoUnnumberedListLevelSetting(); - if (object.listSettingName != null) - 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); - } - 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) - message.level = object.level | 0; - if (object.prefix != null) - message.prefix = String(object.prefix); - if (object.suffix != null) - 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); - } - if (object.fixBold != null) - message.fixBold = Boolean(object.fixBold); - if (object.fixItalic != null) - message.fixItalic = Boolean(object.fixItalic); - if (object.indentionWidth != null) - 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); - } - if (object.fontFamily != null) { - if (typeof object.fontFamily !== "object") - throw TypeError(".ProtoUnnumberedListLevelSetting.fontFamily: object expected"); - 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); - } - if (object.italic != null) { - if (typeof object.italic !== "object") - throw TypeError(".ProtoUnnumberedListLevelSetting.italic: object expected"); - message.italic = $root.ProtoBoxedBool.fromObject(object.italic); - } - if (object.character != null) - message.character = String(object.character); - return message; - }; - - /** - * Creates a plain object from a ProtoUnnumberedListLevelSetting message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @param {ProtoUnnumberedListLevelSetting} message ProtoUnnumberedListLevelSetting - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoUnnumberedListLevelSetting.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.listSettingName = ""; - object.fontSize = null; - object.type = options.enums === String ? "UNNUMBERED" : 0; - object.level = 0; - object.prefix = ""; - object.suffix = ""; - object.fixFontFamily = null; - object.fixBold = false; - object.fixItalic = false; - object.indentionWidth = 0; - object.color = null; - object.fontFamily = null; - object.bold = null; - object.italic = null; - object.character = ""; - } - if (message.listSettingName != null && message.hasOwnProperty("listSettingName")) - object.listSettingName = message.listSettingName; - if (message.fontSize != null && message.hasOwnProperty("fontSize")) - object.fontSize = $root.ProtoBoxedUint32.toObject(message.fontSize, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoListLevelSettingType[message.type] === undefined ? message.type : $root.ProtoListLevelSettingType[message.type] : message.type; - if (message.level != null && message.hasOwnProperty("level")) - object.level = message.level; - if (message.prefix != null && message.hasOwnProperty("prefix")) - object.prefix = message.prefix; - if (message.suffix != null && message.hasOwnProperty("suffix")) - object.suffix = message.suffix; - if (message.fixFontFamily != null && message.hasOwnProperty("fixFontFamily")) - object.fixFontFamily = $root.ProtoFont.toObject(message.fixFontFamily, options); - if (message.fixBold != null && message.hasOwnProperty("fixBold")) - object.fixBold = message.fixBold; - if (message.fixItalic != null && message.hasOwnProperty("fixItalic")) - object.fixItalic = message.fixItalic; - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - object.indentionWidth = message.indentionWidth; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.fontFamily != null && message.hasOwnProperty("fontFamily")) - object.fontFamily = $root.ProtoFont.toObject(message.fontFamily, options); - if (message.bold != null && message.hasOwnProperty("bold")) - object.bold = $root.ProtoBoxedBool.toObject(message.bold, options); - if (message.italic != null && message.hasOwnProperty("italic")) - object.italic = $root.ProtoBoxedBool.toObject(message.italic, options); - if (message.character != null && message.hasOwnProperty("character")) - object.character = message.character; - return object; - }; - - /** - * Converts this ProtoUnnumberedListLevelSetting to JSON. - * @function toJSON - * @memberof ProtoUnnumberedListLevelSetting - * @instance - * @returns {Object.} JSON object - */ - ProtoUnnumberedListLevelSetting.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoUnnumberedListLevelSetting - * @function getTypeUrl - * @memberof ProtoUnnumberedListLevelSetting - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoUnnumberedListLevelSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoUnnumberedListLevelSetting"; - }; - - return ProtoUnnumberedListLevelSetting; -})(); - -$root.ProtoListSetting = (function() { - - /** - * Properties of a ProtoListSetting. - * @name IProtoListSetting - * @interface IProtoListSetting - * @property {IProtoDocumentElement|null} [parent] ProtoListSetting parent - * @property {string|null} [name] ProtoListSetting name - * @property {Array.|null} [listLevelSettings] ProtoListSetting listLevelSettings - * @property {IProtoListLevelSetting|null} [defaultListLevelSetting] ProtoListSetting defaultListLevelSetting - * @property {Array.|null} [comChannelUUIDs] ProtoListSetting comChannelUUIDs - */ - - /** - * Constructs a new ProtoListSetting. - * @name ProtoListSetting - * @classdesc Represents a ProtoListSetting. - * @implements IProtoListSetting - * @constructor - * @param {IProtoListSetting=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoListSetting parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoListSetting - * @instance - */ - ProtoListSetting.prototype.parent = null; - - /** - * ProtoListSetting name. - * @member {string} name - * @memberof ProtoListSetting - * @instance - */ - ProtoListSetting.prototype.name = ""; - - /** - * ProtoListSetting listLevelSettings. - * @member {Array.} listLevelSettings - * @memberof ProtoListSetting - * @instance - */ - ProtoListSetting.prototype.listLevelSettings = $util.emptyArray; - - /** - * ProtoListSetting defaultListLevelSetting. - * @member {IProtoListLevelSetting|null|undefined} defaultListLevelSetting - * @memberof ProtoListSetting - * @instance - */ - ProtoListSetting.prototype.defaultListLevelSetting = null; - - /** - * ProtoListSetting comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoListSetting - * @instance - */ - ProtoListSetting.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoListSetting instance using the specified properties. - * @function create - * @memberof ProtoListSetting - * @static - * @param {IProtoListSetting=} [properties] Properties to set - * @returns {ProtoListSetting} ProtoListSetting instance - */ - ProtoListSetting.create = function create(properties) { - return new ProtoListSetting(properties); - }; - - /** - * Encodes the specified ProtoListSetting message. Does not implicitly {@link ProtoListSetting.verify|verify} messages. - * @function encode - * @memberof ProtoListSetting - * @static - * @param {IProtoListSetting} message ProtoListSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoListSetting.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.listLevelSettings != null && message.listLevelSettings.length) - for (var i = 0; i < message.listLevelSettings.length; ++i) - $root.ProtoListLevelSetting.encode(message.listLevelSettings[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.defaultListLevelSetting != null && Object.hasOwnProperty.call(message, "defaultListLevelSetting")) - $root.ProtoListLevelSetting.encode(message.defaultListLevelSetting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoListSetting message, length delimited. Does not implicitly {@link ProtoListSetting.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoListSetting - * @static - * @param {IProtoListSetting} message ProtoListSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoListSetting.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoListSetting message from the specified reader or buffer. - * @function decode - * @memberof ProtoListSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoListSetting} ProtoListSetting - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoListSetting(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.name = reader.string(); - break; - } - case 3: { - if (!(message.listLevelSettings && message.listLevelSettings.length)) - message.listLevelSettings = []; - message.listLevelSettings.push($root.ProtoListLevelSetting.decode(reader, reader.uint32())); - break; - } - case 4: { - message.defaultListLevelSetting = $root.ProtoListLevelSetting.decode(reader, reader.uint32()); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoListSetting message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoListSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoListSetting} ProtoListSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoListSetting.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoListSetting message. - * @function verify - * @memberof ProtoListSetting - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.listLevelSettings != null && message.hasOwnProperty("listLevelSettings")) { - 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]); - if (error) - return "listLevelSettings." + error; - } - } - if (message.defaultListLevelSetting != null && message.hasOwnProperty("defaultListLevelSetting")) { - var error = $root.ProtoListLevelSetting.verify(message.defaultListLevelSetting); - if (error) - return "defaultListLevelSetting." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoListSetting message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoListSetting - * @static - * @param {Object.} object Plain object - * @returns {ProtoListSetting} ProtoListSetting - */ - ProtoListSetting.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoListSetting) - return object; - 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); - } - if (object.name != null) - message.name = String(object.name); - if (object.listLevelSettings) { - if (!Array.isArray(object.listLevelSettings)) - throw TypeError(".ProtoListSetting.listLevelSettings: array expected"); - 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]); - } - } - if (object.defaultListLevelSetting != null) { - if (typeof object.defaultListLevelSetting !== "object") - throw TypeError(".ProtoListSetting.defaultListLevelSetting: object expected"); - message.defaultListLevelSetting = $root.ProtoListLevelSetting.fromObject(object.defaultListLevelSetting); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoListSetting.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoListSetting message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoListSetting - * @static - * @param {ProtoListSetting} message ProtoListSetting - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoListSetting.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object.listLevelSettings = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.name = ""; - object.defaultListLevelSetting = null; - } - 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 = []; - 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoListSetting to JSON. - * @function toJSON - * @memberof ProtoListSetting - * @instance - * @returns {Object.} JSON object - */ - ProtoListSetting.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoListSetting - * @function getTypeUrl - * @memberof ProtoListSetting - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoListSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoListSetting"; - }; - - return ProtoListSetting; -})(); - -$root.ProtoBoxedListSetting = (function() { - - /** - * Properties of a ProtoBoxedListSetting. - * @name IProtoBoxedListSetting - * @interface IProtoBoxedListSetting - * @property {IProtoListSetting|null} [value] ProtoBoxedListSetting value - * @property {boolean|null} [isNull] ProtoBoxedListSetting isNull - */ - - /** - * Constructs a new ProtoBoxedListSetting. - * @name ProtoBoxedListSetting - * @classdesc Represents a ProtoBoxedListSetting. - * @implements IProtoBoxedListSetting - * @constructor - * @param {IProtoBoxedListSetting=} [properties] Properties to set - */ - function ProtoBoxedListSetting(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedListSetting value. - * @member {IProtoListSetting|null|undefined} value - * @memberof ProtoBoxedListSetting - * @instance - */ - ProtoBoxedListSetting.prototype.value = null; - - /** - * ProtoBoxedListSetting isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedListSetting - * @instance - */ - ProtoBoxedListSetting.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedListSetting instance using the specified properties. - * @function create - * @memberof ProtoBoxedListSetting - * @static - * @param {IProtoBoxedListSetting=} [properties] Properties to set - * @returns {ProtoBoxedListSetting} ProtoBoxedListSetting instance - */ - ProtoBoxedListSetting.create = function create(properties) { - return new ProtoBoxedListSetting(properties); - }; - - /** - * Encodes the specified ProtoBoxedListSetting message. Does not implicitly {@link ProtoBoxedListSetting.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedListSetting - * @static - * @param {IProtoBoxedListSetting} message ProtoBoxedListSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedListSetting.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedListSetting message, length delimited. Does not implicitly {@link ProtoBoxedListSetting.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedListSetting - * @static - * @param {IProtoBoxedListSetting} message ProtoBoxedListSetting message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedListSetting.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedListSetting message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedListSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedListSetting} ProtoBoxedListSetting - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedListSetting(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = $root.ProtoListSetting.decode(reader, reader.uint32()); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedListSetting message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedListSetting - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedListSetting} ProtoBoxedListSetting - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedListSetting.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedListSetting message. - * @function verify - * @memberof ProtoBoxedListSetting - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.ProtoListSetting.verify(message.value); - if (error) - return "value." + error; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedListSetting message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedListSetting - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedListSetting} ProtoBoxedListSetting - */ - ProtoBoxedListSetting.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedListSetting) - return object; - 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); - } - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedListSetting message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedListSetting - * @static - * @param {ProtoBoxedListSetting} message ProtoBoxedListSetting - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedListSetting.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = null; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.ProtoListSetting.toObject(message.value, options); - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedListSetting to JSON. - * @function toJSON - * @memberof ProtoBoxedListSetting - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedListSetting.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedListSetting - * @function getTypeUrl - * @memberof ProtoBoxedListSetting - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedListSetting.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedListSetting"; - }; - - return ProtoBoxedListSetting; -})(); - -$root.ProtoNamedString = (function() { - - /** - * Properties of a ProtoNamedString. - * @name IProtoNamedString - * @interface IProtoNamedString - * @property {Array.|null} [_children] ProtoNamedString _children - * @property {IProtoDocumentElement|null} [parent] ProtoNamedString parent - * @property {string|null} [name] ProtoNamedString name - * @property {Array.|null} [comChannelUUIDs] ProtoNamedString comChannelUUIDs - * @property {string|null} [uuid] ProtoNamedString uuid - * @property {string|null} [description] ProtoNamedString description - * @property {string|null} [nameCode] ProtoNamedString nameCode - * @property {boolean|null} [codeMode] ProtoNamedString codeMode - */ - - /** - * Constructs a new ProtoNamedString. - * @name ProtoNamedString - * @classdesc Represents a ProtoNamedString. - * @implements IProtoNamedString - * @constructor - * @param {IProtoNamedString=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoNamedString _children. - * @member {Array.} _children - * @memberof ProtoNamedString - * @instance - */ - ProtoNamedString.prototype._children = $util.emptyArray; - - /** - * ProtoNamedString parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoNamedString - * @instance - */ - ProtoNamedString.prototype.parent = null; - - /** - * ProtoNamedString name. - * @member {string} name - * @memberof ProtoNamedString - * @instance - */ - ProtoNamedString.prototype.name = ""; - - /** - * ProtoNamedString comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoNamedString - * @instance - */ - ProtoNamedString.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoNamedString uuid. - * @member {string} uuid - * @memberof ProtoNamedString - * @instance - */ - ProtoNamedString.prototype.uuid = ""; - - /** - * ProtoNamedString description. - * @member {string} description - * @memberof ProtoNamedString - * @instance - */ - ProtoNamedString.prototype.description = ""; - - /** - * ProtoNamedString nameCode. - * @member {string} nameCode - * @memberof ProtoNamedString - * @instance - */ - ProtoNamedString.prototype.nameCode = ""; - - /** - * ProtoNamedString codeMode. - * @member {boolean} codeMode - * @memberof ProtoNamedString - * @instance - */ - ProtoNamedString.prototype.codeMode = false; - - /** - * Creates a new ProtoNamedString instance using the specified properties. - * @function create - * @memberof ProtoNamedString - * @static - * @param {IProtoNamedString=} [properties] Properties to set - * @returns {ProtoNamedString} ProtoNamedString instance - */ - ProtoNamedString.create = function create(properties) { - return new ProtoNamedString(properties); - }; - - /** - * Encodes the specified ProtoNamedString message. Does not implicitly {@link ProtoNamedString.verify|verify} messages. - * @function encode - * @memberof ProtoNamedString - * @static - * @param {IProtoNamedString} message ProtoNamedString message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoNamedString.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); - 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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.uuid); - if (message.description != null && Object.hasOwnProperty.call(message, "description")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.description); - if (message.nameCode != null && Object.hasOwnProperty.call(message, "nameCode")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoNamedString message, length delimited. Does not implicitly {@link ProtoNamedString.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoNamedString - * @static - * @param {IProtoNamedString} message ProtoNamedString message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoNamedString.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoNamedString message from the specified reader or buffer. - * @function decode - * @memberof ProtoNamedString - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoNamedString} ProtoNamedString - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoNamedString(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.name = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.uuid = reader.string(); - break; - } - case 6: { - message.description = reader.string(); - break; - } - case 7: { - message.nameCode = reader.string(); - break; - } - case 8: { - message.codeMode = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoNamedString message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoNamedString - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoNamedString} ProtoNamedString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoNamedString.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoNamedString message. - * @function verify - * @memberof ProtoNamedString - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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"; - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; - if (message.nameCode != null && message.hasOwnProperty("nameCode")) - if (!$util.isString(message.nameCode)) - return "nameCode: string expected"; - if (message.codeMode != null && message.hasOwnProperty("codeMode")) - if (typeof message.codeMode !== "boolean") - return "codeMode: boolean expected"; - return null; - }; - - /** - * Creates a ProtoNamedString message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoNamedString - * @static - * @param {Object.} object Plain object - * @returns {ProtoNamedString} ProtoNamedString - */ - ProtoNamedString.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoNamedString) - return object; - var message = new $root.ProtoNamedString(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoNamedString._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoNamedString.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.name != null) - message.name = String(object.name); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoNamedString.comChannelUUIDs: array expected"); - 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); - if (object.description != null) - message.description = String(object.description); - if (object.nameCode != null) - message.nameCode = String(object.nameCode); - if (object.codeMode != null) - message.codeMode = Boolean(object.codeMode); - return message; - }; - - /** - * Creates a plain object from a ProtoNamedString message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoNamedString - * @static - * @param {ProtoNamedString} message ProtoNamedString - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoNamedString.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.name = ""; - object.uuid = ""; - object.description = ""; - object.nameCode = ""; - object.codeMode = false; - } - if (message._children && 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.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.comChannelUUIDs && 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.description != null && message.hasOwnProperty("description")) - object.description = message.description; - if (message.nameCode != null && message.hasOwnProperty("nameCode")) - object.nameCode = message.nameCode; - if (message.codeMode != null && message.hasOwnProperty("codeMode")) - object.codeMode = message.codeMode; - return object; - }; - - /** - * Converts this ProtoNamedString to JSON. - * @function toJSON - * @memberof ProtoNamedString - * @instance - * @returns {Object.} JSON object - */ - ProtoNamedString.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoNamedString - * @function getTypeUrl - * @memberof ProtoNamedString - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoNamedString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoNamedString"; - }; - - return ProtoNamedString; -})(); - -$root.ProtoParagraph = (function() { - - /** - * Properties of a ProtoParagraph. - * @name IProtoParagraph - * @interface IProtoParagraph - * @property {Array.|null} [_children] ProtoParagraph _children - * @property {IProtoDocumentElement|null} [parent] ProtoParagraph parent - * @property {IProtoParagraphFormat|null} [format] ProtoParagraph format - * @property {IProtoParagraphFormat|null} [overwrite] ProtoParagraph overwrite - * @property {Array.|null} [comChannelUUIDs] ProtoParagraph comChannelUUIDs - * @property {string|null} [paragraphFormatUUID] ProtoParagraph paragraphFormatUUID - * @property {string|null} [uuid] ProtoParagraph uuid - */ - - /** - * Constructs a new ProtoParagraph. - * @name ProtoParagraph - * @classdesc Represents a ProtoParagraph. - * @implements IProtoParagraph - * @constructor - * @param {IProtoParagraph=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoParagraph _children. - * @member {Array.} _children - * @memberof ProtoParagraph - * @instance - */ - ProtoParagraph.prototype._children = $util.emptyArray; - - /** - * ProtoParagraph parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoParagraph - * @instance - */ - ProtoParagraph.prototype.parent = null; - - /** - * ProtoParagraph format. - * @member {IProtoParagraphFormat|null|undefined} format - * @memberof ProtoParagraph - * @instance - */ - ProtoParagraph.prototype.format = null; - - /** - * ProtoParagraph overwrite. - * @member {IProtoParagraphFormat|null|undefined} overwrite - * @memberof ProtoParagraph - * @instance - */ - ProtoParagraph.prototype.overwrite = null; - - /** - * ProtoParagraph comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoParagraph - * @instance - */ - ProtoParagraph.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoParagraph paragraphFormatUUID. - * @member {string} paragraphFormatUUID - * @memberof ProtoParagraph - * @instance - */ - ProtoParagraph.prototype.paragraphFormatUUID = ""; - - /** - * ProtoParagraph uuid. - * @member {string} uuid - * @memberof ProtoParagraph - * @instance - */ - ProtoParagraph.prototype.uuid = ""; - - /** - * Creates a new ProtoParagraph instance using the specified properties. - * @function create - * @memberof ProtoParagraph - * @static - * @param {IProtoParagraph=} [properties] Properties to set - * @returns {ProtoParagraph} ProtoParagraph instance - */ - ProtoParagraph.create = function create(properties) { - return new ProtoParagraph(properties); - }; - - /** - * Encodes the specified ProtoParagraph message. Does not implicitly {@link ProtoParagraph.verify|verify} messages. - * @function encode - * @memberof ProtoParagraph - * @static - * @param {IProtoParagraph} message ProtoParagraph message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoParagraph.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.format != null && Object.hasOwnProperty.call(message, "format")) - $root.ProtoParagraphFormat.encode(message.format, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.overwrite != null && Object.hasOwnProperty.call(message, "overwrite")) - $root.ProtoParagraphFormat.encode(message.overwrite, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - 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.paragraphFormatUUID != null && Object.hasOwnProperty.call(message, "paragraphFormatUUID")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoParagraph message, length delimited. Does not implicitly {@link ProtoParagraph.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoParagraph - * @static - * @param {IProtoParagraph} message ProtoParagraph message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoParagraph.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoParagraph message from the specified reader or buffer. - * @function decode - * @memberof ProtoParagraph - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoParagraph} ProtoParagraph - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoParagraph(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.format = $root.ProtoParagraphFormat.decode(reader, reader.uint32()); - break; - } - case 4: { - message.overwrite = $root.ProtoParagraphFormat.decode(reader, reader.uint32()); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 6: { - message.paragraphFormatUUID = reader.string(); - break; - } - case 7: { - message.uuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoParagraph message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoParagraph - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoParagraph} ProtoParagraph - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoParagraph.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoParagraph message. - * @function verify - * @memberof ProtoParagraph - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "format." + error; - } - if (message.overwrite != null && message.hasOwnProperty("overwrite")) { - var error = $root.ProtoParagraphFormat.verify(message.overwrite); - if (error) - return "overwrite." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.paragraphFormatUUID != null && message.hasOwnProperty("paragraphFormatUUID")) - if (!$util.isString(message.paragraphFormatUUID)) - return "paragraphFormatUUID: string expected"; - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - return null; - }; - - /** - * Creates a ProtoParagraph message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoParagraph - * @static - * @param {Object.} object Plain object - * @returns {ProtoParagraph} ProtoParagraph - */ - ProtoParagraph.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoParagraph) - return object; - var message = new $root.ProtoParagraph(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoParagraph._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoParagraph.parent: object expected"); - 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); - } - if (object.overwrite != null) { - if (typeof object.overwrite !== "object") - throw TypeError(".ProtoParagraph.overwrite: object expected"); - message.overwrite = $root.ProtoParagraphFormat.fromObject(object.overwrite); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoParagraph.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - if (object.paragraphFormatUUID != null) - message.paragraphFormatUUID = String(object.paragraphFormatUUID); - if (object.uuid != null) - message.uuid = String(object.uuid); - return message; - }; - - /** - * Creates a plain object from a ProtoParagraph message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoParagraph - * @static - * @param {ProtoParagraph} message ProtoParagraph - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoParagraph.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.format = null; - object.overwrite = null; - object.paragraphFormatUUID = ""; - object.uuid = ""; - } - if (message._children && 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.format != null && message.hasOwnProperty("format")) - object.format = $root.ProtoParagraphFormat.toObject(message.format, options); - if (message.overwrite != null && message.hasOwnProperty("overwrite")) - object.overwrite = $root.ProtoParagraphFormat.toObject(message.overwrite, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.paragraphFormatUUID != null && message.hasOwnProperty("paragraphFormatUUID")) - object.paragraphFormatUUID = message.paragraphFormatUUID; - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - return object; - }; - - /** - * Converts this ProtoParagraph to JSON. - * @function toJSON - * @memberof ProtoParagraph - * @instance - * @returns {Object.} JSON object - */ - ProtoParagraph.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoParagraph - * @function getTypeUrl - * @memberof ProtoParagraph - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoParagraph.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoParagraph"; - }; - - return ProtoParagraph; -})(); - -$root.ProtoParagraphFormat = (function() { - - /** - * Properties of a ProtoParagraphFormat. - * @name IProtoParagraphFormat - * @interface IProtoParagraphFormat - * @property {IProtoParagraphFormat|null} [baseFormat] ProtoParagraphFormat baseFormat - * @property {IProtoBoxedString|null} [name] ProtoParagraphFormat name - * @property {IProtoBoxedBool|null} ["default"] ProtoParagraphFormat default - * @property {IProtoBoxedFont|null} [font] ProtoParagraphFormat font - * @property {IProtoBoxedBool|null} [bold] ProtoParagraphFormat bold - * @property {IProtoBoxedBool|null} [italic] ProtoParagraphFormat italic - * @property {IProtoBoxedColor|null} [fontColor] ProtoParagraphFormat fontColor - * @property {IProtoBoxedUnderlineSpec|null} [underline] ProtoParagraphFormat underline - * @property {IProtoBoxedMeasure|null} [fontSize] ProtoParagraphFormat fontSize - * @property {IProtoBoxedMeasure|null} [characterWidth] ProtoParagraphFormat characterWidth - * @property {IProtoBoxedMeasure|null} [characterSpacing] ProtoParagraphFormat characterSpacing - * @property {IProtoBoxedMeasure|null} [lineFeed] ProtoParagraphFormat lineFeed - * @property {IProtoBoxedHorizontalAlignment|null} [alignment] ProtoParagraphFormat alignment - * @property {IProtoBoxedMeasure|null} [indentionWidth] ProtoParagraphFormat indentionWidth - * @property {IProtoBoxedInt32|null} [indentionLevel] ProtoParagraphFormat indentionLevel - * @property {IProtoBoxedMeasure|null} [spaceAbove] ProtoParagraphFormat spaceAbove - * @property {IProtoBoxedMeasure|null} [spaceBelow] ProtoParagraphFormat spaceBelow - * @property {IProtoBoxedInt32|null} [widowSetting] ProtoParagraphFormat widowSetting - * @property {IProtoBoxedInt32|null} [orphanSetting] ProtoParagraphFormat orphanSetting - * @property {IProtoBoxedInt32|null} [widowPriority] ProtoParagraphFormat widowPriority - * @property {IProtoBoxedStrikethroughSpec|null} [strikethrough] ProtoParagraphFormat strikethrough - * @property {IProtoBoxedSPBMode|null} [superscriptSubscript] ProtoParagraphFormat superscriptSubscript - * @property {IProtoBoxedColor|null} [backgroundColor] ProtoParagraphFormat backgroundColor - * @property {IProtoBoxedListSetting|null} [listSetting] ProtoParagraphFormat listSetting - * @property {IProtoBoxedBool|null} [hyphenation] ProtoParagraphFormat hyphenation - * @property {IProtoBoxedString|null} [preNamedString] ProtoParagraphFormat preNamedString - * @property {IProtoBoxedString|null} [postNamedString] ProtoParagraphFormat postNamedString - * @property {IProtoBoxedString|null} [semanticType] ProtoParagraphFormat semanticType - * @property {Array.|null} [comChannelUUIDs] ProtoParagraphFormat comChannelUUIDs - */ - - /** - * Constructs a new ProtoParagraphFormat. - * @name ProtoParagraphFormat - * @classdesc Represents a ProtoParagraphFormat. - * @implements IProtoParagraphFormat - * @constructor - * @param {IProtoParagraphFormat=} [properties] Properties to set - */ - function ProtoParagraphFormat(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoParagraphFormat baseFormat. - * @member {IProtoParagraphFormat|null|undefined} baseFormat - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.baseFormat = null; - - /** - * ProtoParagraphFormat name. - * @member {IProtoBoxedString|null|undefined} name - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.name = null; - - /** - * ProtoParagraphFormat default. - * @member {IProtoBoxedBool|null|undefined} default - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype["default"] = null; - - /** - * ProtoParagraphFormat font. - * @member {IProtoBoxedFont|null|undefined} font - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.font = null; - - /** - * ProtoParagraphFormat bold. - * @member {IProtoBoxedBool|null|undefined} bold - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.bold = null; - - /** - * ProtoParagraphFormat italic. - * @member {IProtoBoxedBool|null|undefined} italic - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.italic = null; - - /** - * ProtoParagraphFormat fontColor. - * @member {IProtoBoxedColor|null|undefined} fontColor - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.fontColor = null; - - /** - * ProtoParagraphFormat underline. - * @member {IProtoBoxedUnderlineSpec|null|undefined} underline - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.underline = null; - - /** - * ProtoParagraphFormat fontSize. - * @member {IProtoBoxedMeasure|null|undefined} fontSize - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.fontSize = null; - - /** - * ProtoParagraphFormat characterWidth. - * @member {IProtoBoxedMeasure|null|undefined} characterWidth - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.characterWidth = null; - - /** - * ProtoParagraphFormat characterSpacing. - * @member {IProtoBoxedMeasure|null|undefined} characterSpacing - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.characterSpacing = null; - - /** - * ProtoParagraphFormat lineFeed. - * @member {IProtoBoxedMeasure|null|undefined} lineFeed - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.lineFeed = null; - - /** - * ProtoParagraphFormat alignment. - * @member {IProtoBoxedHorizontalAlignment|null|undefined} alignment - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.alignment = null; - - /** - * ProtoParagraphFormat indentionWidth. - * @member {IProtoBoxedMeasure|null|undefined} indentionWidth - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.indentionWidth = null; - - /** - * ProtoParagraphFormat indentionLevel. - * @member {IProtoBoxedInt32|null|undefined} indentionLevel - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.indentionLevel = null; - - /** - * ProtoParagraphFormat spaceAbove. - * @member {IProtoBoxedMeasure|null|undefined} spaceAbove - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.spaceAbove = null; - - /** - * ProtoParagraphFormat spaceBelow. - * @member {IProtoBoxedMeasure|null|undefined} spaceBelow - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.spaceBelow = null; - - /** - * ProtoParagraphFormat widowSetting. - * @member {IProtoBoxedInt32|null|undefined} widowSetting - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.widowSetting = null; - - /** - * ProtoParagraphFormat orphanSetting. - * @member {IProtoBoxedInt32|null|undefined} orphanSetting - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.orphanSetting = null; - - /** - * ProtoParagraphFormat widowPriority. - * @member {IProtoBoxedInt32|null|undefined} widowPriority - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.widowPriority = null; - - /** - * ProtoParagraphFormat strikethrough. - * @member {IProtoBoxedStrikethroughSpec|null|undefined} strikethrough - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.strikethrough = null; - - /** - * ProtoParagraphFormat superscriptSubscript. - * @member {IProtoBoxedSPBMode|null|undefined} superscriptSubscript - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.superscriptSubscript = null; - - /** - * ProtoParagraphFormat backgroundColor. - * @member {IProtoBoxedColor|null|undefined} backgroundColor - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.backgroundColor = null; - - /** - * ProtoParagraphFormat listSetting. - * @member {IProtoBoxedListSetting|null|undefined} listSetting - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.listSetting = null; - - /** - * ProtoParagraphFormat hyphenation. - * @member {IProtoBoxedBool|null|undefined} hyphenation - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.hyphenation = null; - - /** - * ProtoParagraphFormat preNamedString. - * @member {IProtoBoxedString|null|undefined} preNamedString - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.preNamedString = null; - - /** - * ProtoParagraphFormat postNamedString. - * @member {IProtoBoxedString|null|undefined} postNamedString - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.postNamedString = null; - - /** - * ProtoParagraphFormat semanticType. - * @member {IProtoBoxedString|null|undefined} semanticType - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.semanticType = null; - - /** - * ProtoParagraphFormat comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoParagraphFormat - * @instance - */ - ProtoParagraphFormat.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoParagraphFormat instance using the specified properties. - * @function create - * @memberof ProtoParagraphFormat - * @static - * @param {IProtoParagraphFormat=} [properties] Properties to set - * @returns {ProtoParagraphFormat} ProtoParagraphFormat instance - */ - ProtoParagraphFormat.create = function create(properties) { - return new ProtoParagraphFormat(properties); - }; - - /** - * Encodes the specified ProtoParagraphFormat message. Does not implicitly {@link ProtoParagraphFormat.verify|verify} messages. - * @function encode - * @memberof ProtoParagraphFormat - * @static - * @param {IProtoParagraphFormat} message ProtoParagraphFormat message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoParagraphFormat.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.baseFormat != null && Object.hasOwnProperty.call(message, "baseFormat")) - $root.ProtoParagraphFormat.encode(message.baseFormat, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - $root.ProtoBoxedString.encode(message.name, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - $root.ProtoBoxedBool.encode(message["default"], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.font != null && Object.hasOwnProperty.call(message, "font")) - $root.ProtoBoxedFont.encode(message.font, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.bold != null && Object.hasOwnProperty.call(message, "bold")) - $root.ProtoBoxedBool.encode(message.bold, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.italic != null && Object.hasOwnProperty.call(message, "italic")) - $root.ProtoBoxedBool.encode(message.italic, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.fontColor != null && Object.hasOwnProperty.call(message, "fontColor")) - $root.ProtoBoxedColor.encode(message.fontColor, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.underline != null && Object.hasOwnProperty.call(message, "underline")) - $root.ProtoBoxedUnderlineSpec.encode(message.underline, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.fontSize != null && Object.hasOwnProperty.call(message, "fontSize")) - $root.ProtoBoxedMeasure.encode(message.fontSize, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.characterWidth != null && Object.hasOwnProperty.call(message, "characterWidth")) - $root.ProtoBoxedMeasure.encode(message.characterWidth, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.characterSpacing != null && Object.hasOwnProperty.call(message, "characterSpacing")) - $root.ProtoBoxedMeasure.encode(message.characterSpacing, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.lineFeed != null && Object.hasOwnProperty.call(message, "lineFeed")) - $root.ProtoBoxedMeasure.encode(message.lineFeed, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.alignment != null && Object.hasOwnProperty.call(message, "alignment")) - $root.ProtoBoxedHorizontalAlignment.encode(message.alignment, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); - if (message.indentionWidth != null && Object.hasOwnProperty.call(message, "indentionWidth")) - $root.ProtoBoxedMeasure.encode(message.indentionWidth, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.indentionLevel != null && Object.hasOwnProperty.call(message, "indentionLevel")) - $root.ProtoBoxedInt32.encode(message.indentionLevel, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim(); - if (message.spaceAbove != null && Object.hasOwnProperty.call(message, "spaceAbove")) - $root.ProtoBoxedMeasure.encode(message.spaceAbove, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.spaceBelow != null && Object.hasOwnProperty.call(message, "spaceBelow")) - $root.ProtoBoxedMeasure.encode(message.spaceBelow, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.widowSetting != null && Object.hasOwnProperty.call(message, "widowSetting")) - $root.ProtoBoxedInt32.encode(message.widowSetting, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); - if (message.orphanSetting != null && Object.hasOwnProperty.call(message, "orphanSetting")) - $root.ProtoBoxedInt32.encode(message.orphanSetting, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); - if (message.widowPriority != null && Object.hasOwnProperty.call(message, "widowPriority")) - $root.ProtoBoxedInt32.encode(message.widowPriority, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); - if (message.strikethrough != null && Object.hasOwnProperty.call(message, "strikethrough")) - $root.ProtoBoxedStrikethroughSpec.encode(message.strikethrough, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.superscriptSubscript != null && Object.hasOwnProperty.call(message, "superscriptSubscript")) - $root.ProtoBoxedSPBMode.encode(message.superscriptSubscript, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); - if (message.backgroundColor != null && Object.hasOwnProperty.call(message, "backgroundColor")) - $root.ProtoBoxedColor.encode(message.backgroundColor, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); - if (message.listSetting != null && Object.hasOwnProperty.call(message, "listSetting")) - $root.ProtoBoxedListSetting.encode(message.listSetting, writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim(); - if (message.hyphenation != null && Object.hasOwnProperty.call(message, "hyphenation")) - $root.ProtoBoxedBool.encode(message.hyphenation, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim(); - if (message.preNamedString != null && Object.hasOwnProperty.call(message, "preNamedString")) - $root.ProtoBoxedString.encode(message.preNamedString, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim(); - if (message.postNamedString != null && Object.hasOwnProperty.call(message, "postNamedString")) - $root.ProtoBoxedString.encode(message.postNamedString, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim(); - if (message.semanticType != null && Object.hasOwnProperty.call(message, "semanticType")) - $root.ProtoBoxedString.encode(message.semanticType, writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoParagraphFormat message, length delimited. Does not implicitly {@link ProtoParagraphFormat.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoParagraphFormat - * @static - * @param {IProtoParagraphFormat} message ProtoParagraphFormat message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoParagraphFormat.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoParagraphFormat message from the specified reader or buffer. - * @function decode - * @memberof ProtoParagraphFormat - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoParagraphFormat} ProtoParagraphFormat - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoParagraphFormat(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.baseFormat = $root.ProtoParagraphFormat.decode(reader, reader.uint32()); - break; - } - case 2: { - message.name = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 3: { - message["default"] = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 4: { - message.font = $root.ProtoBoxedFont.decode(reader, reader.uint32()); - break; - } - case 5: { - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 6: { - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 7: { - message.fontColor = $root.ProtoBoxedColor.decode(reader, reader.uint32()); - break; - } - case 8: { - message.underline = $root.ProtoBoxedUnderlineSpec.decode(reader, reader.uint32()); - break; - } - case 9: { - message.fontSize = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 10: { - message.characterWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 11: { - message.characterSpacing = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 12: { - message.lineFeed = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 13: { - message.alignment = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32()); - break; - } - case 14: { - message.indentionWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 15: { - message.indentionLevel = $root.ProtoBoxedInt32.decode(reader, reader.uint32()); - break; - } - case 16: { - message.spaceAbove = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 17: { - message.spaceBelow = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 18: { - message.widowSetting = $root.ProtoBoxedInt32.decode(reader, reader.uint32()); - break; - } - case 19: { - message.orphanSetting = $root.ProtoBoxedInt32.decode(reader, reader.uint32()); - break; - } - case 20: { - message.widowPriority = $root.ProtoBoxedInt32.decode(reader, reader.uint32()); - break; - } - case 21: { - message.strikethrough = $root.ProtoBoxedStrikethroughSpec.decode(reader, reader.uint32()); - break; - } - case 22: { - message.superscriptSubscript = $root.ProtoBoxedSPBMode.decode(reader, reader.uint32()); - break; - } - case 23: { - message.backgroundColor = $root.ProtoBoxedColor.decode(reader, reader.uint32()); - break; - } - case 24: { - message.listSetting = $root.ProtoBoxedListSetting.decode(reader, reader.uint32()); - break; - } - case 25: { - message.hyphenation = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 26: { - message.preNamedString = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 27: { - message.postNamedString = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 28: { - message.semanticType = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 29: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoParagraphFormat message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoParagraphFormat - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoParagraphFormat} ProtoParagraphFormat - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoParagraphFormat.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoParagraphFormat message. - * @function verify - * @memberof ProtoParagraphFormat - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.baseFormat != null && message.hasOwnProperty("baseFormat")) { - 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); - if (error) - return "name." + error; - } - if (message["default"] != null && message.hasOwnProperty("default")) { - 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); - if (error) - return "font." + error; - } - if (message.bold != null && message.hasOwnProperty("bold")) { - 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); - if (error) - return "italic." + error; - } - if (message.fontColor != null && message.hasOwnProperty("fontColor")) { - 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); - if (error) - return "underline." + error; - } - if (message.fontSize != null && message.hasOwnProperty("fontSize")) { - 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); - if (error) - return "characterWidth." + error; - } - if (message.characterSpacing != null && message.hasOwnProperty("characterSpacing")) { - 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); - if (error) - return "lineFeed." + error; - } - if (message.alignment != null && message.hasOwnProperty("alignment")) { - 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); - if (error) - return "indentionWidth." + error; - } - if (message.indentionLevel != null && message.hasOwnProperty("indentionLevel")) { - 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); - if (error) - return "spaceAbove." + error; - } - if (message.spaceBelow != null && message.hasOwnProperty("spaceBelow")) { - 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); - if (error) - return "widowSetting." + error; - } - if (message.orphanSetting != null && message.hasOwnProperty("orphanSetting")) { - 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); - if (error) - return "widowPriority." + error; - } - if (message.strikethrough != null && message.hasOwnProperty("strikethrough")) { - 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); - if (error) - return "superscriptSubscript." + error; - } - if (message.backgroundColor != null && message.hasOwnProperty("backgroundColor")) { - 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); - if (error) - return "listSetting." + error; - } - if (message.hyphenation != null && message.hasOwnProperty("hyphenation")) { - 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); - if (error) - return "preNamedString." + error; - } - if (message.postNamedString != null && message.hasOwnProperty("postNamedString")) { - 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); - if (error) - return "semanticType." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoParagraphFormat message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoParagraphFormat - * @static - * @param {Object.} object Plain object - * @returns {ProtoParagraphFormat} ProtoParagraphFormat - */ - ProtoParagraphFormat.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoParagraphFormat) - return object; - 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); - } - if (object.name != null) { - if (typeof object.name !== "object") - throw TypeError(".ProtoParagraphFormat.name: object expected"); - 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"]); - } - if (object.font != null) { - if (typeof object.font !== "object") - throw TypeError(".ProtoParagraphFormat.font: object expected"); - 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); - } - if (object.italic != null) { - if (typeof object.italic !== "object") - throw TypeError(".ProtoParagraphFormat.italic: object expected"); - 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); - } - if (object.underline != null) { - if (typeof object.underline !== "object") - throw TypeError(".ProtoParagraphFormat.underline: object expected"); - 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); - } - if (object.characterWidth != null) { - if (typeof object.characterWidth !== "object") - throw TypeError(".ProtoParagraphFormat.characterWidth: object expected"); - 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); - } - if (object.lineFeed != null) { - if (typeof object.lineFeed !== "object") - throw TypeError(".ProtoParagraphFormat.lineFeed: object expected"); - 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); - } - if (object.indentionWidth != null) { - if (typeof object.indentionWidth !== "object") - throw TypeError(".ProtoParagraphFormat.indentionWidth: object expected"); - 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); - } - if (object.spaceAbove != null) { - if (typeof object.spaceAbove !== "object") - throw TypeError(".ProtoParagraphFormat.spaceAbove: object expected"); - 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); - } - if (object.widowSetting != null) { - if (typeof object.widowSetting !== "object") - throw TypeError(".ProtoParagraphFormat.widowSetting: object expected"); - 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); - } - if (object.widowPriority != null) { - if (typeof object.widowPriority !== "object") - throw TypeError(".ProtoParagraphFormat.widowPriority: object expected"); - 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); - } - if (object.superscriptSubscript != null) { - if (typeof object.superscriptSubscript !== "object") - throw TypeError(".ProtoParagraphFormat.superscriptSubscript: object expected"); - 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); - } - if (object.listSetting != null) { - if (typeof object.listSetting !== "object") - throw TypeError(".ProtoParagraphFormat.listSetting: object expected"); - 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); - } - if (object.preNamedString != null) { - if (typeof object.preNamedString !== "object") - throw TypeError(".ProtoParagraphFormat.preNamedString: object expected"); - 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); - } - if (object.semanticType != null) { - if (typeof object.semanticType !== "object") - throw TypeError(".ProtoParagraphFormat.semanticType: object expected"); - message.semanticType = $root.ProtoBoxedString.fromObject(object.semanticType); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoParagraphFormat.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoParagraphFormat message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoParagraphFormat - * @static - * @param {ProtoParagraphFormat} message ProtoParagraphFormat - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoParagraphFormat.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.baseFormat = null; - object.name = null; - object["default"] = null; - object.font = null; - object.bold = null; - object.italic = null; - object.fontColor = null; - object.underline = null; - object.fontSize = null; - object.characterWidth = null; - object.characterSpacing = null; - object.lineFeed = null; - object.alignment = null; - object.indentionWidth = null; - object.indentionLevel = null; - object.spaceAbove = null; - object.spaceBelow = null; - object.widowSetting = null; - object.orphanSetting = null; - object.widowPriority = null; - object.strikethrough = null; - object.superscriptSubscript = null; - object.backgroundColor = null; - object.listSetting = null; - object.hyphenation = null; - object.preNamedString = null; - object.postNamedString = null; - object.semanticType = null; - } - if (message.baseFormat != null && message.hasOwnProperty("baseFormat")) - object.baseFormat = $root.ProtoParagraphFormat.toObject(message.baseFormat, options); - if (message.name != null && message.hasOwnProperty("name")) - object.name = $root.ProtoBoxedString.toObject(message.name, options); - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = $root.ProtoBoxedBool.toObject(message["default"], options); - if (message.font != null && message.hasOwnProperty("font")) - object.font = $root.ProtoBoxedFont.toObject(message.font, options); - if (message.bold != null && message.hasOwnProperty("bold")) - object.bold = $root.ProtoBoxedBool.toObject(message.bold, options); - if (message.italic != null && message.hasOwnProperty("italic")) - object.italic = $root.ProtoBoxedBool.toObject(message.italic, options); - if (message.fontColor != null && message.hasOwnProperty("fontColor")) - object.fontColor = $root.ProtoBoxedColor.toObject(message.fontColor, options); - if (message.underline != null && message.hasOwnProperty("underline")) - object.underline = $root.ProtoBoxedUnderlineSpec.toObject(message.underline, options); - if (message.fontSize != null && message.hasOwnProperty("fontSize")) - object.fontSize = $root.ProtoBoxedMeasure.toObject(message.fontSize, options); - if (message.characterWidth != null && message.hasOwnProperty("characterWidth")) - object.characterWidth = $root.ProtoBoxedMeasure.toObject(message.characterWidth, options); - if (message.characterSpacing != null && message.hasOwnProperty("characterSpacing")) - object.characterSpacing = $root.ProtoBoxedMeasure.toObject(message.characterSpacing, options); - if (message.lineFeed != null && message.hasOwnProperty("lineFeed")) - object.lineFeed = $root.ProtoBoxedMeasure.toObject(message.lineFeed, options); - if (message.alignment != null && message.hasOwnProperty("alignment")) - object.alignment = $root.ProtoBoxedHorizontalAlignment.toObject(message.alignment, options); - if (message.indentionWidth != null && message.hasOwnProperty("indentionWidth")) - object.indentionWidth = $root.ProtoBoxedMeasure.toObject(message.indentionWidth, options); - if (message.indentionLevel != null && message.hasOwnProperty("indentionLevel")) - object.indentionLevel = $root.ProtoBoxedInt32.toObject(message.indentionLevel, options); - if (message.spaceAbove != null && message.hasOwnProperty("spaceAbove")) - object.spaceAbove = $root.ProtoBoxedMeasure.toObject(message.spaceAbove, options); - if (message.spaceBelow != null && message.hasOwnProperty("spaceBelow")) - object.spaceBelow = $root.ProtoBoxedMeasure.toObject(message.spaceBelow, options); - if (message.widowSetting != null && message.hasOwnProperty("widowSetting")) - object.widowSetting = $root.ProtoBoxedInt32.toObject(message.widowSetting, options); - if (message.orphanSetting != null && message.hasOwnProperty("orphanSetting")) - object.orphanSetting = $root.ProtoBoxedInt32.toObject(message.orphanSetting, options); - if (message.widowPriority != null && message.hasOwnProperty("widowPriority")) - object.widowPriority = $root.ProtoBoxedInt32.toObject(message.widowPriority, options); - if (message.strikethrough != null && message.hasOwnProperty("strikethrough")) - object.strikethrough = $root.ProtoBoxedStrikethroughSpec.toObject(message.strikethrough, options); - if (message.superscriptSubscript != null && message.hasOwnProperty("superscriptSubscript")) - object.superscriptSubscript = $root.ProtoBoxedSPBMode.toObject(message.superscriptSubscript, options); - if (message.backgroundColor != null && message.hasOwnProperty("backgroundColor")) - object.backgroundColor = $root.ProtoBoxedColor.toObject(message.backgroundColor, options); - if (message.listSetting != null && message.hasOwnProperty("listSetting")) - object.listSetting = $root.ProtoBoxedListSetting.toObject(message.listSetting, options); - if (message.hyphenation != null && message.hasOwnProperty("hyphenation")) - object.hyphenation = $root.ProtoBoxedBool.toObject(message.hyphenation, options); - if (message.preNamedString != null && message.hasOwnProperty("preNamedString")) - object.preNamedString = $root.ProtoBoxedString.toObject(message.preNamedString, options); - if (message.postNamedString != null && message.hasOwnProperty("postNamedString")) - object.postNamedString = $root.ProtoBoxedString.toObject(message.postNamedString, options); - if (message.semanticType != null && message.hasOwnProperty("semanticType")) - object.semanticType = $root.ProtoBoxedString.toObject(message.semanticType, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoParagraphFormat to JSON. - * @function toJSON - * @memberof ProtoParagraphFormat - * @instance - * @returns {Object.} JSON object - */ - ProtoParagraphFormat.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoParagraphFormat - * @function getTypeUrl - * @memberof ProtoParagraphFormat - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoParagraphFormat.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoParagraphFormat"; - }; - - return ProtoParagraphFormat; -})(); - -$root.ProtoSection = (function() { - - /** - * Properties of a ProtoSection. - * @name IProtoSection - * @interface IProtoSection - * @property {Array.|null} [_children] ProtoSection _children - * @property {IProtoDocumentElement|null} [parent] ProtoSection parent - * @property {string|null} [uuid] ProtoSection uuid - * @property {string|null} [cDefUuid] ProtoSection cDefUuid - * @property {Array.|null} [comChannelUUIDs] ProtoSection comChannelUUIDs - */ - - /** - * Constructs a new ProtoSection. - * @name ProtoSection - * @classdesc Represents a ProtoSection. - * @implements IProtoSection - * @constructor - * @param {IProtoSection=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSection _children. - * @member {Array.} _children - * @memberof ProtoSection - * @instance - */ - ProtoSection.prototype._children = $util.emptyArray; - - /** - * ProtoSection parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoSection - * @instance - */ - ProtoSection.prototype.parent = null; - - /** - * ProtoSection uuid. - * @member {string} uuid - * @memberof ProtoSection - * @instance - */ - ProtoSection.prototype.uuid = ""; - - /** - * ProtoSection cDefUuid. - * @member {string} cDefUuid - * @memberof ProtoSection - * @instance - */ - ProtoSection.prototype.cDefUuid = ""; - - /** - * ProtoSection comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoSection - * @instance - */ - ProtoSection.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoSection instance using the specified properties. - * @function create - * @memberof ProtoSection - * @static - * @param {IProtoSection=} [properties] Properties to set - * @returns {ProtoSection} ProtoSection instance - */ - ProtoSection.create = function create(properties) { - return new ProtoSection(properties); - }; - - /** - * Encodes the specified ProtoSection message. Does not implicitly {@link ProtoSection.verify|verify} messages. - * @function encode - * @memberof ProtoSection - * @static - * @param {IProtoSection} message ProtoSection message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSection.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - if (message.cDefUuid != null && Object.hasOwnProperty.call(message, "cDefUuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.cDefUuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoSection message, length delimited. Does not implicitly {@link ProtoSection.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSection - * @static - * @param {IProtoSection} message ProtoSection message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSection.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSection message from the specified reader or buffer. - * @function decode - * @memberof ProtoSection - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSection} ProtoSection - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSection(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - message.cDefUuid = reader.string(); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSection message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSection - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSection} ProtoSection - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSection.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSection message. - * @function verify - * @memberof ProtoSection - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) - if (!$util.isString(message.cDefUuid)) - return "cDefUuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoSection message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSection - * @static - * @param {Object.} object Plain object - * @returns {ProtoSection} ProtoSection - */ - ProtoSection.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSection) - return object; - var message = new $root.ProtoSection(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoSection._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoSection.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.cDefUuid != null) - message.cDefUuid = String(object.cDefUuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoSection.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoSection message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSection - * @static - * @param {ProtoSection} message ProtoSection - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSection.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.cDefUuid = ""; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) - object.cDefUuid = message.cDefUuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoSection to JSON. - * @function toJSON - * @memberof ProtoSection - * @instance - * @returns {Object.} JSON object - */ - ProtoSection.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSection - * @function getTypeUrl - * @memberof ProtoSection - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSection"; - }; - - return ProtoSection; -})(); - -$root.ProtoSpaceVertically = (function() { - - /** - * Properties of a ProtoSpaceVertically. - * @name IProtoSpaceVertically - * @interface IProtoSpaceVertically - * @property {IProtoDocumentElement|null} [parent] ProtoSpaceVertically parent - * @property {IProtoMeasure|null} [space] ProtoSpaceVertically space - * @property {Array.|null} [comChannelUUIDs] ProtoSpaceVertically comChannelUUIDs - */ - - /** - * Constructs a new ProtoSpaceVertically. - * @name ProtoSpaceVertically - * @classdesc Represents a ProtoSpaceVertically. - * @implements IProtoSpaceVertically - * @constructor - * @param {IProtoSpaceVertically=} [properties] Properties to set - */ - function ProtoSpaceVertically(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSpaceVertically parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoSpaceVertically - * @instance - */ - ProtoSpaceVertically.prototype.parent = null; - - /** - * ProtoSpaceVertically space. - * @member {IProtoMeasure|null|undefined} space - * @memberof ProtoSpaceVertically - * @instance - */ - ProtoSpaceVertically.prototype.space = null; - - /** - * ProtoSpaceVertically comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoSpaceVertically - * @instance - */ - ProtoSpaceVertically.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoSpaceVertically instance using the specified properties. - * @function create - * @memberof ProtoSpaceVertically - * @static - * @param {IProtoSpaceVertically=} [properties] Properties to set - * @returns {ProtoSpaceVertically} ProtoSpaceVertically instance - */ - ProtoSpaceVertically.create = function create(properties) { - return new ProtoSpaceVertically(properties); - }; - - /** - * Encodes the specified ProtoSpaceVertically message. Does not implicitly {@link ProtoSpaceVertically.verify|verify} messages. - * @function encode - * @memberof ProtoSpaceVertically - * @static - * @param {IProtoSpaceVertically} message ProtoSpaceVertically message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSpaceVertically.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.space != null && Object.hasOwnProperty.call(message, "space")) - $root.ProtoMeasure.encode(message.space, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoSpaceVertically message, length delimited. Does not implicitly {@link ProtoSpaceVertically.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSpaceVertically - * @static - * @param {IProtoSpaceVertically} message ProtoSpaceVertically message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSpaceVertically.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSpaceVertically message from the specified reader or buffer. - * @function decode - * @memberof ProtoSpaceVertically - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSpaceVertically} ProtoSpaceVertically - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSpaceVertically(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.space = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSpaceVertically message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSpaceVertically - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSpaceVertically} ProtoSpaceVertically - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSpaceVertically.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSpaceVertically message. - * @function verify - * @memberof ProtoSpaceVertically - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "space." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoSpaceVertically message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSpaceVertically - * @static - * @param {Object.} object Plain object - * @returns {ProtoSpaceVertically} ProtoSpaceVertically - */ - ProtoSpaceVertically.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSpaceVertically) - return object; - 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); - } - if (object.space != null) { - if (typeof object.space !== "object") - throw TypeError(".ProtoSpaceVertically.space: object expected"); - message.space = $root.ProtoMeasure.fromObject(object.space); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoSpaceVertically.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoSpaceVertically message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSpaceVertically - * @static - * @param {ProtoSpaceVertically} message ProtoSpaceVertically - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSpaceVertically.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.space = null; - } - 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoSpaceVertically to JSON. - * @function toJSON - * @memberof ProtoSpaceVertically - * @instance - * @returns {Object.} JSON object - */ - ProtoSpaceVertically.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSpaceVertically - * @function getTypeUrl - * @memberof ProtoSpaceVertically - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSpaceVertically.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSpaceVertically"; - }; - - return ProtoSpaceVertically; -})(); - -$root.ProtoSpan = (function() { - - /** - * Properties of a ProtoSpan. - * @name IProtoSpan - * @interface IProtoSpan - * @property {Array.|null} [_children] ProtoSpan _children - * @property {IProtoDocumentElement|null} [parent] ProtoSpan parent - * @property {IProtoBoxedBool|null} [bold] ProtoSpan bold - * @property {IProtoBoxedBool|null} [italic] ProtoSpan italic - * @property {IProtoColor|null} [color] ProtoSpan color - * @property {IProtoBoxedBool|null} [subscript] ProtoSpan subscript - * @property {IProtoBoxedBool|null} [superscript] ProtoSpan superscript - * @property {IProtoBoxedBool|null} [underline] ProtoSpan underline - * @property {IProtoBoxedBool|null} [strikethrough] ProtoSpan strikethrough - * @property {Array.|null} [comChannelUUIDs] ProtoSpan comChannelUUIDs - */ - - /** - * Constructs a new ProtoSpan. - * @name ProtoSpan - * @classdesc Represents a ProtoSpan. - * @implements IProtoSpan - * @constructor - * @param {IProtoSpan=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSpan _children. - * @member {Array.} _children - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype._children = $util.emptyArray; - - /** - * ProtoSpan parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.parent = null; - - /** - * ProtoSpan bold. - * @member {IProtoBoxedBool|null|undefined} bold - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.bold = null; - - /** - * ProtoSpan italic. - * @member {IProtoBoxedBool|null|undefined} italic - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.italic = null; - - /** - * ProtoSpan color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.color = null; - - /** - * ProtoSpan subscript. - * @member {IProtoBoxedBool|null|undefined} subscript - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.subscript = null; - - /** - * ProtoSpan superscript. - * @member {IProtoBoxedBool|null|undefined} superscript - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.superscript = null; - - /** - * ProtoSpan underline. - * @member {IProtoBoxedBool|null|undefined} underline - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.underline = null; - - /** - * ProtoSpan strikethrough. - * @member {IProtoBoxedBool|null|undefined} strikethrough - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.strikethrough = null; - - /** - * ProtoSpan comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoSpan - * @instance - */ - ProtoSpan.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoSpan instance using the specified properties. - * @function create - * @memberof ProtoSpan - * @static - * @param {IProtoSpan=} [properties] Properties to set - * @returns {ProtoSpan} ProtoSpan instance - */ - ProtoSpan.create = function create(properties) { - return new ProtoSpan(properties); - }; - - /** - * Encodes the specified ProtoSpan message. Does not implicitly {@link ProtoSpan.verify|verify} messages. - * @function encode - * @memberof ProtoSpan - * @static - * @param {IProtoSpan} message ProtoSpan message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSpan.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.bold != null && Object.hasOwnProperty.call(message, "bold")) - $root.ProtoBoxedBool.encode(message.bold, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.italic != null && Object.hasOwnProperty.call(message, "italic")) - $root.ProtoBoxedBool.encode(message.italic, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $root.ProtoColor.encode(message.color, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.subscript != null && Object.hasOwnProperty.call(message, "subscript")) - $root.ProtoBoxedBool.encode(message.subscript, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.superscript != null && Object.hasOwnProperty.call(message, "superscript")) - $root.ProtoBoxedBool.encode(message.superscript, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.underline != null && Object.hasOwnProperty.call(message, "underline")) - $root.ProtoBoxedBool.encode(message.underline, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.strikethrough != null && Object.hasOwnProperty.call(message, "strikethrough")) - $root.ProtoBoxedBool.encode(message.strikethrough, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoSpan message, length delimited. Does not implicitly {@link ProtoSpan.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSpan - * @static - * @param {IProtoSpan} message ProtoSpan message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSpan.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSpan message from the specified reader or buffer. - * @function decode - * @memberof ProtoSpan - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSpan} ProtoSpan - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSpan(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.bold = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 4: { - message.italic = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 5: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 6: { - message.subscript = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 7: { - message.superscript = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 8: { - message.underline = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 9: { - message.strikethrough = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 10: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSpan message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSpan - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSpan} ProtoSpan - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSpan.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSpan message. - * @function verify - * @memberof ProtoSpan - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "bold." + error; - } - if (message.italic != null && message.hasOwnProperty("italic")) { - 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); - if (error) - return "color." + error; - } - if (message.subscript != null && message.hasOwnProperty("subscript")) { - 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); - if (error) - return "superscript." + error; - } - if (message.underline != null && message.hasOwnProperty("underline")) { - 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); - if (error) - return "strikethrough." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoSpan message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSpan - * @static - * @param {Object.} object Plain object - * @returns {ProtoSpan} ProtoSpan - */ - ProtoSpan.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSpan) - return object; - var message = new $root.ProtoSpan(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoSpan._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoSpan.parent: object expected"); - 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); - } - if (object.italic != null) { - if (typeof object.italic !== "object") - throw TypeError(".ProtoSpan.italic: object expected"); - 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); - } - if (object.subscript != null) { - if (typeof object.subscript !== "object") - throw TypeError(".ProtoSpan.subscript: object expected"); - 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); - } - if (object.underline != null) { - if (typeof object.underline !== "object") - throw TypeError(".ProtoSpan.underline: object expected"); - 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); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoSpan.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoSpan message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSpan - * @static - * @param {ProtoSpan} message ProtoSpan - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSpan.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.bold = null; - object.italic = null; - object.color = null; - object.subscript = null; - object.superscript = null; - object.underline = null; - object.strikethrough = null; - } - if (message._children && 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.bold != null && message.hasOwnProperty("bold")) - object.bold = $root.ProtoBoxedBool.toObject(message.bold, options); - if (message.italic != null && message.hasOwnProperty("italic")) - object.italic = $root.ProtoBoxedBool.toObject(message.italic, options); - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.subscript != null && message.hasOwnProperty("subscript")) - object.subscript = $root.ProtoBoxedBool.toObject(message.subscript, options); - if (message.superscript != null && message.hasOwnProperty("superscript")) - object.superscript = $root.ProtoBoxedBool.toObject(message.superscript, options); - if (message.underline != null && message.hasOwnProperty("underline")) - object.underline = $root.ProtoBoxedBool.toObject(message.underline, options); - if (message.strikethrough != null && message.hasOwnProperty("strikethrough")) - object.strikethrough = $root.ProtoBoxedBool.toObject(message.strikethrough, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoSpan to JSON. - * @function toJSON - * @memberof ProtoSpan - * @instance - * @returns {Object.} JSON object - */ - ProtoSpan.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSpan - * @function getTypeUrl - * @memberof ProtoSpan - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSpan.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSpan"; - }; - - return ProtoSpan; -})(); - -$root.ProtoTable = (function() { - - /** - * Properties of a ProtoTable. - * @name IProtoTable - * @interface IProtoTable - * @property {Array.|null} [_children] ProtoTable _children - * @property {IProtoDocumentElement|null} [parent] ProtoTable parent - * @property {IProtoTableSettings|null} [settings] ProtoTable settings - * @property {string|null} [configName] ProtoTable configName - * @property {INode|null} [carryOver] ProtoTable carryOver - * @property {INode|null} [subTotal] ProtoTable subTotal - * @property {Array.|null} [comChannelUUIDs] ProtoTable comChannelUUIDs - * @property {IProtoTableElementProperties|null} [elementProperties] ProtoTable elementProperties - */ - - /** - * Constructs a new ProtoTable. - * @name ProtoTable - * @classdesc Represents a ProtoTable. - * @implements IProtoTable - * @constructor - * @param {IProtoTable=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTable _children. - * @member {Array.} _children - * @memberof ProtoTable - * @instance - */ - ProtoTable.prototype._children = $util.emptyArray; - - /** - * ProtoTable parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTable - * @instance - */ - ProtoTable.prototype.parent = null; - - /** - * ProtoTable settings. - * @member {IProtoTableSettings|null|undefined} settings - * @memberof ProtoTable - * @instance - */ - ProtoTable.prototype.settings = null; - - /** - * ProtoTable configName. - * @member {string} configName - * @memberof ProtoTable - * @instance - */ - ProtoTable.prototype.configName = ""; - - /** - * ProtoTable carryOver. - * @member {INode|null|undefined} carryOver - * @memberof ProtoTable - * @instance - */ - ProtoTable.prototype.carryOver = null; - - /** - * ProtoTable subTotal. - * @member {INode|null|undefined} subTotal - * @memberof ProtoTable - * @instance - */ - ProtoTable.prototype.subTotal = null; - - /** - * ProtoTable comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTable - * @instance - */ - ProtoTable.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoTable elementProperties. - * @member {IProtoTableElementProperties|null|undefined} elementProperties - * @memberof ProtoTable - * @instance - */ - ProtoTable.prototype.elementProperties = null; - - /** - * Creates a new ProtoTable instance using the specified properties. - * @function create - * @memberof ProtoTable - * @static - * @param {IProtoTable=} [properties] Properties to set - * @returns {ProtoTable} ProtoTable instance - */ - ProtoTable.create = function create(properties) { - return new ProtoTable(properties); - }; - - /** - * Encodes the specified ProtoTable message. Does not implicitly {@link ProtoTable.verify|verify} messages. - * @function encode - * @memberof ProtoTable - * @static - * @param {IProtoTable} message ProtoTable message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTable.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.settings != null && Object.hasOwnProperty.call(message, "settings")) - $root.ProtoTableSettings.encode(message.settings, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.configName != null && Object.hasOwnProperty.call(message, "configName")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.configName); - if (message.carryOver != null && Object.hasOwnProperty.call(message, "carryOver")) - $root.Node.encode(message.carryOver, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.subTotal != null && Object.hasOwnProperty.call(message, "subTotal")) - $root.Node.encode(message.subTotal, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - 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.elementProperties != null && Object.hasOwnProperty.call(message, "elementProperties")) - $root.ProtoTableElementProperties.encode(message.elementProperties, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ProtoTable message, length delimited. Does not implicitly {@link ProtoTable.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTable - * @static - * @param {IProtoTable} message ProtoTable message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTable.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTable message from the specified reader or buffer. - * @function decode - * @memberof ProtoTable - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTable} ProtoTable - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTable(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.settings = $root.ProtoTableSettings.decode(reader, reader.uint32()); - break; - } - case 4: { - message.configName = reader.string(); - break; - } - case 5: { - message.carryOver = $root.Node.decode(reader, reader.uint32()); - break; - } - case 6: { - message.subTotal = $root.Node.decode(reader, reader.uint32()); - break; - } - case 7: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 8: { - message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTable message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTable - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTable} ProtoTable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTable.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTable message. - * @function verify - * @memberof ProtoTable - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "settings." + error; - } - if (message.configName != null && message.hasOwnProperty("configName")) - if (!$util.isString(message.configName)) - return "configName: string expected"; - if (message.carryOver != null && message.hasOwnProperty("carryOver")) { - 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); - if (error) - return "subTotal." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) { - var error = $root.ProtoTableElementProperties.verify(message.elementProperties); - if (error) - return "elementProperties." + error; - } - return null; - }; - - /** - * Creates a ProtoTable message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTable - * @static - * @param {Object.} object Plain object - * @returns {ProtoTable} ProtoTable - */ - ProtoTable.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTable) - return object; - var message = new $root.ProtoTable(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoTable._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoTable.parent: object expected"); - 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); - } - if (object.configName != null) - 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); - } - if (object.subTotal != null) { - if (typeof object.subTotal !== "object") - throw TypeError(".ProtoTable.subTotal: object expected"); - message.subTotal = $root.Node.fromObject(object.subTotal); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTable.comChannelUUIDs: array expected"); - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTable message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTable - * @static - * @param {ProtoTable} message ProtoTable - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTable.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.settings = null; - object.configName = ""; - object.carryOver = null; - object.subTotal = null; - object.elementProperties = null; - } - if (message._children && 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.settings != null && message.hasOwnProperty("settings")) - object.settings = $root.ProtoTableSettings.toObject(message.settings, options); - if (message.configName != null && message.hasOwnProperty("configName")) - object.configName = message.configName; - if (message.carryOver != null && message.hasOwnProperty("carryOver")) - object.carryOver = $root.Node.toObject(message.carryOver, options); - if (message.subTotal != null && message.hasOwnProperty("subTotal")) - object.subTotal = $root.Node.toObject(message.subTotal, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) - object.elementProperties = $root.ProtoTableElementProperties.toObject(message.elementProperties, options); - return object; - }; - - /** - * Converts this ProtoTable to JSON. - * @function toJSON - * @memberof ProtoTable - * @instance - * @returns {Object.} JSON object - */ - ProtoTable.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTable - * @function getTypeUrl - * @memberof ProtoTable - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTable.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTable"; - }; - - return ProtoTable; -})(); - -$root.ProtoTableConfig = (function() { - - /** - * Properties of a ProtoTableConfig. - * @name IProtoTableConfig - * @interface IProtoTableConfig - * @property {IProtoDocumentElement|null} [parent] ProtoTableConfig parent - * @property {IProtoTableSettings|null} [settings] ProtoTableConfig settings - * @property {string|null} [configName] ProtoTableConfig configName - * @property {Array.|null} [comChannelUUIDs] ProtoTableConfig comChannelUUIDs - */ - - /** - * Constructs a new ProtoTableConfig. - * @name ProtoTableConfig - * @classdesc Represents a ProtoTableConfig. - * @implements IProtoTableConfig - * @constructor - * @param {IProtoTableConfig=} [properties] Properties to set - */ - function ProtoTableConfig(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableConfig parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTableConfig - * @instance - */ - ProtoTableConfig.prototype.parent = null; - - /** - * ProtoTableConfig settings. - * @member {IProtoTableSettings|null|undefined} settings - * @memberof ProtoTableConfig - * @instance - */ - ProtoTableConfig.prototype.settings = null; - - /** - * ProtoTableConfig configName. - * @member {string} configName - * @memberof ProtoTableConfig - * @instance - */ - ProtoTableConfig.prototype.configName = ""; - - /** - * ProtoTableConfig comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTableConfig - * @instance - */ - ProtoTableConfig.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoTableConfig instance using the specified properties. - * @function create - * @memberof ProtoTableConfig - * @static - * @param {IProtoTableConfig=} [properties] Properties to set - * @returns {ProtoTableConfig} ProtoTableConfig instance - */ - ProtoTableConfig.create = function create(properties) { - return new ProtoTableConfig(properties); - }; - - /** - * Encodes the specified ProtoTableConfig message. Does not implicitly {@link ProtoTableConfig.verify|verify} messages. - * @function encode - * @memberof ProtoTableConfig - * @static - * @param {IProtoTableConfig} message ProtoTableConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.settings != null && Object.hasOwnProperty.call(message, "settings")) - $root.ProtoTableSettings.encode(message.settings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.configName != null && Object.hasOwnProperty.call(message, "configName")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.configName); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoTableConfig message, length delimited. Does not implicitly {@link ProtoTableConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableConfig - * @static - * @param {IProtoTableConfig} message ProtoTableConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableConfig message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableConfig} ProtoTableConfig - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.settings = $root.ProtoTableSettings.decode(reader, reader.uint32()); - break; - } - case 3: { - message.configName = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableConfig} ProtoTableConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableConfig message. - * @function verify - * @memberof ProtoTableConfig - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "settings." + error; - } - if (message.configName != null && message.hasOwnProperty("configName")) - if (!$util.isString(message.configName)) - return "configName: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoTableConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableConfig - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableConfig} ProtoTableConfig - */ - ProtoTableConfig.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableConfig) - return object; - 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); - } - if (object.settings != null) { - if (typeof object.settings !== "object") - throw TypeError(".ProtoTableConfig.settings: object expected"); - message.settings = $root.ProtoTableSettings.fromObject(object.settings); - } - if (object.configName != null) - message.configName = String(object.configName); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTableConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableConfig - * @static - * @param {ProtoTableConfig} message ProtoTableConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.settings = null; - object.configName = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.settings != null && message.hasOwnProperty("settings")) - object.settings = $root.ProtoTableSettings.toObject(message.settings, options); - if (message.configName != null && message.hasOwnProperty("configName")) - object.configName = message.configName; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoTableConfig to JSON. - * @function toJSON - * @memberof ProtoTableConfig - * @instance - * @returns {Object.} JSON object - */ - ProtoTableConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableConfig - * @function getTypeUrl - * @memberof ProtoTableConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableConfig"; - }; - - return ProtoTableConfig; -})(); - -$root.ProtoTableSettings = (function() { - - /** - * Properties of a ProtoTableSettings. - * @name IProtoTableSettings - * @interface IProtoTableSettings - * @property {IProtoMeasure|null} [xOffset] ProtoTableSettings xOffset - * @property {IProtoBoxedBool|null} [leftMeasure] ProtoTableSettings leftMeasure - * @property {IProtoMeasure|null} [width] ProtoTableSettings width - * @property {IProtoBoxedUint32|null} [repeatHeader] ProtoTableSettings repeatHeader - * @property {IProtoTableWS|null} [ws] ProtoTableSettings ws - */ - - /** - * Constructs a new ProtoTableSettings. - * @name ProtoTableSettings - * @classdesc Represents a ProtoTableSettings. - * @implements IProtoTableSettings - * @constructor - * @param {IProtoTableSettings=} [properties] Properties to set - */ - function ProtoTableSettings(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableSettings xOffset. - * @member {IProtoMeasure|null|undefined} xOffset - * @memberof ProtoTableSettings - * @instance - */ - ProtoTableSettings.prototype.xOffset = null; - - /** - * ProtoTableSettings leftMeasure. - * @member {IProtoBoxedBool|null|undefined} leftMeasure - * @memberof ProtoTableSettings - * @instance - */ - ProtoTableSettings.prototype.leftMeasure = null; - - /** - * ProtoTableSettings width. - * @member {IProtoMeasure|null|undefined} width - * @memberof ProtoTableSettings - * @instance - */ - ProtoTableSettings.prototype.width = null; - - /** - * ProtoTableSettings repeatHeader. - * @member {IProtoBoxedUint32|null|undefined} repeatHeader - * @memberof ProtoTableSettings - * @instance - */ - ProtoTableSettings.prototype.repeatHeader = null; - - /** - * ProtoTableSettings ws. - * @member {IProtoTableWS|null|undefined} ws - * @memberof ProtoTableSettings - * @instance - */ - ProtoTableSettings.prototype.ws = null; - - /** - * Creates a new ProtoTableSettings instance using the specified properties. - * @function create - * @memberof ProtoTableSettings - * @static - * @param {IProtoTableSettings=} [properties] Properties to set - * @returns {ProtoTableSettings} ProtoTableSettings instance - */ - ProtoTableSettings.create = function create(properties) { - return new ProtoTableSettings(properties); - }; - - /** - * Encodes the specified ProtoTableSettings message. Does not implicitly {@link ProtoTableSettings.verify|verify} messages. - * @function encode - * @memberof ProtoTableSettings - * @static - * @param {IProtoTableSettings} message ProtoTableSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableSettings.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.xOffset != null && Object.hasOwnProperty.call(message, "xOffset")) - $root.ProtoMeasure.encode(message.xOffset, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.leftMeasure != null && Object.hasOwnProperty.call(message, "leftMeasure")) - $root.ProtoBoxedBool.encode(message.leftMeasure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $root.ProtoMeasure.encode(message.width, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.repeatHeader != null && Object.hasOwnProperty.call(message, "repeatHeader")) - $root.ProtoBoxedUint32.encode(message.repeatHeader, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.ws != null && Object.hasOwnProperty.call(message, "ws")) - $root.ProtoTableWS.encode(message.ws, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ProtoTableSettings message, length delimited. Does not implicitly {@link ProtoTableSettings.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableSettings - * @static - * @param {IProtoTableSettings} message ProtoTableSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableSettings.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableSettings message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableSettings} ProtoTableSettings - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableSettings(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.xOffset = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.leftMeasure = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 3: { - message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.repeatHeader = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - case 5: { - message.ws = $root.ProtoTableWS.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableSettings message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableSettings} ProtoTableSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableSettings.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableSettings message. - * @function verify - * @memberof ProtoTableSettings - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.xOffset != null && message.hasOwnProperty("xOffset")) { - 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); - if (error) - return "leftMeasure." + error; - } - if (message.width != null && message.hasOwnProperty("width")) { - 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); - if (error) - return "repeatHeader." + error; - } - if (message.ws != null && message.hasOwnProperty("ws")) { - var error = $root.ProtoTableWS.verify(message.ws); - if (error) - return "ws." + error; - } - return null; - }; - - /** - * Creates a ProtoTableSettings message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableSettings - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableSettings} ProtoTableSettings - */ - ProtoTableSettings.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableSettings) - return object; - 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); - } - if (object.leftMeasure != null) { - if (typeof object.leftMeasure !== "object") - throw TypeError(".ProtoTableSettings.leftMeasure: object expected"); - 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); - } - if (object.repeatHeader != null) { - if (typeof object.repeatHeader !== "object") - throw TypeError(".ProtoTableSettings.repeatHeader: object expected"); - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableSettings message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableSettings - * @static - * @param {ProtoTableSettings} message ProtoTableSettings - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableSettings.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.xOffset = null; - object.leftMeasure = null; - object.width = null; - object.repeatHeader = null; - object.ws = null; - } - if (message.xOffset != null && message.hasOwnProperty("xOffset")) - object.xOffset = $root.ProtoMeasure.toObject(message.xOffset, options); - if (message.leftMeasure != null && message.hasOwnProperty("leftMeasure")) - object.leftMeasure = $root.ProtoBoxedBool.toObject(message.leftMeasure, options); - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoMeasure.toObject(message.width, options); - if (message.repeatHeader != null && message.hasOwnProperty("repeatHeader")) - object.repeatHeader = $root.ProtoBoxedUint32.toObject(message.repeatHeader, options); - if (message.ws != null && message.hasOwnProperty("ws")) - object.ws = $root.ProtoTableWS.toObject(message.ws, options); - return object; - }; - - /** - * Converts this ProtoTableSettings to JSON. - * @function toJSON - * @memberof ProtoTableSettings - * @instance - * @returns {Object.} JSON object - */ - ProtoTableSettings.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableSettings - * @function getTypeUrl - * @memberof ProtoTableSettings - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableSettings"; - }; - - return ProtoTableSettings; -})(); - -/** - * ProtoTableContentGroupType enum. - * @name ProtoTableContentGroupType - * @enum {number} - * @property {number} HEADER=0 HEADER value - * @property {number} BODY=1 BODY value - * @property {number} FOOTER=2 FOOTER value - * @property {number} SUB_HEADER=3 SUB_HEADER value - */ -$root.ProtoTableContentGroupType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "HEADER"] = 0; - values[valuesById[1] = "BODY"] = 1; - values[valuesById[2] = "FOOTER"] = 2; - values[valuesById[3] = "SUB_HEADER"] = 3; - return values; -})(); - -$root.ProtoBoxedTableContentGroupType = (function() { - - /** - * Properties of a ProtoBoxedTableContentGroupType. - * @name IProtoBoxedTableContentGroupType - * @interface IProtoBoxedTableContentGroupType - * @property {ProtoTableContentGroupType|null} [value] ProtoBoxedTableContentGroupType value - * @property {boolean|null} [isNull] ProtoBoxedTableContentGroupType isNull - */ - - /** - * Constructs a new ProtoBoxedTableContentGroupType. - * @name ProtoBoxedTableContentGroupType - * @classdesc Represents a ProtoBoxedTableContentGroupType. - * @implements IProtoBoxedTableContentGroupType - * @constructor - * @param {IProtoBoxedTableContentGroupType=} [properties] Properties to set - */ - function ProtoBoxedTableContentGroupType(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedTableContentGroupType value. - * @member {ProtoTableContentGroupType} value - * @memberof ProtoBoxedTableContentGroupType - * @instance - */ - ProtoBoxedTableContentGroupType.prototype.value = 0; - - /** - * ProtoBoxedTableContentGroupType isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedTableContentGroupType - * @instance - */ - ProtoBoxedTableContentGroupType.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedTableContentGroupType instance using the specified properties. - * @function create - * @memberof ProtoBoxedTableContentGroupType - * @static - * @param {IProtoBoxedTableContentGroupType=} [properties] Properties to set - * @returns {ProtoBoxedTableContentGroupType} ProtoBoxedTableContentGroupType instance - */ - ProtoBoxedTableContentGroupType.create = function create(properties) { - return new ProtoBoxedTableContentGroupType(properties); - }; - - /** - * Encodes the specified ProtoBoxedTableContentGroupType message. Does not implicitly {@link ProtoBoxedTableContentGroupType.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedTableContentGroupType - * @static - * @param {IProtoBoxedTableContentGroupType} message ProtoBoxedTableContentGroupType message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedTableContentGroupType.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedTableContentGroupType message, length delimited. Does not implicitly {@link ProtoBoxedTableContentGroupType.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedTableContentGroupType - * @static - * @param {IProtoBoxedTableContentGroupType} message ProtoBoxedTableContentGroupType message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedTableContentGroupType.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedTableContentGroupType message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedTableContentGroupType - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedTableContentGroupType} ProtoBoxedTableContentGroupType - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedTableContentGroupType(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedTableContentGroupType message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedTableContentGroupType - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedTableContentGroupType} ProtoBoxedTableContentGroupType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedTableContentGroupType.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedTableContentGroupType message. - * @function verify - * @memberof ProtoBoxedTableContentGroupType - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: - return "value: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedTableContentGroupType message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedTableContentGroupType - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedTableContentGroupType} ProtoBoxedTableContentGroupType - */ - ProtoBoxedTableContentGroupType.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedTableContentGroupType) - return object; - var message = new $root.ProtoBoxedTableContentGroupType(); - 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) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedTableContentGroupType message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedTableContentGroupType - * @static - * @param {ProtoBoxedTableContentGroupType} message ProtoBoxedTableContentGroupType - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedTableContentGroupType.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = options.enums === String ? "HEADER" : 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.ProtoTableContentGroupType[message.value] === undefined ? message.value : $root.ProtoTableContentGroupType[message.value] : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedTableContentGroupType to JSON. - * @function toJSON - * @memberof ProtoBoxedTableContentGroupType - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedTableContentGroupType.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedTableContentGroupType - * @function getTypeUrl - * @memberof ProtoBoxedTableContentGroupType - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedTableContentGroupType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedTableContentGroupType"; - }; - - return ProtoBoxedTableContentGroupType; -})(); - -$root.ProtoTableContentGroup = (function() { - - /** - * Properties of a ProtoTableContentGroup. - * @name IProtoTableContentGroup - * @interface IProtoTableContentGroup - * @property {Array.|null} [_children] ProtoTableContentGroup _children - * @property {IProtoDocumentElement|null} [parent] ProtoTableContentGroup parent - * @property {IProtoTableContentGroupSettings|null} [settings] ProtoTableContentGroup settings - * @property {Array.|null} [comChannelUUIDs] ProtoTableContentGroup comChannelUUIDs - * @property {IProtoTableElementProperties|null} [elementProperties] ProtoTableContentGroup elementProperties - */ - - /** - * Constructs a new ProtoTableContentGroup. - * @name ProtoTableContentGroup - * @classdesc Represents a ProtoTableContentGroup. - * @implements IProtoTableContentGroup - * @constructor - * @param {IProtoTableContentGroup=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableContentGroup _children. - * @member {Array.} _children - * @memberof ProtoTableContentGroup - * @instance - */ - ProtoTableContentGroup.prototype._children = $util.emptyArray; - - /** - * ProtoTableContentGroup parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTableContentGroup - * @instance - */ - ProtoTableContentGroup.prototype.parent = null; - - /** - * ProtoTableContentGroup settings. - * @member {IProtoTableContentGroupSettings|null|undefined} settings - * @memberof ProtoTableContentGroup - * @instance - */ - ProtoTableContentGroup.prototype.settings = null; - - /** - * ProtoTableContentGroup comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTableContentGroup - * @instance - */ - ProtoTableContentGroup.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoTableContentGroup elementProperties. - * @member {IProtoTableElementProperties|null|undefined} elementProperties - * @memberof ProtoTableContentGroup - * @instance - */ - ProtoTableContentGroup.prototype.elementProperties = null; - - /** - * Creates a new ProtoTableContentGroup instance using the specified properties. - * @function create - * @memberof ProtoTableContentGroup - * @static - * @param {IProtoTableContentGroup=} [properties] Properties to set - * @returns {ProtoTableContentGroup} ProtoTableContentGroup instance - */ - ProtoTableContentGroup.create = function create(properties) { - return new ProtoTableContentGroup(properties); - }; - - /** - * Encodes the specified ProtoTableContentGroup message. Does not implicitly {@link ProtoTableContentGroup.verify|verify} messages. - * @function encode - * @memberof ProtoTableContentGroup - * @static - * @param {IProtoTableContentGroup} message ProtoTableContentGroup message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableContentGroup.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.settings != null && Object.hasOwnProperty.call(message, "settings")) - $root.ProtoTableContentGroupSettings.encode(message.settings, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - 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.elementProperties != null && Object.hasOwnProperty.call(message, "elementProperties")) - $root.ProtoTableElementProperties.encode(message.elementProperties, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ProtoTableContentGroup message, length delimited. Does not implicitly {@link ProtoTableContentGroup.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableContentGroup - * @static - * @param {IProtoTableContentGroup} message ProtoTableContentGroup message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableContentGroup.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableContentGroup message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableContentGroup - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableContentGroup} ProtoTableContentGroup - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableContentGroup(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.settings = $root.ProtoTableContentGroupSettings.decode(reader, reader.uint32()); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableContentGroup message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableContentGroup - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableContentGroup} ProtoTableContentGroup - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableContentGroup.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableContentGroup message. - * @function verify - * @memberof ProtoTableContentGroup - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "settings." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) { - var error = $root.ProtoTableElementProperties.verify(message.elementProperties); - if (error) - return "elementProperties." + error; - } - return null; - }; - - /** - * Creates a ProtoTableContentGroup message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableContentGroup - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableContentGroup} ProtoTableContentGroup - */ - ProtoTableContentGroup.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableContentGroup) - return object; - var message = new $root.ProtoTableContentGroup(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoTableContentGroup._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoTableContentGroup.parent: object expected"); - 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); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTableContentGroup.comChannelUUIDs: array expected"); - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableContentGroup message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableContentGroup - * @static - * @param {ProtoTableContentGroup} message ProtoTableContentGroup - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableContentGroup.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.settings = null; - object.elementProperties = null; - } - if (message._children && 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.settings != null && message.hasOwnProperty("settings")) - object.settings = $root.ProtoTableContentGroupSettings.toObject(message.settings, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) - object.elementProperties = $root.ProtoTableElementProperties.toObject(message.elementProperties, options); - return object; - }; - - /** - * Converts this ProtoTableContentGroup to JSON. - * @function toJSON - * @memberof ProtoTableContentGroup - * @instance - * @returns {Object.} JSON object - */ - ProtoTableContentGroup.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableContentGroup - * @function getTypeUrl - * @memberof ProtoTableContentGroup - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableContentGroup.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableContentGroup"; - }; - - return ProtoTableContentGroup; -})(); - -$root.ProtoTableContentGroupConfig = (function() { - - /** - * Properties of a ProtoTableContentGroupConfig. - * @name IProtoTableContentGroupConfig - * @interface IProtoTableContentGroupConfig - * @property {IProtoDocumentElement|null} [parent] ProtoTableContentGroupConfig parent - * @property {IProtoTableContentGroupSettings|null} [settings] ProtoTableContentGroupConfig settings - * @property {string|null} [configName] ProtoTableContentGroupConfig configName - * @property {Array.|null} [comChannelUUIDs] ProtoTableContentGroupConfig comChannelUUIDs - */ - - /** - * Constructs a new ProtoTableContentGroupConfig. - * @name ProtoTableContentGroupConfig - * @classdesc Represents a ProtoTableContentGroupConfig. - * @implements IProtoTableContentGroupConfig - * @constructor - * @param {IProtoTableContentGroupConfig=} [properties] Properties to set - */ - function ProtoTableContentGroupConfig(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableContentGroupConfig parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTableContentGroupConfig - * @instance - */ - ProtoTableContentGroupConfig.prototype.parent = null; - - /** - * ProtoTableContentGroupConfig settings. - * @member {IProtoTableContentGroupSettings|null|undefined} settings - * @memberof ProtoTableContentGroupConfig - * @instance - */ - ProtoTableContentGroupConfig.prototype.settings = null; - - /** - * ProtoTableContentGroupConfig configName. - * @member {string} configName - * @memberof ProtoTableContentGroupConfig - * @instance - */ - ProtoTableContentGroupConfig.prototype.configName = ""; - - /** - * ProtoTableContentGroupConfig comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTableContentGroupConfig - * @instance - */ - ProtoTableContentGroupConfig.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoTableContentGroupConfig instance using the specified properties. - * @function create - * @memberof ProtoTableContentGroupConfig - * @static - * @param {IProtoTableContentGroupConfig=} [properties] Properties to set - * @returns {ProtoTableContentGroupConfig} ProtoTableContentGroupConfig instance - */ - ProtoTableContentGroupConfig.create = function create(properties) { - return new ProtoTableContentGroupConfig(properties); - }; - - /** - * Encodes the specified ProtoTableContentGroupConfig message. Does not implicitly {@link ProtoTableContentGroupConfig.verify|verify} messages. - * @function encode - * @memberof ProtoTableContentGroupConfig - * @static - * @param {IProtoTableContentGroupConfig} message ProtoTableContentGroupConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableContentGroupConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.settings != null && Object.hasOwnProperty.call(message, "settings")) - $root.ProtoTableContentGroupSettings.encode(message.settings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.configName != null && Object.hasOwnProperty.call(message, "configName")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.configName); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoTableContentGroupConfig message, length delimited. Does not implicitly {@link ProtoTableContentGroupConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableContentGroupConfig - * @static - * @param {IProtoTableContentGroupConfig} message ProtoTableContentGroupConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableContentGroupConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableContentGroupConfig message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableContentGroupConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableContentGroupConfig} ProtoTableContentGroupConfig - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableContentGroupConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.settings = $root.ProtoTableContentGroupSettings.decode(reader, reader.uint32()); - break; - } - case 3: { - message.configName = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableContentGroupConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableContentGroupConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableContentGroupConfig} ProtoTableContentGroupConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableContentGroupConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableContentGroupConfig message. - * @function verify - * @memberof ProtoTableContentGroupConfig - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "settings." + error; - } - if (message.configName != null && message.hasOwnProperty("configName")) - if (!$util.isString(message.configName)) - return "configName: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoTableContentGroupConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableContentGroupConfig - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableContentGroupConfig} ProtoTableContentGroupConfig - */ - ProtoTableContentGroupConfig.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableContentGroupConfig) - return object; - 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); - } - if (object.settings != null) { - if (typeof object.settings !== "object") - throw TypeError(".ProtoTableContentGroupConfig.settings: object expected"); - message.settings = $root.ProtoTableContentGroupSettings.fromObject(object.settings); - } - if (object.configName != null) - message.configName = String(object.configName); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTableContentGroupConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableContentGroupConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableContentGroupConfig - * @static - * @param {ProtoTableContentGroupConfig} message ProtoTableContentGroupConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableContentGroupConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.settings = null; - object.configName = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.settings != null && message.hasOwnProperty("settings")) - object.settings = $root.ProtoTableContentGroupSettings.toObject(message.settings, options); - if (message.configName != null && message.hasOwnProperty("configName")) - object.configName = message.configName; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoTableContentGroupConfig to JSON. - * @function toJSON - * @memberof ProtoTableContentGroupConfig - * @instance - * @returns {Object.} JSON object - */ - ProtoTableContentGroupConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableContentGroupConfig - * @function getTypeUrl - * @memberof ProtoTableContentGroupConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableContentGroupConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableContentGroupConfig"; - }; - - return ProtoTableContentGroupConfig; -})(); - -$root.ProtoTableContentGroupSettings = (function() { - - /** - * Properties of a ProtoTableContentGroupSettings. - * @name IProtoTableContentGroupSettings - * @interface IProtoTableContentGroupSettings - * @property {IProtoBoxedTableContentGroupType|null} [contentGroupType] ProtoTableContentGroupSettings contentGroupType - * @property {Array.|null} [backgroundColors] ProtoTableContentGroupSettings backgroundColors - * @property {IProtoTableWS|null} [ws] ProtoTableContentGroupSettings ws - */ - - /** - * Constructs a new ProtoTableContentGroupSettings. - * @name ProtoTableContentGroupSettings - * @classdesc Represents a ProtoTableContentGroupSettings. - * @implements IProtoTableContentGroupSettings - * @constructor - * @param {IProtoTableContentGroupSettings=} [properties] Properties to set - */ - function ProtoTableContentGroupSettings(properties) { - this.backgroundColors = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableContentGroupSettings contentGroupType. - * @member {IProtoBoxedTableContentGroupType|null|undefined} contentGroupType - * @memberof ProtoTableContentGroupSettings - * @instance - */ - ProtoTableContentGroupSettings.prototype.contentGroupType = null; - - /** - * ProtoTableContentGroupSettings backgroundColors. - * @member {Array.} backgroundColors - * @memberof ProtoTableContentGroupSettings - * @instance - */ - ProtoTableContentGroupSettings.prototype.backgroundColors = $util.emptyArray; - - /** - * ProtoTableContentGroupSettings ws. - * @member {IProtoTableWS|null|undefined} ws - * @memberof ProtoTableContentGroupSettings - * @instance - */ - ProtoTableContentGroupSettings.prototype.ws = null; - - /** - * Creates a new ProtoTableContentGroupSettings instance using the specified properties. - * @function create - * @memberof ProtoTableContentGroupSettings - * @static - * @param {IProtoTableContentGroupSettings=} [properties] Properties to set - * @returns {ProtoTableContentGroupSettings} ProtoTableContentGroupSettings instance - */ - ProtoTableContentGroupSettings.create = function create(properties) { - return new ProtoTableContentGroupSettings(properties); - }; - - /** - * Encodes the specified ProtoTableContentGroupSettings message. Does not implicitly {@link ProtoTableContentGroupSettings.verify|verify} messages. - * @function encode - * @memberof ProtoTableContentGroupSettings - * @static - * @param {IProtoTableContentGroupSettings} message ProtoTableContentGroupSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableContentGroupSettings.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.contentGroupType != null && Object.hasOwnProperty.call(message, "contentGroupType")) - $root.ProtoBoxedTableContentGroupType.encode(message.contentGroupType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.backgroundColors != null && message.backgroundColors.length) - for (var i = 0; i < message.backgroundColors.length; ++i) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoTableContentGroupSettings message, length delimited. Does not implicitly {@link ProtoTableContentGroupSettings.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableContentGroupSettings - * @static - * @param {IProtoTableContentGroupSettings} message ProtoTableContentGroupSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableContentGroupSettings.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableContentGroupSettings message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableContentGroupSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableContentGroupSettings} ProtoTableContentGroupSettings - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableContentGroupSettings(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.contentGroupType = $root.ProtoBoxedTableContentGroupType.decode(reader, reader.uint32()); - break; - } - case 2: { - if (!(message.backgroundColors && message.backgroundColors.length)) - message.backgroundColors = []; - message.backgroundColors.push($root.ProtoColor.decode(reader, reader.uint32())); - break; - } - case 3: { - message.ws = $root.ProtoTableWS.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableContentGroupSettings message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableContentGroupSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableContentGroupSettings} ProtoTableContentGroupSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableContentGroupSettings.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableContentGroupSettings message. - * @function verify - * @memberof ProtoTableContentGroupSettings - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.contentGroupType != null && message.hasOwnProperty("contentGroupType")) { - var error = $root.ProtoBoxedTableContentGroupType.verify(message.contentGroupType); - if (error) - return "contentGroupType." + error; - } - if (message.backgroundColors != null && message.hasOwnProperty("backgroundColors")) { - 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]); - if (error) - return "backgroundColors." + error; - } - } - if (message.ws != null && message.hasOwnProperty("ws")) { - var error = $root.ProtoTableWS.verify(message.ws); - if (error) - return "ws." + error; - } - return null; - }; - - /** - * Creates a ProtoTableContentGroupSettings message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableContentGroupSettings - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableContentGroupSettings} ProtoTableContentGroupSettings - */ - ProtoTableContentGroupSettings.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableContentGroupSettings) - return object; - 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); - } - if (object.backgroundColors) { - if (!Array.isArray(object.backgroundColors)) - throw TypeError(".ProtoTableContentGroupSettings.backgroundColors: array expected"); - 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]); - } - } - if (object.ws != null) { - if (typeof object.ws !== "object") - throw TypeError(".ProtoTableContentGroupSettings.ws: object expected"); - message.ws = $root.ProtoTableWS.fromObject(object.ws); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableContentGroupSettings message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableContentGroupSettings - * @static - * @param {ProtoTableContentGroupSettings} message ProtoTableContentGroupSettings - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableContentGroupSettings.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.backgroundColors = []; - if (options.defaults) { - object.contentGroupType = null; - object.ws = null; - } - if (message.contentGroupType != null && message.hasOwnProperty("contentGroupType")) - object.contentGroupType = $root.ProtoBoxedTableContentGroupType.toObject(message.contentGroupType, options); - if (message.backgroundColors && message.backgroundColors.length) { - object.backgroundColors = []; - for (var j = 0; j < message.backgroundColors.length; ++j) - object.backgroundColors[j] = $root.ProtoColor.toObject(message.backgroundColors[j], options); - } - if (message.ws != null && message.hasOwnProperty("ws")) - object.ws = $root.ProtoTableWS.toObject(message.ws, options); - return object; - }; - - /** - * Converts this ProtoTableContentGroupSettings to JSON. - * @function toJSON - * @memberof ProtoTableContentGroupSettings - * @instance - * @returns {Object.} JSON object - */ - ProtoTableContentGroupSettings.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableContentGroupSettings - * @function getTypeUrl - * @memberof ProtoTableContentGroupSettings - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableContentGroupSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableContentGroupSettings"; - }; - - return ProtoTableContentGroupSettings; -})(); - -$root.ProtoTableRow = (function() { - - /** - * Properties of a ProtoTableRow. - * @name IProtoTableRow - * @interface IProtoTableRow - * @property {Array.|null} [_children] ProtoTableRow _children - * @property {IProtoDocumentElement|null} [parent] ProtoTableRow parent - * @property {IProtoTableRowSettings|null} [settings] ProtoTableRow settings - * @property {IProtoBoxedUint32|null} [rowConfigNumber] ProtoTableRow rowConfigNumber - * @property {Array.|null} [comChannelUUIDs] ProtoTableRow comChannelUUIDs - * @property {IProtoTableElementProperties|null} [elementProperties] ProtoTableRow elementProperties - */ - - /** - * Constructs a new ProtoTableRow. - * @name ProtoTableRow - * @classdesc Represents a ProtoTableRow. - * @implements IProtoTableRow - * @constructor - * @param {IProtoTableRow=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableRow _children. - * @member {Array.} _children - * @memberof ProtoTableRow - * @instance - */ - ProtoTableRow.prototype._children = $util.emptyArray; - - /** - * ProtoTableRow parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTableRow - * @instance - */ - ProtoTableRow.prototype.parent = null; - - /** - * ProtoTableRow settings. - * @member {IProtoTableRowSettings|null|undefined} settings - * @memberof ProtoTableRow - * @instance - */ - ProtoTableRow.prototype.settings = null; - - /** - * ProtoTableRow rowConfigNumber. - * @member {IProtoBoxedUint32|null|undefined} rowConfigNumber - * @memberof ProtoTableRow - * @instance - */ - ProtoTableRow.prototype.rowConfigNumber = null; - - /** - * ProtoTableRow comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTableRow - * @instance - */ - ProtoTableRow.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoTableRow elementProperties. - * @member {IProtoTableElementProperties|null|undefined} elementProperties - * @memberof ProtoTableRow - * @instance - */ - ProtoTableRow.prototype.elementProperties = null; - - /** - * Creates a new ProtoTableRow instance using the specified properties. - * @function create - * @memberof ProtoTableRow - * @static - * @param {IProtoTableRow=} [properties] Properties to set - * @returns {ProtoTableRow} ProtoTableRow instance - */ - ProtoTableRow.create = function create(properties) { - return new ProtoTableRow(properties); - }; - - /** - * Encodes the specified ProtoTableRow message. Does not implicitly {@link ProtoTableRow.verify|verify} messages. - * @function encode - * @memberof ProtoTableRow - * @static - * @param {IProtoTableRow} message ProtoTableRow message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableRow.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.settings != null && Object.hasOwnProperty.call(message, "settings")) - $root.ProtoTableRowSettings.encode(message.settings, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.rowConfigNumber != null && Object.hasOwnProperty.call(message, "rowConfigNumber")) - $root.ProtoBoxedUint32.encode(message.rowConfigNumber, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - 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.elementProperties != null && Object.hasOwnProperty.call(message, "elementProperties")) - $root.ProtoTableElementProperties.encode(message.elementProperties, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ProtoTableRow message, length delimited. Does not implicitly {@link ProtoTableRow.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableRow - * @static - * @param {IProtoTableRow} message ProtoTableRow message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableRow.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableRow message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableRow - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableRow} ProtoTableRow - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableRow(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.settings = $root.ProtoTableRowSettings.decode(reader, reader.uint32()); - break; - } - case 4: { - message.rowConfigNumber = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 6: { - message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableRow message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableRow - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableRow} ProtoTableRow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableRow.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableRow message. - * @function verify - * @memberof ProtoTableRow - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "settings." + error; - } - if (message.rowConfigNumber != null && message.hasOwnProperty("rowConfigNumber")) { - var error = $root.ProtoBoxedUint32.verify(message.rowConfigNumber); - if (error) - return "rowConfigNumber." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) { - var error = $root.ProtoTableElementProperties.verify(message.elementProperties); - if (error) - return "elementProperties." + error; - } - return null; - }; - - /** - * Creates a ProtoTableRow message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableRow - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableRow} ProtoTableRow - */ - ProtoTableRow.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableRow) - return object; - var message = new $root.ProtoTableRow(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoTableRow._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoTableRow.parent: object expected"); - 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); - } - if (object.rowConfigNumber != null) { - if (typeof object.rowConfigNumber !== "object") - throw TypeError(".ProtoTableRow.rowConfigNumber: object expected"); - message.rowConfigNumber = $root.ProtoBoxedUint32.fromObject(object.rowConfigNumber); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTableRow.comChannelUUIDs: array expected"); - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableRow message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableRow - * @static - * @param {ProtoTableRow} message ProtoTableRow - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableRow.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.settings = null; - object.rowConfigNumber = null; - object.elementProperties = null; - } - if (message._children && 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.settings != null && message.hasOwnProperty("settings")) - object.settings = $root.ProtoTableRowSettings.toObject(message.settings, options); - if (message.rowConfigNumber != null && message.hasOwnProperty("rowConfigNumber")) - object.rowConfigNumber = $root.ProtoBoxedUint32.toObject(message.rowConfigNumber, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) - object.elementProperties = $root.ProtoTableElementProperties.toObject(message.elementProperties, options); - return object; - }; - - /** - * Converts this ProtoTableRow to JSON. - * @function toJSON - * @memberof ProtoTableRow - * @instance - * @returns {Object.} JSON object - */ - ProtoTableRow.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableRow - * @function getTypeUrl - * @memberof ProtoTableRow - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableRow.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableRow"; - }; - - return ProtoTableRow; -})(); - -$root.ProtoTableRowConfig = (function() { - - /** - * Properties of a ProtoTableRowConfig. - * @name IProtoTableRowConfig - * @interface IProtoTableRowConfig - * @property {IProtoDocumentElement|null} [parent] ProtoTableRowConfig parent - * @property {IProtoTableRowSettings|null} [settings] ProtoTableRowConfig settings - * @property {string|null} [configName] ProtoTableRowConfig configName - * @property {string|null} [rowHeader] ProtoTableRowConfig rowHeader - * @property {string|null} [rowFooter] ProtoTableRowConfig rowFooter - * @property {Array.|null} [comChannelUUIDs] ProtoTableRowConfig comChannelUUIDs - */ - - /** - * Constructs a new ProtoTableRowConfig. - * @name ProtoTableRowConfig - * @classdesc Represents a ProtoTableRowConfig. - * @implements IProtoTableRowConfig - * @constructor - * @param {IProtoTableRowConfig=} [properties] Properties to set - */ - function ProtoTableRowConfig(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableRowConfig parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTableRowConfig - * @instance - */ - ProtoTableRowConfig.prototype.parent = null; - - /** - * ProtoTableRowConfig settings. - * @member {IProtoTableRowSettings|null|undefined} settings - * @memberof ProtoTableRowConfig - * @instance - */ - ProtoTableRowConfig.prototype.settings = null; - - /** - * ProtoTableRowConfig configName. - * @member {string} configName - * @memberof ProtoTableRowConfig - * @instance - */ - ProtoTableRowConfig.prototype.configName = ""; - - /** - * ProtoTableRowConfig rowHeader. - * @member {string} rowHeader - * @memberof ProtoTableRowConfig - * @instance - */ - ProtoTableRowConfig.prototype.rowHeader = ""; - - /** - * ProtoTableRowConfig rowFooter. - * @member {string} rowFooter - * @memberof ProtoTableRowConfig - * @instance - */ - ProtoTableRowConfig.prototype.rowFooter = ""; - - /** - * ProtoTableRowConfig comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTableRowConfig - * @instance - */ - ProtoTableRowConfig.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoTableRowConfig instance using the specified properties. - * @function create - * @memberof ProtoTableRowConfig - * @static - * @param {IProtoTableRowConfig=} [properties] Properties to set - * @returns {ProtoTableRowConfig} ProtoTableRowConfig instance - */ - ProtoTableRowConfig.create = function create(properties) { - return new ProtoTableRowConfig(properties); - }; - - /** - * Encodes the specified ProtoTableRowConfig message. Does not implicitly {@link ProtoTableRowConfig.verify|verify} messages. - * @function encode - * @memberof ProtoTableRowConfig - * @static - * @param {IProtoTableRowConfig} message ProtoTableRowConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableRowConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.settings != null && Object.hasOwnProperty.call(message, "settings")) - $root.ProtoTableRowSettings.encode(message.settings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.configName != null && Object.hasOwnProperty.call(message, "configName")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.configName); - if (message.rowHeader != null && Object.hasOwnProperty.call(message, "rowHeader")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.rowHeader); - if (message.rowFooter != null && Object.hasOwnProperty.call(message, "rowFooter")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.rowFooter); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoTableRowConfig message, length delimited. Does not implicitly {@link ProtoTableRowConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableRowConfig - * @static - * @param {IProtoTableRowConfig} message ProtoTableRowConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableRowConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableRowConfig message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableRowConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableRowConfig} ProtoTableRowConfig - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableRowConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.settings = $root.ProtoTableRowSettings.decode(reader, reader.uint32()); - break; - } - case 3: { - message.configName = reader.string(); - break; - } - case 4: { - message.rowHeader = reader.string(); - break; - } - case 5: { - message.rowFooter = reader.string(); - break; - } - case 6: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableRowConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableRowConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableRowConfig} ProtoTableRowConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableRowConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableRowConfig message. - * @function verify - * @memberof ProtoTableRowConfig - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "settings." + error; - } - if (message.configName != null && message.hasOwnProperty("configName")) - if (!$util.isString(message.configName)) - return "configName: string expected"; - if (message.rowHeader != null && message.hasOwnProperty("rowHeader")) - if (!$util.isString(message.rowHeader)) - return "rowHeader: string expected"; - if (message.rowFooter != null && message.hasOwnProperty("rowFooter")) - if (!$util.isString(message.rowFooter)) - return "rowFooter: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoTableRowConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableRowConfig - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableRowConfig} ProtoTableRowConfig - */ - ProtoTableRowConfig.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableRowConfig) - return object; - 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); - } - if (object.settings != null) { - if (typeof object.settings !== "object") - throw TypeError(".ProtoTableRowConfig.settings: object expected"); - message.settings = $root.ProtoTableRowSettings.fromObject(object.settings); - } - if (object.configName != null) - message.configName = String(object.configName); - if (object.rowHeader != null) - message.rowHeader = String(object.rowHeader); - if (object.rowFooter != null) - message.rowFooter = String(object.rowFooter); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTableRowConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableRowConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableRowConfig - * @static - * @param {ProtoTableRowConfig} message ProtoTableRowConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableRowConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.settings = null; - object.configName = ""; - object.rowHeader = ""; - object.rowFooter = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.settings != null && message.hasOwnProperty("settings")) - object.settings = $root.ProtoTableRowSettings.toObject(message.settings, options); - if (message.configName != null && message.hasOwnProperty("configName")) - object.configName = message.configName; - if (message.rowHeader != null && message.hasOwnProperty("rowHeader")) - object.rowHeader = message.rowHeader; - if (message.rowFooter != null && message.hasOwnProperty("rowFooter")) - object.rowFooter = message.rowFooter; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoTableRowConfig to JSON. - * @function toJSON - * @memberof ProtoTableRowConfig - * @instance - * @returns {Object.} JSON object - */ - ProtoTableRowConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableRowConfig - * @function getTypeUrl - * @memberof ProtoTableRowConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableRowConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableRowConfig"; - }; - - return ProtoTableRowConfig; -})(); - -$root.ProtoTableRowSettings = (function() { - - /** - * Properties of a ProtoTableRowSettings. - * @name IProtoTableRowSettings - * @interface IProtoTableRowSettings - * @property {IProtoMeasure|null} [minHeight] ProtoTableRowSettings minHeight - * @property {IProtoTableWS|null} [ws] ProtoTableRowSettings ws - */ - - /** - * Constructs a new ProtoTableRowSettings. - * @name ProtoTableRowSettings - * @classdesc Represents a ProtoTableRowSettings. - * @implements IProtoTableRowSettings - * @constructor - * @param {IProtoTableRowSettings=} [properties] Properties to set - */ - function ProtoTableRowSettings(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableRowSettings minHeight. - * @member {IProtoMeasure|null|undefined} minHeight - * @memberof ProtoTableRowSettings - * @instance - */ - ProtoTableRowSettings.prototype.minHeight = null; - - /** - * ProtoTableRowSettings ws. - * @member {IProtoTableWS|null|undefined} ws - * @memberof ProtoTableRowSettings - * @instance - */ - ProtoTableRowSettings.prototype.ws = null; - - /** - * Creates a new ProtoTableRowSettings instance using the specified properties. - * @function create - * @memberof ProtoTableRowSettings - * @static - * @param {IProtoTableRowSettings=} [properties] Properties to set - * @returns {ProtoTableRowSettings} ProtoTableRowSettings instance - */ - ProtoTableRowSettings.create = function create(properties) { - return new ProtoTableRowSettings(properties); - }; - - /** - * Encodes the specified ProtoTableRowSettings message. Does not implicitly {@link ProtoTableRowSettings.verify|verify} messages. - * @function encode - * @memberof ProtoTableRowSettings - * @static - * @param {IProtoTableRowSettings} message ProtoTableRowSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableRowSettings.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.minHeight != null && Object.hasOwnProperty.call(message, "minHeight")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoTableRowSettings message, length delimited. Does not implicitly {@link ProtoTableRowSettings.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableRowSettings - * @static - * @param {IProtoTableRowSettings} message ProtoTableRowSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableRowSettings.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableRowSettings message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableRowSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableRowSettings} ProtoTableRowSettings - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableRowSettings(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.minHeight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.ws = $root.ProtoTableWS.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableRowSettings message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableRowSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableRowSettings} ProtoTableRowSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableRowSettings.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableRowSettings message. - * @function verify - * @memberof ProtoTableRowSettings - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.minHeight != null && message.hasOwnProperty("minHeight")) { - 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); - if (error) - return "ws." + error; - } - return null; - }; - - /** - * Creates a ProtoTableRowSettings message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableRowSettings - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableRowSettings} ProtoTableRowSettings - */ - ProtoTableRowSettings.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableRowSettings) - return object; - 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); - } - if (object.ws != null) { - if (typeof object.ws !== "object") - throw TypeError(".ProtoTableRowSettings.ws: object expected"); - message.ws = $root.ProtoTableWS.fromObject(object.ws); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableRowSettings message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableRowSettings - * @static - * @param {ProtoTableRowSettings} message ProtoTableRowSettings - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableRowSettings.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.minHeight = null; - object.ws = null; - } - if (message.minHeight != null && message.hasOwnProperty("minHeight")) - object.minHeight = $root.ProtoMeasure.toObject(message.minHeight, options); - if (message.ws != null && message.hasOwnProperty("ws")) - object.ws = $root.ProtoTableWS.toObject(message.ws, options); - return object; - }; - - /** - * Converts this ProtoTableRowSettings to JSON. - * @function toJSON - * @memberof ProtoTableRowSettings - * @instance - * @returns {Object.} JSON object - */ - ProtoTableRowSettings.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableRowSettings - * @function getTypeUrl - * @memberof ProtoTableRowSettings - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableRowSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableRowSettings"; - }; - - return ProtoTableRowSettings; -})(); - -/** - * ProtoTableCellType enum. - * @name ProtoTableCellType - * @enum {number} - * @property {number} TABLE_CELL_BODY=0 TABLE_CELL_BODY value - * @property {number} TABLE_CELL_ROW_HEADER=1 TABLE_CELL_ROW_HEADER value - * @property {number} TABLE_CELL_ROW_FOOTER=2 TABLE_CELL_ROW_FOOTER value - */ -$root.ProtoTableCellType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "TABLE_CELL_BODY"] = 0; - values[valuesById[1] = "TABLE_CELL_ROW_HEADER"] = 1; - values[valuesById[2] = "TABLE_CELL_ROW_FOOTER"] = 2; - return values; -})(); - -$root.ProtoBoxedTableCellType = (function() { - - /** - * Properties of a ProtoBoxedTableCellType. - * @name IProtoBoxedTableCellType - * @interface IProtoBoxedTableCellType - * @property {ProtoTableCellType|null} [value] ProtoBoxedTableCellType value - * @property {boolean|null} [isNull] ProtoBoxedTableCellType isNull - */ - - /** - * Constructs a new ProtoBoxedTableCellType. - * @name ProtoBoxedTableCellType - * @classdesc Represents a ProtoBoxedTableCellType. - * @implements IProtoBoxedTableCellType - * @constructor - * @param {IProtoBoxedTableCellType=} [properties] Properties to set - */ - function ProtoBoxedTableCellType(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBoxedTableCellType value. - * @member {ProtoTableCellType} value - * @memberof ProtoBoxedTableCellType - * @instance - */ - ProtoBoxedTableCellType.prototype.value = 0; - - /** - * ProtoBoxedTableCellType isNull. - * @member {boolean} isNull - * @memberof ProtoBoxedTableCellType - * @instance - */ - ProtoBoxedTableCellType.prototype.isNull = false; - - /** - * Creates a new ProtoBoxedTableCellType instance using the specified properties. - * @function create - * @memberof ProtoBoxedTableCellType - * @static - * @param {IProtoBoxedTableCellType=} [properties] Properties to set - * @returns {ProtoBoxedTableCellType} ProtoBoxedTableCellType instance - */ - ProtoBoxedTableCellType.create = function create(properties) { - return new ProtoBoxedTableCellType(properties); - }; - - /** - * Encodes the specified ProtoBoxedTableCellType message. Does not implicitly {@link ProtoBoxedTableCellType.verify|verify} messages. - * @function encode - * @memberof ProtoBoxedTableCellType - * @static - * @param {IProtoBoxedTableCellType} message ProtoBoxedTableCellType message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedTableCellType.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoBoxedTableCellType message, length delimited. Does not implicitly {@link ProtoBoxedTableCellType.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBoxedTableCellType - * @static - * @param {IProtoBoxedTableCellType} message ProtoBoxedTableCellType message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBoxedTableCellType.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBoxedTableCellType message from the specified reader or buffer. - * @function decode - * @memberof ProtoBoxedTableCellType - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBoxedTableCellType} ProtoBoxedTableCellType - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBoxedTableCellType(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBoxedTableCellType message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBoxedTableCellType - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBoxedTableCellType} ProtoBoxedTableCellType - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBoxedTableCellType.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBoxedTableCellType message. - * @function verify - * @memberof ProtoBoxedTableCellType - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: - return "value: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a ProtoBoxedTableCellType message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBoxedTableCellType - * @static - * @param {Object.} object Plain object - * @returns {ProtoBoxedTableCellType} ProtoBoxedTableCellType - */ - ProtoBoxedTableCellType.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBoxedTableCellType) - return object; - var message = new $root.ProtoBoxedTableCellType(); - 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) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a ProtoBoxedTableCellType message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBoxedTableCellType - * @static - * @param {ProtoBoxedTableCellType} message ProtoBoxedTableCellType - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBoxedTableCellType.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = options.enums === String ? "TABLE_CELL_BODY" : 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.ProtoTableCellType[message.value] === undefined ? message.value : $root.ProtoTableCellType[message.value] : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this ProtoBoxedTableCellType to JSON. - * @function toJSON - * @memberof ProtoBoxedTableCellType - * @instance - * @returns {Object.} JSON object - */ - ProtoBoxedTableCellType.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBoxedTableCellType - * @function getTypeUrl - * @memberof ProtoBoxedTableCellType - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBoxedTableCellType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBoxedTableCellType"; - }; - - return ProtoBoxedTableCellType; -})(); - -$root.ProtoTableCell = (function() { - - /** - * Properties of a ProtoTableCell. - * @name IProtoTableCell - * @interface IProtoTableCell - * @property {Array.|null} [_children] ProtoTableCell _children - * @property {IProtoDocumentElement|null} [parent] ProtoTableCell parent - * @property {IProtoTableCellSettings|null} [settings] ProtoTableCell settings - * @property {IProtoBoxedUint32|null} [cellConfigNumber] ProtoTableCell cellConfigNumber - * @property {boolean|null} [mergedLeft] ProtoTableCell mergedLeft - * @property {boolean|null} [mergedUp] ProtoTableCell mergedUp - * @property {Array.|null} [comChannelUUIDs] ProtoTableCell comChannelUUIDs - * @property {IProtoTableElementProperties|null} [elementProperties] ProtoTableCell elementProperties - */ - - /** - * Constructs a new ProtoTableCell. - * @name ProtoTableCell - * @classdesc Represents a ProtoTableCell. - * @implements IProtoTableCell - * @constructor - * @param {IProtoTableCell=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableCell _children. - * @member {Array.} _children - * @memberof ProtoTableCell - * @instance - */ - ProtoTableCell.prototype._children = $util.emptyArray; - - /** - * ProtoTableCell parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTableCell - * @instance - */ - ProtoTableCell.prototype.parent = null; - - /** - * ProtoTableCell settings. - * @member {IProtoTableCellSettings|null|undefined} settings - * @memberof ProtoTableCell - * @instance - */ - ProtoTableCell.prototype.settings = null; - - /** - * ProtoTableCell cellConfigNumber. - * @member {IProtoBoxedUint32|null|undefined} cellConfigNumber - * @memberof ProtoTableCell - * @instance - */ - ProtoTableCell.prototype.cellConfigNumber = null; - - /** - * ProtoTableCell mergedLeft. - * @member {boolean} mergedLeft - * @memberof ProtoTableCell - * @instance - */ - ProtoTableCell.prototype.mergedLeft = false; - - /** - * ProtoTableCell mergedUp. - * @member {boolean} mergedUp - * @memberof ProtoTableCell - * @instance - */ - ProtoTableCell.prototype.mergedUp = false; - - /** - * ProtoTableCell comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTableCell - * @instance - */ - ProtoTableCell.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoTableCell elementProperties. - * @member {IProtoTableElementProperties|null|undefined} elementProperties - * @memberof ProtoTableCell - * @instance - */ - ProtoTableCell.prototype.elementProperties = null; - - /** - * Creates a new ProtoTableCell instance using the specified properties. - * @function create - * @memberof ProtoTableCell - * @static - * @param {IProtoTableCell=} [properties] Properties to set - * @returns {ProtoTableCell} ProtoTableCell instance - */ - ProtoTableCell.create = function create(properties) { - return new ProtoTableCell(properties); - }; - - /** - * Encodes the specified ProtoTableCell message. Does not implicitly {@link ProtoTableCell.verify|verify} messages. - * @function encode - * @memberof ProtoTableCell - * @static - * @param {IProtoTableCell} message ProtoTableCell message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableCell.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.settings != null && Object.hasOwnProperty.call(message, "settings")) - $root.ProtoTableCellSettings.encode(message.settings, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.cellConfigNumber != null && Object.hasOwnProperty.call(message, "cellConfigNumber")) - $root.ProtoBoxedUint32.encode(message.cellConfigNumber, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.mergedLeft != null && Object.hasOwnProperty.call(message, "mergedLeft")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.mergedLeft); - if (message.mergedUp != null && Object.hasOwnProperty.call(message, "mergedUp")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.mergedUp); - 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.elementProperties != null && Object.hasOwnProperty.call(message, "elementProperties")) - $root.ProtoTableElementProperties.encode(message.elementProperties, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ProtoTableCell message, length delimited. Does not implicitly {@link ProtoTableCell.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableCell - * @static - * @param {IProtoTableCell} message ProtoTableCell message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableCell.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableCell message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableCell - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableCell} ProtoTableCell - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableCell(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.settings = $root.ProtoTableCellSettings.decode(reader, reader.uint32()); - break; - } - case 4: { - message.cellConfigNumber = $root.ProtoBoxedUint32.decode(reader, reader.uint32()); - break; - } - case 5: { - message.mergedLeft = reader.bool(); - break; - } - case 6: { - message.mergedUp = reader.bool(); - break; - } - case 7: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 8: { - message.elementProperties = $root.ProtoTableElementProperties.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableCell message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableCell - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableCell} ProtoTableCell - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableCell.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableCell message. - * @function verify - * @memberof ProtoTableCell - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "settings." + error; - } - if (message.cellConfigNumber != null && message.hasOwnProperty("cellConfigNumber")) { - var error = $root.ProtoBoxedUint32.verify(message.cellConfigNumber); - if (error) - return "cellConfigNumber." + error; - } - if (message.mergedLeft != null && message.hasOwnProperty("mergedLeft")) - if (typeof message.mergedLeft !== "boolean") - return "mergedLeft: boolean expected"; - if (message.mergedUp != null && message.hasOwnProperty("mergedUp")) - if (typeof message.mergedUp !== "boolean") - return "mergedUp: boolean expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) { - var error = $root.ProtoTableElementProperties.verify(message.elementProperties); - if (error) - return "elementProperties." + error; - } - return null; - }; - - /** - * Creates a ProtoTableCell message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableCell - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableCell} ProtoTableCell - */ - ProtoTableCell.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableCell) - return object; - var message = new $root.ProtoTableCell(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoTableCell._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoTableCell.parent: object expected"); - 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); - } - if (object.cellConfigNumber != null) { - if (typeof object.cellConfigNumber !== "object") - throw TypeError(".ProtoTableCell.cellConfigNumber: object expected"); - message.cellConfigNumber = $root.ProtoBoxedUint32.fromObject(object.cellConfigNumber); - } - if (object.mergedLeft != null) - message.mergedLeft = Boolean(object.mergedLeft); - if (object.mergedUp != null) - message.mergedUp = Boolean(object.mergedUp); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTableCell.comChannelUUIDs: array expected"); - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableCell message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableCell - * @static - * @param {ProtoTableCell} message ProtoTableCell - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableCell.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.settings = null; - object.cellConfigNumber = null; - object.mergedLeft = false; - object.mergedUp = false; - object.elementProperties = null; - } - if (message._children && 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.settings != null && message.hasOwnProperty("settings")) - object.settings = $root.ProtoTableCellSettings.toObject(message.settings, options); - if (message.cellConfigNumber != null && message.hasOwnProperty("cellConfigNumber")) - object.cellConfigNumber = $root.ProtoBoxedUint32.toObject(message.cellConfigNumber, options); - if (message.mergedLeft != null && message.hasOwnProperty("mergedLeft")) - object.mergedLeft = message.mergedLeft; - if (message.mergedUp != null && message.hasOwnProperty("mergedUp")) - object.mergedUp = message.mergedUp; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.elementProperties != null && message.hasOwnProperty("elementProperties")) - object.elementProperties = $root.ProtoTableElementProperties.toObject(message.elementProperties, options); - return object; - }; - - /** - * Converts this ProtoTableCell to JSON. - * @function toJSON - * @memberof ProtoTableCell - * @instance - * @returns {Object.} JSON object - */ - ProtoTableCell.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableCell - * @function getTypeUrl - * @memberof ProtoTableCell - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableCell.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableCell"; - }; - - return ProtoTableCell; -})(); - -$root.ProtoTableCellConfig = (function() { - - /** - * Properties of a ProtoTableCellConfig. - * @name IProtoTableCellConfig - * @interface IProtoTableCellConfig - * @property {IProtoDocumentElement|null} [parent] ProtoTableCellConfig parent - * @property {IProtoTableCellSettings|null} [settings] ProtoTableCellConfig settings - * @property {string|null} [configName] ProtoTableCellConfig configName - * @property {IProtoBoxedTableCellType|null} [cellType] ProtoTableCellConfig cellType - * @property {Array.|null} [comChannelUUIDs] ProtoTableCellConfig comChannelUUIDs - */ - - /** - * Constructs a new ProtoTableCellConfig. - * @name ProtoTableCellConfig - * @classdesc Represents a ProtoTableCellConfig. - * @implements IProtoTableCellConfig - * @constructor - * @param {IProtoTableCellConfig=} [properties] Properties to set - */ - function ProtoTableCellConfig(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableCellConfig parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTableCellConfig - * @instance - */ - ProtoTableCellConfig.prototype.parent = null; - - /** - * ProtoTableCellConfig settings. - * @member {IProtoTableCellSettings|null|undefined} settings - * @memberof ProtoTableCellConfig - * @instance - */ - ProtoTableCellConfig.prototype.settings = null; - - /** - * ProtoTableCellConfig configName. - * @member {string} configName - * @memberof ProtoTableCellConfig - * @instance - */ - ProtoTableCellConfig.prototype.configName = ""; - - /** - * ProtoTableCellConfig cellType. - * @member {IProtoBoxedTableCellType|null|undefined} cellType - * @memberof ProtoTableCellConfig - * @instance - */ - ProtoTableCellConfig.prototype.cellType = null; - - /** - * ProtoTableCellConfig comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTableCellConfig - * @instance - */ - ProtoTableCellConfig.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoTableCellConfig instance using the specified properties. - * @function create - * @memberof ProtoTableCellConfig - * @static - * @param {IProtoTableCellConfig=} [properties] Properties to set - * @returns {ProtoTableCellConfig} ProtoTableCellConfig instance - */ - ProtoTableCellConfig.create = function create(properties) { - return new ProtoTableCellConfig(properties); - }; - - /** - * Encodes the specified ProtoTableCellConfig message. Does not implicitly {@link ProtoTableCellConfig.verify|verify} messages. - * @function encode - * @memberof ProtoTableCellConfig - * @static - * @param {IProtoTableCellConfig} message ProtoTableCellConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableCellConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.settings != null && Object.hasOwnProperty.call(message, "settings")) - $root.ProtoTableCellSettings.encode(message.settings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.configName != null && Object.hasOwnProperty.call(message, "configName")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.configName); - if (message.cellType != null && Object.hasOwnProperty.call(message, "cellType")) - $root.ProtoBoxedTableCellType.encode(message.cellType, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoTableCellConfig message, length delimited. Does not implicitly {@link ProtoTableCellConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableCellConfig - * @static - * @param {IProtoTableCellConfig} message ProtoTableCellConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableCellConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableCellConfig message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableCellConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableCellConfig} ProtoTableCellConfig - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableCellConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.settings = $root.ProtoTableCellSettings.decode(reader, reader.uint32()); - break; - } - case 3: { - message.configName = reader.string(); - break; - } - case 4: { - message.cellType = $root.ProtoBoxedTableCellType.decode(reader, reader.uint32()); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableCellConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableCellConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableCellConfig} ProtoTableCellConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableCellConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableCellConfig message. - * @function verify - * @memberof ProtoTableCellConfig - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "settings." + error; - } - if (message.configName != null && message.hasOwnProperty("configName")) - if (!$util.isString(message.configName)) - return "configName: string expected"; - if (message.cellType != null && message.hasOwnProperty("cellType")) { - var error = $root.ProtoBoxedTableCellType.verify(message.cellType); - if (error) - return "cellType." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoTableCellConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableCellConfig - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableCellConfig} ProtoTableCellConfig - */ - ProtoTableCellConfig.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableCellConfig) - return object; - 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); - } - if (object.settings != null) { - if (typeof object.settings !== "object") - throw TypeError(".ProtoTableCellConfig.settings: object expected"); - message.settings = $root.ProtoTableCellSettings.fromObject(object.settings); - } - if (object.configName != null) - 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); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTableCellConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableCellConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableCellConfig - * @static - * @param {ProtoTableCellConfig} message ProtoTableCellConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableCellConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.settings = null; - object.configName = ""; - object.cellType = null; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.settings != null && message.hasOwnProperty("settings")) - object.settings = $root.ProtoTableCellSettings.toObject(message.settings, options); - if (message.configName != null && message.hasOwnProperty("configName")) - object.configName = message.configName; - if (message.cellType != null && message.hasOwnProperty("cellType")) - object.cellType = $root.ProtoBoxedTableCellType.toObject(message.cellType, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoTableCellConfig to JSON. - * @function toJSON - * @memberof ProtoTableCellConfig - * @instance - * @returns {Object.} JSON object - */ - ProtoTableCellConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableCellConfig - * @function getTypeUrl - * @memberof ProtoTableCellConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableCellConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableCellConfig"; - }; - - return ProtoTableCellConfig; -})(); - -$root.ProtoTableCellSettings = (function() { - - /** - * Properties of a ProtoTableCellSettings. - * @name IProtoTableCellSettings - * @interface IProtoTableCellSettings - * @property {IProtoMeasure|null} [width] ProtoTableCellSettings width - * @property {IProtoBoxedHorizontalAlignment|null} [align] ProtoTableCellSettings align - * @property {IProtoBoxedVerticalAlignment|null} [valign] ProtoTableCellSettings valign - * @property {IProtoColor|null} [backgroundColor] ProtoTableCellSettings backgroundColor - * @property {IProtoSideMeasures|null} [padding] ProtoTableCellSettings padding - * @property {IProtoSideBorders|null} [border] ProtoTableCellSettings border - * @property {IProtoSideMeasures|null} [margin] ProtoTableCellSettings margin - * @property {IProtoBoxedDouble|null} [rotation] ProtoTableCellSettings rotation - * @property {IProtoBoxedString|null} [defaultParagraphFormat] ProtoTableCellSettings defaultParagraphFormat - */ - - /** - * Constructs a new ProtoTableCellSettings. - * @name ProtoTableCellSettings - * @classdesc Represents a ProtoTableCellSettings. - * @implements IProtoTableCellSettings - * @constructor - * @param {IProtoTableCellSettings=} [properties] Properties to set - */ - function ProtoTableCellSettings(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableCellSettings width. - * @member {IProtoMeasure|null|undefined} width - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.width = null; - - /** - * ProtoTableCellSettings align. - * @member {IProtoBoxedHorizontalAlignment|null|undefined} align - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.align = null; - - /** - * ProtoTableCellSettings valign. - * @member {IProtoBoxedVerticalAlignment|null|undefined} valign - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.valign = null; - - /** - * ProtoTableCellSettings backgroundColor. - * @member {IProtoColor|null|undefined} backgroundColor - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.backgroundColor = null; - - /** - * ProtoTableCellSettings padding. - * @member {IProtoSideMeasures|null|undefined} padding - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.padding = null; - - /** - * ProtoTableCellSettings border. - * @member {IProtoSideBorders|null|undefined} border - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.border = null; - - /** - * ProtoTableCellSettings margin. - * @member {IProtoSideMeasures|null|undefined} margin - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.margin = null; - - /** - * ProtoTableCellSettings rotation. - * @member {IProtoBoxedDouble|null|undefined} rotation - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.rotation = null; - - /** - * ProtoTableCellSettings defaultParagraphFormat. - * @member {IProtoBoxedString|null|undefined} defaultParagraphFormat - * @memberof ProtoTableCellSettings - * @instance - */ - ProtoTableCellSettings.prototype.defaultParagraphFormat = null; - - /** - * Creates a new ProtoTableCellSettings instance using the specified properties. - * @function create - * @memberof ProtoTableCellSettings - * @static - * @param {IProtoTableCellSettings=} [properties] Properties to set - * @returns {ProtoTableCellSettings} ProtoTableCellSettings instance - */ - ProtoTableCellSettings.create = function create(properties) { - return new ProtoTableCellSettings(properties); - }; - - /** - * Encodes the specified ProtoTableCellSettings message. Does not implicitly {@link ProtoTableCellSettings.verify|verify} messages. - * @function encode - * @memberof ProtoTableCellSettings - * @static - * @param {IProtoTableCellSettings} message ProtoTableCellSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableCellSettings.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $root.ProtoMeasure.encode(message.width, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.align != null && Object.hasOwnProperty.call(message, "align")) - $root.ProtoBoxedHorizontalAlignment.encode(message.align, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.valign != null && Object.hasOwnProperty.call(message, "valign")) - $root.ProtoBoxedVerticalAlignment.encode(message.valign, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.backgroundColor != null && Object.hasOwnProperty.call(message, "backgroundColor")) - $root.ProtoColor.encode(message.backgroundColor, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.padding != null && Object.hasOwnProperty.call(message, "padding")) - $root.ProtoSideMeasures.encode(message.padding, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.border != null && Object.hasOwnProperty.call(message, "border")) - $root.ProtoSideBorders.encode(message.border, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.margin != null && Object.hasOwnProperty.call(message, "margin")) - $root.ProtoSideMeasures.encode(message.margin, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.rotation != null && Object.hasOwnProperty.call(message, "rotation")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoTableCellSettings message, length delimited. Does not implicitly {@link ProtoTableCellSettings.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableCellSettings - * @static - * @param {IProtoTableCellSettings} message ProtoTableCellSettings message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableCellSettings.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableCellSettings message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableCellSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableCellSettings} ProtoTableCellSettings - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableCellSettings(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.align = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32()); - break; - } - case 3: { - message.valign = $root.ProtoBoxedVerticalAlignment.decode(reader, reader.uint32()); - break; - } - case 4: { - message.backgroundColor = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 5: { - message.padding = $root.ProtoSideMeasures.decode(reader, reader.uint32()); - break; - } - case 6: { - message.border = $root.ProtoSideBorders.decode(reader, reader.uint32()); - break; - } - case 7: { - message.margin = $root.ProtoSideMeasures.decode(reader, reader.uint32()); - break; - } - case 8: { - message.rotation = $root.ProtoBoxedDouble.decode(reader, reader.uint32()); - break; - } - case 9: { - message.defaultParagraphFormat = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableCellSettings message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableCellSettings - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableCellSettings} ProtoTableCellSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableCellSettings.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableCellSettings message. - * @function verify - * @memberof ProtoTableCellSettings - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.width != null && message.hasOwnProperty("width")) { - 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); - if (error) - return "align." + error; - } - if (message.valign != null && message.hasOwnProperty("valign")) { - 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); - if (error) - return "backgroundColor." + error; - } - if (message.padding != null && message.hasOwnProperty("padding")) { - 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); - if (error) - return "border." + error; - } - if (message.margin != null && message.hasOwnProperty("margin")) { - 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); - if (error) - return "rotation." + error; - } - if (message.defaultParagraphFormat != null && message.hasOwnProperty("defaultParagraphFormat")) { - var error = $root.ProtoBoxedString.verify(message.defaultParagraphFormat); - if (error) - return "defaultParagraphFormat." + error; - } - return null; - }; - - /** - * Creates a ProtoTableCellSettings message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableCellSettings - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableCellSettings} ProtoTableCellSettings - */ - ProtoTableCellSettings.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableCellSettings) - return object; - 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); - } - if (object.align != null) { - if (typeof object.align !== "object") - throw TypeError(".ProtoTableCellSettings.align: object expected"); - 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); - } - if (object.backgroundColor != null) { - if (typeof object.backgroundColor !== "object") - throw TypeError(".ProtoTableCellSettings.backgroundColor: object expected"); - 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); - } - if (object.border != null) { - if (typeof object.border !== "object") - throw TypeError(".ProtoTableCellSettings.border: object expected"); - 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); - } - if (object.rotation != null) { - if (typeof object.rotation !== "object") - throw TypeError(".ProtoTableCellSettings.rotation: object expected"); - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoTableCellSettings message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableCellSettings - * @static - * @param {ProtoTableCellSettings} message ProtoTableCellSettings - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableCellSettings.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.width = null; - object.align = null; - object.valign = null; - object.backgroundColor = null; - object.padding = null; - object.border = null; - object.margin = null; - object.rotation = null; - object.defaultParagraphFormat = null; - } - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoMeasure.toObject(message.width, options); - if (message.align != null && message.hasOwnProperty("align")) - object.align = $root.ProtoBoxedHorizontalAlignment.toObject(message.align, options); - if (message.valign != null && message.hasOwnProperty("valign")) - object.valign = $root.ProtoBoxedVerticalAlignment.toObject(message.valign, options); - if (message.backgroundColor != null && message.hasOwnProperty("backgroundColor")) - object.backgroundColor = $root.ProtoColor.toObject(message.backgroundColor, options); - if (message.padding != null && message.hasOwnProperty("padding")) - object.padding = $root.ProtoSideMeasures.toObject(message.padding, options); - if (message.border != null && message.hasOwnProperty("border")) - object.border = $root.ProtoSideBorders.toObject(message.border, options); - if (message.margin != null && message.hasOwnProperty("margin")) - object.margin = $root.ProtoSideMeasures.toObject(message.margin, options); - if (message.rotation != null && message.hasOwnProperty("rotation")) - object.rotation = $root.ProtoBoxedDouble.toObject(message.rotation, options); - if (message.defaultParagraphFormat != null && message.hasOwnProperty("defaultParagraphFormat")) - object.defaultParagraphFormat = $root.ProtoBoxedString.toObject(message.defaultParagraphFormat, options); - return object; - }; - - /** - * Converts this ProtoTableCellSettings to JSON. - * @function toJSON - * @memberof ProtoTableCellSettings - * @instance - * @returns {Object.} JSON object - */ - ProtoTableCellSettings.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableCellSettings - * @function getTypeUrl - * @memberof ProtoTableCellSettings - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableCellSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableCellSettings"; - }; - - return ProtoTableCellSettings; -})(); - -$root.ProtoTableWS = (function() { - - /** - * Properties of a ProtoTableWS. - * @name IProtoTableWS - * @interface IProtoTableWS - * @property {number|null} [minLinesBefore] ProtoTableWS minLinesBefore - * @property {number|null} [minLinesAfter] ProtoTableWS minLinesAfter - * @property {number|null} [priority] ProtoTableWS priority - */ - - /** - * Constructs a new ProtoTableWS. - * @name ProtoTableWS - * @classdesc Represents a ProtoTableWS. - * @implements IProtoTableWS - * @constructor - * @param {IProtoTableWS=} [properties] Properties to set - */ - function ProtoTableWS(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableWS minLinesBefore. - * @member {number} minLinesBefore - * @memberof ProtoTableWS - * @instance - */ - ProtoTableWS.prototype.minLinesBefore = 0; - - /** - * ProtoTableWS minLinesAfter. - * @member {number} minLinesAfter - * @memberof ProtoTableWS - * @instance - */ - ProtoTableWS.prototype.minLinesAfter = 0; - - /** - * ProtoTableWS priority. - * @member {number} priority - * @memberof ProtoTableWS - * @instance - */ - ProtoTableWS.prototype.priority = 0; - - /** - * Creates a new ProtoTableWS instance using the specified properties. - * @function create - * @memberof ProtoTableWS - * @static - * @param {IProtoTableWS=} [properties] Properties to set - * @returns {ProtoTableWS} ProtoTableWS instance - */ - ProtoTableWS.create = function create(properties) { - return new ProtoTableWS(properties); - }; - - /** - * Encodes the specified ProtoTableWS message. Does not implicitly {@link ProtoTableWS.verify|verify} messages. - * @function encode - * @memberof ProtoTableWS - * @static - * @param {IProtoTableWS} message ProtoTableWS message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableWS.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.minLinesBefore != null && Object.hasOwnProperty.call(message, "minLinesBefore")) - writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.minLinesBefore); - if (message.minLinesAfter != null && Object.hasOwnProperty.call(message, "minLinesAfter")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoTableWS message, length delimited. Does not implicitly {@link ProtoTableWS.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableWS - * @static - * @param {IProtoTableWS} message ProtoTableWS message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableWS.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableWS message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableWS - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableWS} ProtoTableWS - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableWS(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.minLinesBefore = reader.uint32(); - break; - } - case 2: { - message.minLinesAfter = reader.uint32(); - break; - } - case 3: { - message.priority = reader.uint32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableWS message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableWS - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableWS} ProtoTableWS - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableWS.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableWS message. - * @function verify - * @memberof ProtoTableWS - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.minLinesBefore != null && message.hasOwnProperty("minLinesBefore")) - if (!$util.isInteger(message.minLinesBefore)) - return "minLinesBefore: integer expected"; - if (message.minLinesAfter != null && message.hasOwnProperty("minLinesAfter")) - if (!$util.isInteger(message.minLinesAfter)) - return "minLinesAfter: integer expected"; - if (message.priority != null && message.hasOwnProperty("priority")) - if (!$util.isInteger(message.priority)) - return "priority: integer expected"; - return null; - }; - - /** - * Creates a ProtoTableWS message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableWS - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableWS} ProtoTableWS - */ - ProtoTableWS.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableWS) - return object; - var message = new $root.ProtoTableWS(); - if (object.minLinesBefore != null) - message.minLinesBefore = object.minLinesBefore >>> 0; - if (object.minLinesAfter != null) - message.minLinesAfter = object.minLinesAfter >>> 0; - if (object.priority != null) - message.priority = object.priority >>> 0; - return message; - }; - - /** - * Creates a plain object from a ProtoTableWS message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableWS - * @static - * @param {ProtoTableWS} message ProtoTableWS - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableWS.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.minLinesBefore = 0; - object.minLinesAfter = 0; - object.priority = 0; - } - if (message.minLinesBefore != null && message.hasOwnProperty("minLinesBefore")) - object.minLinesBefore = message.minLinesBefore; - if (message.minLinesAfter != null && message.hasOwnProperty("minLinesAfter")) - object.minLinesAfter = message.minLinesAfter; - if (message.priority != null && message.hasOwnProperty("priority")) - object.priority = message.priority; - return object; - }; - - /** - * Converts this ProtoTableWS to JSON. - * @function toJSON - * @memberof ProtoTableWS - * @instance - * @returns {Object.} JSON object - */ - ProtoTableWS.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableWS - * @function getTypeUrl - * @memberof ProtoTableWS - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableWS.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableWS"; - }; - - return ProtoTableWS; -})(); - -$root.ProtoTableElementProperties = (function() { - - /** - * Properties of a ProtoTableElementProperties. - * @name IProtoTableElementProperties - * @interface IProtoTableElementProperties - * @property {Inheritance|null} [widthInheritance] ProtoTableElementProperties widthInheritance - * @property {IProtoMeasure|null} [width] ProtoTableElementProperties width - * @property {string|null} [widthCode] ProtoTableElementProperties widthCode - * @property {Inheritance|null} [alignInheritance] ProtoTableElementProperties alignInheritance - * @property {IProtoBoxedHorizontalAlignment|null} [align] ProtoTableElementProperties align - * @property {string|null} [alignCode] ProtoTableElementProperties alignCode - * @property {Inheritance|null} [valignInheritance] ProtoTableElementProperties valignInheritance - * @property {IProtoBoxedVerticalAlignment|null} [valign] ProtoTableElementProperties valign - * @property {string|null} [valignCode] ProtoTableElementProperties valignCode - * @property {Inheritance|null} [backgroundColorInheritance] ProtoTableElementProperties backgroundColorInheritance - * @property {Array.|null} [backgroundColor] ProtoTableElementProperties backgroundColor - * @property {string|null} [backgroundColorCode] ProtoTableElementProperties backgroundColorCode - * @property {Inheritance|null} [paddingTopInheritance] ProtoTableElementProperties paddingTopInheritance - * @property {IProtoMeasure|null} [paddingTop] ProtoTableElementProperties paddingTop - * @property {string|null} [paddingTopCode] ProtoTableElementProperties paddingTopCode - * @property {Inheritance|null} [paddingRightInheritance] ProtoTableElementProperties paddingRightInheritance - * @property {IProtoMeasure|null} [paddingRight] ProtoTableElementProperties paddingRight - * @property {string|null} [paddingRightCode] ProtoTableElementProperties paddingRightCode - * @property {Inheritance|null} [paddingBottomInheritance] ProtoTableElementProperties paddingBottomInheritance - * @property {IProtoMeasure|null} [paddingBottom] ProtoTableElementProperties paddingBottom - * @property {string|null} [paddingBottomCode] ProtoTableElementProperties paddingBottomCode - * @property {Inheritance|null} [paddingLeftInheritance] ProtoTableElementProperties paddingLeftInheritance - * @property {IProtoMeasure|null} [paddingLeft] ProtoTableElementProperties paddingLeft - * @property {string|null} [paddingLeftCode] ProtoTableElementProperties paddingLeftCode - * @property {Inheritance|null} [borderTopColorInheritance] ProtoTableElementProperties borderTopColorInheritance - * @property {IProtoColor|null} [borderTopColor] ProtoTableElementProperties borderTopColor - * @property {string|null} [borderTopColorCode] ProtoTableElementProperties borderTopColorCode - * @property {Inheritance|null} [borderTopWeightInheritance] ProtoTableElementProperties borderTopWeightInheritance - * @property {IProtoMeasure|null} [borderTopWeight] ProtoTableElementProperties borderTopWeight - * @property {string|null} [borderTopWeightCode] ProtoTableElementProperties borderTopWeightCode - * @property {Inheritance|null} [borderRightColorInheritance] ProtoTableElementProperties borderRightColorInheritance - * @property {IProtoColor|null} [borderRightColor] ProtoTableElementProperties borderRightColor - * @property {string|null} [borderRightColorCode] ProtoTableElementProperties borderRightColorCode - * @property {Inheritance|null} [borderRightWeightInheritance] ProtoTableElementProperties borderRightWeightInheritance - * @property {IProtoMeasure|null} [borderRightWeight] ProtoTableElementProperties borderRightWeight - * @property {string|null} [borderRightWeightCode] ProtoTableElementProperties borderRightWeightCode - * @property {Inheritance|null} [borderBottomColorInheritance] ProtoTableElementProperties borderBottomColorInheritance - * @property {IProtoColor|null} [borderBottomColor] ProtoTableElementProperties borderBottomColor - * @property {string|null} [borderBottomColorCode] ProtoTableElementProperties borderBottomColorCode - * @property {Inheritance|null} [borderBottomWeightInheritance] ProtoTableElementProperties borderBottomWeightInheritance - * @property {IProtoMeasure|null} [borderBottomWeight] ProtoTableElementProperties borderBottomWeight - * @property {string|null} [borderBottomWeightCode] ProtoTableElementProperties borderBottomWeightCode - * @property {Inheritance|null} [borderLeftColorInheritance] ProtoTableElementProperties borderLeftColorInheritance - * @property {IProtoColor|null} [borderLeftColor] ProtoTableElementProperties borderLeftColor - * @property {string|null} [borderLeftColorCode] ProtoTableElementProperties borderLeftColorCode - * @property {Inheritance|null} [borderLeftWeightInheritance] ProtoTableElementProperties borderLeftWeightInheritance - * @property {IProtoMeasure|null} [borderLeftWeight] ProtoTableElementProperties borderLeftWeight - * @property {string|null} [borderLeftWeightCode] ProtoTableElementProperties borderLeftWeightCode - * @property {Inheritance|null} [marginTopInheritance] ProtoTableElementProperties marginTopInheritance - * @property {IProtoMeasure|null} [marginTop] ProtoTableElementProperties marginTop - * @property {string|null} [marginTopCode] ProtoTableElementProperties marginTopCode - * @property {Inheritance|null} [marginRightInheritance] ProtoTableElementProperties marginRightInheritance - * @property {IProtoMeasure|null} [marginRight] ProtoTableElementProperties marginRight - * @property {string|null} [marginRightCode] ProtoTableElementProperties marginRightCode - * @property {Inheritance|null} [marginBottomInheritance] ProtoTableElementProperties marginBottomInheritance - * @property {IProtoMeasure|null} [marginBottom] ProtoTableElementProperties marginBottom - * @property {string|null} [marginBottomCode] ProtoTableElementProperties marginBottomCode - * @property {Inheritance|null} [marginLeftInheritance] ProtoTableElementProperties marginLeftInheritance - * @property {IProtoMeasure|null} [marginLeft] ProtoTableElementProperties marginLeft - * @property {string|null} [marginLeftCode] ProtoTableElementProperties marginLeftCode - * @property {Inheritance|null} [rotationInheritance] ProtoTableElementProperties rotationInheritance - * @property {IProtoBoxedDouble|null} [rotation] ProtoTableElementProperties rotation - * @property {string|null} [rotationCode] ProtoTableElementProperties rotationCode - * @property {Inheritance|null} [defaultParagraphFormatUUIDInheritance] ProtoTableElementProperties defaultParagraphFormatUUIDInheritance - * @property {IProtoBoxedString|null} [defaultParagraphFormatUUID] ProtoTableElementProperties defaultParagraphFormatUUID - * @property {string|null} [defaultParagraphFormatUUIDCode] ProtoTableElementProperties defaultParagraphFormatUUIDCode - * @property {Inheritance|null} [tableContentGroupTypeInheritance] ProtoTableElementProperties tableContentGroupTypeInheritance - * @property {IProtoBoxedTableContentGroupType|null} [tableContentGroupType] ProtoTableElementProperties tableContentGroupType - * @property {string|null} [tableContentGroupTypeCode] ProtoTableElementProperties tableContentGroupTypeCode - * @property {Inheritance|null} [cellTypeInheritance] ProtoTableElementProperties cellTypeInheritance - * @property {IProtoBoxedTableCellType|null} [cellType] ProtoTableElementProperties cellType - * @property {string|null} [cellTypeCode] ProtoTableElementProperties cellTypeCode - * @property {Inheritance|null} [minRowHeightInheritance] ProtoTableElementProperties minRowHeightInheritance - * @property {IProtoMeasure|null} [minRowHeight] ProtoTableElementProperties minRowHeight - * @property {string|null} [minRowHeightCode] ProtoTableElementProperties minRowHeightCode - * @property {Inheritance|null} [wsInheritance] ProtoTableElementProperties wsInheritance - * @property {IProtoTableWS|null} [ws] ProtoTableElementProperties ws - * @property {string|null} [wsCode] ProtoTableElementProperties wsCode - */ - - /** - * Constructs a new ProtoTableElementProperties. - * @name ProtoTableElementProperties - * @classdesc Represents a ProtoTableElementProperties. - * @implements IProtoTableElementProperties - * @constructor - * @param {IProtoTableElementProperties=} [properties] Properties to set - */ - function ProtoTableElementProperties(properties) { - this.backgroundColor = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTableElementProperties widthInheritance. - * @member {Inheritance} widthInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.widthInheritance = 0; - - /** - * ProtoTableElementProperties width. - * @member {IProtoMeasure|null|undefined} width - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.width = null; - - /** - * ProtoTableElementProperties widthCode. - * @member {string} widthCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.widthCode = ""; - - /** - * ProtoTableElementProperties alignInheritance. - * @member {Inheritance} alignInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.alignInheritance = 0; - - /** - * ProtoTableElementProperties align. - * @member {IProtoBoxedHorizontalAlignment|null|undefined} align - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.align = null; - - /** - * ProtoTableElementProperties alignCode. - * @member {string} alignCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.alignCode = ""; - - /** - * ProtoTableElementProperties valignInheritance. - * @member {Inheritance} valignInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.valignInheritance = 0; - - /** - * ProtoTableElementProperties valign. - * @member {IProtoBoxedVerticalAlignment|null|undefined} valign - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.valign = null; - - /** - * ProtoTableElementProperties valignCode. - * @member {string} valignCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.valignCode = ""; - - /** - * ProtoTableElementProperties backgroundColorInheritance. - * @member {Inheritance} backgroundColorInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.backgroundColorInheritance = 0; - - /** - * ProtoTableElementProperties backgroundColor. - * @member {Array.} backgroundColor - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.backgroundColor = $util.emptyArray; - - /** - * ProtoTableElementProperties backgroundColorCode. - * @member {string} backgroundColorCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.backgroundColorCode = ""; - - /** - * ProtoTableElementProperties paddingTopInheritance. - * @member {Inheritance} paddingTopInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingTopInheritance = 0; - - /** - * ProtoTableElementProperties paddingTop. - * @member {IProtoMeasure|null|undefined} paddingTop - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingTop = null; - - /** - * ProtoTableElementProperties paddingTopCode. - * @member {string} paddingTopCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingTopCode = ""; - - /** - * ProtoTableElementProperties paddingRightInheritance. - * @member {Inheritance} paddingRightInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingRightInheritance = 0; - - /** - * ProtoTableElementProperties paddingRight. - * @member {IProtoMeasure|null|undefined} paddingRight - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingRight = null; - - /** - * ProtoTableElementProperties paddingRightCode. - * @member {string} paddingRightCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingRightCode = ""; - - /** - * ProtoTableElementProperties paddingBottomInheritance. - * @member {Inheritance} paddingBottomInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingBottomInheritance = 0; - - /** - * ProtoTableElementProperties paddingBottom. - * @member {IProtoMeasure|null|undefined} paddingBottom - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingBottom = null; - - /** - * ProtoTableElementProperties paddingBottomCode. - * @member {string} paddingBottomCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingBottomCode = ""; - - /** - * ProtoTableElementProperties paddingLeftInheritance. - * @member {Inheritance} paddingLeftInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingLeftInheritance = 0; - - /** - * ProtoTableElementProperties paddingLeft. - * @member {IProtoMeasure|null|undefined} paddingLeft - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingLeft = null; - - /** - * ProtoTableElementProperties paddingLeftCode. - * @member {string} paddingLeftCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.paddingLeftCode = ""; - - /** - * ProtoTableElementProperties borderTopColorInheritance. - * @member {Inheritance} borderTopColorInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderTopColorInheritance = 0; - - /** - * ProtoTableElementProperties borderTopColor. - * @member {IProtoColor|null|undefined} borderTopColor - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderTopColor = null; - - /** - * ProtoTableElementProperties borderTopColorCode. - * @member {string} borderTopColorCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderTopColorCode = ""; - - /** - * ProtoTableElementProperties borderTopWeightInheritance. - * @member {Inheritance} borderTopWeightInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderTopWeightInheritance = 0; - - /** - * ProtoTableElementProperties borderTopWeight. - * @member {IProtoMeasure|null|undefined} borderTopWeight - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderTopWeight = null; - - /** - * ProtoTableElementProperties borderTopWeightCode. - * @member {string} borderTopWeightCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderTopWeightCode = ""; - - /** - * ProtoTableElementProperties borderRightColorInheritance. - * @member {Inheritance} borderRightColorInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderRightColorInheritance = 0; - - /** - * ProtoTableElementProperties borderRightColor. - * @member {IProtoColor|null|undefined} borderRightColor - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderRightColor = null; - - /** - * ProtoTableElementProperties borderRightColorCode. - * @member {string} borderRightColorCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderRightColorCode = ""; - - /** - * ProtoTableElementProperties borderRightWeightInheritance. - * @member {Inheritance} borderRightWeightInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderRightWeightInheritance = 0; - - /** - * ProtoTableElementProperties borderRightWeight. - * @member {IProtoMeasure|null|undefined} borderRightWeight - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderRightWeight = null; - - /** - * ProtoTableElementProperties borderRightWeightCode. - * @member {string} borderRightWeightCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderRightWeightCode = ""; - - /** - * ProtoTableElementProperties borderBottomColorInheritance. - * @member {Inheritance} borderBottomColorInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderBottomColorInheritance = 0; - - /** - * ProtoTableElementProperties borderBottomColor. - * @member {IProtoColor|null|undefined} borderBottomColor - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderBottomColor = null; - - /** - * ProtoTableElementProperties borderBottomColorCode. - * @member {string} borderBottomColorCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderBottomColorCode = ""; - - /** - * ProtoTableElementProperties borderBottomWeightInheritance. - * @member {Inheritance} borderBottomWeightInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderBottomWeightInheritance = 0; - - /** - * ProtoTableElementProperties borderBottomWeight. - * @member {IProtoMeasure|null|undefined} borderBottomWeight - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderBottomWeight = null; - - /** - * ProtoTableElementProperties borderBottomWeightCode. - * @member {string} borderBottomWeightCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderBottomWeightCode = ""; - - /** - * ProtoTableElementProperties borderLeftColorInheritance. - * @member {Inheritance} borderLeftColorInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderLeftColorInheritance = 0; - - /** - * ProtoTableElementProperties borderLeftColor. - * @member {IProtoColor|null|undefined} borderLeftColor - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderLeftColor = null; - - /** - * ProtoTableElementProperties borderLeftColorCode. - * @member {string} borderLeftColorCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderLeftColorCode = ""; - - /** - * ProtoTableElementProperties borderLeftWeightInheritance. - * @member {Inheritance} borderLeftWeightInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderLeftWeightInheritance = 0; - - /** - * ProtoTableElementProperties borderLeftWeight. - * @member {IProtoMeasure|null|undefined} borderLeftWeight - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderLeftWeight = null; - - /** - * ProtoTableElementProperties borderLeftWeightCode. - * @member {string} borderLeftWeightCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.borderLeftWeightCode = ""; - - /** - * ProtoTableElementProperties marginTopInheritance. - * @member {Inheritance} marginTopInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginTopInheritance = 0; - - /** - * ProtoTableElementProperties marginTop. - * @member {IProtoMeasure|null|undefined} marginTop - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginTop = null; - - /** - * ProtoTableElementProperties marginTopCode. - * @member {string} marginTopCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginTopCode = ""; - - /** - * ProtoTableElementProperties marginRightInheritance. - * @member {Inheritance} marginRightInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginRightInheritance = 0; - - /** - * ProtoTableElementProperties marginRight. - * @member {IProtoMeasure|null|undefined} marginRight - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginRight = null; - - /** - * ProtoTableElementProperties marginRightCode. - * @member {string} marginRightCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginRightCode = ""; - - /** - * ProtoTableElementProperties marginBottomInheritance. - * @member {Inheritance} marginBottomInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginBottomInheritance = 0; - - /** - * ProtoTableElementProperties marginBottom. - * @member {IProtoMeasure|null|undefined} marginBottom - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginBottom = null; - - /** - * ProtoTableElementProperties marginBottomCode. - * @member {string} marginBottomCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginBottomCode = ""; - - /** - * ProtoTableElementProperties marginLeftInheritance. - * @member {Inheritance} marginLeftInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginLeftInheritance = 0; - - /** - * ProtoTableElementProperties marginLeft. - * @member {IProtoMeasure|null|undefined} marginLeft - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginLeft = null; - - /** - * ProtoTableElementProperties marginLeftCode. - * @member {string} marginLeftCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.marginLeftCode = ""; - - /** - * ProtoTableElementProperties rotationInheritance. - * @member {Inheritance} rotationInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.rotationInheritance = 0; - - /** - * ProtoTableElementProperties rotation. - * @member {IProtoBoxedDouble|null|undefined} rotation - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.rotation = null; - - /** - * ProtoTableElementProperties rotationCode. - * @member {string} rotationCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.rotationCode = ""; - - /** - * ProtoTableElementProperties defaultParagraphFormatUUIDInheritance. - * @member {Inheritance} defaultParagraphFormatUUIDInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.defaultParagraphFormatUUIDInheritance = 0; - - /** - * ProtoTableElementProperties defaultParagraphFormatUUID. - * @member {IProtoBoxedString|null|undefined} defaultParagraphFormatUUID - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.defaultParagraphFormatUUID = null; - - /** - * ProtoTableElementProperties defaultParagraphFormatUUIDCode. - * @member {string} defaultParagraphFormatUUIDCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.defaultParagraphFormatUUIDCode = ""; - - /** - * ProtoTableElementProperties tableContentGroupTypeInheritance. - * @member {Inheritance} tableContentGroupTypeInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.tableContentGroupTypeInheritance = 0; - - /** - * ProtoTableElementProperties tableContentGroupType. - * @member {IProtoBoxedTableContentGroupType|null|undefined} tableContentGroupType - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.tableContentGroupType = null; - - /** - * ProtoTableElementProperties tableContentGroupTypeCode. - * @member {string} tableContentGroupTypeCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.tableContentGroupTypeCode = ""; - - /** - * ProtoTableElementProperties cellTypeInheritance. - * @member {Inheritance} cellTypeInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.cellTypeInheritance = 0; - - /** - * ProtoTableElementProperties cellType. - * @member {IProtoBoxedTableCellType|null|undefined} cellType - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.cellType = null; - - /** - * ProtoTableElementProperties cellTypeCode. - * @member {string} cellTypeCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.cellTypeCode = ""; - - /** - * ProtoTableElementProperties minRowHeightInheritance. - * @member {Inheritance} minRowHeightInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.minRowHeightInheritance = 0; - - /** - * ProtoTableElementProperties minRowHeight. - * @member {IProtoMeasure|null|undefined} minRowHeight - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.minRowHeight = null; - - /** - * ProtoTableElementProperties minRowHeightCode. - * @member {string} minRowHeightCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.minRowHeightCode = ""; - - /** - * ProtoTableElementProperties wsInheritance. - * @member {Inheritance} wsInheritance - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.wsInheritance = 0; - - /** - * ProtoTableElementProperties ws. - * @member {IProtoTableWS|null|undefined} ws - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.ws = null; - - /** - * ProtoTableElementProperties wsCode. - * @member {string} wsCode - * @memberof ProtoTableElementProperties - * @instance - */ - ProtoTableElementProperties.prototype.wsCode = ""; - - /** - * Creates a new ProtoTableElementProperties instance using the specified properties. - * @function create - * @memberof ProtoTableElementProperties - * @static - * @param {IProtoTableElementProperties=} [properties] Properties to set - * @returns {ProtoTableElementProperties} ProtoTableElementProperties instance - */ - ProtoTableElementProperties.create = function create(properties) { - return new ProtoTableElementProperties(properties); - }; - - /** - * Encodes the specified ProtoTableElementProperties message. Does not implicitly {@link ProtoTableElementProperties.verify|verify} messages. - * @function encode - * @memberof ProtoTableElementProperties - * @static - * @param {IProtoTableElementProperties} message ProtoTableElementProperties message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableElementProperties.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.widthInheritance != null && Object.hasOwnProperty.call(message, "widthInheritance")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.widthInheritance); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $root.ProtoMeasure.encode(message.width, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.widthCode != null && Object.hasOwnProperty.call(message, "widthCode")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.widthCode); - if (message.alignInheritance != null && Object.hasOwnProperty.call(message, "alignInheritance")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.alignInheritance); - if (message.align != null && Object.hasOwnProperty.call(message, "align")) - $root.ProtoBoxedHorizontalAlignment.encode(message.align, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.alignCode != null && Object.hasOwnProperty.call(message, "alignCode")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.alignCode); - if (message.valignInheritance != null && Object.hasOwnProperty.call(message, "valignInheritance")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.valignInheritance); - if (message.valign != null && Object.hasOwnProperty.call(message, "valign")) - $root.ProtoBoxedVerticalAlignment.encode(message.valign, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.valignCode != null && Object.hasOwnProperty.call(message, "valignCode")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.valignCode); - if (message.backgroundColorInheritance != null && Object.hasOwnProperty.call(message, "backgroundColorInheritance")) - writer.uint32(/* id 10, wireType 0 =*/80).int32(message.backgroundColorInheritance); - if (message.backgroundColor != null && message.backgroundColor.length) - for (var i = 0; i < message.backgroundColor.length; ++i) - $root.ProtoColor.encode(message.backgroundColor[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.backgroundColorCode != null && Object.hasOwnProperty.call(message, "backgroundColorCode")) - writer.uint32(/* id 12, wireType 2 =*/98).string(message.backgroundColorCode); - if (message.paddingTopInheritance != null && Object.hasOwnProperty.call(message, "paddingTopInheritance")) - writer.uint32(/* id 13, wireType 0 =*/104).int32(message.paddingTopInheritance); - if (message.paddingTop != null && Object.hasOwnProperty.call(message, "paddingTop")) - $root.ProtoMeasure.encode(message.paddingTop, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.paddingTopCode != null && Object.hasOwnProperty.call(message, "paddingTopCode")) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.paddingTopCode); - if (message.paddingRightInheritance != null && Object.hasOwnProperty.call(message, "paddingRightInheritance")) - writer.uint32(/* id 16, wireType 0 =*/128).int32(message.paddingRightInheritance); - if (message.paddingRight != null && Object.hasOwnProperty.call(message, "paddingRight")) - $root.ProtoMeasure.encode(message.paddingRight, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.paddingRightCode != null && Object.hasOwnProperty.call(message, "paddingRightCode")) - writer.uint32(/* id 18, wireType 2 =*/146).string(message.paddingRightCode); - if (message.paddingBottomInheritance != null && Object.hasOwnProperty.call(message, "paddingBottomInheritance")) - writer.uint32(/* id 19, wireType 0 =*/152).int32(message.paddingBottomInheritance); - if (message.paddingBottom != null && Object.hasOwnProperty.call(message, "paddingBottom")) - $root.ProtoMeasure.encode(message.paddingBottom, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); - if (message.paddingBottomCode != null && Object.hasOwnProperty.call(message, "paddingBottomCode")) - writer.uint32(/* id 21, wireType 2 =*/170).string(message.paddingBottomCode); - if (message.paddingLeftInheritance != null && Object.hasOwnProperty.call(message, "paddingLeftInheritance")) - writer.uint32(/* id 22, wireType 0 =*/176).int32(message.paddingLeftInheritance); - if (message.paddingLeft != null && Object.hasOwnProperty.call(message, "paddingLeft")) - $root.ProtoMeasure.encode(message.paddingLeft, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); - if (message.paddingLeftCode != null && Object.hasOwnProperty.call(message, "paddingLeftCode")) - writer.uint32(/* id 24, wireType 2 =*/194).string(message.paddingLeftCode); - if (message.borderTopColorInheritance != null && Object.hasOwnProperty.call(message, "borderTopColorInheritance")) - writer.uint32(/* id 25, wireType 0 =*/200).int32(message.borderTopColorInheritance); - if (message.borderTopColor != null && Object.hasOwnProperty.call(message, "borderTopColor")) - $root.ProtoColor.encode(message.borderTopColor, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim(); - if (message.borderTopColorCode != null && Object.hasOwnProperty.call(message, "borderTopColorCode")) - writer.uint32(/* id 27, wireType 2 =*/218).string(message.borderTopColorCode); - if (message.borderTopWeightInheritance != null && Object.hasOwnProperty.call(message, "borderTopWeightInheritance")) - writer.uint32(/* id 28, wireType 0 =*/224).int32(message.borderTopWeightInheritance); - if (message.borderTopWeight != null && Object.hasOwnProperty.call(message, "borderTopWeight")) - $root.ProtoMeasure.encode(message.borderTopWeight, writer.uint32(/* id 29, wireType 2 =*/234).fork()).ldelim(); - if (message.borderTopWeightCode != null && Object.hasOwnProperty.call(message, "borderTopWeightCode")) - writer.uint32(/* id 30, wireType 2 =*/242).string(message.borderTopWeightCode); - if (message.borderRightColorInheritance != null && Object.hasOwnProperty.call(message, "borderRightColorInheritance")) - writer.uint32(/* id 31, wireType 0 =*/248).int32(message.borderRightColorInheritance); - if (message.borderRightColor != null && Object.hasOwnProperty.call(message, "borderRightColor")) - $root.ProtoColor.encode(message.borderRightColor, writer.uint32(/* id 32, wireType 2 =*/258).fork()).ldelim(); - if (message.borderRightColorCode != null && Object.hasOwnProperty.call(message, "borderRightColorCode")) - writer.uint32(/* id 33, wireType 2 =*/266).string(message.borderRightColorCode); - if (message.borderRightWeightInheritance != null && Object.hasOwnProperty.call(message, "borderRightWeightInheritance")) - writer.uint32(/* id 34, wireType 0 =*/272).int32(message.borderRightWeightInheritance); - if (message.borderRightWeight != null && Object.hasOwnProperty.call(message, "borderRightWeight")) - $root.ProtoMeasure.encode(message.borderRightWeight, writer.uint32(/* id 35, wireType 2 =*/282).fork()).ldelim(); - if (message.borderRightWeightCode != null && Object.hasOwnProperty.call(message, "borderRightWeightCode")) - writer.uint32(/* id 36, wireType 2 =*/290).string(message.borderRightWeightCode); - if (message.borderBottomColorInheritance != null && Object.hasOwnProperty.call(message, "borderBottomColorInheritance")) - writer.uint32(/* id 37, wireType 0 =*/296).int32(message.borderBottomColorInheritance); - if (message.borderBottomColor != null && Object.hasOwnProperty.call(message, "borderBottomColor")) - $root.ProtoColor.encode(message.borderBottomColor, writer.uint32(/* id 38, wireType 2 =*/306).fork()).ldelim(); - if (message.borderBottomColorCode != null && Object.hasOwnProperty.call(message, "borderBottomColorCode")) - writer.uint32(/* id 39, wireType 2 =*/314).string(message.borderBottomColorCode); - if (message.borderBottomWeightInheritance != null && Object.hasOwnProperty.call(message, "borderBottomWeightInheritance")) - writer.uint32(/* id 40, wireType 0 =*/320).int32(message.borderBottomWeightInheritance); - if (message.borderBottomWeight != null && Object.hasOwnProperty.call(message, "borderBottomWeight")) - $root.ProtoMeasure.encode(message.borderBottomWeight, writer.uint32(/* id 41, wireType 2 =*/330).fork()).ldelim(); - if (message.borderBottomWeightCode != null && Object.hasOwnProperty.call(message, "borderBottomWeightCode")) - writer.uint32(/* id 42, wireType 2 =*/338).string(message.borderBottomWeightCode); - if (message.borderLeftColorInheritance != null && Object.hasOwnProperty.call(message, "borderLeftColorInheritance")) - writer.uint32(/* id 43, wireType 0 =*/344).int32(message.borderLeftColorInheritance); - if (message.borderLeftColor != null && Object.hasOwnProperty.call(message, "borderLeftColor")) - $root.ProtoColor.encode(message.borderLeftColor, writer.uint32(/* id 44, wireType 2 =*/354).fork()).ldelim(); - if (message.borderLeftColorCode != null && Object.hasOwnProperty.call(message, "borderLeftColorCode")) - writer.uint32(/* id 45, wireType 2 =*/362).string(message.borderLeftColorCode); - if (message.borderLeftWeightInheritance != null && Object.hasOwnProperty.call(message, "borderLeftWeightInheritance")) - writer.uint32(/* id 46, wireType 0 =*/368).int32(message.borderLeftWeightInheritance); - if (message.borderLeftWeight != null && Object.hasOwnProperty.call(message, "borderLeftWeight")) - $root.ProtoMeasure.encode(message.borderLeftWeight, writer.uint32(/* id 47, wireType 2 =*/378).fork()).ldelim(); - if (message.borderLeftWeightCode != null && Object.hasOwnProperty.call(message, "borderLeftWeightCode")) - writer.uint32(/* id 48, wireType 2 =*/386).string(message.borderLeftWeightCode); - if (message.marginTopInheritance != null && Object.hasOwnProperty.call(message, "marginTopInheritance")) - writer.uint32(/* id 49, wireType 0 =*/392).int32(message.marginTopInheritance); - if (message.marginTop != null && Object.hasOwnProperty.call(message, "marginTop")) - $root.ProtoMeasure.encode(message.marginTop, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim(); - if (message.marginTopCode != null && Object.hasOwnProperty.call(message, "marginTopCode")) - writer.uint32(/* id 51, wireType 2 =*/410).string(message.marginTopCode); - if (message.marginRightInheritance != null && Object.hasOwnProperty.call(message, "marginRightInheritance")) - writer.uint32(/* id 52, wireType 0 =*/416).int32(message.marginRightInheritance); - if (message.marginRight != null && Object.hasOwnProperty.call(message, "marginRight")) - $root.ProtoMeasure.encode(message.marginRight, writer.uint32(/* id 53, wireType 2 =*/426).fork()).ldelim(); - if (message.marginRightCode != null && Object.hasOwnProperty.call(message, "marginRightCode")) - writer.uint32(/* id 54, wireType 2 =*/434).string(message.marginRightCode); - if (message.marginBottomInheritance != null && Object.hasOwnProperty.call(message, "marginBottomInheritance")) - writer.uint32(/* id 55, wireType 0 =*/440).int32(message.marginBottomInheritance); - if (message.marginBottom != null && Object.hasOwnProperty.call(message, "marginBottom")) - $root.ProtoMeasure.encode(message.marginBottom, writer.uint32(/* id 56, wireType 2 =*/450).fork()).ldelim(); - if (message.marginBottomCode != null && Object.hasOwnProperty.call(message, "marginBottomCode")) - writer.uint32(/* id 57, wireType 2 =*/458).string(message.marginBottomCode); - if (message.marginLeftInheritance != null && Object.hasOwnProperty.call(message, "marginLeftInheritance")) - writer.uint32(/* id 58, wireType 0 =*/464).int32(message.marginLeftInheritance); - if (message.marginLeft != null && Object.hasOwnProperty.call(message, "marginLeft")) - $root.ProtoMeasure.encode(message.marginLeft, writer.uint32(/* id 59, wireType 2 =*/474).fork()).ldelim(); - if (message.marginLeftCode != null && Object.hasOwnProperty.call(message, "marginLeftCode")) - writer.uint32(/* id 60, wireType 2 =*/482).string(message.marginLeftCode); - if (message.rotationInheritance != null && Object.hasOwnProperty.call(message, "rotationInheritance")) - writer.uint32(/* id 61, wireType 0 =*/488).int32(message.rotationInheritance); - if (message.rotation != null && Object.hasOwnProperty.call(message, "rotation")) - $root.ProtoBoxedDouble.encode(message.rotation, writer.uint32(/* id 62, wireType 2 =*/498).fork()).ldelim(); - if (message.rotationCode != null && Object.hasOwnProperty.call(message, "rotationCode")) - writer.uint32(/* id 63, wireType 2 =*/506).string(message.rotationCode); - if (message.defaultParagraphFormatUUIDInheritance != null && Object.hasOwnProperty.call(message, "defaultParagraphFormatUUIDInheritance")) - writer.uint32(/* id 64, wireType 0 =*/512).int32(message.defaultParagraphFormatUUIDInheritance); - if (message.defaultParagraphFormatUUID != null && Object.hasOwnProperty.call(message, "defaultParagraphFormatUUID")) - $root.ProtoBoxedString.encode(message.defaultParagraphFormatUUID, writer.uint32(/* id 65, wireType 2 =*/522).fork()).ldelim(); - if (message.defaultParagraphFormatUUIDCode != null && Object.hasOwnProperty.call(message, "defaultParagraphFormatUUIDCode")) - writer.uint32(/* id 66, wireType 2 =*/530).string(message.defaultParagraphFormatUUIDCode); - if (message.tableContentGroupTypeInheritance != null && Object.hasOwnProperty.call(message, "tableContentGroupTypeInheritance")) - writer.uint32(/* id 67, wireType 0 =*/536).int32(message.tableContentGroupTypeInheritance); - if (message.tableContentGroupType != null && Object.hasOwnProperty.call(message, "tableContentGroupType")) - $root.ProtoBoxedTableContentGroupType.encode(message.tableContentGroupType, writer.uint32(/* id 68, wireType 2 =*/546).fork()).ldelim(); - if (message.tableContentGroupTypeCode != null && Object.hasOwnProperty.call(message, "tableContentGroupTypeCode")) - writer.uint32(/* id 69, wireType 2 =*/554).string(message.tableContentGroupTypeCode); - if (message.cellTypeInheritance != null && Object.hasOwnProperty.call(message, "cellTypeInheritance")) - writer.uint32(/* id 70, wireType 0 =*/560).int32(message.cellTypeInheritance); - if (message.cellType != null && Object.hasOwnProperty.call(message, "cellType")) - $root.ProtoBoxedTableCellType.encode(message.cellType, writer.uint32(/* id 71, wireType 2 =*/570).fork()).ldelim(); - if (message.cellTypeCode != null && Object.hasOwnProperty.call(message, "cellTypeCode")) - writer.uint32(/* id 72, wireType 2 =*/578).string(message.cellTypeCode); - if (message.minRowHeightInheritance != null && Object.hasOwnProperty.call(message, "minRowHeightInheritance")) - writer.uint32(/* id 73, wireType 0 =*/584).int32(message.minRowHeightInheritance); - if (message.minRowHeight != null && Object.hasOwnProperty.call(message, "minRowHeight")) - $root.ProtoMeasure.encode(message.minRowHeight, writer.uint32(/* id 74, wireType 2 =*/594).fork()).ldelim(); - if (message.minRowHeightCode != null && Object.hasOwnProperty.call(message, "minRowHeightCode")) - writer.uint32(/* id 75, wireType 2 =*/602).string(message.minRowHeightCode); - if (message.wsInheritance != null && Object.hasOwnProperty.call(message, "wsInheritance")) - writer.uint32(/* id 76, wireType 0 =*/608).int32(message.wsInheritance); - if (message.ws != null && Object.hasOwnProperty.call(message, "ws")) - $root.ProtoTableWS.encode(message.ws, writer.uint32(/* id 77, wireType 2 =*/618).fork()).ldelim(); - if (message.wsCode != null && Object.hasOwnProperty.call(message, "wsCode")) - writer.uint32(/* id 78, wireType 2 =*/626).string(message.wsCode); - return writer; - }; - - /** - * Encodes the specified ProtoTableElementProperties message, length delimited. Does not implicitly {@link ProtoTableElementProperties.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTableElementProperties - * @static - * @param {IProtoTableElementProperties} message ProtoTableElementProperties message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTableElementProperties.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTableElementProperties message from the specified reader or buffer. - * @function decode - * @memberof ProtoTableElementProperties - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTableElementProperties} ProtoTableElementProperties - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTableElementProperties(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.widthInheritance = reader.int32(); - break; - } - case 2: { - message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - message.widthCode = reader.string(); - break; - } - case 4: { - message.alignInheritance = reader.int32(); - break; - } - case 5: { - message.align = $root.ProtoBoxedHorizontalAlignment.decode(reader, reader.uint32()); - break; - } - case 6: { - message.alignCode = reader.string(); - break; - } - case 7: { - message.valignInheritance = reader.int32(); - break; - } - case 8: { - message.valign = $root.ProtoBoxedVerticalAlignment.decode(reader, reader.uint32()); - break; - } - case 9: { - message.valignCode = reader.string(); - break; - } - case 10: { - message.backgroundColorInheritance = reader.int32(); - break; - } - case 11: { - if (!(message.backgroundColor && message.backgroundColor.length)) - message.backgroundColor = []; - message.backgroundColor.push($root.ProtoColor.decode(reader, reader.uint32())); - break; - } - case 12: { - message.backgroundColorCode = reader.string(); - break; - } - case 13: { - message.paddingTopInheritance = reader.int32(); - break; - } - case 14: { - message.paddingTop = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 15: { - message.paddingTopCode = reader.string(); - break; - } - case 16: { - message.paddingRightInheritance = reader.int32(); - break; - } - case 17: { - message.paddingRight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 18: { - message.paddingRightCode = reader.string(); - break; - } - case 19: { - message.paddingBottomInheritance = reader.int32(); - break; - } - case 20: { - message.paddingBottom = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 21: { - message.paddingBottomCode = reader.string(); - break; - } - case 22: { - message.paddingLeftInheritance = reader.int32(); - break; - } - case 23: { - message.paddingLeft = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 24: { - message.paddingLeftCode = reader.string(); - break; - } - case 25: { - message.borderTopColorInheritance = reader.int32(); - break; - } - case 26: { - message.borderTopColor = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 27: { - message.borderTopColorCode = reader.string(); - break; - } - case 28: { - message.borderTopWeightInheritance = reader.int32(); - break; - } - case 29: { - message.borderTopWeight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 30: { - message.borderTopWeightCode = reader.string(); - break; - } - case 31: { - message.borderRightColorInheritance = reader.int32(); - break; - } - case 32: { - message.borderRightColor = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 33: { - message.borderRightColorCode = reader.string(); - break; - } - case 34: { - message.borderRightWeightInheritance = reader.int32(); - break; - } - case 35: { - message.borderRightWeight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 36: { - message.borderRightWeightCode = reader.string(); - break; - } - case 37: { - message.borderBottomColorInheritance = reader.int32(); - break; - } - case 38: { - message.borderBottomColor = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 39: { - message.borderBottomColorCode = reader.string(); - break; - } - case 40: { - message.borderBottomWeightInheritance = reader.int32(); - break; - } - case 41: { - message.borderBottomWeight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 42: { - message.borderBottomWeightCode = reader.string(); - break; - } - case 43: { - message.borderLeftColorInheritance = reader.int32(); - break; - } - case 44: { - message.borderLeftColor = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 45: { - message.borderLeftColorCode = reader.string(); - break; - } - case 46: { - message.borderLeftWeightInheritance = reader.int32(); - break; - } - case 47: { - message.borderLeftWeight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 48: { - message.borderLeftWeightCode = reader.string(); - break; - } - case 49: { - message.marginTopInheritance = reader.int32(); - break; - } - case 50: { - message.marginTop = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 51: { - message.marginTopCode = reader.string(); - break; - } - case 52: { - message.marginRightInheritance = reader.int32(); - break; - } - case 53: { - message.marginRight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 54: { - message.marginRightCode = reader.string(); - break; - } - case 55: { - message.marginBottomInheritance = reader.int32(); - break; - } - case 56: { - message.marginBottom = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 57: { - message.marginBottomCode = reader.string(); - break; - } - case 58: { - message.marginLeftInheritance = reader.int32(); - break; - } - case 59: { - message.marginLeft = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 60: { - message.marginLeftCode = reader.string(); - break; - } - case 61: { - message.rotationInheritance = reader.int32(); - break; - } - case 62: { - message.rotation = $root.ProtoBoxedDouble.decode(reader, reader.uint32()); - break; - } - case 63: { - message.rotationCode = reader.string(); - break; - } - case 64: { - message.defaultParagraphFormatUUIDInheritance = reader.int32(); - break; - } - case 65: { - message.defaultParagraphFormatUUID = $root.ProtoBoxedString.decode(reader, reader.uint32()); - break; - } - case 66: { - message.defaultParagraphFormatUUIDCode = reader.string(); - break; - } - case 67: { - message.tableContentGroupTypeInheritance = reader.int32(); - break; - } - case 68: { - message.tableContentGroupType = $root.ProtoBoxedTableContentGroupType.decode(reader, reader.uint32()); - break; - } - case 69: { - message.tableContentGroupTypeCode = reader.string(); - break; - } - case 70: { - message.cellTypeInheritance = reader.int32(); - break; - } - case 71: { - message.cellType = $root.ProtoBoxedTableCellType.decode(reader, reader.uint32()); - break; - } - case 72: { - message.cellTypeCode = reader.string(); - break; - } - case 73: { - message.minRowHeightInheritance = reader.int32(); - break; - } - case 74: { - message.minRowHeight = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 75: { - message.minRowHeightCode = reader.string(); - break; - } - case 76: { - message.wsInheritance = reader.int32(); - break; - } - case 77: { - message.ws = $root.ProtoTableWS.decode(reader, reader.uint32()); - break; - } - case 78: { - message.wsCode = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTableElementProperties message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTableElementProperties - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTableElementProperties} ProtoTableElementProperties - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTableElementProperties.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTableElementProperties message. - * @function verify - * @memberof ProtoTableElementProperties - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.widthInheritance != null && message.hasOwnProperty("widthInheritance")) - switch (message.widthInheritance) { - default: - return "widthInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.width != null && message.hasOwnProperty("width")) { - var error = $root.ProtoMeasure.verify(message.width); - if (error) - return "width." + error; - } - if (message.widthCode != null && message.hasOwnProperty("widthCode")) - if (!$util.isString(message.widthCode)) - return "widthCode: string expected"; - if (message.alignInheritance != null && message.hasOwnProperty("alignInheritance")) - switch (message.alignInheritance) { - default: - return "alignInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.align != null && message.hasOwnProperty("align")) { - var error = $root.ProtoBoxedHorizontalAlignment.verify(message.align); - if (error) - return "align." + error; - } - if (message.alignCode != null && message.hasOwnProperty("alignCode")) - if (!$util.isString(message.alignCode)) - return "alignCode: string expected"; - if (message.valignInheritance != null && message.hasOwnProperty("valignInheritance")) - switch (message.valignInheritance) { - default: - return "valignInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.valign != null && message.hasOwnProperty("valign")) { - var error = $root.ProtoBoxedVerticalAlignment.verify(message.valign); - if (error) - return "valign." + error; - } - if (message.valignCode != null && message.hasOwnProperty("valignCode")) - if (!$util.isString(message.valignCode)) - return "valignCode: string expected"; - if (message.backgroundColorInheritance != null && message.hasOwnProperty("backgroundColorInheritance")) - switch (message.backgroundColorInheritance) { - default: - return "backgroundColorInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.backgroundColor != null && message.hasOwnProperty("backgroundColor")) { - 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]); - if (error) - return "backgroundColor." + error; - } - } - if (message.backgroundColorCode != null && message.hasOwnProperty("backgroundColorCode")) - if (!$util.isString(message.backgroundColorCode)) - return "backgroundColorCode: string expected"; - if (message.paddingTopInheritance != null && message.hasOwnProperty("paddingTopInheritance")) - switch (message.paddingTopInheritance) { - default: - return "paddingTopInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.paddingTop != null && message.hasOwnProperty("paddingTop")) { - var error = $root.ProtoMeasure.verify(message.paddingTop); - if (error) - return "paddingTop." + error; - } - if (message.paddingTopCode != null && message.hasOwnProperty("paddingTopCode")) - if (!$util.isString(message.paddingTopCode)) - return "paddingTopCode: string expected"; - if (message.paddingRightInheritance != null && message.hasOwnProperty("paddingRightInheritance")) - switch (message.paddingRightInheritance) { - default: - return "paddingRightInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.paddingRight != null && message.hasOwnProperty("paddingRight")) { - var error = $root.ProtoMeasure.verify(message.paddingRight); - if (error) - return "paddingRight." + error; - } - if (message.paddingRightCode != null && message.hasOwnProperty("paddingRightCode")) - if (!$util.isString(message.paddingRightCode)) - return "paddingRightCode: string expected"; - if (message.paddingBottomInheritance != null && message.hasOwnProperty("paddingBottomInheritance")) - switch (message.paddingBottomInheritance) { - default: - return "paddingBottomInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.paddingBottom != null && message.hasOwnProperty("paddingBottom")) { - var error = $root.ProtoMeasure.verify(message.paddingBottom); - if (error) - return "paddingBottom." + error; - } - if (message.paddingBottomCode != null && message.hasOwnProperty("paddingBottomCode")) - if (!$util.isString(message.paddingBottomCode)) - return "paddingBottomCode: string expected"; - if (message.paddingLeftInheritance != null && message.hasOwnProperty("paddingLeftInheritance")) - switch (message.paddingLeftInheritance) { - default: - return "paddingLeftInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.paddingLeft != null && message.hasOwnProperty("paddingLeft")) { - var error = $root.ProtoMeasure.verify(message.paddingLeft); - if (error) - return "paddingLeft." + error; - } - if (message.paddingLeftCode != null && message.hasOwnProperty("paddingLeftCode")) - if (!$util.isString(message.paddingLeftCode)) - return "paddingLeftCode: string expected"; - if (message.borderTopColorInheritance != null && message.hasOwnProperty("borderTopColorInheritance")) - switch (message.borderTopColorInheritance) { - default: - return "borderTopColorInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.borderTopColor != null && message.hasOwnProperty("borderTopColor")) { - var error = $root.ProtoColor.verify(message.borderTopColor); - if (error) - return "borderTopColor." + error; - } - if (message.borderTopColorCode != null && message.hasOwnProperty("borderTopColorCode")) - if (!$util.isString(message.borderTopColorCode)) - return "borderTopColorCode: string expected"; - if (message.borderTopWeightInheritance != null && message.hasOwnProperty("borderTopWeightInheritance")) - switch (message.borderTopWeightInheritance) { - default: - return "borderTopWeightInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.borderTopWeight != null && message.hasOwnProperty("borderTopWeight")) { - var error = $root.ProtoMeasure.verify(message.borderTopWeight); - if (error) - return "borderTopWeight." + error; - } - if (message.borderTopWeightCode != null && message.hasOwnProperty("borderTopWeightCode")) - if (!$util.isString(message.borderTopWeightCode)) - return "borderTopWeightCode: string expected"; - if (message.borderRightColorInheritance != null && message.hasOwnProperty("borderRightColorInheritance")) - switch (message.borderRightColorInheritance) { - default: - return "borderRightColorInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.borderRightColor != null && message.hasOwnProperty("borderRightColor")) { - var error = $root.ProtoColor.verify(message.borderRightColor); - if (error) - return "borderRightColor." + error; - } - if (message.borderRightColorCode != null && message.hasOwnProperty("borderRightColorCode")) - if (!$util.isString(message.borderRightColorCode)) - return "borderRightColorCode: string expected"; - if (message.borderRightWeightInheritance != null && message.hasOwnProperty("borderRightWeightInheritance")) - switch (message.borderRightWeightInheritance) { - default: - return "borderRightWeightInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.borderRightWeight != null && message.hasOwnProperty("borderRightWeight")) { - var error = $root.ProtoMeasure.verify(message.borderRightWeight); - if (error) - return "borderRightWeight." + error; - } - if (message.borderRightWeightCode != null && message.hasOwnProperty("borderRightWeightCode")) - if (!$util.isString(message.borderRightWeightCode)) - return "borderRightWeightCode: string expected"; - if (message.borderBottomColorInheritance != null && message.hasOwnProperty("borderBottomColorInheritance")) - switch (message.borderBottomColorInheritance) { - default: - return "borderBottomColorInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.borderBottomColor != null && message.hasOwnProperty("borderBottomColor")) { - var error = $root.ProtoColor.verify(message.borderBottomColor); - if (error) - return "borderBottomColor." + error; - } - if (message.borderBottomColorCode != null && message.hasOwnProperty("borderBottomColorCode")) - if (!$util.isString(message.borderBottomColorCode)) - return "borderBottomColorCode: string expected"; - if (message.borderBottomWeightInheritance != null && message.hasOwnProperty("borderBottomWeightInheritance")) - switch (message.borderBottomWeightInheritance) { - default: - return "borderBottomWeightInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.borderBottomWeight != null && message.hasOwnProperty("borderBottomWeight")) { - var error = $root.ProtoMeasure.verify(message.borderBottomWeight); - if (error) - return "borderBottomWeight." + error; - } - if (message.borderBottomWeightCode != null && message.hasOwnProperty("borderBottomWeightCode")) - if (!$util.isString(message.borderBottomWeightCode)) - return "borderBottomWeightCode: string expected"; - if (message.borderLeftColorInheritance != null && message.hasOwnProperty("borderLeftColorInheritance")) - switch (message.borderLeftColorInheritance) { - default: - return "borderLeftColorInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.borderLeftColor != null && message.hasOwnProperty("borderLeftColor")) { - var error = $root.ProtoColor.verify(message.borderLeftColor); - if (error) - return "borderLeftColor." + error; - } - if (message.borderLeftColorCode != null && message.hasOwnProperty("borderLeftColorCode")) - if (!$util.isString(message.borderLeftColorCode)) - return "borderLeftColorCode: string expected"; - if (message.borderLeftWeightInheritance != null && message.hasOwnProperty("borderLeftWeightInheritance")) - switch (message.borderLeftWeightInheritance) { - default: - return "borderLeftWeightInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.borderLeftWeight != null && message.hasOwnProperty("borderLeftWeight")) { - var error = $root.ProtoMeasure.verify(message.borderLeftWeight); - if (error) - return "borderLeftWeight." + error; - } - if (message.borderLeftWeightCode != null && message.hasOwnProperty("borderLeftWeightCode")) - if (!$util.isString(message.borderLeftWeightCode)) - return "borderLeftWeightCode: string expected"; - if (message.marginTopInheritance != null && message.hasOwnProperty("marginTopInheritance")) - switch (message.marginTopInheritance) { - default: - return "marginTopInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.marginTop != null && message.hasOwnProperty("marginTop")) { - var error = $root.ProtoMeasure.verify(message.marginTop); - if (error) - return "marginTop." + error; - } - if (message.marginTopCode != null && message.hasOwnProperty("marginTopCode")) - if (!$util.isString(message.marginTopCode)) - return "marginTopCode: string expected"; - if (message.marginRightInheritance != null && message.hasOwnProperty("marginRightInheritance")) - switch (message.marginRightInheritance) { - default: - return "marginRightInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.marginRight != null && message.hasOwnProperty("marginRight")) { - var error = $root.ProtoMeasure.verify(message.marginRight); - if (error) - return "marginRight." + error; - } - if (message.marginRightCode != null && message.hasOwnProperty("marginRightCode")) - if (!$util.isString(message.marginRightCode)) - return "marginRightCode: string expected"; - if (message.marginBottomInheritance != null && message.hasOwnProperty("marginBottomInheritance")) - switch (message.marginBottomInheritance) { - default: - return "marginBottomInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.marginBottom != null && message.hasOwnProperty("marginBottom")) { - var error = $root.ProtoMeasure.verify(message.marginBottom); - if (error) - return "marginBottom." + error; - } - if (message.marginBottomCode != null && message.hasOwnProperty("marginBottomCode")) - if (!$util.isString(message.marginBottomCode)) - return "marginBottomCode: string expected"; - if (message.marginLeftInheritance != null && message.hasOwnProperty("marginLeftInheritance")) - switch (message.marginLeftInheritance) { - default: - return "marginLeftInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.marginLeft != null && message.hasOwnProperty("marginLeft")) { - var error = $root.ProtoMeasure.verify(message.marginLeft); - if (error) - return "marginLeft." + error; - } - if (message.marginLeftCode != null && message.hasOwnProperty("marginLeftCode")) - if (!$util.isString(message.marginLeftCode)) - return "marginLeftCode: string expected"; - if (message.rotationInheritance != null && message.hasOwnProperty("rotationInheritance")) - switch (message.rotationInheritance) { - default: - return "rotationInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.rotation != null && message.hasOwnProperty("rotation")) { - var error = $root.ProtoBoxedDouble.verify(message.rotation); - if (error) - return "rotation." + error; - } - if (message.rotationCode != null && message.hasOwnProperty("rotationCode")) - if (!$util.isString(message.rotationCode)) - return "rotationCode: string expected"; - if (message.defaultParagraphFormatUUIDInheritance != null && message.hasOwnProperty("defaultParagraphFormatUUIDInheritance")) - switch (message.defaultParagraphFormatUUIDInheritance) { - default: - return "defaultParagraphFormatUUIDInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.defaultParagraphFormatUUID != null && message.hasOwnProperty("defaultParagraphFormatUUID")) { - var error = $root.ProtoBoxedString.verify(message.defaultParagraphFormatUUID); - if (error) - return "defaultParagraphFormatUUID." + error; - } - if (message.defaultParagraphFormatUUIDCode != null && message.hasOwnProperty("defaultParagraphFormatUUIDCode")) - if (!$util.isString(message.defaultParagraphFormatUUIDCode)) - return "defaultParagraphFormatUUIDCode: string expected"; - if (message.tableContentGroupTypeInheritance != null && message.hasOwnProperty("tableContentGroupTypeInheritance")) - switch (message.tableContentGroupTypeInheritance) { - default: - return "tableContentGroupTypeInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.tableContentGroupType != null && message.hasOwnProperty("tableContentGroupType")) { - var error = $root.ProtoBoxedTableContentGroupType.verify(message.tableContentGroupType); - if (error) - return "tableContentGroupType." + error; - } - if (message.tableContentGroupTypeCode != null && message.hasOwnProperty("tableContentGroupTypeCode")) - if (!$util.isString(message.tableContentGroupTypeCode)) - return "tableContentGroupTypeCode: string expected"; - if (message.cellTypeInheritance != null && message.hasOwnProperty("cellTypeInheritance")) - switch (message.cellTypeInheritance) { - default: - return "cellTypeInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.cellType != null && message.hasOwnProperty("cellType")) { - var error = $root.ProtoBoxedTableCellType.verify(message.cellType); - if (error) - return "cellType." + error; - } - if (message.cellTypeCode != null && message.hasOwnProperty("cellTypeCode")) - if (!$util.isString(message.cellTypeCode)) - return "cellTypeCode: string expected"; - if (message.minRowHeightInheritance != null && message.hasOwnProperty("minRowHeightInheritance")) - switch (message.minRowHeightInheritance) { - default: - return "minRowHeightInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.minRowHeight != null && message.hasOwnProperty("minRowHeight")) { - var error = $root.ProtoMeasure.verify(message.minRowHeight); - if (error) - return "minRowHeight." + error; - } - if (message.minRowHeightCode != null && message.hasOwnProperty("minRowHeightCode")) - if (!$util.isString(message.minRowHeightCode)) - return "minRowHeightCode: string expected"; - if (message.wsInheritance != null && message.hasOwnProperty("wsInheritance")) - switch (message.wsInheritance) { - default: - return "wsInheritance: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.ws != null && message.hasOwnProperty("ws")) { - var error = $root.ProtoTableWS.verify(message.ws); - if (error) - return "ws." + error; - } - if (message.wsCode != null && message.hasOwnProperty("wsCode")) - if (!$util.isString(message.wsCode)) - return "wsCode: string expected"; - return null; - }; - - /** - * Creates a ProtoTableElementProperties message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTableElementProperties - * @static - * @param {Object.} object Plain object - * @returns {ProtoTableElementProperties} ProtoTableElementProperties - */ - ProtoTableElementProperties.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTableElementProperties) - return object; - var message = new $root.ProtoTableElementProperties(); - 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); - } - if (object.widthCode != null) - 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); - } - if (object.alignCode != null) - 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); - } - if (object.valignCode != null) - 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 = []; - 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]); - } - } - if (object.backgroundColorCode != null) - 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); - } - if (object.paddingTopCode != null) - 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); - } - if (object.paddingRightCode != null) - 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); - } - if (object.paddingBottomCode != null) - 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); - } - if (object.paddingLeftCode != null) - 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); - } - if (object.borderTopColorCode != null) - 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); - } - if (object.borderTopWeightCode != null) - 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); - } - if (object.borderRightColorCode != null) - 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); - } - if (object.borderRightWeightCode != null) - 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); - } - if (object.borderBottomColorCode != null) - 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); - } - if (object.borderBottomWeightCode != null) - 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); - } - if (object.borderLeftColorCode != null) - 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); - } - if (object.borderLeftWeightCode != null) - 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); - } - if (object.marginTopCode != null) - 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); - } - if (object.marginRightCode != null) - 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); - } - if (object.marginBottomCode != null) - 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); - } - if (object.marginLeftCode != null) - 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); - } - if (object.rotationCode != null) - 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); - } - if (object.defaultParagraphFormatUUIDCode != null) - 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); - } - if (object.tableContentGroupTypeCode != null) - 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); - } - if (object.cellTypeCode != null) - 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); - } - if (object.minRowHeightCode != null) - 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); - } - if (object.wsCode != null) - message.wsCode = String(object.wsCode); - return message; - }; - - /** - * Creates a plain object from a ProtoTableElementProperties message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTableElementProperties - * @static - * @param {ProtoTableElementProperties} message ProtoTableElementProperties - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTableElementProperties.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.backgroundColor = []; - if (options.defaults) { - object.widthInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.width = null; - object.widthCode = ""; - object.alignInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.align = null; - object.alignCode = ""; - object.valignInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.valign = null; - object.valignCode = ""; - object.backgroundColorInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.backgroundColorCode = ""; - object.paddingTopInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.paddingTop = null; - object.paddingTopCode = ""; - object.paddingRightInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.paddingRight = null; - object.paddingRightCode = ""; - object.paddingBottomInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.paddingBottom = null; - object.paddingBottomCode = ""; - object.paddingLeftInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.paddingLeft = null; - object.paddingLeftCode = ""; - object.borderTopColorInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.borderTopColor = null; - object.borderTopColorCode = ""; - object.borderTopWeightInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.borderTopWeight = null; - object.borderTopWeightCode = ""; - object.borderRightColorInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.borderRightColor = null; - object.borderRightColorCode = ""; - object.borderRightWeightInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.borderRightWeight = null; - object.borderRightWeightCode = ""; - object.borderBottomColorInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.borderBottomColor = null; - object.borderBottomColorCode = ""; - object.borderBottomWeightInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.borderBottomWeight = null; - object.borderBottomWeightCode = ""; - object.borderLeftColorInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.borderLeftColor = null; - object.borderLeftColorCode = ""; - object.borderLeftWeightInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.borderLeftWeight = null; - object.borderLeftWeightCode = ""; - object.marginTopInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.marginTop = null; - object.marginTopCode = ""; - object.marginRightInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.marginRight = null; - object.marginRightCode = ""; - object.marginBottomInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.marginBottom = null; - object.marginBottomCode = ""; - object.marginLeftInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.marginLeft = null; - object.marginLeftCode = ""; - object.rotationInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.rotation = null; - object.rotationCode = ""; - object.defaultParagraphFormatUUIDInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.defaultParagraphFormatUUID = null; - object.defaultParagraphFormatUUIDCode = ""; - object.tableContentGroupTypeInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.tableContentGroupType = null; - object.tableContentGroupTypeCode = ""; - object.cellTypeInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.cellType = null; - object.cellTypeCode = ""; - object.minRowHeightInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.minRowHeight = null; - object.minRowHeightCode = ""; - object.wsInheritance = options.enums === String ? "INHERITANCE_INHERIT" : 0; - object.ws = null; - object.wsCode = ""; - } - if (message.widthInheritance != null && message.hasOwnProperty("widthInheritance")) - object.widthInheritance = options.enums === String ? $root.Inheritance[message.widthInheritance] === undefined ? message.widthInheritance : $root.Inheritance[message.widthInheritance] : message.widthInheritance; - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoMeasure.toObject(message.width, options); - if (message.widthCode != null && message.hasOwnProperty("widthCode")) - object.widthCode = message.widthCode; - if (message.alignInheritance != null && message.hasOwnProperty("alignInheritance")) - object.alignInheritance = options.enums === String ? $root.Inheritance[message.alignInheritance] === undefined ? message.alignInheritance : $root.Inheritance[message.alignInheritance] : message.alignInheritance; - if (message.align != null && message.hasOwnProperty("align")) - object.align = $root.ProtoBoxedHorizontalAlignment.toObject(message.align, options); - if (message.alignCode != null && message.hasOwnProperty("alignCode")) - object.alignCode = message.alignCode; - if (message.valignInheritance != null && message.hasOwnProperty("valignInheritance")) - object.valignInheritance = options.enums === String ? $root.Inheritance[message.valignInheritance] === undefined ? message.valignInheritance : $root.Inheritance[message.valignInheritance] : message.valignInheritance; - if (message.valign != null && message.hasOwnProperty("valign")) - object.valign = $root.ProtoBoxedVerticalAlignment.toObject(message.valign, options); - if (message.valignCode != null && message.hasOwnProperty("valignCode")) - object.valignCode = message.valignCode; - 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 = []; - for (var j = 0; j < message.backgroundColor.length; ++j) - object.backgroundColor[j] = $root.ProtoColor.toObject(message.backgroundColor[j], options); - } - if (message.backgroundColorCode != null && message.hasOwnProperty("backgroundColorCode")) - object.backgroundColorCode = message.backgroundColorCode; - if (message.paddingTopInheritance != null && message.hasOwnProperty("paddingTopInheritance")) - object.paddingTopInheritance = options.enums === String ? $root.Inheritance[message.paddingTopInheritance] === undefined ? message.paddingTopInheritance : $root.Inheritance[message.paddingTopInheritance] : message.paddingTopInheritance; - if (message.paddingTop != null && message.hasOwnProperty("paddingTop")) - object.paddingTop = $root.ProtoMeasure.toObject(message.paddingTop, options); - if (message.paddingTopCode != null && message.hasOwnProperty("paddingTopCode")) - object.paddingTopCode = message.paddingTopCode; - if (message.paddingRightInheritance != null && message.hasOwnProperty("paddingRightInheritance")) - object.paddingRightInheritance = options.enums === String ? $root.Inheritance[message.paddingRightInheritance] === undefined ? message.paddingRightInheritance : $root.Inheritance[message.paddingRightInheritance] : message.paddingRightInheritance; - if (message.paddingRight != null && message.hasOwnProperty("paddingRight")) - object.paddingRight = $root.ProtoMeasure.toObject(message.paddingRight, options); - if (message.paddingRightCode != null && message.hasOwnProperty("paddingRightCode")) - object.paddingRightCode = message.paddingRightCode; - if (message.paddingBottomInheritance != null && message.hasOwnProperty("paddingBottomInheritance")) - object.paddingBottomInheritance = options.enums === String ? $root.Inheritance[message.paddingBottomInheritance] === undefined ? message.paddingBottomInheritance : $root.Inheritance[message.paddingBottomInheritance] : message.paddingBottomInheritance; - if (message.paddingBottom != null && message.hasOwnProperty("paddingBottom")) - object.paddingBottom = $root.ProtoMeasure.toObject(message.paddingBottom, options); - if (message.paddingBottomCode != null && message.hasOwnProperty("paddingBottomCode")) - object.paddingBottomCode = message.paddingBottomCode; - if (message.paddingLeftInheritance != null && message.hasOwnProperty("paddingLeftInheritance")) - object.paddingLeftInheritance = options.enums === String ? $root.Inheritance[message.paddingLeftInheritance] === undefined ? message.paddingLeftInheritance : $root.Inheritance[message.paddingLeftInheritance] : message.paddingLeftInheritance; - if (message.paddingLeft != null && message.hasOwnProperty("paddingLeft")) - object.paddingLeft = $root.ProtoMeasure.toObject(message.paddingLeft, options); - if (message.paddingLeftCode != null && message.hasOwnProperty("paddingLeftCode")) - object.paddingLeftCode = message.paddingLeftCode; - if (message.borderTopColorInheritance != null && message.hasOwnProperty("borderTopColorInheritance")) - object.borderTopColorInheritance = options.enums === String ? $root.Inheritance[message.borderTopColorInheritance] === undefined ? message.borderTopColorInheritance : $root.Inheritance[message.borderTopColorInheritance] : message.borderTopColorInheritance; - if (message.borderTopColor != null && message.hasOwnProperty("borderTopColor")) - object.borderTopColor = $root.ProtoColor.toObject(message.borderTopColor, options); - if (message.borderTopColorCode != null && message.hasOwnProperty("borderTopColorCode")) - object.borderTopColorCode = message.borderTopColorCode; - if (message.borderTopWeightInheritance != null && message.hasOwnProperty("borderTopWeightInheritance")) - object.borderTopWeightInheritance = options.enums === String ? $root.Inheritance[message.borderTopWeightInheritance] === undefined ? message.borderTopWeightInheritance : $root.Inheritance[message.borderTopWeightInheritance] : message.borderTopWeightInheritance; - if (message.borderTopWeight != null && message.hasOwnProperty("borderTopWeight")) - object.borderTopWeight = $root.ProtoMeasure.toObject(message.borderTopWeight, options); - if (message.borderTopWeightCode != null && message.hasOwnProperty("borderTopWeightCode")) - object.borderTopWeightCode = message.borderTopWeightCode; - if (message.borderRightColorInheritance != null && message.hasOwnProperty("borderRightColorInheritance")) - object.borderRightColorInheritance = options.enums === String ? $root.Inheritance[message.borderRightColorInheritance] === undefined ? message.borderRightColorInheritance : $root.Inheritance[message.borderRightColorInheritance] : message.borderRightColorInheritance; - if (message.borderRightColor != null && message.hasOwnProperty("borderRightColor")) - object.borderRightColor = $root.ProtoColor.toObject(message.borderRightColor, options); - if (message.borderRightColorCode != null && message.hasOwnProperty("borderRightColorCode")) - object.borderRightColorCode = message.borderRightColorCode; - if (message.borderRightWeightInheritance != null && message.hasOwnProperty("borderRightWeightInheritance")) - object.borderRightWeightInheritance = options.enums === String ? $root.Inheritance[message.borderRightWeightInheritance] === undefined ? message.borderRightWeightInheritance : $root.Inheritance[message.borderRightWeightInheritance] : message.borderRightWeightInheritance; - if (message.borderRightWeight != null && message.hasOwnProperty("borderRightWeight")) - object.borderRightWeight = $root.ProtoMeasure.toObject(message.borderRightWeight, options); - if (message.borderRightWeightCode != null && message.hasOwnProperty("borderRightWeightCode")) - object.borderRightWeightCode = message.borderRightWeightCode; - if (message.borderBottomColorInheritance != null && message.hasOwnProperty("borderBottomColorInheritance")) - object.borderBottomColorInheritance = options.enums === String ? $root.Inheritance[message.borderBottomColorInheritance] === undefined ? message.borderBottomColorInheritance : $root.Inheritance[message.borderBottomColorInheritance] : message.borderBottomColorInheritance; - if (message.borderBottomColor != null && message.hasOwnProperty("borderBottomColor")) - object.borderBottomColor = $root.ProtoColor.toObject(message.borderBottomColor, options); - if (message.borderBottomColorCode != null && message.hasOwnProperty("borderBottomColorCode")) - object.borderBottomColorCode = message.borderBottomColorCode; - if (message.borderBottomWeightInheritance != null && message.hasOwnProperty("borderBottomWeightInheritance")) - object.borderBottomWeightInheritance = options.enums === String ? $root.Inheritance[message.borderBottomWeightInheritance] === undefined ? message.borderBottomWeightInheritance : $root.Inheritance[message.borderBottomWeightInheritance] : message.borderBottomWeightInheritance; - if (message.borderBottomWeight != null && message.hasOwnProperty("borderBottomWeight")) - object.borderBottomWeight = $root.ProtoMeasure.toObject(message.borderBottomWeight, options); - if (message.borderBottomWeightCode != null && message.hasOwnProperty("borderBottomWeightCode")) - object.borderBottomWeightCode = message.borderBottomWeightCode; - if (message.borderLeftColorInheritance != null && message.hasOwnProperty("borderLeftColorInheritance")) - object.borderLeftColorInheritance = options.enums === String ? $root.Inheritance[message.borderLeftColorInheritance] === undefined ? message.borderLeftColorInheritance : $root.Inheritance[message.borderLeftColorInheritance] : message.borderLeftColorInheritance; - if (message.borderLeftColor != null && message.hasOwnProperty("borderLeftColor")) - object.borderLeftColor = $root.ProtoColor.toObject(message.borderLeftColor, options); - if (message.borderLeftColorCode != null && message.hasOwnProperty("borderLeftColorCode")) - object.borderLeftColorCode = message.borderLeftColorCode; - if (message.borderLeftWeightInheritance != null && message.hasOwnProperty("borderLeftWeightInheritance")) - object.borderLeftWeightInheritance = options.enums === String ? $root.Inheritance[message.borderLeftWeightInheritance] === undefined ? message.borderLeftWeightInheritance : $root.Inheritance[message.borderLeftWeightInheritance] : message.borderLeftWeightInheritance; - if (message.borderLeftWeight != null && message.hasOwnProperty("borderLeftWeight")) - object.borderLeftWeight = $root.ProtoMeasure.toObject(message.borderLeftWeight, options); - if (message.borderLeftWeightCode != null && message.hasOwnProperty("borderLeftWeightCode")) - object.borderLeftWeightCode = message.borderLeftWeightCode; - if (message.marginTopInheritance != null && message.hasOwnProperty("marginTopInheritance")) - object.marginTopInheritance = options.enums === String ? $root.Inheritance[message.marginTopInheritance] === undefined ? message.marginTopInheritance : $root.Inheritance[message.marginTopInheritance] : message.marginTopInheritance; - if (message.marginTop != null && message.hasOwnProperty("marginTop")) - object.marginTop = $root.ProtoMeasure.toObject(message.marginTop, options); - if (message.marginTopCode != null && message.hasOwnProperty("marginTopCode")) - object.marginTopCode = message.marginTopCode; - if (message.marginRightInheritance != null && message.hasOwnProperty("marginRightInheritance")) - object.marginRightInheritance = options.enums === String ? $root.Inheritance[message.marginRightInheritance] === undefined ? message.marginRightInheritance : $root.Inheritance[message.marginRightInheritance] : message.marginRightInheritance; - if (message.marginRight != null && message.hasOwnProperty("marginRight")) - object.marginRight = $root.ProtoMeasure.toObject(message.marginRight, options); - if (message.marginRightCode != null && message.hasOwnProperty("marginRightCode")) - object.marginRightCode = message.marginRightCode; - if (message.marginBottomInheritance != null && message.hasOwnProperty("marginBottomInheritance")) - object.marginBottomInheritance = options.enums === String ? $root.Inheritance[message.marginBottomInheritance] === undefined ? message.marginBottomInheritance : $root.Inheritance[message.marginBottomInheritance] : message.marginBottomInheritance; - if (message.marginBottom != null && message.hasOwnProperty("marginBottom")) - object.marginBottom = $root.ProtoMeasure.toObject(message.marginBottom, options); - if (message.marginBottomCode != null && message.hasOwnProperty("marginBottomCode")) - object.marginBottomCode = message.marginBottomCode; - if (message.marginLeftInheritance != null && message.hasOwnProperty("marginLeftInheritance")) - object.marginLeftInheritance = options.enums === String ? $root.Inheritance[message.marginLeftInheritance] === undefined ? message.marginLeftInheritance : $root.Inheritance[message.marginLeftInheritance] : message.marginLeftInheritance; - if (message.marginLeft != null && message.hasOwnProperty("marginLeft")) - object.marginLeft = $root.ProtoMeasure.toObject(message.marginLeft, options); - if (message.marginLeftCode != null && message.hasOwnProperty("marginLeftCode")) - object.marginLeftCode = message.marginLeftCode; - if (message.rotationInheritance != null && message.hasOwnProperty("rotationInheritance")) - object.rotationInheritance = options.enums === String ? $root.Inheritance[message.rotationInheritance] === undefined ? message.rotationInheritance : $root.Inheritance[message.rotationInheritance] : message.rotationInheritance; - if (message.rotation != null && message.hasOwnProperty("rotation")) - object.rotation = $root.ProtoBoxedDouble.toObject(message.rotation, options); - if (message.rotationCode != null && message.hasOwnProperty("rotationCode")) - object.rotationCode = message.rotationCode; - if (message.defaultParagraphFormatUUIDInheritance != null && message.hasOwnProperty("defaultParagraphFormatUUIDInheritance")) - object.defaultParagraphFormatUUIDInheritance = options.enums === String ? $root.Inheritance[message.defaultParagraphFormatUUIDInheritance] === undefined ? message.defaultParagraphFormatUUIDInheritance : $root.Inheritance[message.defaultParagraphFormatUUIDInheritance] : message.defaultParagraphFormatUUIDInheritance; - if (message.defaultParagraphFormatUUID != null && message.hasOwnProperty("defaultParagraphFormatUUID")) - object.defaultParagraphFormatUUID = $root.ProtoBoxedString.toObject(message.defaultParagraphFormatUUID, options); - if (message.defaultParagraphFormatUUIDCode != null && message.hasOwnProperty("defaultParagraphFormatUUIDCode")) - object.defaultParagraphFormatUUIDCode = message.defaultParagraphFormatUUIDCode; - if (message.tableContentGroupTypeInheritance != null && message.hasOwnProperty("tableContentGroupTypeInheritance")) - object.tableContentGroupTypeInheritance = options.enums === String ? $root.Inheritance[message.tableContentGroupTypeInheritance] === undefined ? message.tableContentGroupTypeInheritance : $root.Inheritance[message.tableContentGroupTypeInheritance] : message.tableContentGroupTypeInheritance; - if (message.tableContentGroupType != null && message.hasOwnProperty("tableContentGroupType")) - object.tableContentGroupType = $root.ProtoBoxedTableContentGroupType.toObject(message.tableContentGroupType, options); - if (message.tableContentGroupTypeCode != null && message.hasOwnProperty("tableContentGroupTypeCode")) - object.tableContentGroupTypeCode = message.tableContentGroupTypeCode; - if (message.cellTypeInheritance != null && message.hasOwnProperty("cellTypeInheritance")) - object.cellTypeInheritance = options.enums === String ? $root.Inheritance[message.cellTypeInheritance] === undefined ? message.cellTypeInheritance : $root.Inheritance[message.cellTypeInheritance] : message.cellTypeInheritance; - if (message.cellType != null && message.hasOwnProperty("cellType")) - object.cellType = $root.ProtoBoxedTableCellType.toObject(message.cellType, options); - if (message.cellTypeCode != null && message.hasOwnProperty("cellTypeCode")) - object.cellTypeCode = message.cellTypeCode; - if (message.minRowHeightInheritance != null && message.hasOwnProperty("minRowHeightInheritance")) - object.minRowHeightInheritance = options.enums === String ? $root.Inheritance[message.minRowHeightInheritance] === undefined ? message.minRowHeightInheritance : $root.Inheritance[message.minRowHeightInheritance] : message.minRowHeightInheritance; - if (message.minRowHeight != null && message.hasOwnProperty("minRowHeight")) - object.minRowHeight = $root.ProtoMeasure.toObject(message.minRowHeight, options); - if (message.minRowHeightCode != null && message.hasOwnProperty("minRowHeightCode")) - object.minRowHeightCode = message.minRowHeightCode; - if (message.wsInheritance != null && message.hasOwnProperty("wsInheritance")) - object.wsInheritance = options.enums === String ? $root.Inheritance[message.wsInheritance] === undefined ? message.wsInheritance : $root.Inheritance[message.wsInheritance] : message.wsInheritance; - if (message.ws != null && message.hasOwnProperty("ws")) - object.ws = $root.ProtoTableWS.toObject(message.ws, options); - if (message.wsCode != null && message.hasOwnProperty("wsCode")) - object.wsCode = message.wsCode; - return object; - }; - - /** - * Converts this ProtoTableElementProperties to JSON. - * @function toJSON - * @memberof ProtoTableElementProperties - * @instance - * @returns {Object.} JSON object - */ - ProtoTableElementProperties.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTableElementProperties - * @function getTypeUrl - * @memberof ProtoTableElementProperties - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTableElementProperties.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTableElementProperties"; - }; - - return ProtoTableElementProperties; -})(); - -$root.ProtoText = (function() { - - /** - * Properties of a ProtoText. - * @name IProtoText - * @interface IProtoText - * @property {IProtoDocumentElement|null} [parent] ProtoText parent - * @property {string|null} [content] ProtoText content - * @property {Array.|null} [comChannelUUIDs] ProtoText comChannelUUIDs - */ - - /** - * Constructs a new ProtoText. - * @name ProtoText - * @classdesc Represents a ProtoText. - * @implements IProtoText - * @constructor - * @param {IProtoText=} [properties] Properties to set - */ - function ProtoText(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoText parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoText - * @instance - */ - ProtoText.prototype.parent = null; - - /** - * ProtoText content. - * @member {string} content - * @memberof ProtoText - * @instance - */ - ProtoText.prototype.content = ""; - - /** - * ProtoText comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoText - * @instance - */ - ProtoText.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoText instance using the specified properties. - * @function create - * @memberof ProtoText - * @static - * @param {IProtoText=} [properties] Properties to set - * @returns {ProtoText} ProtoText instance - */ - ProtoText.create = function create(properties) { - return new ProtoText(properties); - }; - - /** - * Encodes the specified ProtoText message. Does not implicitly {@link ProtoText.verify|verify} messages. - * @function encode - * @memberof ProtoText - * @static - * @param {IProtoText} message ProtoText message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoText.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.content != null && Object.hasOwnProperty.call(message, "content")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.content); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoText message, length delimited. Does not implicitly {@link ProtoText.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoText - * @static - * @param {IProtoText} message ProtoText message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoText.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoText message from the specified reader or buffer. - * @function decode - * @memberof ProtoText - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoText} ProtoText - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoText(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.content = reader.string(); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoText message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoText - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoText} ProtoText - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoText.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoText message. - * @function verify - * @memberof ProtoText - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.content != null && message.hasOwnProperty("content")) - if (!$util.isString(message.content)) - return "content: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoText message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoText - * @static - * @param {Object.} object Plain object - * @returns {ProtoText} ProtoText - */ - ProtoText.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoText) - return object; - 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); - } - if (object.content != null) - message.content = String(object.content); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoText.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoText message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoText - * @static - * @param {ProtoText} message ProtoText - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoText.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.content = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.content != null && message.hasOwnProperty("content")) - object.content = message.content; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoText to JSON. - * @function toJSON - * @memberof ProtoText - * @instance - * @returns {Object.} JSON object - */ - ProtoText.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoText - * @function getTypeUrl - * @memberof ProtoText - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoText.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoText"; - }; - - return ProtoText; -})(); - -$root.ProtoBarcode = (function() { - - /** - * Properties of a ProtoBarcode. - * @name IProtoBarcode - * @interface IProtoBarcode - * @property {ProtoBarcodeType|null} [type] ProtoBarcode type - * @property {IProtoMeasure|null} [x] ProtoBarcode x - * @property {IProtoMeasure|null} [y] ProtoBarcode y - * @property {ProtoImageReferencePoint|null} [referencePoint] ProtoBarcode referencePoint - * @property {number|null} [rotation] ProtoBarcode rotation - * @property {IProtoMeasure|null} [width] ProtoBarcode width - * @property {IProtoMeasure|null} [height] ProtoBarcode height - * @property {IProtoMeasure|null} [padding] ProtoBarcode padding - * @property {string|null} [data] ProtoBarcode data - * @property {boolean|null} [positionAbsolute] ProtoBarcode positionAbsolute - * @property {Array.|null} [comChannelUUIDs] ProtoBarcode comChannelUUIDs - * @property {string|null} [uuid] ProtoBarcode uuid - * @property {string|null} [code] ProtoBarcode code - * @property {IProtoSwissQRData|null} [swissQRData] ProtoBarcode swissQRData - */ - - /** - * Constructs a new ProtoBarcode. - * @name ProtoBarcode - * @classdesc Represents a ProtoBarcode. - * @implements IProtoBarcode - * @constructor - * @param {IProtoBarcode=} [properties] Properties to set - */ - function ProtoBarcode(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBarcode type. - * @member {ProtoBarcodeType} type - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.type = 0; - - /** - * ProtoBarcode x. - * @member {IProtoMeasure|null|undefined} x - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.x = null; - - /** - * ProtoBarcode y. - * @member {IProtoMeasure|null|undefined} y - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.y = null; - - /** - * ProtoBarcode referencePoint. - * @member {ProtoImageReferencePoint} referencePoint - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.referencePoint = 0; - - /** - * ProtoBarcode rotation. - * @member {number} rotation - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.rotation = 0; - - /** - * ProtoBarcode width. - * @member {IProtoMeasure|null|undefined} width - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.width = null; - - /** - * ProtoBarcode height. - * @member {IProtoMeasure|null|undefined} height - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.height = null; - - /** - * ProtoBarcode padding. - * @member {IProtoMeasure|null|undefined} padding - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.padding = null; - - /** - * ProtoBarcode data. - * @member {string} data - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.data = ""; - - /** - * ProtoBarcode positionAbsolute. - * @member {boolean} positionAbsolute - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.positionAbsolute = false; - - /** - * ProtoBarcode comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoBarcode uuid. - * @member {string} uuid - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.uuid = ""; - - /** - * ProtoBarcode code. - * @member {string} code - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.code = ""; - - /** - * ProtoBarcode swissQRData. - * @member {IProtoSwissQRData|null|undefined} swissQRData - * @memberof ProtoBarcode - * @instance - */ - ProtoBarcode.prototype.swissQRData = null; - - /** - * Creates a new ProtoBarcode instance using the specified properties. - * @function create - * @memberof ProtoBarcode - * @static - * @param {IProtoBarcode=} [properties] Properties to set - * @returns {ProtoBarcode} ProtoBarcode instance - */ - ProtoBarcode.create = function create(properties) { - return new ProtoBarcode(properties); - }; - - /** - * Encodes the specified ProtoBarcode message. Does not implicitly {@link ProtoBarcode.verify|verify} messages. - * @function encode - * @memberof ProtoBarcode - * @static - * @param {IProtoBarcode} message ProtoBarcode message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBarcode.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type); - if (message.x != null && Object.hasOwnProperty.call(message, "x")) - $root.ProtoMeasure.encode(message.x, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.y != null && Object.hasOwnProperty.call(message, "y")) - $root.ProtoMeasure.encode(message.y, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.referencePoint != null && Object.hasOwnProperty.call(message, "referencePoint")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.referencePoint); - if (message.rotation != null && Object.hasOwnProperty.call(message, "rotation")) - writer.uint32(/* id 5, wireType 5 =*/45).float(message.rotation); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $root.ProtoMeasure.encode(message.width, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - $root.ProtoMeasure.encode(message.height, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.padding != null && Object.hasOwnProperty.call(message, "padding")) - $root.ProtoMeasure.encode(message.padding, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.data); - if (message.positionAbsolute != null && Object.hasOwnProperty.call(message, "positionAbsolute")) - writer.uint32(/* id 10, wireType 0 =*/80).bool(message.positionAbsolute); - 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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 12, wireType 2 =*/98).string(message.uuid); - if (message.code != null && Object.hasOwnProperty.call(message, "code")) - writer.uint32(/* id 13, wireType 2 =*/106).string(message.code); - if (message.swissQRData != null && Object.hasOwnProperty.call(message, "swissQRData")) - $root.ProtoSwissQRData.encode(message.swissQRData, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ProtoBarcode message, length delimited. Does not implicitly {@link ProtoBarcode.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBarcode - * @static - * @param {IProtoBarcode} message ProtoBarcode message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBarcode.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBarcode message from the specified reader or buffer. - * @function decode - * @memberof ProtoBarcode - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBarcode} ProtoBarcode - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBarcode(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.type = reader.int32(); - break; - } - case 2: { - message.x = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - message.y = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.referencePoint = reader.int32(); - break; - } - case 5: { - message.rotation = reader.float(); - break; - } - case 6: { - message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 7: { - message.height = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 8: { - message.padding = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 9: { - message.data = reader.string(); - break; - } - case 10: { - message.positionAbsolute = reader.bool(); - break; - } - case 11: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 12: { - message.uuid = reader.string(); - break; - } - case 13: { - message.code = reader.string(); - break; - } - case 14: { - message.swissQRData = $root.ProtoSwissQRData.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBarcode message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBarcode - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBarcode} ProtoBarcode - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBarcode.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBarcode message. - * @function verify - * @memberof ProtoBarcode - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - break; - } - if (message.x != null && message.hasOwnProperty("x")) { - 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); - if (error) - return "y." + error; - } - if (message.referencePoint != null && message.hasOwnProperty("referencePoint")) - switch (message.referencePoint) { - default: - return "referencePoint: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; - } - if (message.rotation != null && message.hasOwnProperty("rotation")) - if (typeof message.rotation !== "number") - return "rotation: number expected"; - if (message.width != null && message.hasOwnProperty("width")) { - 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); - if (error) - return "height." + error; - } - if (message.padding != null && message.hasOwnProperty("padding")) { - var error = $root.ProtoMeasure.verify(message.padding); - if (error) - return "padding." + error; - } - if (message.data != null && message.hasOwnProperty("data")) - if (!$util.isString(message.data)) - return "data: string expected"; - if (message.positionAbsolute != null && message.hasOwnProperty("positionAbsolute")) - if (typeof message.positionAbsolute !== "boolean") - return "positionAbsolute: boolean expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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"; - if (message.code != null && message.hasOwnProperty("code")) - if (!$util.isString(message.code)) - return "code: string expected"; - if (message.swissQRData != null && message.hasOwnProperty("swissQRData")) { - var error = $root.ProtoSwissQRData.verify(message.swissQRData); - if (error) - return "swissQRData." + error; - } - return null; - }; - - /** - * Creates a ProtoBarcode message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBarcode - * @static - * @param {Object.} object Plain object - * @returns {ProtoBarcode} ProtoBarcode - */ - ProtoBarcode.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBarcode) - return object; - var message = new $root.ProtoBarcode(); - 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); - } - if (object.y != null) { - if (typeof object.y !== "object") - throw TypeError(".ProtoBarcode.y: object expected"); - 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.rotation != null) - 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); - } - if (object.height != null) { - if (typeof object.height !== "object") - throw TypeError(".ProtoBarcode.height: object expected"); - 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); - } - if (object.data != null) - message.data = String(object.data); - if (object.positionAbsolute != null) - message.positionAbsolute = Boolean(object.positionAbsolute); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoBarcode.comChannelUUIDs: array expected"); - 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); - if (object.code != null) - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoBarcode message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBarcode - * @static - * @param {ProtoBarcode} message ProtoBarcode - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBarcode.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.type = options.enums === String ? "PDF417" : 0; - object.x = null; - object.y = null; - object.referencePoint = options.enums === String ? "REF_POINT_DO_NOT_USE_AT_ALL" : 0; - object.rotation = 0; - object.width = null; - object.height = null; - object.padding = null; - object.data = ""; - object.positionAbsolute = false; - object.uuid = ""; - object.code = ""; - object.swissQRData = null; - } - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.ProtoBarcodeType[message.type] === undefined ? message.type : $root.ProtoBarcodeType[message.type] : message.type; - if (message.x != null && message.hasOwnProperty("x")) - object.x = $root.ProtoMeasure.toObject(message.x, options); - if (message.y != null && message.hasOwnProperty("y")) - object.y = $root.ProtoMeasure.toObject(message.y, options); - if (message.referencePoint != null && message.hasOwnProperty("referencePoint")) - object.referencePoint = options.enums === String ? $root.ProtoImageReferencePoint[message.referencePoint] === undefined ? message.referencePoint : $root.ProtoImageReferencePoint[message.referencePoint] : message.referencePoint; - if (message.rotation != null && message.hasOwnProperty("rotation")) - object.rotation = options.json && !isFinite(message.rotation) ? String(message.rotation) : message.rotation; - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoMeasure.toObject(message.width, options); - if (message.height != null && message.hasOwnProperty("height")) - object.height = $root.ProtoMeasure.toObject(message.height, options); - if (message.padding != null && message.hasOwnProperty("padding")) - object.padding = $root.ProtoMeasure.toObject(message.padding, options); - if (message.data != null && message.hasOwnProperty("data")) - object.data = message.data; - if (message.positionAbsolute != null && message.hasOwnProperty("positionAbsolute")) - object.positionAbsolute = message.positionAbsolute; - if (message.comChannelUUIDs && 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.code != null && message.hasOwnProperty("code")) - object.code = message.code; - if (message.swissQRData != null && message.hasOwnProperty("swissQRData")) - object.swissQRData = $root.ProtoSwissQRData.toObject(message.swissQRData, options); - return object; - }; - - /** - * Converts this ProtoBarcode to JSON. - * @function toJSON - * @memberof ProtoBarcode - * @instance - * @returns {Object.} JSON object - */ - ProtoBarcode.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBarcode - * @function getTypeUrl - * @memberof ProtoBarcode - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBarcode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBarcode"; - }; - - return ProtoBarcode; -})(); - -$root.ProtoBrickReference = (function() { - - /** - * Properties of a ProtoBrickReference. - * @name IProtoBrickReference - * @interface IProtoBrickReference - * @property {string|null} [internName] ProtoBrickReference internName - * @property {number|null} [version] ProtoBrickReference version - * @property {Array.|null} [comChannelUUIDs] ProtoBrickReference comChannelUUIDs - */ - - /** - * Constructs a new ProtoBrickReference. - * @name ProtoBrickReference - * @classdesc Represents a ProtoBrickReference. - * @implements IProtoBrickReference - * @constructor - * @param {IProtoBrickReference=} [properties] Properties to set - */ - function ProtoBrickReference(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBrickReference internName. - * @member {string} internName - * @memberof ProtoBrickReference - * @instance - */ - ProtoBrickReference.prototype.internName = ""; - - /** - * ProtoBrickReference version. - * @member {number} version - * @memberof ProtoBrickReference - * @instance - */ - ProtoBrickReference.prototype.version = 0; - - /** - * ProtoBrickReference comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoBrickReference - * @instance - */ - ProtoBrickReference.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoBrickReference instance using the specified properties. - * @function create - * @memberof ProtoBrickReference - * @static - * @param {IProtoBrickReference=} [properties] Properties to set - * @returns {ProtoBrickReference} ProtoBrickReference instance - */ - ProtoBrickReference.create = function create(properties) { - return new ProtoBrickReference(properties); - }; - - /** - * Encodes the specified ProtoBrickReference message. Does not implicitly {@link ProtoBrickReference.verify|verify} messages. - * @function encode - * @memberof ProtoBrickReference - * @static - * @param {IProtoBrickReference} message ProtoBrickReference message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBrickReference.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.internName != null && Object.hasOwnProperty.call(message, "internName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.internName); - if (message.version != null && Object.hasOwnProperty.call(message, "version")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.version); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoBrickReference message, length delimited. Does not implicitly {@link ProtoBrickReference.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBrickReference - * @static - * @param {IProtoBrickReference} message ProtoBrickReference message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBrickReference.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBrickReference message from the specified reader or buffer. - * @function decode - * @memberof ProtoBrickReference - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBrickReference} ProtoBrickReference - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBrickReference(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.internName = reader.string(); - break; - } - case 2: { - message.version = reader.uint32(); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBrickReference message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBrickReference - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBrickReference} ProtoBrickReference - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBrickReference.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBrickReference message. - * @function verify - * @memberof ProtoBrickReference - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.internName != null && message.hasOwnProperty("internName")) - if (!$util.isString(message.internName)) - return "internName: string expected"; - if (message.version != null && message.hasOwnProperty("version")) - if (!$util.isInteger(message.version)) - return "version: integer expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoBrickReference message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBrickReference - * @static - * @param {Object.} object Plain object - * @returns {ProtoBrickReference} ProtoBrickReference - */ - ProtoBrickReference.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBrickReference) - return object; - var message = new $root.ProtoBrickReference(); - if (object.internName != null) - message.internName = String(object.internName); - if (object.version != null) - message.version = object.version >>> 0; - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoBrickReference.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoBrickReference message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBrickReference - * @static - * @param {ProtoBrickReference} message ProtoBrickReference - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBrickReference.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.internName = ""; - object.version = 0; - } - if (message.internName != null && message.hasOwnProperty("internName")) - object.internName = message.internName; - if (message.version != null && message.hasOwnProperty("version")) - object.version = message.version; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoBrickReference to JSON. - * @function toJSON - * @memberof ProtoBrickReference - * @instance - * @returns {Object.} JSON object - */ - ProtoBrickReference.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBrickReference - * @function getTypeUrl - * @memberof ProtoBrickReference - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBrickReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBrickReference"; - }; - - return ProtoBrickReference; -})(); - -$root.ProtoBrick = (function() { - - /** - * Properties of a ProtoBrick. - * @name IProtoBrick - * @interface IProtoBrick - * @property {Array.|null} [_children] ProtoBrick _children - * @property {IProtoDocumentElement|null} [parent] ProtoBrick parent - * @property {number|Long|null} [id] ProtoBrick id - * @property {string|null} [internName] ProtoBrick internName - * @property {string|null} [uuid] ProtoBrick uuid - * @property {boolean|null} [editable] ProtoBrick editable - * @property {Array.|null} [comChannelUUIDs] ProtoBrick comChannelUUIDs - * @property {string|null} [name] ProtoBrick name - */ - - /** - * Constructs a new ProtoBrick. - * @name ProtoBrick - * @classdesc Represents a ProtoBrick. - * @implements IProtoBrick - * @constructor - * @param {IProtoBrick=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoBrick _children. - * @member {Array.} _children - * @memberof ProtoBrick - * @instance - */ - ProtoBrick.prototype._children = $util.emptyArray; - - /** - * ProtoBrick parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoBrick - * @instance - */ - ProtoBrick.prototype.parent = null; - - /** - * ProtoBrick id. - * @member {number|Long} id - * @memberof ProtoBrick - * @instance - */ - ProtoBrick.prototype.id = $util.Long ? $util.Long.fromBits(0,0,true) : 0; - - /** - * ProtoBrick internName. - * @member {string} internName - * @memberof ProtoBrick - * @instance - */ - ProtoBrick.prototype.internName = ""; - - /** - * ProtoBrick uuid. - * @member {string} uuid - * @memberof ProtoBrick - * @instance - */ - ProtoBrick.prototype.uuid = ""; - - /** - * ProtoBrick editable. - * @member {boolean} editable - * @memberof ProtoBrick - * @instance - */ - ProtoBrick.prototype.editable = false; - - /** - * ProtoBrick comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoBrick - * @instance - */ - ProtoBrick.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoBrick name. - * @member {string} name - * @memberof ProtoBrick - * @instance - */ - ProtoBrick.prototype.name = ""; - - /** - * Creates a new ProtoBrick instance using the specified properties. - * @function create - * @memberof ProtoBrick - * @static - * @param {IProtoBrick=} [properties] Properties to set - * @returns {ProtoBrick} ProtoBrick instance - */ - ProtoBrick.create = function create(properties) { - return new ProtoBrick(properties); - }; - - /** - * Encodes the specified ProtoBrick message. Does not implicitly {@link ProtoBrick.verify|verify} messages. - * @function encode - * @memberof ProtoBrick - * @static - * @param {IProtoBrick} message ProtoBrick message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBrick.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.id); - if (message.internName != null && Object.hasOwnProperty.call(message, "internName")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.internName); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.uuid); - if (message.editable != null && Object.hasOwnProperty.call(message, "editable")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.editable); - 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.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.name); - return writer; - }; - - /** - * Encodes the specified ProtoBrick message, length delimited. Does not implicitly {@link ProtoBrick.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoBrick - * @static - * @param {IProtoBrick} message ProtoBrick message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoBrick.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoBrick message from the specified reader or buffer. - * @function decode - * @memberof ProtoBrick - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoBrick} ProtoBrick - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoBrick(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.id = reader.uint64(); - break; - } - case 4: { - message.internName = reader.string(); - break; - } - case 5: { - message.uuid = reader.string(); - break; - } - case 6: { - message.editable = reader.bool(); - break; - } - case 7: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 8: { - message.name = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoBrick message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoBrick - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoBrick} ProtoBrick - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoBrick.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoBrick message. - * @function verify - * @memberof ProtoBrick - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isInteger(message.id) && !(message.id && $util.isInteger(message.id.low) && $util.isInteger(message.id.high))) - return "id: integer|Long expected"; - if (message.internName != null && message.hasOwnProperty("internName")) - if (!$util.isString(message.internName)) - return "internName: string expected"; - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.editable != null && message.hasOwnProperty("editable")) - if (typeof message.editable !== "boolean") - return "editable: boolean expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - return null; - }; - - /** - * Creates a ProtoBrick message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoBrick - * @static - * @param {Object.} object Plain object - * @returns {ProtoBrick} ProtoBrick - */ - ProtoBrick.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoBrick) - return object; - var message = new $root.ProtoBrick(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoBrick._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoBrick.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.id != null) - 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) - message.internName = String(object.internName); - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.editable != null) - message.editable = Boolean(object.editable); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoBrick.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - if (object.name != null) - message.name = String(object.name); - return message; - }; - - /** - * Creates a plain object from a ProtoBrick message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoBrick - * @static - * @param {ProtoBrick} message ProtoBrick - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoBrick.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - if ($util.Long) { - var long = new $util.Long(0, 0, true); - object.id = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.id = options.longs === String ? "0" : 0; - object.internName = ""; - object.uuid = ""; - object.editable = false; - object.name = ""; - } - if (message._children && 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.id != null && message.hasOwnProperty("id")) - if (typeof message.id === "number") - object.id = options.longs === String ? String(message.id) : message.id; - 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.internName != null && message.hasOwnProperty("internName")) - object.internName = message.internName; - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.editable != null && message.hasOwnProperty("editable")) - object.editable = message.editable; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - return object; - }; - - /** - * Converts this ProtoBrick to JSON. - * @function toJSON - * @memberof ProtoBrick - * @instance - * @returns {Object.} JSON object - */ - ProtoBrick.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoBrick - * @function getTypeUrl - * @memberof ProtoBrick - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoBrick.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoBrick"; - }; - - return ProtoBrick; -})(); - -$root.ProtoTemplate = (function() { - - /** - * Properties of a ProtoTemplate. - * @name IProtoTemplate - * @interface IProtoTemplate - * @property {Array.|null} [_children] ProtoTemplate _children - * @property {IProtoDocumentElement|null} [parent] ProtoTemplate parent - * @property {Array.|null} [comChannelUUIDs] ProtoTemplate comChannelUUIDs - * @property {string|null} [uuid] ProtoTemplate uuid - * @property {ColumnBalancing|null} [columnBalancing] ProtoTemplate columnBalancing - * @property {ProtoSemanticType|null} [semanticType] ProtoTemplate semanticType - * @property {string|null} [templateUuid] ProtoTemplate templateUuid - */ - - /** - * Constructs a new ProtoTemplate. - * @name ProtoTemplate - * @classdesc Represents a ProtoTemplate. - * @implements IProtoTemplate - * @constructor - * @param {IProtoTemplate=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTemplate _children. - * @member {Array.} _children - * @memberof ProtoTemplate - * @instance - */ - ProtoTemplate.prototype._children = $util.emptyArray; - - /** - * ProtoTemplate parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTemplate - * @instance - */ - ProtoTemplate.prototype.parent = null; - - /** - * ProtoTemplate comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTemplate - * @instance - */ - ProtoTemplate.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoTemplate uuid. - * @member {string} uuid - * @memberof ProtoTemplate - * @instance - */ - ProtoTemplate.prototype.uuid = ""; - - /** - * ProtoTemplate columnBalancing. - * @member {ColumnBalancing} columnBalancing - * @memberof ProtoTemplate - * @instance - */ - ProtoTemplate.prototype.columnBalancing = 0; - - /** - * ProtoTemplate semanticType. - * @member {ProtoSemanticType} semanticType - * @memberof ProtoTemplate - * @instance - */ - ProtoTemplate.prototype.semanticType = 0; - - /** - * ProtoTemplate templateUuid. - * @member {string} templateUuid - * @memberof ProtoTemplate - * @instance - */ - ProtoTemplate.prototype.templateUuid = ""; - - /** - * Creates a new ProtoTemplate instance using the specified properties. - * @function create - * @memberof ProtoTemplate - * @static - * @param {IProtoTemplate=} [properties] Properties to set - * @returns {ProtoTemplate} ProtoTemplate instance - */ - ProtoTemplate.create = function create(properties) { - return new ProtoTemplate(properties); - }; - - /** - * Encodes the specified ProtoTemplate message. Does not implicitly {@link ProtoTemplate.verify|verify} messages. - * @function encode - * @memberof ProtoTemplate - * @static - * @param {IProtoTemplate} message ProtoTemplate message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTemplate.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - 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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - if (message.columnBalancing != null && Object.hasOwnProperty.call(message, "columnBalancing")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.columnBalancing); - if (message.semanticType != null && Object.hasOwnProperty.call(message, "semanticType")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoTemplate message, length delimited. Does not implicitly {@link ProtoTemplate.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTemplate - * @static - * @param {IProtoTemplate} message ProtoTemplate message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTemplate.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTemplate message from the specified reader or buffer. - * @function decode - * @memberof ProtoTemplate - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTemplate} ProtoTemplate - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTemplate(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 4: { - message.uuid = reader.string(); - break; - } - case 5: { - message.columnBalancing = reader.int32(); - break; - } - case 6: { - message.semanticType = reader.int32(); - break; - } - case 7: { - message.templateUuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTemplate message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTemplate - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTemplate} ProtoTemplate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTemplate.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTemplate message. - * @function verify - * @memberof ProtoTemplate - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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"; - if (message.columnBalancing != null && message.hasOwnProperty("columnBalancing")) - switch (message.columnBalancing) { - default: - return "columnBalancing: enum value expected"; - case 0: - case 1: - break; - } - if (message.semanticType != null && message.hasOwnProperty("semanticType")) - switch (message.semanticType) { - default: - return "semanticType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.templateUuid != null && message.hasOwnProperty("templateUuid")) - if (!$util.isString(message.templateUuid)) - return "templateUuid: string expected"; - return null; - }; - - /** - * Creates a ProtoTemplate message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTemplate - * @static - * @param {Object.} object Plain object - * @returns {ProtoTemplate} ProtoTemplate - */ - ProtoTemplate.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTemplate) - return object; - var message = new $root.ProtoTemplate(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoTemplate._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoTemplate.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTemplate.comChannelUUIDs: array expected"); - 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); - 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) - message.templateUuid = String(object.templateUuid); - return message; - }; - - /** - * Creates a plain object from a ProtoTemplate message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTemplate - * @static - * @param {ProtoTemplate} message ProtoTemplate - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTemplate.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.columnBalancing = options.enums === String ? "NO_BALANCING" : 0; - object.semanticType = options.enums === String ? "SEMANTIC_TYPE_NONE" : 0; - object.templateUuid = ""; - } - if (message._children && 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 = []; - 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.columnBalancing != null && message.hasOwnProperty("columnBalancing")) - object.columnBalancing = options.enums === String ? $root.ColumnBalancing[message.columnBalancing] === undefined ? message.columnBalancing : $root.ColumnBalancing[message.columnBalancing] : message.columnBalancing; - if (message.semanticType != null && message.hasOwnProperty("semanticType")) - object.semanticType = options.enums === String ? $root.ProtoSemanticType[message.semanticType] === undefined ? message.semanticType : $root.ProtoSemanticType[message.semanticType] : message.semanticType; - if (message.templateUuid != null && message.hasOwnProperty("templateUuid")) - object.templateUuid = message.templateUuid; - return object; - }; - - /** - * Converts this ProtoTemplate to JSON. - * @function toJSON - * @memberof ProtoTemplate - * @instance - * @returns {Object.} JSON object - */ - ProtoTemplate.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTemplate - * @function getTypeUrl - * @memberof ProtoTemplate - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTemplate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTemplate"; - }; - - return ProtoTemplate; -})(); - -/** - * ColumnBalancing enum. - * @name ColumnBalancing - * @enum {number} - * @property {number} NO_BALANCING=0 NO_BALANCING value - * @property {number} BALANCING=1 BALANCING value - */ -$root.ColumnBalancing = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NO_BALANCING"] = 0; - values[valuesById[1] = "BALANCING"] = 1; - return values; -})(); - -/** - * ProtoHeaderMode enum. - * @name ProtoHeaderMode - * @enum {number} - * @property {number} HEADER_MODE_APPEND_INITIAL=0 HEADER_MODE_APPEND_INITIAL value - * @property {number} HEADER_MODE_APPEND=1 HEADER_MODE_APPEND value - * @property {number} HEADER_MODE_EXTEND=2 HEADER_MODE_EXTEND value - * @property {number} HEADER_MODE_REPLACE=3 HEADER_MODE_REPLACE value - */ -$root.ProtoHeaderMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "HEADER_MODE_APPEND_INITIAL"] = 0; - values[valuesById[1] = "HEADER_MODE_APPEND"] = 1; - values[valuesById[2] = "HEADER_MODE_EXTEND"] = 2; - values[valuesById[3] = "HEADER_MODE_REPLACE"] = 3; - return values; -})(); - -$root.ProtoHeader = (function() { - - /** - * Properties of a ProtoHeader. - * @name IProtoHeader - * @interface IProtoHeader - * @property {Array.|null} [_children] ProtoHeader _children - * @property {IProtoDocumentElement|null} [parent] ProtoHeader parent - * @property {string|null} [uuid] ProtoHeader uuid - * @property {Array.|null} [comChannelUUIDs] ProtoHeader comChannelUUIDs - * @property {ProtoHeaderMode|null} [mode] ProtoHeader mode - */ - - /** - * Constructs a new ProtoHeader. - * @name ProtoHeader - * @classdesc Represents a ProtoHeader. - * @implements IProtoHeader - * @constructor - * @param {IProtoHeader=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoHeader _children. - * @member {Array.} _children - * @memberof ProtoHeader - * @instance - */ - ProtoHeader.prototype._children = $util.emptyArray; - - /** - * ProtoHeader parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoHeader - * @instance - */ - ProtoHeader.prototype.parent = null; - - /** - * ProtoHeader uuid. - * @member {string} uuid - * @memberof ProtoHeader - * @instance - */ - ProtoHeader.prototype.uuid = ""; - - /** - * ProtoHeader comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoHeader - * @instance - */ - ProtoHeader.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoHeader mode. - * @member {ProtoHeaderMode} mode - * @memberof ProtoHeader - * @instance - */ - ProtoHeader.prototype.mode = 0; - - /** - * Creates a new ProtoHeader instance using the specified properties. - * @function create - * @memberof ProtoHeader - * @static - * @param {IProtoHeader=} [properties] Properties to set - * @returns {ProtoHeader} ProtoHeader instance - */ - ProtoHeader.create = function create(properties) { - return new ProtoHeader(properties); - }; - - /** - * Encodes the specified ProtoHeader message. Does not implicitly {@link ProtoHeader.verify|verify} messages. - * @function encode - * @memberof ProtoHeader - * @static - * @param {IProtoHeader} message ProtoHeader message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoHeader.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - 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.mode != null && Object.hasOwnProperty.call(message, "mode")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.mode); - return writer; - }; - - /** - * Encodes the specified ProtoHeader message, length delimited. Does not implicitly {@link ProtoHeader.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoHeader - * @static - * @param {IProtoHeader} message ProtoHeader message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoHeader.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoHeader message from the specified reader or buffer. - * @function decode - * @memberof ProtoHeader - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoHeader} ProtoHeader - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoHeader(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.mode = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoHeader message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoHeader - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoHeader} ProtoHeader - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoHeader.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoHeader message. - * @function verify - * @memberof ProtoHeader - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.mode != null && message.hasOwnProperty("mode")) - switch (message.mode) { - default: - return "mode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - return null; - }; - - /** - * Creates a ProtoHeader message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoHeader - * @static - * @param {Object.} object Plain object - * @returns {ProtoHeader} ProtoHeader - */ - ProtoHeader.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoHeader) - return object; - var message = new $root.ProtoHeader(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoHeader._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoHeader.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoHeader.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - 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; - }; - - /** - * Creates a plain object from a ProtoHeader message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoHeader - * @static - * @param {ProtoHeader} message ProtoHeader - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoHeader.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.mode = options.enums === String ? "HEADER_MODE_APPEND_INITIAL" : 0; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.mode != null && message.hasOwnProperty("mode")) - object.mode = options.enums === String ? $root.ProtoHeaderMode[message.mode] === undefined ? message.mode : $root.ProtoHeaderMode[message.mode] : message.mode; - return object; - }; - - /** - * Converts this ProtoHeader to JSON. - * @function toJSON - * @memberof ProtoHeader - * @instance - * @returns {Object.} JSON object - */ - ProtoHeader.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoHeader - * @function getTypeUrl - * @memberof ProtoHeader - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoHeader.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoHeader"; - }; - - return ProtoHeader; -})(); - -/** - * ProtoFooterMode enum. - * @name ProtoFooterMode - * @enum {number} - * @property {number} FOOTER_MODE_APPEND_INITIAL=0 FOOTER_MODE_APPEND_INITIAL value - * @property {number} FOOTER_MODE_APPEND=1 FOOTER_MODE_APPEND value - * @property {number} FOOTER_MODE_EXTEND=2 FOOTER_MODE_EXTEND value - * @property {number} FOOTER_MODE_REPLACE=3 FOOTER_MODE_REPLACE value - */ -$root.ProtoFooterMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "FOOTER_MODE_APPEND_INITIAL"] = 0; - values[valuesById[1] = "FOOTER_MODE_APPEND"] = 1; - values[valuesById[2] = "FOOTER_MODE_EXTEND"] = 2; - values[valuesById[3] = "FOOTER_MODE_REPLACE"] = 3; - return values; -})(); - -$root.ProtoFooter = (function() { - - /** - * Properties of a ProtoFooter. - * @name IProtoFooter - * @interface IProtoFooter - * @property {Array.|null} [_children] ProtoFooter _children - * @property {IProtoDocumentElement|null} [parent] ProtoFooter parent - * @property {string|null} [uuid] ProtoFooter uuid - * @property {Array.|null} [comChannelUUIDs] ProtoFooter comChannelUUIDs - * @property {ProtoFooterMode|null} [mode] ProtoFooter mode - */ - - /** - * Constructs a new ProtoFooter. - * @name ProtoFooter - * @classdesc Represents a ProtoFooter. - * @implements IProtoFooter - * @constructor - * @param {IProtoFooter=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoFooter _children. - * @member {Array.} _children - * @memberof ProtoFooter - * @instance - */ - ProtoFooter.prototype._children = $util.emptyArray; - - /** - * ProtoFooter parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoFooter - * @instance - */ - ProtoFooter.prototype.parent = null; - - /** - * ProtoFooter uuid. - * @member {string} uuid - * @memberof ProtoFooter - * @instance - */ - ProtoFooter.prototype.uuid = ""; - - /** - * ProtoFooter comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoFooter - * @instance - */ - ProtoFooter.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoFooter mode. - * @member {ProtoFooterMode} mode - * @memberof ProtoFooter - * @instance - */ - ProtoFooter.prototype.mode = 0; - - /** - * Creates a new ProtoFooter instance using the specified properties. - * @function create - * @memberof ProtoFooter - * @static - * @param {IProtoFooter=} [properties] Properties to set - * @returns {ProtoFooter} ProtoFooter instance - */ - ProtoFooter.create = function create(properties) { - return new ProtoFooter(properties); - }; - - /** - * Encodes the specified ProtoFooter message. Does not implicitly {@link ProtoFooter.verify|verify} messages. - * @function encode - * @memberof ProtoFooter - * @static - * @param {IProtoFooter} message ProtoFooter message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoFooter.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - 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.mode != null && Object.hasOwnProperty.call(message, "mode")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.mode); - return writer; - }; - - /** - * Encodes the specified ProtoFooter message, length delimited. Does not implicitly {@link ProtoFooter.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoFooter - * @static - * @param {IProtoFooter} message ProtoFooter message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoFooter.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoFooter message from the specified reader or buffer. - * @function decode - * @memberof ProtoFooter - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoFooter} ProtoFooter - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoFooter(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.mode = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoFooter message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoFooter - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoFooter} ProtoFooter - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoFooter.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoFooter message. - * @function verify - * @memberof ProtoFooter - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.mode != null && message.hasOwnProperty("mode")) - switch (message.mode) { - default: - return "mode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - return null; - }; - - /** - * Creates a ProtoFooter message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoFooter - * @static - * @param {Object.} object Plain object - * @returns {ProtoFooter} ProtoFooter - */ - ProtoFooter.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoFooter) - return object; - var message = new $root.ProtoFooter(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoFooter._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoFooter.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoFooter.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - 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; - }; - - /** - * Creates a plain object from a ProtoFooter message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoFooter - * @static - * @param {ProtoFooter} message ProtoFooter - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoFooter.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.mode = options.enums === String ? "FOOTER_MODE_APPEND_INITIAL" : 0; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.mode != null && message.hasOwnProperty("mode")) - object.mode = options.enums === String ? $root.ProtoFooterMode[message.mode] === undefined ? message.mode : $root.ProtoFooterMode[message.mode] : message.mode; - return object; - }; - - /** - * Converts this ProtoFooter to JSON. - * @function toJSON - * @memberof ProtoFooter - * @instance - * @returns {Object.} JSON object - */ - ProtoFooter.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoFooter - * @function getTypeUrl - * @memberof ProtoFooter - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoFooter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoFooter"; - }; - - return ProtoFooter; -})(); - -$root.Node = (function() { - - /** - * Properties of a Node. - * @name INode - * @interface INode - * @property {Array.|null} [children] Node children - * @property {IProtoListSetting|null} [listSetting] Node listSetting - * @property {IProtoColorDef|null} [colorDef] Node colorDef - * @property {IProtoBrick|null} [brick] Node brick - * @property {IProtoTemplate|null} [template] Node template - * @property {IProtoFormatted|null} [formatted] Node formatted - * @property {IProtoImage|null} [image] Node image - * @property {IProtoParagraphFormat|null} [paragraphFormat] Node paragraphFormat - * @property {IProtoTextBrick|null} [textBrick] Node textBrick - * @property {IProtoText|null} [text] Node text - * @property {IProtoLinebreak|null} [linebreak] Node linebreak - * @property {IProtoSpaceVertically|null} [spaceVertically] Node spaceVertically - * @property {IProtoFooter|null} [footer] Node footer - * @property {IProtoHeader|null} [header] Node header - * @property {IProtoTable|null} [table] Node table - * @property {IProtoTableRow|null} [tableRow] Node tableRow - * @property {IProtoTableCell|null} [tableCell] Node tableCell - * @property {IProtoCDef|null} [cDef] Node cDef - * @property {IProtoPDef|null} [pDef] Node pDef - * @property {IProtoApplyProtoCDef|null} [applyCDef] Node applyCDef - * @property {IProtoApplyProtoPDef|null} [applyPDef] Node applyPDef - * @property {IProtoApplyPtConfig|null} [applyPtConfig] Node applyPtConfig - * @property {IProtoApplyUlConfig|null} [applyUlConfig] Node applyUlConfig - * @property {IProtoPtConfig|null} [ptConfig] Node ptConfig - * @property {IProtoUlConfig|null} [ulConfig] Node ulConfig - * @property {IProtoNewPage|null} [newPage] Node newPage - * @property {IProtoVariable|null} [variable] Node variable - * @property {IProtoNamedString|null} [namedString] Node namedString - * @property {IProtoParagraph|null} [paragraph] Node paragraph - * @property {IProtoSection|null} [section] Node section - * @property {IProtoSpan|null} [span] Node span - * @property {IProtoLink|null} [link] Node link - * @property {IProtoDirectory|null} [directory] Node directory - * @property {IProtoTableContentGroup|null} [tableContentGroup] Node tableContentGroup - * @property {IProtoTableConfig|null} [tableConfig] Node tableConfig - * @property {IProtoTableCellConfig|null} [tableCellConfig] Node tableCellConfig - * @property {IProtoTableRowConfig|null} [tableRowConfig] Node tableRowConfig - * @property {IProtoTableContentGroupConfig|null} [tableContentGroupConfig] Node tableContentGroupConfig - * @property {IProtoBrickReference|null} [brickReference] Node brickReference - * @property {IProtoIndentation|null} [indentation] Node indentation - * @property {IProtoBarcode|null} [barcode] Node barcode - * @property {IProtoWsArea|null} [wsArea] Node wsArea - * @property {IProtoCarryOver|null} [carryOver] Node carryOver - * @property {IProtoSubTotal|null} [subTotal] Node subTotal - * @property {IProtoLoop|null} [loop] Node loop - * @property {IProtoLoopEntry|null} [loopEntry] Node loopEntry - * @property {IProtoRule|null} [rule] Node rule - * @property {IProtoLayout|null} [layout] Node layout - * @property {IProtoAdvancedIllustrationArea|null} [advancedIllustrationArea] Node advancedIllustrationArea - * @property {IProtoAdjustHorizontally|null} [adjustHorizontally] Node adjustHorizontally - * @property {IProtoDoctypeScript|null} [doctypeScript] Node doctypeScript - * @property {IProtoDmScript|null} [dmScript] Node dmScript - * @property {IProtoDynamicTemplate|null} [dynamicTemplate] Node dynamicTemplate - * @property {IProtoSelection|null} [selection] Node selection - * @property {IProtoSelectionEntry|null} [selectionEntry] Node selectionEntry - * @property {IProtoCondition|null} [condition] Node condition - * @property {IProtoPageCondition|null} [pageCondition] Node pageCondition - * @property {IProtoLocale|null} [locale] Node locale - * @property {IProtoTag|null} [tag] Node tag - * @property {IProtoParagraphSetDefault|null} [paragraphSetDefault] Node paragraphSetDefault - * @property {IProtoInputFieldText|null} [inputFieldText] Node inputFieldText - * @property {IProtoInputFieldDate|null} [inputFieldDate] Node inputFieldDate - * @property {IProtoInputFieldCheckbox|null} [inputFieldCheckbox] Node inputFieldCheckbox - * @property {IProtoInputFieldLabel|null} [inputFieldLabel] Node inputFieldLabel - * @property {IProtoInputFieldDropdown|null} [inputFieldDropdown] Node inputFieldDropdown - */ - - /** - * Constructs a new Node. - * @name Node - * @classdesc Represents a Node. - * @implements INode - * @constructor - * @param {INode=} [properties] Properties to set - */ - function Node(properties) { - this.children = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Node children. - * @member {Array.} children - * @memberof Node - * @instance - */ - Node.prototype.children = $util.emptyArray; - - /** - * Node listSetting. - * @member {IProtoListSetting|null|undefined} listSetting - * @memberof Node - * @instance - */ - Node.prototype.listSetting = null; - - /** - * Node colorDef. - * @member {IProtoColorDef|null|undefined} colorDef - * @memberof Node - * @instance - */ - Node.prototype.colorDef = null; - - /** - * Node brick. - * @member {IProtoBrick|null|undefined} brick - * @memberof Node - * @instance - */ - Node.prototype.brick = null; - - /** - * Node template. - * @member {IProtoTemplate|null|undefined} template - * @memberof Node - * @instance - */ - Node.prototype.template = null; - - /** - * Node formatted. - * @member {IProtoFormatted|null|undefined} formatted - * @memberof Node - * @instance - */ - Node.prototype.formatted = null; - - /** - * Node image. - * @member {IProtoImage|null|undefined} image - * @memberof Node - * @instance - */ - Node.prototype.image = null; - - /** - * Node paragraphFormat. - * @member {IProtoParagraphFormat|null|undefined} paragraphFormat - * @memberof Node - * @instance - */ - Node.prototype.paragraphFormat = null; - - /** - * Node textBrick. - * @member {IProtoTextBrick|null|undefined} textBrick - * @memberof Node - * @instance - */ - Node.prototype.textBrick = null; - - /** - * Node text. - * @member {IProtoText|null|undefined} text - * @memberof Node - * @instance - */ - Node.prototype.text = null; - - /** - * Node linebreak. - * @member {IProtoLinebreak|null|undefined} linebreak - * @memberof Node - * @instance - */ - Node.prototype.linebreak = null; - - /** - * Node spaceVertically. - * @member {IProtoSpaceVertically|null|undefined} spaceVertically - * @memberof Node - * @instance - */ - Node.prototype.spaceVertically = null; - - /** - * Node footer. - * @member {IProtoFooter|null|undefined} footer - * @memberof Node - * @instance - */ - Node.prototype.footer = null; - - /** - * Node header. - * @member {IProtoHeader|null|undefined} header - * @memberof Node - * @instance - */ - Node.prototype.header = null; - - /** - * Node table. - * @member {IProtoTable|null|undefined} table - * @memberof Node - * @instance - */ - Node.prototype.table = null; - - /** - * Node tableRow. - * @member {IProtoTableRow|null|undefined} tableRow - * @memberof Node - * @instance - */ - Node.prototype.tableRow = null; - - /** - * Node tableCell. - * @member {IProtoTableCell|null|undefined} tableCell - * @memberof Node - * @instance - */ - Node.prototype.tableCell = null; - - /** - * Node cDef. - * @member {IProtoCDef|null|undefined} cDef - * @memberof Node - * @instance - */ - Node.prototype.cDef = null; - - /** - * Node pDef. - * @member {IProtoPDef|null|undefined} pDef - * @memberof Node - * @instance - */ - Node.prototype.pDef = null; - - /** - * Node applyCDef. - * @member {IProtoApplyProtoCDef|null|undefined} applyCDef - * @memberof Node - * @instance - */ - Node.prototype.applyCDef = null; - - /** - * Node applyPDef. - * @member {IProtoApplyProtoPDef|null|undefined} applyPDef - * @memberof Node - * @instance - */ - Node.prototype.applyPDef = null; - - /** - * Node applyPtConfig. - * @member {IProtoApplyPtConfig|null|undefined} applyPtConfig - * @memberof Node - * @instance - */ - Node.prototype.applyPtConfig = null; - - /** - * Node applyUlConfig. - * @member {IProtoApplyUlConfig|null|undefined} applyUlConfig - * @memberof Node - * @instance - */ - Node.prototype.applyUlConfig = null; - - /** - * Node ptConfig. - * @member {IProtoPtConfig|null|undefined} ptConfig - * @memberof Node - * @instance - */ - Node.prototype.ptConfig = null; - - /** - * Node ulConfig. - * @member {IProtoUlConfig|null|undefined} ulConfig - * @memberof Node - * @instance - */ - Node.prototype.ulConfig = null; - - /** - * Node newPage. - * @member {IProtoNewPage|null|undefined} newPage - * @memberof Node - * @instance - */ - Node.prototype.newPage = null; - - /** - * Node variable. - * @member {IProtoVariable|null|undefined} variable - * @memberof Node - * @instance - */ - Node.prototype.variable = null; - - /** - * Node namedString. - * @member {IProtoNamedString|null|undefined} namedString - * @memberof Node - * @instance - */ - Node.prototype.namedString = null; - - /** - * Node paragraph. - * @member {IProtoParagraph|null|undefined} paragraph - * @memberof Node - * @instance - */ - Node.prototype.paragraph = null; - - /** - * Node section. - * @member {IProtoSection|null|undefined} section - * @memberof Node - * @instance - */ - Node.prototype.section = null; - - /** - * Node span. - * @member {IProtoSpan|null|undefined} span - * @memberof Node - * @instance - */ - Node.prototype.span = null; - - /** - * Node link. - * @member {IProtoLink|null|undefined} link - * @memberof Node - * @instance - */ - Node.prototype.link = null; - - /** - * Node directory. - * @member {IProtoDirectory|null|undefined} directory - * @memberof Node - * @instance - */ - Node.prototype.directory = null; - - /** - * Node tableContentGroup. - * @member {IProtoTableContentGroup|null|undefined} tableContentGroup - * @memberof Node - * @instance - */ - Node.prototype.tableContentGroup = null; - - /** - * Node tableConfig. - * @member {IProtoTableConfig|null|undefined} tableConfig - * @memberof Node - * @instance - */ - Node.prototype.tableConfig = null; - - /** - * Node tableCellConfig. - * @member {IProtoTableCellConfig|null|undefined} tableCellConfig - * @memberof Node - * @instance - */ - Node.prototype.tableCellConfig = null; - - /** - * Node tableRowConfig. - * @member {IProtoTableRowConfig|null|undefined} tableRowConfig - * @memberof Node - * @instance - */ - Node.prototype.tableRowConfig = null; - - /** - * Node tableContentGroupConfig. - * @member {IProtoTableContentGroupConfig|null|undefined} tableContentGroupConfig - * @memberof Node - * @instance - */ - Node.prototype.tableContentGroupConfig = null; - - /** - * Node brickReference. - * @member {IProtoBrickReference|null|undefined} brickReference - * @memberof Node - * @instance - */ - Node.prototype.brickReference = null; - - /** - * Node indentation. - * @member {IProtoIndentation|null|undefined} indentation - * @memberof Node - * @instance - */ - Node.prototype.indentation = null; - - /** - * Node barcode. - * @member {IProtoBarcode|null|undefined} barcode - * @memberof Node - * @instance - */ - Node.prototype.barcode = null; - - /** - * Node wsArea. - * @member {IProtoWsArea|null|undefined} wsArea - * @memberof Node - * @instance - */ - Node.prototype.wsArea = null; - - /** - * Node carryOver. - * @member {IProtoCarryOver|null|undefined} carryOver - * @memberof Node - * @instance - */ - Node.prototype.carryOver = null; - - /** - * Node subTotal. - * @member {IProtoSubTotal|null|undefined} subTotal - * @memberof Node - * @instance - */ - Node.prototype.subTotal = null; - - /** - * Node loop. - * @member {IProtoLoop|null|undefined} loop - * @memberof Node - * @instance - */ - Node.prototype.loop = null; - - /** - * Node loopEntry. - * @member {IProtoLoopEntry|null|undefined} loopEntry - * @memberof Node - * @instance - */ - Node.prototype.loopEntry = null; - - /** - * Node rule. - * @member {IProtoRule|null|undefined} rule - * @memberof Node - * @instance - */ - Node.prototype.rule = null; - - /** - * Node layout. - * @member {IProtoLayout|null|undefined} layout - * @memberof Node - * @instance - */ - Node.prototype.layout = null; - - /** - * Node advancedIllustrationArea. - * @member {IProtoAdvancedIllustrationArea|null|undefined} advancedIllustrationArea - * @memberof Node - * @instance - */ - Node.prototype.advancedIllustrationArea = null; - - /** - * Node adjustHorizontally. - * @member {IProtoAdjustHorizontally|null|undefined} adjustHorizontally - * @memberof Node - * @instance - */ - Node.prototype.adjustHorizontally = null; - - /** - * Node doctypeScript. - * @member {IProtoDoctypeScript|null|undefined} doctypeScript - * @memberof Node - * @instance - */ - Node.prototype.doctypeScript = null; - - /** - * Node dmScript. - * @member {IProtoDmScript|null|undefined} dmScript - * @memberof Node - * @instance - */ - Node.prototype.dmScript = null; - - /** - * Node dynamicTemplate. - * @member {IProtoDynamicTemplate|null|undefined} dynamicTemplate - * @memberof Node - * @instance - */ - Node.prototype.dynamicTemplate = null; - - /** - * Node selection. - * @member {IProtoSelection|null|undefined} selection - * @memberof Node - * @instance - */ - Node.prototype.selection = null; - - /** - * Node selectionEntry. - * @member {IProtoSelectionEntry|null|undefined} selectionEntry - * @memberof Node - * @instance - */ - Node.prototype.selectionEntry = null; - - /** - * Node condition. - * @member {IProtoCondition|null|undefined} condition - * @memberof Node - * @instance - */ - Node.prototype.condition = null; - - /** - * Node pageCondition. - * @member {IProtoPageCondition|null|undefined} pageCondition - * @memberof Node - * @instance - */ - Node.prototype.pageCondition = null; - - /** - * Node locale. - * @member {IProtoLocale|null|undefined} locale - * @memberof Node - * @instance - */ - Node.prototype.locale = null; - - /** - * Node tag. - * @member {IProtoTag|null|undefined} tag - * @memberof Node - * @instance - */ - Node.prototype.tag = null; - - /** - * Node paragraphSetDefault. - * @member {IProtoParagraphSetDefault|null|undefined} paragraphSetDefault - * @memberof Node - * @instance - */ - Node.prototype.paragraphSetDefault = null; - - /** - * Node inputFieldText. - * @member {IProtoInputFieldText|null|undefined} inputFieldText - * @memberof Node - * @instance - */ - Node.prototype.inputFieldText = null; - - /** - * Node inputFieldDate. - * @member {IProtoInputFieldDate|null|undefined} inputFieldDate - * @memberof Node - * @instance - */ - Node.prototype.inputFieldDate = null; - - /** - * Node inputFieldCheckbox. - * @member {IProtoInputFieldCheckbox|null|undefined} inputFieldCheckbox - * @memberof Node - * @instance - */ - Node.prototype.inputFieldCheckbox = null; - - /** - * Node inputFieldLabel. - * @member {IProtoInputFieldLabel|null|undefined} inputFieldLabel - * @memberof Node - * @instance - */ - Node.prototype.inputFieldLabel = null; - - /** - * Node inputFieldDropdown. - * @member {IProtoInputFieldDropdown|null|undefined} inputFieldDropdown - * @memberof Node - * @instance - */ - Node.prototype.inputFieldDropdown = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * Node object. - * @member {"listSetting"|"colorDef"|"brick"|"template"|"formatted"|"image"|"paragraphFormat"|"textBrick"|"text"|"linebreak"|"spaceVertically"|"footer"|"header"|"table"|"tableRow"|"tableCell"|"cDef"|"pDef"|"applyCDef"|"applyPDef"|"applyPtConfig"|"applyUlConfig"|"ptConfig"|"ulConfig"|"newPage"|"variable"|"namedString"|"paragraph"|"section"|"span"|"link"|"directory"|"tableContentGroup"|"tableConfig"|"tableCellConfig"|"tableRowConfig"|"tableContentGroupConfig"|"brickReference"|"indentation"|"barcode"|"wsArea"|"carryOver"|"subTotal"|"loop"|"loopEntry"|"rule"|"layout"|"advancedIllustrationArea"|"adjustHorizontally"|"doctypeScript"|"dmScript"|"dynamicTemplate"|"selection"|"selectionEntry"|"condition"|"pageCondition"|"locale"|"tag"|"paragraphSetDefault"|"inputFieldText"|"inputFieldDate"|"inputFieldCheckbox"|"inputFieldLabel"|"inputFieldDropdown"|undefined} object - * @memberof Node - * @instance - */ - Object.defineProperty(Node.prototype, "object", { - get: $util.oneOfGetter($oneOfFields = ["listSetting", "colorDef", "brick", "template", "formatted", "image", "paragraphFormat", "textBrick", "text", "linebreak", "spaceVertically", "footer", "header", "table", "tableRow", "tableCell", "cDef", "pDef", "applyCDef", "applyPDef", "applyPtConfig", "applyUlConfig", "ptConfig", "ulConfig", "newPage", "variable", "namedString", "paragraph", "section", "span", "link", "directory", "tableContentGroup", "tableConfig", "tableCellConfig", "tableRowConfig", "tableContentGroupConfig", "brickReference", "indentation", "barcode", "wsArea", "carryOver", "subTotal", "loop", "loopEntry", "rule", "layout", "advancedIllustrationArea", "adjustHorizontally", "doctypeScript", "dmScript", "dynamicTemplate", "selection", "selectionEntry", "condition", "pageCondition", "locale", "tag", "paragraphSetDefault", "inputFieldText", "inputFieldDate", "inputFieldCheckbox", "inputFieldLabel", "inputFieldDropdown"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Node instance using the specified properties. - * @function create - * @memberof Node - * @static - * @param {INode=} [properties] Properties to set - * @returns {Node} Node instance - */ - Node.create = function create(properties) { - return new Node(properties); - }; - - /** - * Encodes the specified Node message. Does not implicitly {@link Node.verify|verify} messages. - * @function encode - * @memberof Node - * @static - * @param {INode} message Node message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Node.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.children != null && message.children.length) - for (var i = 0; i < message.children.length; ++i) - $root.Node.encode(message.children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.listSetting != null && Object.hasOwnProperty.call(message, "listSetting")) - $root.ProtoListSetting.encode(message.listSetting, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.colorDef != null && Object.hasOwnProperty.call(message, "colorDef")) - $root.ProtoColorDef.encode(message.colorDef, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.brick != null && Object.hasOwnProperty.call(message, "brick")) - $root.ProtoBrick.encode(message.brick, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.template != null && Object.hasOwnProperty.call(message, "template")) - $root.ProtoTemplate.encode(message.template, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.formatted != null && Object.hasOwnProperty.call(message, "formatted")) - $root.ProtoFormatted.encode(message.formatted, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.image != null && Object.hasOwnProperty.call(message, "image")) - $root.ProtoImage.encode(message.image, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.paragraphFormat != null && Object.hasOwnProperty.call(message, "paragraphFormat")) - $root.ProtoParagraphFormat.encode(message.paragraphFormat, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.textBrick != null && Object.hasOwnProperty.call(message, "textBrick")) - $root.ProtoTextBrick.encode(message.textBrick, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.text != null && Object.hasOwnProperty.call(message, "text")) - $root.ProtoText.encode(message.text, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.linebreak != null && Object.hasOwnProperty.call(message, "linebreak")) - $root.ProtoLinebreak.encode(message.linebreak, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.spaceVertically != null && Object.hasOwnProperty.call(message, "spaceVertically")) - $root.ProtoSpaceVertically.encode(message.spaceVertically, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.footer != null && Object.hasOwnProperty.call(message, "footer")) - $root.ProtoFooter.encode(message.footer, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); - if (message.header != null && Object.hasOwnProperty.call(message, "header")) - $root.ProtoHeader.encode(message.header, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.table != null && Object.hasOwnProperty.call(message, "table")) - $root.ProtoTable.encode(message.table, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim(); - if (message.tableRow != null && Object.hasOwnProperty.call(message, "tableRow")) - $root.ProtoTableRow.encode(message.tableRow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.tableCell != null && Object.hasOwnProperty.call(message, "tableCell")) - $root.ProtoTableCell.encode(message.tableCell, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.cDef != null && Object.hasOwnProperty.call(message, "cDef")) - $root.ProtoCDef.encode(message.cDef, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); - if (message.pDef != null && Object.hasOwnProperty.call(message, "pDef")) - $root.ProtoPDef.encode(message.pDef, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); - if (message.applyCDef != null && Object.hasOwnProperty.call(message, "applyCDef")) - $root.ProtoApplyProtoCDef.encode(message.applyCDef, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); - if (message.applyPDef != null && Object.hasOwnProperty.call(message, "applyPDef")) - $root.ProtoApplyProtoPDef.encode(message.applyPDef, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.applyPtConfig != null && Object.hasOwnProperty.call(message, "applyPtConfig")) - $root.ProtoApplyPtConfig.encode(message.applyPtConfig, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); - if (message.applyUlConfig != null && Object.hasOwnProperty.call(message, "applyUlConfig")) - $root.ProtoApplyUlConfig.encode(message.applyUlConfig, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); - if (message.ptConfig != null && Object.hasOwnProperty.call(message, "ptConfig")) - $root.ProtoPtConfig.encode(message.ptConfig, writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim(); - if (message.ulConfig != null && Object.hasOwnProperty.call(message, "ulConfig")) - $root.ProtoUlConfig.encode(message.ulConfig, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim(); - if (message.newPage != null && Object.hasOwnProperty.call(message, "newPage")) - $root.ProtoNewPage.encode(message.newPage, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim(); - if (message.variable != null && Object.hasOwnProperty.call(message, "variable")) - $root.ProtoVariable.encode(message.variable, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim(); - if (message.namedString != null && Object.hasOwnProperty.call(message, "namedString")) - $root.ProtoNamedString.encode(message.namedString, writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim(); - if (message.paragraph != null && Object.hasOwnProperty.call(message, "paragraph")) - $root.ProtoParagraph.encode(message.paragraph, writer.uint32(/* id 30, wireType 2 =*/242).fork()).ldelim(); - if (message.section != null && Object.hasOwnProperty.call(message, "section")) - $root.ProtoSection.encode(message.section, writer.uint32(/* id 31, wireType 2 =*/250).fork()).ldelim(); - if (message.span != null && Object.hasOwnProperty.call(message, "span")) - $root.ProtoSpan.encode(message.span, writer.uint32(/* id 32, wireType 2 =*/258).fork()).ldelim(); - if (message.link != null && Object.hasOwnProperty.call(message, "link")) - $root.ProtoLink.encode(message.link, writer.uint32(/* id 33, wireType 2 =*/266).fork()).ldelim(); - if (message.directory != null && Object.hasOwnProperty.call(message, "directory")) - $root.ProtoDirectory.encode(message.directory, writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim(); - if (message.tableContentGroup != null && Object.hasOwnProperty.call(message, "tableContentGroup")) - $root.ProtoTableContentGroup.encode(message.tableContentGroup, writer.uint32(/* id 35, wireType 2 =*/282).fork()).ldelim(); - if (message.tableConfig != null && Object.hasOwnProperty.call(message, "tableConfig")) - $root.ProtoTableConfig.encode(message.tableConfig, writer.uint32(/* id 36, wireType 2 =*/290).fork()).ldelim(); - if (message.tableCellConfig != null && Object.hasOwnProperty.call(message, "tableCellConfig")) - $root.ProtoTableCellConfig.encode(message.tableCellConfig, writer.uint32(/* id 37, wireType 2 =*/298).fork()).ldelim(); - if (message.tableRowConfig != null && Object.hasOwnProperty.call(message, "tableRowConfig")) - $root.ProtoTableRowConfig.encode(message.tableRowConfig, writer.uint32(/* id 38, wireType 2 =*/306).fork()).ldelim(); - if (message.tableContentGroupConfig != null && Object.hasOwnProperty.call(message, "tableContentGroupConfig")) - $root.ProtoTableContentGroupConfig.encode(message.tableContentGroupConfig, writer.uint32(/* id 39, wireType 2 =*/314).fork()).ldelim(); - if (message.brickReference != null && Object.hasOwnProperty.call(message, "brickReference")) - $root.ProtoBrickReference.encode(message.brickReference, writer.uint32(/* id 40, wireType 2 =*/322).fork()).ldelim(); - if (message.indentation != null && Object.hasOwnProperty.call(message, "indentation")) - $root.ProtoIndentation.encode(message.indentation, writer.uint32(/* id 55, wireType 2 =*/442).fork()).ldelim(); - if (message.barcode != null && Object.hasOwnProperty.call(message, "barcode")) - $root.ProtoBarcode.encode(message.barcode, writer.uint32(/* id 56, wireType 2 =*/450).fork()).ldelim(); - if (message.wsArea != null && Object.hasOwnProperty.call(message, "wsArea")) - $root.ProtoWsArea.encode(message.wsArea, writer.uint32(/* id 57, wireType 2 =*/458).fork()).ldelim(); - if (message.carryOver != null && Object.hasOwnProperty.call(message, "carryOver")) - $root.ProtoCarryOver.encode(message.carryOver, writer.uint32(/* id 58, wireType 2 =*/466).fork()).ldelim(); - if (message.subTotal != null && Object.hasOwnProperty.call(message, "subTotal")) - $root.ProtoSubTotal.encode(message.subTotal, writer.uint32(/* id 59, wireType 2 =*/474).fork()).ldelim(); - if (message.loop != null && Object.hasOwnProperty.call(message, "loop")) - $root.ProtoLoop.encode(message.loop, writer.uint32(/* id 60, wireType 2 =*/482).fork()).ldelim(); - if (message.loopEntry != null && Object.hasOwnProperty.call(message, "loopEntry")) - $root.ProtoLoopEntry.encode(message.loopEntry, writer.uint32(/* id 61, wireType 2 =*/490).fork()).ldelim(); - if (message.rule != null && Object.hasOwnProperty.call(message, "rule")) - $root.ProtoRule.encode(message.rule, writer.uint32(/* id 62, wireType 2 =*/498).fork()).ldelim(); - if (message.layout != null && Object.hasOwnProperty.call(message, "layout")) - $root.ProtoLayout.encode(message.layout, writer.uint32(/* id 63, wireType 2 =*/506).fork()).ldelim(); - if (message.advancedIllustrationArea != null && Object.hasOwnProperty.call(message, "advancedIllustrationArea")) - $root.ProtoAdvancedIllustrationArea.encode(message.advancedIllustrationArea, writer.uint32(/* id 64, wireType 2 =*/514).fork()).ldelim(); - if (message.adjustHorizontally != null && Object.hasOwnProperty.call(message, "adjustHorizontally")) - $root.ProtoAdjustHorizontally.encode(message.adjustHorizontally, writer.uint32(/* id 65, wireType 2 =*/522).fork()).ldelim(); - if (message.doctypeScript != null && Object.hasOwnProperty.call(message, "doctypeScript")) - $root.ProtoDoctypeScript.encode(message.doctypeScript, writer.uint32(/* id 66, wireType 2 =*/530).fork()).ldelim(); - if (message.dmScript != null && Object.hasOwnProperty.call(message, "dmScript")) - $root.ProtoDmScript.encode(message.dmScript, writer.uint32(/* id 67, wireType 2 =*/538).fork()).ldelim(); - if (message.dynamicTemplate != null && Object.hasOwnProperty.call(message, "dynamicTemplate")) - $root.ProtoDynamicTemplate.encode(message.dynamicTemplate, writer.uint32(/* id 68, wireType 2 =*/546).fork()).ldelim(); - if (message.selection != null && Object.hasOwnProperty.call(message, "selection")) - $root.ProtoSelection.encode(message.selection, writer.uint32(/* id 69, wireType 2 =*/554).fork()).ldelim(); - if (message.selectionEntry != null && Object.hasOwnProperty.call(message, "selectionEntry")) - $root.ProtoSelectionEntry.encode(message.selectionEntry, writer.uint32(/* id 70, wireType 2 =*/562).fork()).ldelim(); - if (message.condition != null && Object.hasOwnProperty.call(message, "condition")) - $root.ProtoCondition.encode(message.condition, writer.uint32(/* id 71, wireType 2 =*/570).fork()).ldelim(); - if (message.pageCondition != null && Object.hasOwnProperty.call(message, "pageCondition")) - $root.ProtoPageCondition.encode(message.pageCondition, writer.uint32(/* id 72, wireType 2 =*/578).fork()).ldelim(); - if (message.locale != null && Object.hasOwnProperty.call(message, "locale")) - $root.ProtoLocale.encode(message.locale, writer.uint32(/* id 73, wireType 2 =*/586).fork()).ldelim(); - if (message.tag != null && Object.hasOwnProperty.call(message, "tag")) - $root.ProtoTag.encode(message.tag, writer.uint32(/* id 74, wireType 2 =*/594).fork()).ldelim(); - if (message.paragraphSetDefault != null && Object.hasOwnProperty.call(message, "paragraphSetDefault")) - $root.ProtoParagraphSetDefault.encode(message.paragraphSetDefault, writer.uint32(/* id 75, wireType 2 =*/602).fork()).ldelim(); - if (message.inputFieldText != null && Object.hasOwnProperty.call(message, "inputFieldText")) - $root.ProtoInputFieldText.encode(message.inputFieldText, writer.uint32(/* id 76, wireType 2 =*/610).fork()).ldelim(); - if (message.inputFieldDate != null && Object.hasOwnProperty.call(message, "inputFieldDate")) - $root.ProtoInputFieldDate.encode(message.inputFieldDate, writer.uint32(/* id 77, wireType 2 =*/618).fork()).ldelim(); - if (message.inputFieldCheckbox != null && Object.hasOwnProperty.call(message, "inputFieldCheckbox")) - $root.ProtoInputFieldCheckbox.encode(message.inputFieldCheckbox, writer.uint32(/* id 78, wireType 2 =*/626).fork()).ldelim(); - if (message.inputFieldLabel != null && Object.hasOwnProperty.call(message, "inputFieldLabel")) - $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(); - return writer; - }; - - /** - * Encodes the specified Node message, length delimited. Does not implicitly {@link Node.verify|verify} messages. - * @function encodeDelimited - * @memberof Node - * @static - * @param {INode} message Node message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Node.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Node message from the specified reader or buffer. - * @function decode - * @memberof Node - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Node} Node - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.Node(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.children && message.children.length)) - message.children = []; - message.children.push($root.Node.decode(reader, reader.uint32())); - break; - } - case 2: { - message.listSetting = $root.ProtoListSetting.decode(reader, reader.uint32()); - break; - } - case 3: { - message.colorDef = $root.ProtoColorDef.decode(reader, reader.uint32()); - break; - } - case 4: { - message.brick = $root.ProtoBrick.decode(reader, reader.uint32()); - break; - } - case 5: { - message.template = $root.ProtoTemplate.decode(reader, reader.uint32()); - break; - } - case 6: { - message.formatted = $root.ProtoFormatted.decode(reader, reader.uint32()); - break; - } - case 7: { - message.image = $root.ProtoImage.decode(reader, reader.uint32()); - break; - } - case 8: { - message.paragraphFormat = $root.ProtoParagraphFormat.decode(reader, reader.uint32()); - break; - } - case 9: { - message.textBrick = $root.ProtoTextBrick.decode(reader, reader.uint32()); - break; - } - case 10: { - message.text = $root.ProtoText.decode(reader, reader.uint32()); - break; - } - case 11: { - message.linebreak = $root.ProtoLinebreak.decode(reader, reader.uint32()); - break; - } - case 12: { - message.spaceVertically = $root.ProtoSpaceVertically.decode(reader, reader.uint32()); - break; - } - case 13: { - message.footer = $root.ProtoFooter.decode(reader, reader.uint32()); - break; - } - case 14: { - message.header = $root.ProtoHeader.decode(reader, reader.uint32()); - break; - } - case 15: { - message.table = $root.ProtoTable.decode(reader, reader.uint32()); - break; - } - case 16: { - message.tableRow = $root.ProtoTableRow.decode(reader, reader.uint32()); - break; - } - case 17: { - message.tableCell = $root.ProtoTableCell.decode(reader, reader.uint32()); - break; - } - case 18: { - message.cDef = $root.ProtoCDef.decode(reader, reader.uint32()); - break; - } - case 19: { - message.pDef = $root.ProtoPDef.decode(reader, reader.uint32()); - break; - } - case 20: { - message.applyCDef = $root.ProtoApplyProtoCDef.decode(reader, reader.uint32()); - break; - } - case 21: { - message.applyPDef = $root.ProtoApplyProtoPDef.decode(reader, reader.uint32()); - break; - } - case 22: { - message.applyPtConfig = $root.ProtoApplyPtConfig.decode(reader, reader.uint32()); - break; - } - case 23: { - message.applyUlConfig = $root.ProtoApplyUlConfig.decode(reader, reader.uint32()); - break; - } - case 24: { - message.ptConfig = $root.ProtoPtConfig.decode(reader, reader.uint32()); - break; - } - case 25: { - message.ulConfig = $root.ProtoUlConfig.decode(reader, reader.uint32()); - break; - } - case 26: { - message.newPage = $root.ProtoNewPage.decode(reader, reader.uint32()); - break; - } - case 27: { - message.variable = $root.ProtoVariable.decode(reader, reader.uint32()); - break; - } - case 28: { - message.namedString = $root.ProtoNamedString.decode(reader, reader.uint32()); - break; - } - case 30: { - message.paragraph = $root.ProtoParagraph.decode(reader, reader.uint32()); - break; - } - case 31: { - message.section = $root.ProtoSection.decode(reader, reader.uint32()); - break; - } - case 32: { - message.span = $root.ProtoSpan.decode(reader, reader.uint32()); - break; - } - case 33: { - message.link = $root.ProtoLink.decode(reader, reader.uint32()); - break; - } - case 34: { - message.directory = $root.ProtoDirectory.decode(reader, reader.uint32()); - break; - } - case 35: { - message.tableContentGroup = $root.ProtoTableContentGroup.decode(reader, reader.uint32()); - break; - } - case 36: { - message.tableConfig = $root.ProtoTableConfig.decode(reader, reader.uint32()); - break; - } - case 37: { - message.tableCellConfig = $root.ProtoTableCellConfig.decode(reader, reader.uint32()); - break; - } - case 38: { - message.tableRowConfig = $root.ProtoTableRowConfig.decode(reader, reader.uint32()); - break; - } - case 39: { - message.tableContentGroupConfig = $root.ProtoTableContentGroupConfig.decode(reader, reader.uint32()); - break; - } - case 40: { - message.brickReference = $root.ProtoBrickReference.decode(reader, reader.uint32()); - break; - } - case 55: { - message.indentation = $root.ProtoIndentation.decode(reader, reader.uint32()); - break; - } - case 56: { - message.barcode = $root.ProtoBarcode.decode(reader, reader.uint32()); - break; - } - case 57: { - message.wsArea = $root.ProtoWsArea.decode(reader, reader.uint32()); - break; - } - case 58: { - message.carryOver = $root.ProtoCarryOver.decode(reader, reader.uint32()); - break; - } - case 59: { - message.subTotal = $root.ProtoSubTotal.decode(reader, reader.uint32()); - break; - } - case 60: { - message.loop = $root.ProtoLoop.decode(reader, reader.uint32()); - break; - } - case 61: { - message.loopEntry = $root.ProtoLoopEntry.decode(reader, reader.uint32()); - break; - } - case 62: { - message.rule = $root.ProtoRule.decode(reader, reader.uint32()); - break; - } - case 63: { - message.layout = $root.ProtoLayout.decode(reader, reader.uint32()); - break; - } - case 64: { - message.advancedIllustrationArea = $root.ProtoAdvancedIllustrationArea.decode(reader, reader.uint32()); - break; - } - case 65: { - message.adjustHorizontally = $root.ProtoAdjustHorizontally.decode(reader, reader.uint32()); - break; - } - case 66: { - message.doctypeScript = $root.ProtoDoctypeScript.decode(reader, reader.uint32()); - break; - } - case 67: { - message.dmScript = $root.ProtoDmScript.decode(reader, reader.uint32()); - break; - } - case 68: { - message.dynamicTemplate = $root.ProtoDynamicTemplate.decode(reader, reader.uint32()); - break; - } - case 69: { - message.selection = $root.ProtoSelection.decode(reader, reader.uint32()); - break; - } - case 70: { - message.selectionEntry = $root.ProtoSelectionEntry.decode(reader, reader.uint32()); - break; - } - case 71: { - message.condition = $root.ProtoCondition.decode(reader, reader.uint32()); - break; - } - case 72: { - message.pageCondition = $root.ProtoPageCondition.decode(reader, reader.uint32()); - break; - } - case 73: { - message.locale = $root.ProtoLocale.decode(reader, reader.uint32()); - break; - } - case 74: { - message.tag = $root.ProtoTag.decode(reader, reader.uint32()); - break; - } - case 75: { - message.paragraphSetDefault = $root.ProtoParagraphSetDefault.decode(reader, reader.uint32()); - break; - } - case 76: { - message.inputFieldText = $root.ProtoInputFieldText.decode(reader, reader.uint32()); - break; - } - case 77: { - message.inputFieldDate = $root.ProtoInputFieldDate.decode(reader, reader.uint32()); - break; - } - case 78: { - message.inputFieldCheckbox = $root.ProtoInputFieldCheckbox.decode(reader, reader.uint32()); - break; - } - case 79: { - message.inputFieldLabel = $root.ProtoInputFieldLabel.decode(reader, reader.uint32()); - break; - } - case 80: { - message.inputFieldDropdown = $root.ProtoInputFieldDropdown.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Node message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Node - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Node} Node - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Node.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Node message. - * @function verify - * @memberof Node - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "children." + error; - } - } - if (message.listSetting != null && message.hasOwnProperty("listSetting")) { - properties.object = 1; - { - var error = $root.ProtoListSetting.verify(message.listSetting); - if (error) - return "listSetting." + error; - } - } - if (message.colorDef != null && message.hasOwnProperty("colorDef")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoColorDef.verify(message.colorDef); - if (error) - return "colorDef." + error; - } - } - if (message.brick != null && message.hasOwnProperty("brick")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoBrick.verify(message.brick); - if (error) - return "brick." + error; - } - } - if (message.template != null && message.hasOwnProperty("template")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTemplate.verify(message.template); - if (error) - return "template." + error; - } - } - if (message.formatted != null && message.hasOwnProperty("formatted")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoFormatted.verify(message.formatted); - if (error) - return "formatted." + error; - } - } - if (message.image != null && message.hasOwnProperty("image")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoImage.verify(message.image); - if (error) - return "image." + error; - } - } - if (message.paragraphFormat != null && message.hasOwnProperty("paragraphFormat")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoParagraphFormat.verify(message.paragraphFormat); - if (error) - return "paragraphFormat." + error; - } - } - if (message.textBrick != null && message.hasOwnProperty("textBrick")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTextBrick.verify(message.textBrick); - if (error) - return "textBrick." + error; - } - } - if (message.text != null && message.hasOwnProperty("text")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoText.verify(message.text); - if (error) - return "text." + error; - } - } - if (message.linebreak != null && message.hasOwnProperty("linebreak")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoLinebreak.verify(message.linebreak); - if (error) - return "linebreak." + error; - } - } - if (message.spaceVertically != null && message.hasOwnProperty("spaceVertically")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoSpaceVertically.verify(message.spaceVertically); - if (error) - return "spaceVertically." + error; - } - } - if (message.footer != null && message.hasOwnProperty("footer")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoFooter.verify(message.footer); - if (error) - return "footer." + error; - } - } - if (message.header != null && message.hasOwnProperty("header")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoHeader.verify(message.header); - if (error) - return "header." + error; - } - } - if (message.table != null && message.hasOwnProperty("table")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTable.verify(message.table); - if (error) - return "table." + error; - } - } - if (message.tableRow != null && message.hasOwnProperty("tableRow")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTableRow.verify(message.tableRow); - if (error) - return "tableRow." + error; - } - } - if (message.tableCell != null && message.hasOwnProperty("tableCell")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTableCell.verify(message.tableCell); - if (error) - return "tableCell." + error; - } - } - if (message.cDef != null && message.hasOwnProperty("cDef")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoCDef.verify(message.cDef); - if (error) - return "cDef." + error; - } - } - if (message.pDef != null && message.hasOwnProperty("pDef")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoPDef.verify(message.pDef); - if (error) - return "pDef." + error; - } - } - if (message.applyCDef != null && message.hasOwnProperty("applyCDef")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoApplyProtoCDef.verify(message.applyCDef); - if (error) - return "applyCDef." + error; - } - } - if (message.applyPDef != null && message.hasOwnProperty("applyPDef")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoApplyProtoPDef.verify(message.applyPDef); - if (error) - return "applyPDef." + error; - } - } - if (message.applyPtConfig != null && message.hasOwnProperty("applyPtConfig")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoApplyPtConfig.verify(message.applyPtConfig); - if (error) - return "applyPtConfig." + error; - } - } - if (message.applyUlConfig != null && message.hasOwnProperty("applyUlConfig")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoApplyUlConfig.verify(message.applyUlConfig); - if (error) - return "applyUlConfig." + error; - } - } - if (message.ptConfig != null && message.hasOwnProperty("ptConfig")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoPtConfig.verify(message.ptConfig); - if (error) - return "ptConfig." + error; - } - } - if (message.ulConfig != null && message.hasOwnProperty("ulConfig")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoUlConfig.verify(message.ulConfig); - if (error) - return "ulConfig." + error; - } - } - if (message.newPage != null && message.hasOwnProperty("newPage")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoNewPage.verify(message.newPage); - if (error) - return "newPage." + error; - } - } - if (message.variable != null && message.hasOwnProperty("variable")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoVariable.verify(message.variable); - if (error) - return "variable." + error; - } - } - if (message.namedString != null && message.hasOwnProperty("namedString")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoNamedString.verify(message.namedString); - if (error) - return "namedString." + error; - } - } - if (message.paragraph != null && message.hasOwnProperty("paragraph")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoParagraph.verify(message.paragraph); - if (error) - return "paragraph." + error; - } - } - if (message.section != null && message.hasOwnProperty("section")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoSection.verify(message.section); - if (error) - return "section." + error; - } - } - if (message.span != null && message.hasOwnProperty("span")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoSpan.verify(message.span); - if (error) - return "span." + error; - } - } - if (message.link != null && message.hasOwnProperty("link")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoLink.verify(message.link); - if (error) - return "link." + error; - } - } - if (message.directory != null && message.hasOwnProperty("directory")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoDirectory.verify(message.directory); - if (error) - return "directory." + error; - } - } - if (message.tableContentGroup != null && message.hasOwnProperty("tableContentGroup")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTableContentGroup.verify(message.tableContentGroup); - if (error) - return "tableContentGroup." + error; - } - } - if (message.tableConfig != null && message.hasOwnProperty("tableConfig")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTableConfig.verify(message.tableConfig); - if (error) - return "tableConfig." + error; - } - } - if (message.tableCellConfig != null && message.hasOwnProperty("tableCellConfig")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTableCellConfig.verify(message.tableCellConfig); - if (error) - return "tableCellConfig." + error; - } - } - if (message.tableRowConfig != null && message.hasOwnProperty("tableRowConfig")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTableRowConfig.verify(message.tableRowConfig); - if (error) - return "tableRowConfig." + error; - } - } - if (message.tableContentGroupConfig != null && message.hasOwnProperty("tableContentGroupConfig")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTableContentGroupConfig.verify(message.tableContentGroupConfig); - if (error) - return "tableContentGroupConfig." + error; - } - } - if (message.brickReference != null && message.hasOwnProperty("brickReference")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoBrickReference.verify(message.brickReference); - if (error) - return "brickReference." + error; - } - } - if (message.indentation != null && message.hasOwnProperty("indentation")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoIndentation.verify(message.indentation); - if (error) - return "indentation." + error; - } - } - if (message.barcode != null && message.hasOwnProperty("barcode")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoBarcode.verify(message.barcode); - if (error) - return "barcode." + error; - } - } - if (message.wsArea != null && message.hasOwnProperty("wsArea")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoWsArea.verify(message.wsArea); - if (error) - return "wsArea." + error; - } - } - if (message.carryOver != null && message.hasOwnProperty("carryOver")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoCarryOver.verify(message.carryOver); - if (error) - return "carryOver." + error; - } - } - if (message.subTotal != null && message.hasOwnProperty("subTotal")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoSubTotal.verify(message.subTotal); - if (error) - return "subTotal." + error; - } - } - if (message.loop != null && message.hasOwnProperty("loop")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoLoop.verify(message.loop); - if (error) - return "loop." + error; - } - } - if (message.loopEntry != null && message.hasOwnProperty("loopEntry")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoLoopEntry.verify(message.loopEntry); - if (error) - return "loopEntry." + error; - } - } - if (message.rule != null && message.hasOwnProperty("rule")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoRule.verify(message.rule); - if (error) - return "rule." + error; - } - } - if (message.layout != null && message.hasOwnProperty("layout")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoLayout.verify(message.layout); - if (error) - return "layout." + error; - } - } - if (message.advancedIllustrationArea != null && message.hasOwnProperty("advancedIllustrationArea")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoAdvancedIllustrationArea.verify(message.advancedIllustrationArea); - if (error) - return "advancedIllustrationArea." + error; - } - } - if (message.adjustHorizontally != null && message.hasOwnProperty("adjustHorizontally")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoAdjustHorizontally.verify(message.adjustHorizontally); - if (error) - return "adjustHorizontally." + error; - } - } - if (message.doctypeScript != null && message.hasOwnProperty("doctypeScript")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoDoctypeScript.verify(message.doctypeScript); - if (error) - return "doctypeScript." + error; - } - } - if (message.dmScript != null && message.hasOwnProperty("dmScript")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoDmScript.verify(message.dmScript); - if (error) - return "dmScript." + error; - } - } - if (message.dynamicTemplate != null && message.hasOwnProperty("dynamicTemplate")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoDynamicTemplate.verify(message.dynamicTemplate); - if (error) - return "dynamicTemplate." + error; - } - } - if (message.selection != null && message.hasOwnProperty("selection")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoSelection.verify(message.selection); - if (error) - return "selection." + error; - } - } - if (message.selectionEntry != null && message.hasOwnProperty("selectionEntry")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoSelectionEntry.verify(message.selectionEntry); - if (error) - return "selectionEntry." + error; - } - } - if (message.condition != null && message.hasOwnProperty("condition")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoCondition.verify(message.condition); - if (error) - return "condition." + error; - } - } - if (message.pageCondition != null && message.hasOwnProperty("pageCondition")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoPageCondition.verify(message.pageCondition); - if (error) - return "pageCondition." + error; - } - } - if (message.locale != null && message.hasOwnProperty("locale")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoLocale.verify(message.locale); - if (error) - return "locale." + error; - } - } - if (message.tag != null && message.hasOwnProperty("tag")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoTag.verify(message.tag); - if (error) - return "tag." + error; - } - } - if (message.paragraphSetDefault != null && message.hasOwnProperty("paragraphSetDefault")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoParagraphSetDefault.verify(message.paragraphSetDefault); - if (error) - return "paragraphSetDefault." + error; - } - } - if (message.inputFieldText != null && message.hasOwnProperty("inputFieldText")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoInputFieldText.verify(message.inputFieldText); - if (error) - return "inputFieldText." + error; - } - } - if (message.inputFieldDate != null && message.hasOwnProperty("inputFieldDate")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoInputFieldDate.verify(message.inputFieldDate); - if (error) - return "inputFieldDate." + error; - } - } - if (message.inputFieldCheckbox != null && message.hasOwnProperty("inputFieldCheckbox")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoInputFieldCheckbox.verify(message.inputFieldCheckbox); - if (error) - return "inputFieldCheckbox." + error; - } - } - if (message.inputFieldLabel != null && message.hasOwnProperty("inputFieldLabel")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoInputFieldLabel.verify(message.inputFieldLabel); - if (error) - return "inputFieldLabel." + error; - } - } - if (message.inputFieldDropdown != null && message.hasOwnProperty("inputFieldDropdown")) { - if (properties.object === 1) - return "object: multiple values"; - properties.object = 1; - { - var error = $root.ProtoInputFieldDropdown.verify(message.inputFieldDropdown); - if (error) - return "inputFieldDropdown." + error; - } - } - return null; - }; - - /** - * Creates a Node message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Node - * @static - * @param {Object.} object Plain object - * @returns {Node} Node - */ - Node.fromObject = function fromObject(object) { - if (object instanceof $root.Node) - return object; - var message = new $root.Node(); - if (object.children) { - if (!Array.isArray(object.children)) - throw TypeError(".Node.children: array expected"); - 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]); - } - } - if (object.listSetting != null) { - if (typeof object.listSetting !== "object") - throw TypeError(".Node.listSetting: object expected"); - 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); - } - if (object.brick != null) { - if (typeof object.brick !== "object") - throw TypeError(".Node.brick: object expected"); - 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); - } - if (object.formatted != null) { - if (typeof object.formatted !== "object") - throw TypeError(".Node.formatted: object expected"); - 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); - } - if (object.paragraphFormat != null) { - if (typeof object.paragraphFormat !== "object") - throw TypeError(".Node.paragraphFormat: object expected"); - 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); - } - if (object.text != null) { - if (typeof object.text !== "object") - throw TypeError(".Node.text: object expected"); - 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); - } - if (object.spaceVertically != null) { - if (typeof object.spaceVertically !== "object") - throw TypeError(".Node.spaceVertically: object expected"); - 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); - } - if (object.header != null) { - if (typeof object.header !== "object") - throw TypeError(".Node.header: object expected"); - 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); - } - if (object.tableRow != null) { - if (typeof object.tableRow !== "object") - throw TypeError(".Node.tableRow: object expected"); - 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); - } - if (object.cDef != null) { - if (typeof object.cDef !== "object") - throw TypeError(".Node.cDef: object expected"); - 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); - } - if (object.applyCDef != null) { - if (typeof object.applyCDef !== "object") - throw TypeError(".Node.applyCDef: object expected"); - 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); - } - if (object.applyPtConfig != null) { - if (typeof object.applyPtConfig !== "object") - throw TypeError(".Node.applyPtConfig: object expected"); - 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); - } - if (object.ptConfig != null) { - if (typeof object.ptConfig !== "object") - throw TypeError(".Node.ptConfig: object expected"); - 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); - } - if (object.newPage != null) { - if (typeof object.newPage !== "object") - throw TypeError(".Node.newPage: object expected"); - 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); - } - if (object.namedString != null) { - if (typeof object.namedString !== "object") - throw TypeError(".Node.namedString: object expected"); - 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); - } - if (object.section != null) { - if (typeof object.section !== "object") - throw TypeError(".Node.section: object expected"); - 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); - } - if (object.link != null) { - if (typeof object.link !== "object") - throw TypeError(".Node.link: object expected"); - 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); - } - if (object.tableContentGroup != null) { - if (typeof object.tableContentGroup !== "object") - throw TypeError(".Node.tableContentGroup: object expected"); - 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); - } - if (object.tableCellConfig != null) { - if (typeof object.tableCellConfig !== "object") - throw TypeError(".Node.tableCellConfig: object expected"); - 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); - } - if (object.tableContentGroupConfig != null) { - if (typeof object.tableContentGroupConfig !== "object") - throw TypeError(".Node.tableContentGroupConfig: object expected"); - 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); - } - if (object.indentation != null) { - if (typeof object.indentation !== "object") - throw TypeError(".Node.indentation: object expected"); - 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); - } - if (object.wsArea != null) { - if (typeof object.wsArea !== "object") - throw TypeError(".Node.wsArea: object expected"); - 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); - } - if (object.subTotal != null) { - if (typeof object.subTotal !== "object") - throw TypeError(".Node.subTotal: object expected"); - 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); - } - if (object.loopEntry != null) { - if (typeof object.loopEntry !== "object") - throw TypeError(".Node.loopEntry: object expected"); - 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); - } - if (object.layout != null) { - if (typeof object.layout !== "object") - throw TypeError(".Node.layout: object expected"); - 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); - } - if (object.adjustHorizontally != null) { - if (typeof object.adjustHorizontally !== "object") - throw TypeError(".Node.adjustHorizontally: object expected"); - 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); - } - if (object.dmScript != null) { - if (typeof object.dmScript !== "object") - throw TypeError(".Node.dmScript: object expected"); - 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); - } - if (object.selection != null) { - if (typeof object.selection !== "object") - throw TypeError(".Node.selection: object expected"); - 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); - } - if (object.condition != null) { - if (typeof object.condition !== "object") - throw TypeError(".Node.condition: object expected"); - 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); - } - if (object.locale != null) { - if (typeof object.locale !== "object") - throw TypeError(".Node.locale: object expected"); - 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); - } - if (object.paragraphSetDefault != null) { - if (typeof object.paragraphSetDefault !== "object") - throw TypeError(".Node.paragraphSetDefault: object expected"); - 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); - } - if (object.inputFieldDate != null) { - if (typeof object.inputFieldDate !== "object") - throw TypeError(".Node.inputFieldDate: object expected"); - 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); - } - if (object.inputFieldLabel != null) { - if (typeof object.inputFieldLabel !== "object") - throw TypeError(".Node.inputFieldLabel: object expected"); - 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); - } - return message; - }; - - /** - * Creates a plain object from a Node message. Also converts values to other types if specified. - * @function toObject - * @memberof Node - * @static - * @param {Node} message Node - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Node.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.children = []; - if (message.children && message.children.length) { - object.children = []; - for (var j = 0; j < message.children.length; ++j) - object.children[j] = $root.Node.toObject(message.children[j], options); - } - if (message.listSetting != null && message.hasOwnProperty("listSetting")) { - object.listSetting = $root.ProtoListSetting.toObject(message.listSetting, options); - if (options.oneofs) - object.object = "listSetting"; - } - if (message.colorDef != null && message.hasOwnProperty("colorDef")) { - object.colorDef = $root.ProtoColorDef.toObject(message.colorDef, options); - if (options.oneofs) - object.object = "colorDef"; - } - if (message.brick != null && message.hasOwnProperty("brick")) { - object.brick = $root.ProtoBrick.toObject(message.brick, options); - if (options.oneofs) - object.object = "brick"; - } - if (message.template != null && message.hasOwnProperty("template")) { - object.template = $root.ProtoTemplate.toObject(message.template, options); - if (options.oneofs) - object.object = "template"; - } - if (message.formatted != null && message.hasOwnProperty("formatted")) { - object.formatted = $root.ProtoFormatted.toObject(message.formatted, options); - if (options.oneofs) - object.object = "formatted"; - } - if (message.image != null && message.hasOwnProperty("image")) { - object.image = $root.ProtoImage.toObject(message.image, options); - if (options.oneofs) - object.object = "image"; - } - if (message.paragraphFormat != null && message.hasOwnProperty("paragraphFormat")) { - object.paragraphFormat = $root.ProtoParagraphFormat.toObject(message.paragraphFormat, options); - if (options.oneofs) - object.object = "paragraphFormat"; - } - if (message.textBrick != null && message.hasOwnProperty("textBrick")) { - object.textBrick = $root.ProtoTextBrick.toObject(message.textBrick, options); - if (options.oneofs) - object.object = "textBrick"; - } - if (message.text != null && message.hasOwnProperty("text")) { - object.text = $root.ProtoText.toObject(message.text, options); - if (options.oneofs) - object.object = "text"; - } - if (message.linebreak != null && message.hasOwnProperty("linebreak")) { - object.linebreak = $root.ProtoLinebreak.toObject(message.linebreak, options); - if (options.oneofs) - object.object = "linebreak"; - } - if (message.spaceVertically != null && message.hasOwnProperty("spaceVertically")) { - object.spaceVertically = $root.ProtoSpaceVertically.toObject(message.spaceVertically, options); - if (options.oneofs) - object.object = "spaceVertically"; - } - if (message.footer != null && message.hasOwnProperty("footer")) { - object.footer = $root.ProtoFooter.toObject(message.footer, options); - if (options.oneofs) - object.object = "footer"; - } - if (message.header != null && message.hasOwnProperty("header")) { - object.header = $root.ProtoHeader.toObject(message.header, options); - if (options.oneofs) - object.object = "header"; - } - if (message.table != null && message.hasOwnProperty("table")) { - object.table = $root.ProtoTable.toObject(message.table, options); - if (options.oneofs) - object.object = "table"; - } - if (message.tableRow != null && message.hasOwnProperty("tableRow")) { - object.tableRow = $root.ProtoTableRow.toObject(message.tableRow, options); - if (options.oneofs) - object.object = "tableRow"; - } - if (message.tableCell != null && message.hasOwnProperty("tableCell")) { - object.tableCell = $root.ProtoTableCell.toObject(message.tableCell, options); - if (options.oneofs) - object.object = "tableCell"; - } - if (message.cDef != null && message.hasOwnProperty("cDef")) { - object.cDef = $root.ProtoCDef.toObject(message.cDef, options); - if (options.oneofs) - object.object = "cDef"; - } - if (message.pDef != null && message.hasOwnProperty("pDef")) { - object.pDef = $root.ProtoPDef.toObject(message.pDef, options); - if (options.oneofs) - object.object = "pDef"; - } - if (message.applyCDef != null && message.hasOwnProperty("applyCDef")) { - object.applyCDef = $root.ProtoApplyProtoCDef.toObject(message.applyCDef, options); - if (options.oneofs) - object.object = "applyCDef"; - } - if (message.applyPDef != null && message.hasOwnProperty("applyPDef")) { - object.applyPDef = $root.ProtoApplyProtoPDef.toObject(message.applyPDef, options); - if (options.oneofs) - object.object = "applyPDef"; - } - if (message.applyPtConfig != null && message.hasOwnProperty("applyPtConfig")) { - object.applyPtConfig = $root.ProtoApplyPtConfig.toObject(message.applyPtConfig, options); - if (options.oneofs) - object.object = "applyPtConfig"; - } - if (message.applyUlConfig != null && message.hasOwnProperty("applyUlConfig")) { - object.applyUlConfig = $root.ProtoApplyUlConfig.toObject(message.applyUlConfig, options); - if (options.oneofs) - object.object = "applyUlConfig"; - } - if (message.ptConfig != null && message.hasOwnProperty("ptConfig")) { - object.ptConfig = $root.ProtoPtConfig.toObject(message.ptConfig, options); - if (options.oneofs) - object.object = "ptConfig"; - } - if (message.ulConfig != null && message.hasOwnProperty("ulConfig")) { - object.ulConfig = $root.ProtoUlConfig.toObject(message.ulConfig, options); - if (options.oneofs) - object.object = "ulConfig"; - } - if (message.newPage != null && message.hasOwnProperty("newPage")) { - object.newPage = $root.ProtoNewPage.toObject(message.newPage, options); - if (options.oneofs) - object.object = "newPage"; - } - if (message.variable != null && message.hasOwnProperty("variable")) { - object.variable = $root.ProtoVariable.toObject(message.variable, options); - if (options.oneofs) - object.object = "variable"; - } - if (message.namedString != null && message.hasOwnProperty("namedString")) { - object.namedString = $root.ProtoNamedString.toObject(message.namedString, options); - if (options.oneofs) - object.object = "namedString"; - } - if (message.paragraph != null && message.hasOwnProperty("paragraph")) { - object.paragraph = $root.ProtoParagraph.toObject(message.paragraph, options); - if (options.oneofs) - object.object = "paragraph"; - } - if (message.section != null && message.hasOwnProperty("section")) { - object.section = $root.ProtoSection.toObject(message.section, options); - if (options.oneofs) - object.object = "section"; - } - if (message.span != null && message.hasOwnProperty("span")) { - object.span = $root.ProtoSpan.toObject(message.span, options); - if (options.oneofs) - object.object = "span"; - } - if (message.link != null && message.hasOwnProperty("link")) { - object.link = $root.ProtoLink.toObject(message.link, options); - if (options.oneofs) - object.object = "link"; - } - if (message.directory != null && message.hasOwnProperty("directory")) { - object.directory = $root.ProtoDirectory.toObject(message.directory, options); - if (options.oneofs) - object.object = "directory"; - } - if (message.tableContentGroup != null && message.hasOwnProperty("tableContentGroup")) { - object.tableContentGroup = $root.ProtoTableContentGroup.toObject(message.tableContentGroup, options); - if (options.oneofs) - object.object = "tableContentGroup"; - } - if (message.tableConfig != null && message.hasOwnProperty("tableConfig")) { - object.tableConfig = $root.ProtoTableConfig.toObject(message.tableConfig, options); - if (options.oneofs) - object.object = "tableConfig"; - } - if (message.tableCellConfig != null && message.hasOwnProperty("tableCellConfig")) { - object.tableCellConfig = $root.ProtoTableCellConfig.toObject(message.tableCellConfig, options); - if (options.oneofs) - object.object = "tableCellConfig"; - } - if (message.tableRowConfig != null && message.hasOwnProperty("tableRowConfig")) { - object.tableRowConfig = $root.ProtoTableRowConfig.toObject(message.tableRowConfig, options); - if (options.oneofs) - object.object = "tableRowConfig"; - } - if (message.tableContentGroupConfig != null && message.hasOwnProperty("tableContentGroupConfig")) { - object.tableContentGroupConfig = $root.ProtoTableContentGroupConfig.toObject(message.tableContentGroupConfig, options); - if (options.oneofs) - object.object = "tableContentGroupConfig"; - } - if (message.brickReference != null && message.hasOwnProperty("brickReference")) { - object.brickReference = $root.ProtoBrickReference.toObject(message.brickReference, options); - if (options.oneofs) - object.object = "brickReference"; - } - if (message.indentation != null && message.hasOwnProperty("indentation")) { - object.indentation = $root.ProtoIndentation.toObject(message.indentation, options); - if (options.oneofs) - object.object = "indentation"; - } - if (message.barcode != null && message.hasOwnProperty("barcode")) { - object.barcode = $root.ProtoBarcode.toObject(message.barcode, options); - if (options.oneofs) - object.object = "barcode"; - } - if (message.wsArea != null && message.hasOwnProperty("wsArea")) { - object.wsArea = $root.ProtoWsArea.toObject(message.wsArea, options); - if (options.oneofs) - object.object = "wsArea"; - } - if (message.carryOver != null && message.hasOwnProperty("carryOver")) { - object.carryOver = $root.ProtoCarryOver.toObject(message.carryOver, options); - if (options.oneofs) - object.object = "carryOver"; - } - if (message.subTotal != null && message.hasOwnProperty("subTotal")) { - object.subTotal = $root.ProtoSubTotal.toObject(message.subTotal, options); - if (options.oneofs) - object.object = "subTotal"; - } - if (message.loop != null && message.hasOwnProperty("loop")) { - object.loop = $root.ProtoLoop.toObject(message.loop, options); - if (options.oneofs) - object.object = "loop"; - } - if (message.loopEntry != null && message.hasOwnProperty("loopEntry")) { - object.loopEntry = $root.ProtoLoopEntry.toObject(message.loopEntry, options); - if (options.oneofs) - object.object = "loopEntry"; - } - if (message.rule != null && message.hasOwnProperty("rule")) { - object.rule = $root.ProtoRule.toObject(message.rule, options); - if (options.oneofs) - object.object = "rule"; - } - if (message.layout != null && message.hasOwnProperty("layout")) { - object.layout = $root.ProtoLayout.toObject(message.layout, options); - if (options.oneofs) - object.object = "layout"; - } - if (message.advancedIllustrationArea != null && message.hasOwnProperty("advancedIllustrationArea")) { - object.advancedIllustrationArea = $root.ProtoAdvancedIllustrationArea.toObject(message.advancedIllustrationArea, options); - if (options.oneofs) - object.object = "advancedIllustrationArea"; - } - if (message.adjustHorizontally != null && message.hasOwnProperty("adjustHorizontally")) { - object.adjustHorizontally = $root.ProtoAdjustHorizontally.toObject(message.adjustHorizontally, options); - if (options.oneofs) - object.object = "adjustHorizontally"; - } - if (message.doctypeScript != null && message.hasOwnProperty("doctypeScript")) { - object.doctypeScript = $root.ProtoDoctypeScript.toObject(message.doctypeScript, options); - if (options.oneofs) - object.object = "doctypeScript"; - } - if (message.dmScript != null && message.hasOwnProperty("dmScript")) { - object.dmScript = $root.ProtoDmScript.toObject(message.dmScript, options); - if (options.oneofs) - object.object = "dmScript"; - } - if (message.dynamicTemplate != null && message.hasOwnProperty("dynamicTemplate")) { - object.dynamicTemplate = $root.ProtoDynamicTemplate.toObject(message.dynamicTemplate, options); - if (options.oneofs) - object.object = "dynamicTemplate"; - } - if (message.selection != null && message.hasOwnProperty("selection")) { - object.selection = $root.ProtoSelection.toObject(message.selection, options); - if (options.oneofs) - object.object = "selection"; - } - if (message.selectionEntry != null && message.hasOwnProperty("selectionEntry")) { - object.selectionEntry = $root.ProtoSelectionEntry.toObject(message.selectionEntry, options); - if (options.oneofs) - object.object = "selectionEntry"; - } - if (message.condition != null && message.hasOwnProperty("condition")) { - object.condition = $root.ProtoCondition.toObject(message.condition, options); - if (options.oneofs) - object.object = "condition"; - } - if (message.pageCondition != null && message.hasOwnProperty("pageCondition")) { - object.pageCondition = $root.ProtoPageCondition.toObject(message.pageCondition, options); - if (options.oneofs) - object.object = "pageCondition"; - } - if (message.locale != null && message.hasOwnProperty("locale")) { - object.locale = $root.ProtoLocale.toObject(message.locale, options); - if (options.oneofs) - object.object = "locale"; - } - if (message.tag != null && message.hasOwnProperty("tag")) { - object.tag = $root.ProtoTag.toObject(message.tag, options); - if (options.oneofs) - object.object = "tag"; - } - if (message.paragraphSetDefault != null && message.hasOwnProperty("paragraphSetDefault")) { - object.paragraphSetDefault = $root.ProtoParagraphSetDefault.toObject(message.paragraphSetDefault, options); - if (options.oneofs) - object.object = "paragraphSetDefault"; - } - if (message.inputFieldText != null && message.hasOwnProperty("inputFieldText")) { - object.inputFieldText = $root.ProtoInputFieldText.toObject(message.inputFieldText, options); - if (options.oneofs) - object.object = "inputFieldText"; - } - if (message.inputFieldDate != null && message.hasOwnProperty("inputFieldDate")) { - object.inputFieldDate = $root.ProtoInputFieldDate.toObject(message.inputFieldDate, options); - if (options.oneofs) - object.object = "inputFieldDate"; - } - if (message.inputFieldCheckbox != null && message.hasOwnProperty("inputFieldCheckbox")) { - object.inputFieldCheckbox = $root.ProtoInputFieldCheckbox.toObject(message.inputFieldCheckbox, options); - if (options.oneofs) - object.object = "inputFieldCheckbox"; - } - if (message.inputFieldLabel != null && message.hasOwnProperty("inputFieldLabel")) { - object.inputFieldLabel = $root.ProtoInputFieldLabel.toObject(message.inputFieldLabel, options); - if (options.oneofs) - object.object = "inputFieldLabel"; - } - if (message.inputFieldDropdown != null && message.hasOwnProperty("inputFieldDropdown")) { - object.inputFieldDropdown = $root.ProtoInputFieldDropdown.toObject(message.inputFieldDropdown, options); - if (options.oneofs) - object.object = "inputFieldDropdown"; - } - return object; - }; - - /** - * Converts this Node to JSON. - * @function toJSON - * @memberof Node - * @instance - * @returns {Object.} JSON object - */ - Node.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Node - * @function getTypeUrl - * @memberof Node - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Node.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Node"; - }; - - return Node; -})(); - -/** - * NodeType enum. - * @name NodeType - * @enum {number} - * @property {number} DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT=0 DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT value - * @property {number} DOCUMENT_ELEMENT_BRICK_REFERENCE=1 DOCUMENT_ELEMENT_BRICK_REFERENCE value - * @property {number} DOCUMENT_ELEMENT_BRICK=2 DOCUMENT_ELEMENT_BRICK value - * @property {number} DOCUMENT_ELEMENT_DOCUMENT_ELEMENT=3 DOCUMENT_ELEMENT_DOCUMENT_ELEMENT value - * @property {number} DOCUMENT_ELEMENT_LINEBREAK=4 DOCUMENT_ELEMENT_LINEBREAK value - * @property {number} DOCUMENT_ELEMENT_LIST_SETTING=6 DOCUMENT_ELEMENT_LIST_SETTING value - * @property {number} DOCUMENT_ELEMENT_PARAGRAPH_FORMAT=7 DOCUMENT_ELEMENT_PARAGRAPH_FORMAT value - * @property {number} DOCUMENT_ELEMENT_PARAGRAPH=8 DOCUMENT_ELEMENT_PARAGRAPH value - * @property {number} DOCUMENT_ELEMENT_SECTION=9 DOCUMENT_ELEMENT_SECTION value - * @property {number} DOCUMENT_ELEMENT_SPAN=10 DOCUMENT_ELEMENT_SPAN value - * @property {number} DOCUMENT_ELEMENT_TABLE=11 DOCUMENT_ELEMENT_TABLE value - * @property {number} DOCUMENT_ELEMENT_TABLE_CELL=12 DOCUMENT_ELEMENT_TABLE_CELL value - * @property {number} DOCUMENT_ELEMENT_TABLE_ROW=13 DOCUMENT_ELEMENT_TABLE_ROW value - * @property {number} DOCUMENT_ELEMENT_TEMPLATE=15 DOCUMENT_ELEMENT_TEMPLATE value - * @property {number} DOCUMENT_ELEMENT_TEXT=16 DOCUMENT_ELEMENT_TEXT value - * @property {number} DOCUMENT_ELEMENT_COLOR_DEF=19 DOCUMENT_ELEMENT_COLOR_DEF value - * @property {number} DOCUMENT_ELEMENT_IMAGE=30 DOCUMENT_ELEMENT_IMAGE value - * @property {number} DOCUMENT_ELEMENT_NAMED_STRING=34 DOCUMENT_ELEMENT_NAMED_STRING value - * @property {number} DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP=35 DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP value - * @property {number} DOCUMENT_ELEMENT_TABLE_CONFIG=36 DOCUMENT_ELEMENT_TABLE_CONFIG value - * @property {number} DOCUMENT_ELEMENT_TABLE_CELL_CONFIG=37 DOCUMENT_ELEMENT_TABLE_CELL_CONFIG value - * @property {number} DOCUMENT_ELEMENT_TABLE_ROW_CONFIG=38 DOCUMENT_ELEMENT_TABLE_ROW_CONFIG value - * @property {number} DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG=39 DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG value - * @property {number} DOCUMENT_ELEMENT_LINK=40 DOCUMENT_ELEMENT_LINK value - * @property {number} DOCUMENT_ELEMENT_DIRECTORY=41 DOCUMENT_ELEMENT_DIRECTORY value - * @property {number} DOCUMENT_ELEMENT_TEXT_BRICK=42 DOCUMENT_ELEMENT_TEXT_BRICK value - * @property {number} DOCUMENT_ELEMENT_VARIABLE=44 DOCUMENT_ELEMENT_VARIABLE value - * @property {number} DOCUMENT_ELEMENT_SPACE_VERTICALLY=45 DOCUMENT_ELEMENT_SPACE_VERTICALLY value - * @property {number} DOCUMENT_ELEMENT_FORMATTED=46 DOCUMENT_ELEMENT_FORMATTED value - * @property {number} DOCUMENT_ELEMENT_APPLY_C_DEF=47 DOCUMENT_ELEMENT_APPLY_C_DEF value - * @property {number} DOCUMENT_ELEMENT_APPLY_P_DEF=48 DOCUMENT_ELEMENT_APPLY_P_DEF value - * @property {number} DOCUMENT_ELEMENT_APPLY_PT_CONFIG=49 DOCUMENT_ELEMENT_APPLY_PT_CONFIG value - * @property {number} DOCUMENT_ELEMENT_APPLY_UL_CONFIG=50 DOCUMENT_ELEMENT_APPLY_UL_CONFIG value - * @property {number} DOCUMENT_ELEMENT_C_DEF=51 DOCUMENT_ELEMENT_C_DEF value - * @property {number} DOCUMENT_ELEMENT_P_DEF=52 DOCUMENT_ELEMENT_P_DEF value - * @property {number} DOCUMENT_ELEMENT_PT_CONFIG=53 DOCUMENT_ELEMENT_PT_CONFIG value - * @property {number} DOCUMENT_ELEMENT_UL_CONFIG=54 DOCUMENT_ELEMENT_UL_CONFIG value - * @property {number} DOCUMENT_ELEMENT_NEW_PAGE=55 DOCUMENT_ELEMENT_NEW_PAGE value - * @property {number} DOCUMENT_ELEMENT_HEADER=56 DOCUMENT_ELEMENT_HEADER value - * @property {number} DOCUMENT_ELEMENT_FOOTER=57 DOCUMENT_ELEMENT_FOOTER value - * @property {number} DOCUMENT_ELEMENT_INDENTATION=60 DOCUMENT_ELEMENT_INDENTATION value - * @property {number} DOCUMENT_ELEMENT_BARCODE=61 DOCUMENT_ELEMENT_BARCODE value - * @property {number} DOCUMENT_ELEMENT_WS_AREA=62 DOCUMENT_ELEMENT_WS_AREA value - * @property {number} DOCUMENT_ELEMENT_CARRY_OVER=63 DOCUMENT_ELEMENT_CARRY_OVER value - * @property {number} DOCUMENT_ELEMENT_SUB_TOTAL=64 DOCUMENT_ELEMENT_SUB_TOTAL value - * @property {number} DOCUMENT_ELEMENT_LOOP=65 DOCUMENT_ELEMENT_LOOP value - * @property {number} DOCUMENT_ELEMENT_LOOP_ENTRY=66 DOCUMENT_ELEMENT_LOOP_ENTRY value - * @property {number} DOCUMENT_ELEMENT_RULE=67 DOCUMENT_ELEMENT_RULE value - * @property {number} DOCUMENT_ELEMENT_LIST_LEVEL_SETTING=68 DOCUMENT_ELEMENT_LIST_LEVEL_SETTING value - * @property {number} DOCUMENT_ELEMENT_LAYOUT=69 DOCUMENT_ELEMENT_LAYOUT value - * @property {number} DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA=70 DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA value - * @property {number} DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY=71 DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY value - * @property {number} DOCUMENT_ELEMENT_DOCTYPE_SCRIPT=72 DOCUMENT_ELEMENT_DOCTYPE_SCRIPT value - * @property {number} DOCUMENT_ELEMENT_DM_SCRIPT=73 DOCUMENT_ELEMENT_DM_SCRIPT value - * @property {number} DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE=74 DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE value - * @property {number} DOCUMENT_ELEMENT_SELECTION=75 DOCUMENT_ELEMENT_SELECTION value - * @property {number} DOCUMENT_ELEMENT_SELECTION_ENTRY=76 DOCUMENT_ELEMENT_SELECTION_ENTRY value - * @property {number} DOCUMENT_ELEMENT_CONDITION=77 DOCUMENT_ELEMENT_CONDITION value - * @property {number} DOCUMENT_ELEMENT_PAGE_CONDITION=78 DOCUMENT_ELEMENT_PAGE_CONDITION value - * @property {number} DOCUMENT_ELEMENT_LOCALE=79 DOCUMENT_ELEMENT_LOCALE value - * @property {number} DOCUMENT_ELEMENT_TAG=80 DOCUMENT_ELEMENT_TAG value - * @property {number} DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT=81 DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT value - * @property {number} DOCUMENT_ELEMENT_INPUT_FIELD_TEXT=82 DOCUMENT_ELEMENT_INPUT_FIELD_TEXT value - * @property {number} DOCUMENT_ELEMENT_INPUT_FIELD_DATE=83 DOCUMENT_ELEMENT_INPUT_FIELD_DATE value - * @property {number} DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX=84 DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX value - * @property {number} DOCUMENT_ELEMENT_INPUT_FIELD_LABEL=85 DOCUMENT_ELEMENT_INPUT_FIELD_LABEL value - * @property {number} DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN=86 DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN value - */ -$root.NodeType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT"] = 0; - values[valuesById[1] = "DOCUMENT_ELEMENT_BRICK_REFERENCE"] = 1; - values[valuesById[2] = "DOCUMENT_ELEMENT_BRICK"] = 2; - values[valuesById[3] = "DOCUMENT_ELEMENT_DOCUMENT_ELEMENT"] = 3; - values[valuesById[4] = "DOCUMENT_ELEMENT_LINEBREAK"] = 4; - values[valuesById[6] = "DOCUMENT_ELEMENT_LIST_SETTING"] = 6; - values[valuesById[7] = "DOCUMENT_ELEMENT_PARAGRAPH_FORMAT"] = 7; - values[valuesById[8] = "DOCUMENT_ELEMENT_PARAGRAPH"] = 8; - values[valuesById[9] = "DOCUMENT_ELEMENT_SECTION"] = 9; - values[valuesById[10] = "DOCUMENT_ELEMENT_SPAN"] = 10; - values[valuesById[11] = "DOCUMENT_ELEMENT_TABLE"] = 11; - values[valuesById[12] = "DOCUMENT_ELEMENT_TABLE_CELL"] = 12; - values[valuesById[13] = "DOCUMENT_ELEMENT_TABLE_ROW"] = 13; - values[valuesById[15] = "DOCUMENT_ELEMENT_TEMPLATE"] = 15; - values[valuesById[16] = "DOCUMENT_ELEMENT_TEXT"] = 16; - values[valuesById[19] = "DOCUMENT_ELEMENT_COLOR_DEF"] = 19; - values[valuesById[30] = "DOCUMENT_ELEMENT_IMAGE"] = 30; - values[valuesById[34] = "DOCUMENT_ELEMENT_NAMED_STRING"] = 34; - values[valuesById[35] = "DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP"] = 35; - values[valuesById[36] = "DOCUMENT_ELEMENT_TABLE_CONFIG"] = 36; - values[valuesById[37] = "DOCUMENT_ELEMENT_TABLE_CELL_CONFIG"] = 37; - values[valuesById[38] = "DOCUMENT_ELEMENT_TABLE_ROW_CONFIG"] = 38; - values[valuesById[39] = "DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG"] = 39; - values[valuesById[40] = "DOCUMENT_ELEMENT_LINK"] = 40; - values[valuesById[41] = "DOCUMENT_ELEMENT_DIRECTORY"] = 41; - values[valuesById[42] = "DOCUMENT_ELEMENT_TEXT_BRICK"] = 42; - values[valuesById[44] = "DOCUMENT_ELEMENT_VARIABLE"] = 44; - values[valuesById[45] = "DOCUMENT_ELEMENT_SPACE_VERTICALLY"] = 45; - values[valuesById[46] = "DOCUMENT_ELEMENT_FORMATTED"] = 46; - values[valuesById[47] = "DOCUMENT_ELEMENT_APPLY_C_DEF"] = 47; - values[valuesById[48] = "DOCUMENT_ELEMENT_APPLY_P_DEF"] = 48; - values[valuesById[49] = "DOCUMENT_ELEMENT_APPLY_PT_CONFIG"] = 49; - values[valuesById[50] = "DOCUMENT_ELEMENT_APPLY_UL_CONFIG"] = 50; - values[valuesById[51] = "DOCUMENT_ELEMENT_C_DEF"] = 51; - values[valuesById[52] = "DOCUMENT_ELEMENT_P_DEF"] = 52; - values[valuesById[53] = "DOCUMENT_ELEMENT_PT_CONFIG"] = 53; - values[valuesById[54] = "DOCUMENT_ELEMENT_UL_CONFIG"] = 54; - values[valuesById[55] = "DOCUMENT_ELEMENT_NEW_PAGE"] = 55; - values[valuesById[56] = "DOCUMENT_ELEMENT_HEADER"] = 56; - values[valuesById[57] = "DOCUMENT_ELEMENT_FOOTER"] = 57; - values[valuesById[60] = "DOCUMENT_ELEMENT_INDENTATION"] = 60; - values[valuesById[61] = "DOCUMENT_ELEMENT_BARCODE"] = 61; - values[valuesById[62] = "DOCUMENT_ELEMENT_WS_AREA"] = 62; - values[valuesById[63] = "DOCUMENT_ELEMENT_CARRY_OVER"] = 63; - values[valuesById[64] = "DOCUMENT_ELEMENT_SUB_TOTAL"] = 64; - values[valuesById[65] = "DOCUMENT_ELEMENT_LOOP"] = 65; - values[valuesById[66] = "DOCUMENT_ELEMENT_LOOP_ENTRY"] = 66; - values[valuesById[67] = "DOCUMENT_ELEMENT_RULE"] = 67; - values[valuesById[68] = "DOCUMENT_ELEMENT_LIST_LEVEL_SETTING"] = 68; - values[valuesById[69] = "DOCUMENT_ELEMENT_LAYOUT"] = 69; - values[valuesById[70] = "DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA"] = 70; - values[valuesById[71] = "DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY"] = 71; - values[valuesById[72] = "DOCUMENT_ELEMENT_DOCTYPE_SCRIPT"] = 72; - values[valuesById[73] = "DOCUMENT_ELEMENT_DM_SCRIPT"] = 73; - values[valuesById[74] = "DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE"] = 74; - values[valuesById[75] = "DOCUMENT_ELEMENT_SELECTION"] = 75; - values[valuesById[76] = "DOCUMENT_ELEMENT_SELECTION_ENTRY"] = 76; - values[valuesById[77] = "DOCUMENT_ELEMENT_CONDITION"] = 77; - values[valuesById[78] = "DOCUMENT_ELEMENT_PAGE_CONDITION"] = 78; - values[valuesById[79] = "DOCUMENT_ELEMENT_LOCALE"] = 79; - values[valuesById[80] = "DOCUMENT_ELEMENT_TAG"] = 80; - values[valuesById[81] = "DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT"] = 81; - values[valuesById[82] = "DOCUMENT_ELEMENT_INPUT_FIELD_TEXT"] = 82; - values[valuesById[83] = "DOCUMENT_ELEMENT_INPUT_FIELD_DATE"] = 83; - values[valuesById[84] = "DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX"] = 84; - values[valuesById[85] = "DOCUMENT_ELEMENT_INPUT_FIELD_LABEL"] = 85; - values[valuesById[86] = "DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN"] = 86; - return values; -})(); - -/** - * ProtoImageScaleType enum. - * @name ProtoImageScaleType - * @enum {number} - * @property {number} IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL=0 IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL value - * @property {number} IMAGE_SCALE_TYPE_RELATIVE=1 IMAGE_SCALE_TYPE_RELATIVE value - * @property {number} IMAGE_SCALE_TYPE_ABSOLUTE=2 IMAGE_SCALE_TYPE_ABSOLUTE value - * @property {number} IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN=3 IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN value - */ -$root.ProtoImageScaleType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL"] = 0; - values[valuesById[1] = "IMAGE_SCALE_TYPE_RELATIVE"] = 1; - values[valuesById[2] = "IMAGE_SCALE_TYPE_ABSOLUTE"] = 2; - values[valuesById[3] = "IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN"] = 3; - return values; -})(); - -/** - * ProtoImageUAMode enum. - * @name ProtoImageUAMode - * @enum {number} - * @property {number} IMAGE_UA_MODE_DO_NOT_USE_AT_ALL=0 IMAGE_UA_MODE_DO_NOT_USE_AT_ALL value - * @property {number} IMAGE_UA_MODE_INHERITED=1 IMAGE_UA_MODE_INHERITED value - * @property {number} IMAGE_UA_MODE_SIMPLE=2 IMAGE_UA_MODE_SIMPLE value - * @property {number} IMAGE_UA_MODE_ADVANCED=3 IMAGE_UA_MODE_ADVANCED value - */ -$root.ProtoImageUAMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "IMAGE_UA_MODE_DO_NOT_USE_AT_ALL"] = 0; - values[valuesById[1] = "IMAGE_UA_MODE_INHERITED"] = 1; - values[valuesById[2] = "IMAGE_UA_MODE_SIMPLE"] = 2; - values[valuesById[3] = "IMAGE_UA_MODE_ADVANCED"] = 3; - return values; -})(); - -/** - * ProtoImageContentType enum. - * @name ProtoImageContentType - * @enum {number} - * @property {number} IMAGE_CONTENT_UUID_REFERENCE_INLINE=0 IMAGE_CONTENT_UUID_REFERENCE_INLINE value - * @property {number} IMAGE_CONTENT_UUID_REFERENCE_LOCAL=1 IMAGE_CONTENT_UUID_REFERENCE_LOCAL value - * @property {number} IMAGE_CONTENT_UUID_REFERENCE_GLOBAL=2 IMAGE_CONTENT_UUID_REFERENCE_GLOBAL value - * @property {number} IMAGE_CONTENT_DMSCRIPT=3 IMAGE_CONTENT_DMSCRIPT value - * @property {number} IMAGE_CONTENT_IMAGE_DATA=4 IMAGE_CONTENT_IMAGE_DATA value - */ -$root.ProtoImageContentType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "IMAGE_CONTENT_UUID_REFERENCE_INLINE"] = 0; - values[valuesById[1] = "IMAGE_CONTENT_UUID_REFERENCE_LOCAL"] = 1; - values[valuesById[2] = "IMAGE_CONTENT_UUID_REFERENCE_GLOBAL"] = 2; - values[valuesById[3] = "IMAGE_CONTENT_DMSCRIPT"] = 3; - values[valuesById[4] = "IMAGE_CONTENT_IMAGE_DATA"] = 4; - return values; -})(); - -$root.ProtoImage = (function() { - - /** - * Properties of a ProtoImage. - * @name IProtoImage - * @interface IProtoImage - * @property {IProtoDocumentElement|null} [parent] ProtoImage parent - * @property {string|null} [alt] ProtoImage alt - * @property {string|null} [name] ProtoImage name - * @property {string|null} [src] ProtoImage src - * @property {string|null} [filename] ProtoImage filename - * @property {IProtoBoxedDouble|null} [scale] ProtoImage scale - * @property {IProtoBoxedDouble|null} [columnScale] ProtoImage columnScale - * @property {IProtoBoxedMeasure|null} [width] ProtoImage width - * @property {IProtoBoxedMeasure|null} [height] ProtoImage height - * @property {IProtoBoxedMeasure|null} [x] ProtoImage x - * @property {IProtoBoxedMeasure|null} [y] ProtoImage y - * @property {IProtoBoxedBool|null} [positionAbsolute] ProtoImage positionAbsolute - * @property {number|null} [rotation] ProtoImage rotation - * @property {IProtoFlipSettings|null} [flipSettings] ProtoImage flipSettings - * @property {IProtoCropSettings|null} [cropSettings] ProtoImage cropSettings - * @property {IProtoAdvancedIllustrationAreaImageSettings|null} [aia] ProtoImage aia - * @property {string|null} [uuid] ProtoImage uuid - * @property {ProtoImageReferencePoint|null} [referencePoint] ProtoImage referencePoint - * @property {string|null} [hyperlink] ProtoImage hyperlink - * @property {Array.|null} [comChannelUUIDs] ProtoImage comChannelUUIDs - * @property {ProtoImageContentType|null} [imageContentType] ProtoImage imageContentType - * @property {string|null} [imageContent] ProtoImage imageContent - * @property {ProtoImageScaleType|null} [scaleType] ProtoImage scaleType - * @property {ProtoImageUAMode|null} [uaMode] ProtoImage uaMode - * @property {string|null} [uaDescription] ProtoImage uaDescription - * @property {IProtoBoxedBool|null} [leftBorderIsLeftMeasure] ProtoImage leftBorderIsLeftMeasure - */ - - /** - * Constructs a new ProtoImage. - * @name ProtoImage - * @classdesc Represents a ProtoImage. - * @implements IProtoImage - * @constructor - * @param {IProtoImage=} [properties] Properties to set - */ - function ProtoImage(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoImage parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.parent = null; - - /** - * ProtoImage alt. - * @member {string} alt - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.alt = ""; - - /** - * ProtoImage name. - * @member {string} name - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.name = ""; - - /** - * ProtoImage src. - * @member {string} src - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.src = ""; - - /** - * ProtoImage filename. - * @member {string} filename - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.filename = ""; - - /** - * ProtoImage scale. - * @member {IProtoBoxedDouble|null|undefined} scale - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.scale = null; - - /** - * ProtoImage columnScale. - * @member {IProtoBoxedDouble|null|undefined} columnScale - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.columnScale = null; - - /** - * ProtoImage width. - * @member {IProtoBoxedMeasure|null|undefined} width - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.width = null; - - /** - * ProtoImage height. - * @member {IProtoBoxedMeasure|null|undefined} height - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.height = null; - - /** - * ProtoImage x. - * @member {IProtoBoxedMeasure|null|undefined} x - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.x = null; - - /** - * ProtoImage y. - * @member {IProtoBoxedMeasure|null|undefined} y - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.y = null; - - /** - * ProtoImage positionAbsolute. - * @member {IProtoBoxedBool|null|undefined} positionAbsolute - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.positionAbsolute = null; - - /** - * ProtoImage rotation. - * @member {number} rotation - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.rotation = 0; - - /** - * ProtoImage flipSettings. - * @member {IProtoFlipSettings|null|undefined} flipSettings - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.flipSettings = null; - - /** - * ProtoImage cropSettings. - * @member {IProtoCropSettings|null|undefined} cropSettings - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.cropSettings = null; - - /** - * ProtoImage aia. - * @member {IProtoAdvancedIllustrationAreaImageSettings|null|undefined} aia - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.aia = null; - - /** - * ProtoImage uuid. - * @member {string} uuid - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.uuid = ""; - - /** - * ProtoImage referencePoint. - * @member {ProtoImageReferencePoint} referencePoint - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.referencePoint = 0; - - /** - * ProtoImage hyperlink. - * @member {string} hyperlink - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.hyperlink = ""; - - /** - * ProtoImage comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoImage imageContentType. - * @member {ProtoImageContentType} imageContentType - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.imageContentType = 0; - - /** - * ProtoImage imageContent. - * @member {string} imageContent - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.imageContent = ""; - - /** - * ProtoImage scaleType. - * @member {ProtoImageScaleType} scaleType - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.scaleType = 0; - - /** - * ProtoImage uaMode. - * @member {ProtoImageUAMode} uaMode - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.uaMode = 0; - - /** - * ProtoImage uaDescription. - * @member {string} uaDescription - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.uaDescription = ""; - - /** - * ProtoImage leftBorderIsLeftMeasure. - * @member {IProtoBoxedBool|null|undefined} leftBorderIsLeftMeasure - * @memberof ProtoImage - * @instance - */ - ProtoImage.prototype.leftBorderIsLeftMeasure = null; - - /** - * Creates a new ProtoImage instance using the specified properties. - * @function create - * @memberof ProtoImage - * @static - * @param {IProtoImage=} [properties] Properties to set - * @returns {ProtoImage} ProtoImage instance - */ - ProtoImage.create = function create(properties) { - return new ProtoImage(properties); - }; - - /** - * Encodes the specified ProtoImage message. Does not implicitly {@link ProtoImage.verify|verify} messages. - * @function encode - * @memberof ProtoImage - * @static - * @param {IProtoImage} message ProtoImage message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoImage.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.alt != null && Object.hasOwnProperty.call(message, "alt")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.alt); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); - if (message.src != null && Object.hasOwnProperty.call(message, "src")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.src); - if (message.filename != null && Object.hasOwnProperty.call(message, "filename")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.filename); - if (message.scale != null && Object.hasOwnProperty.call(message, "scale")) - $root.ProtoBoxedDouble.encode(message.scale, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.columnScale != null && Object.hasOwnProperty.call(message, "columnScale")) - $root.ProtoBoxedDouble.encode(message.columnScale, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $root.ProtoBoxedMeasure.encode(message.width, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - $root.ProtoBoxedMeasure.encode(message.height, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.x != null && Object.hasOwnProperty.call(message, "x")) - $root.ProtoBoxedMeasure.encode(message.x, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.y != null && Object.hasOwnProperty.call(message, "y")) - $root.ProtoBoxedMeasure.encode(message.y, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.positionAbsolute != null && Object.hasOwnProperty.call(message, "positionAbsolute")) - $root.ProtoBoxedBool.encode(message.positionAbsolute, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.rotation != null && Object.hasOwnProperty.call(message, "rotation")) - writer.uint32(/* id 13, wireType 1 =*/105).double(message.rotation); - if (message.flipSettings != null && Object.hasOwnProperty.call(message, "flipSettings")) - $root.ProtoFlipSettings.encode(message.flipSettings, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.cropSettings != null && Object.hasOwnProperty.call(message, "cropSettings")) - $root.ProtoCropSettings.encode(message.cropSettings, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim(); - if (message.aia != null && Object.hasOwnProperty.call(message, "aia")) - $root.ProtoAdvancedIllustrationAreaImageSettings.encode(message.aia, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 17, wireType 2 =*/138).string(message.uuid); - if (message.referencePoint != null && Object.hasOwnProperty.call(message, "referencePoint")) - writer.uint32(/* id 18, wireType 0 =*/144).int32(message.referencePoint); - if (message.hyperlink != null && Object.hasOwnProperty.call(message, "hyperlink")) - writer.uint32(/* id 19, wireType 2 =*/154).string(message.hyperlink); - if (message.comChannelUUIDs != null && message.comChannelUUIDs.length) - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - writer.uint32(/* id 20, wireType 2 =*/162).string(message.comChannelUUIDs[i]); - if (message.imageContentType != null && Object.hasOwnProperty.call(message, "imageContentType")) - writer.uint32(/* id 21, wireType 0 =*/168).int32(message.imageContentType); - if (message.imageContent != null && Object.hasOwnProperty.call(message, "imageContent")) - writer.uint32(/* id 22, wireType 2 =*/178).string(message.imageContent); - if (message.scaleType != null && Object.hasOwnProperty.call(message, "scaleType")) - writer.uint32(/* id 23, wireType 0 =*/184).int32(message.scaleType); - if (message.uaMode != null && Object.hasOwnProperty.call(message, "uaMode")) - writer.uint32(/* id 24, wireType 0 =*/192).int32(message.uaMode); - if (message.uaDescription != null && Object.hasOwnProperty.call(message, "uaDescription")) - 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(); - return writer; - }; - - /** - * Encodes the specified ProtoImage message, length delimited. Does not implicitly {@link ProtoImage.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoImage - * @static - * @param {IProtoImage} message ProtoImage message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoImage.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoImage message from the specified reader or buffer. - * @function decode - * @memberof ProtoImage - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoImage} ProtoImage - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoImage(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.alt = reader.string(); - break; - } - case 3: { - message.name = reader.string(); - break; - } - case 4: { - message.src = reader.string(); - break; - } - case 5: { - message.filename = reader.string(); - break; - } - case 6: { - message.scale = $root.ProtoBoxedDouble.decode(reader, reader.uint32()); - break; - } - case 7: { - message.columnScale = $root.ProtoBoxedDouble.decode(reader, reader.uint32()); - break; - } - case 8: { - message.width = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 9: { - message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 10: { - message.x = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 11: { - message.y = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 12: { - message.positionAbsolute = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 13: { - message.rotation = reader.double(); - break; - } - case 14: { - message.flipSettings = $root.ProtoFlipSettings.decode(reader, reader.uint32()); - break; - } - case 15: { - message.cropSettings = $root.ProtoCropSettings.decode(reader, reader.uint32()); - break; - } - case 16: { - message.aia = $root.ProtoAdvancedIllustrationAreaImageSettings.decode(reader, reader.uint32()); - break; - } - case 17: { - message.uuid = reader.string(); - break; - } - case 18: { - message.referencePoint = reader.int32(); - break; - } - case 19: { - message.hyperlink = reader.string(); - break; - } - case 20: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 21: { - message.imageContentType = reader.int32(); - break; - } - case 22: { - message.imageContent = reader.string(); - break; - } - case 23: { - message.scaleType = reader.int32(); - break; - } - case 24: { - message.uaMode = reader.int32(); - break; - } - case 25: { - message.uaDescription = reader.string(); - break; - } - case 26: { - message.leftBorderIsLeftMeasure = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoImage message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoImage - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoImage} ProtoImage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoImage.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoImage message. - * @function verify - * @memberof ProtoImage - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.alt != null && message.hasOwnProperty("alt")) - if (!$util.isString(message.alt)) - return "alt: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.src != null && message.hasOwnProperty("src")) - if (!$util.isString(message.src)) - return "src: string expected"; - if (message.filename != null && message.hasOwnProperty("filename")) - if (!$util.isString(message.filename)) - return "filename: string expected"; - if (message.scale != null && message.hasOwnProperty("scale")) { - 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); - if (error) - return "columnScale." + error; - } - if (message.width != null && message.hasOwnProperty("width")) { - 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); - if (error) - return "height." + error; - } - if (message.x != null && message.hasOwnProperty("x")) { - 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); - if (error) - return "y." + error; - } - if (message.positionAbsolute != null && message.hasOwnProperty("positionAbsolute")) { - var error = $root.ProtoBoxedBool.verify(message.positionAbsolute); - if (error) - return "positionAbsolute." + error; - } - if (message.rotation != null && message.hasOwnProperty("rotation")) - if (typeof message.rotation !== "number") - return "rotation: number expected"; - if (message.flipSettings != null && message.hasOwnProperty("flipSettings")) { - 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); - if (error) - return "cropSettings." + error; - } - if (message.aia != null && message.hasOwnProperty("aia")) { - var error = $root.ProtoAdvancedIllustrationAreaImageSettings.verify(message.aia); - if (error) - return "aia." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.referencePoint != null && message.hasOwnProperty("referencePoint")) - switch (message.referencePoint) { - default: - return "referencePoint: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; - } - if (message.hyperlink != null && message.hasOwnProperty("hyperlink")) - if (!$util.isString(message.hyperlink)) - return "hyperlink: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.imageContentType != null && message.hasOwnProperty("imageContentType")) - switch (message.imageContentType) { - default: - return "imageContentType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.imageContent != null && message.hasOwnProperty("imageContent")) - if (!$util.isString(message.imageContent)) - return "imageContent: string expected"; - if (message.scaleType != null && message.hasOwnProperty("scaleType")) - switch (message.scaleType) { - default: - return "scaleType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.uaMode != null && message.hasOwnProperty("uaMode")) - switch (message.uaMode) { - default: - return "uaMode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.uaDescription != null && message.hasOwnProperty("uaDescription")) - if (!$util.isString(message.uaDescription)) - return "uaDescription: string expected"; - if (message.leftBorderIsLeftMeasure != null && message.hasOwnProperty("leftBorderIsLeftMeasure")) { - var error = $root.ProtoBoxedBool.verify(message.leftBorderIsLeftMeasure); - if (error) - return "leftBorderIsLeftMeasure." + error; - } - return null; - }; - - /** - * Creates a ProtoImage message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoImage - * @static - * @param {Object.} object Plain object - * @returns {ProtoImage} ProtoImage - */ - ProtoImage.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoImage) - return object; - 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); - } - if (object.alt != null) - message.alt = String(object.alt); - if (object.name != null) - message.name = String(object.name); - if (object.src != null) - message.src = String(object.src); - if (object.filename != null) - 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); - } - if (object.columnScale != null) { - if (typeof object.columnScale !== "object") - throw TypeError(".ProtoImage.columnScale: object expected"); - 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); - } - if (object.height != null) { - if (typeof object.height !== "object") - throw TypeError(".ProtoImage.height: object expected"); - 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); - } - if (object.y != null) { - if (typeof object.y !== "object") - throw TypeError(".ProtoImage.y: object expected"); - 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); - } - if (object.rotation != null) - 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); - } - if (object.cropSettings != null) { - if (typeof object.cropSettings !== "object") - throw TypeError(".ProtoImage.cropSettings: object expected"); - 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); - } - if (object.uuid != null) - 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) - message.hyperlink = String(object.hyperlink); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoImage.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - 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) - 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) - 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); - } - return message; - }; - - /** - * Creates a plain object from a ProtoImage message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoImage - * @static - * @param {ProtoImage} message ProtoImage - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoImage.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.alt = ""; - object.name = ""; - object.src = ""; - object.filename = ""; - object.scale = null; - object.columnScale = null; - object.width = null; - object.height = null; - object.x = null; - object.y = null; - object.positionAbsolute = null; - object.rotation = 0; - object.flipSettings = null; - object.cropSettings = null; - object.aia = null; - object.uuid = ""; - object.referencePoint = options.enums === String ? "REF_POINT_DO_NOT_USE_AT_ALL" : 0; - object.hyperlink = ""; - object.imageContentType = options.enums === String ? "IMAGE_CONTENT_UUID_REFERENCE_INLINE" : 0; - object.imageContent = ""; - object.scaleType = options.enums === String ? "IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL" : 0; - object.uaMode = options.enums === String ? "IMAGE_UA_MODE_DO_NOT_USE_AT_ALL" : 0; - object.uaDescription = ""; - object.leftBorderIsLeftMeasure = null; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.alt != null && message.hasOwnProperty("alt")) - object.alt = message.alt; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.src != null && message.hasOwnProperty("src")) - object.src = message.src; - if (message.filename != null && message.hasOwnProperty("filename")) - object.filename = message.filename; - if (message.scale != null && message.hasOwnProperty("scale")) - object.scale = $root.ProtoBoxedDouble.toObject(message.scale, options); - if (message.columnScale != null && message.hasOwnProperty("columnScale")) - object.columnScale = $root.ProtoBoxedDouble.toObject(message.columnScale, options); - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoBoxedMeasure.toObject(message.width, options); - if (message.height != null && message.hasOwnProperty("height")) - object.height = $root.ProtoBoxedMeasure.toObject(message.height, options); - if (message.x != null && message.hasOwnProperty("x")) - object.x = $root.ProtoBoxedMeasure.toObject(message.x, options); - if (message.y != null && message.hasOwnProperty("y")) - object.y = $root.ProtoBoxedMeasure.toObject(message.y, options); - if (message.positionAbsolute != null && message.hasOwnProperty("positionAbsolute")) - object.positionAbsolute = $root.ProtoBoxedBool.toObject(message.positionAbsolute, options); - if (message.rotation != null && message.hasOwnProperty("rotation")) - object.rotation = options.json && !isFinite(message.rotation) ? String(message.rotation) : message.rotation; - if (message.flipSettings != null && message.hasOwnProperty("flipSettings")) - object.flipSettings = $root.ProtoFlipSettings.toObject(message.flipSettings, options); - if (message.cropSettings != null && message.hasOwnProperty("cropSettings")) - object.cropSettings = $root.ProtoCropSettings.toObject(message.cropSettings, options); - if (message.aia != null && message.hasOwnProperty("aia")) - object.aia = $root.ProtoAdvancedIllustrationAreaImageSettings.toObject(message.aia, options); - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.referencePoint != null && message.hasOwnProperty("referencePoint")) - object.referencePoint = options.enums === String ? $root.ProtoImageReferencePoint[message.referencePoint] === undefined ? message.referencePoint : $root.ProtoImageReferencePoint[message.referencePoint] : message.referencePoint; - if (message.hyperlink != null && message.hasOwnProperty("hyperlink")) - object.hyperlink = message.hyperlink; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.imageContentType != null && message.hasOwnProperty("imageContentType")) - object.imageContentType = options.enums === String ? $root.ProtoImageContentType[message.imageContentType] === undefined ? message.imageContentType : $root.ProtoImageContentType[message.imageContentType] : message.imageContentType; - if (message.imageContent != null && message.hasOwnProperty("imageContent")) - object.imageContent = message.imageContent; - if (message.scaleType != null && message.hasOwnProperty("scaleType")) - object.scaleType = options.enums === String ? $root.ProtoImageScaleType[message.scaleType] === undefined ? message.scaleType : $root.ProtoImageScaleType[message.scaleType] : message.scaleType; - if (message.uaMode != null && message.hasOwnProperty("uaMode")) - object.uaMode = options.enums === String ? $root.ProtoImageUAMode[message.uaMode] === undefined ? message.uaMode : $root.ProtoImageUAMode[message.uaMode] : message.uaMode; - if (message.uaDescription != null && message.hasOwnProperty("uaDescription")) - object.uaDescription = message.uaDescription; - if (message.leftBorderIsLeftMeasure != null && message.hasOwnProperty("leftBorderIsLeftMeasure")) - object.leftBorderIsLeftMeasure = $root.ProtoBoxedBool.toObject(message.leftBorderIsLeftMeasure, options); - return object; - }; - - /** - * Converts this ProtoImage to JSON. - * @function toJSON - * @memberof ProtoImage - * @instance - * @returns {Object.} JSON object - */ - ProtoImage.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoImage - * @function getTypeUrl - * @memberof ProtoImage - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoImage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoImage"; - }; - - return ProtoImage; -})(); - -$root.ProtoDirectory = (function() { - - /** - * Properties of a ProtoDirectory. - * @name IProtoDirectory - * @interface IProtoDirectory - * @property {Array.|null} [_children] ProtoDirectory _children - * @property {IProtoDocumentElement|null} [parent] ProtoDirectory parent - * @property {string|null} [uuid] ProtoDirectory uuid - * @property {Array.|null} [comChannelUUIDs] ProtoDirectory comChannelUUIDs - * @property {ProtoSemanticType|null} [semanticType] ProtoDirectory semanticType - * @property {boolean|null} [editable] ProtoDirectory editable - * @property {string|null} [name] ProtoDirectory name - */ - - /** - * Constructs a new ProtoDirectory. - * @name ProtoDirectory - * @classdesc Represents a ProtoDirectory. - * @implements IProtoDirectory - * @constructor - * @param {IProtoDirectory=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoDirectory _children. - * @member {Array.} _children - * @memberof ProtoDirectory - * @instance - */ - ProtoDirectory.prototype._children = $util.emptyArray; - - /** - * ProtoDirectory parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoDirectory - * @instance - */ - ProtoDirectory.prototype.parent = null; - - /** - * ProtoDirectory uuid. - * @member {string} uuid - * @memberof ProtoDirectory - * @instance - */ - ProtoDirectory.prototype.uuid = ""; - - /** - * ProtoDirectory comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoDirectory - * @instance - */ - ProtoDirectory.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoDirectory semanticType. - * @member {ProtoSemanticType} semanticType - * @memberof ProtoDirectory - * @instance - */ - ProtoDirectory.prototype.semanticType = 0; - - /** - * ProtoDirectory editable. - * @member {boolean} editable - * @memberof ProtoDirectory - * @instance - */ - ProtoDirectory.prototype.editable = false; - - /** - * ProtoDirectory name. - * @member {string} name - * @memberof ProtoDirectory - * @instance - */ - ProtoDirectory.prototype.name = ""; - - /** - * Creates a new ProtoDirectory instance using the specified properties. - * @function create - * @memberof ProtoDirectory - * @static - * @param {IProtoDirectory=} [properties] Properties to set - * @returns {ProtoDirectory} ProtoDirectory instance - */ - ProtoDirectory.create = function create(properties) { - return new ProtoDirectory(properties); - }; - - /** - * Encodes the specified ProtoDirectory message. Does not implicitly {@link ProtoDirectory.verify|verify} messages. - * @function encode - * @memberof ProtoDirectory - * @static - * @param {IProtoDirectory} message ProtoDirectory message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDirectory.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - 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.semanticType != null && Object.hasOwnProperty.call(message, "semanticType")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.semanticType); - if (message.editable != null && Object.hasOwnProperty.call(message, "editable")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoDirectory message, length delimited. Does not implicitly {@link ProtoDirectory.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoDirectory - * @static - * @param {IProtoDirectory} message ProtoDirectory message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDirectory.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoDirectory message from the specified reader or buffer. - * @function decode - * @memberof ProtoDirectory - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoDirectory} ProtoDirectory - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDirectory(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.semanticType = reader.int32(); - break; - } - case 6: { - message.editable = reader.bool(); - break; - } - case 7: { - message.name = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoDirectory message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoDirectory - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoDirectory} ProtoDirectory - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoDirectory.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoDirectory message. - * @function verify - * @memberof ProtoDirectory - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.semanticType != null && message.hasOwnProperty("semanticType")) - switch (message.semanticType) { - default: - return "semanticType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.editable != null && message.hasOwnProperty("editable")) - if (typeof message.editable !== "boolean") - return "editable: boolean expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - return null; - }; - - /** - * Creates a ProtoDirectory message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoDirectory - * @static - * @param {Object.} object Plain object - * @returns {ProtoDirectory} ProtoDirectory - */ - ProtoDirectory.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoDirectory) - return object; - var message = new $root.ProtoDirectory(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoDirectory._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoDirectory.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoDirectory.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - 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) - message.editable = Boolean(object.editable); - if (object.name != null) - message.name = String(object.name); - return message; - }; - - /** - * Creates a plain object from a ProtoDirectory message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoDirectory - * @static - * @param {ProtoDirectory} message ProtoDirectory - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoDirectory.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.semanticType = options.enums === String ? "SEMANTIC_TYPE_NONE" : 0; - object.editable = false; - object.name = ""; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.semanticType != null && message.hasOwnProperty("semanticType")) - object.semanticType = options.enums === String ? $root.ProtoSemanticType[message.semanticType] === undefined ? message.semanticType : $root.ProtoSemanticType[message.semanticType] : message.semanticType; - if (message.editable != null && message.hasOwnProperty("editable")) - object.editable = message.editable; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - return object; - }; - - /** - * Converts this ProtoDirectory to JSON. - * @function toJSON - * @memberof ProtoDirectory - * @instance - * @returns {Object.} JSON object - */ - ProtoDirectory.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoDirectory - * @function getTypeUrl - * @memberof ProtoDirectory - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoDirectory.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoDirectory"; - }; - - return ProtoDirectory; -})(); - -$root.ProtoTextBrick = (function() { - - /** - * Properties of a ProtoTextBrick. - * @name IProtoTextBrick - * @interface IProtoTextBrick - * @property {Array.|null} [_children] ProtoTextBrick _children - * @property {IProtoDocumentElement|null} [parent] ProtoTextBrick parent - * @property {string|null} [uuid] ProtoTextBrick uuid - * @property {number|Long|null} [id] ProtoTextBrick id - * @property {Array.|null} [comChannelUUIDs] ProtoTextBrick comChannelUUIDs - * @property {boolean|null} [editable] ProtoTextBrick editable - * @property {string|null} [name] ProtoTextBrick name - */ - - /** - * Constructs a new ProtoTextBrick. - * @name ProtoTextBrick - * @classdesc Represents a ProtoTextBrick. - * @implements IProtoTextBrick - * @constructor - * @param {IProtoTextBrick=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTextBrick _children. - * @member {Array.} _children - * @memberof ProtoTextBrick - * @instance - */ - ProtoTextBrick.prototype._children = $util.emptyArray; - - /** - * ProtoTextBrick parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTextBrick - * @instance - */ - ProtoTextBrick.prototype.parent = null; - - /** - * ProtoTextBrick uuid. - * @member {string} uuid - * @memberof ProtoTextBrick - * @instance - */ - ProtoTextBrick.prototype.uuid = ""; - - /** - * ProtoTextBrick id. - * @member {number|Long} id - * @memberof ProtoTextBrick - * @instance - */ - ProtoTextBrick.prototype.id = $util.Long ? $util.Long.fromBits(0,0,true) : 0; - - /** - * ProtoTextBrick comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTextBrick - * @instance - */ - ProtoTextBrick.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoTextBrick editable. - * @member {boolean} editable - * @memberof ProtoTextBrick - * @instance - */ - ProtoTextBrick.prototype.editable = false; - - /** - * ProtoTextBrick name. - * @member {string} name - * @memberof ProtoTextBrick - * @instance - */ - ProtoTextBrick.prototype.name = ""; - - /** - * Creates a new ProtoTextBrick instance using the specified properties. - * @function create - * @memberof ProtoTextBrick - * @static - * @param {IProtoTextBrick=} [properties] Properties to set - * @returns {ProtoTextBrick} ProtoTextBrick instance - */ - ProtoTextBrick.create = function create(properties) { - return new ProtoTextBrick(properties); - }; - - /** - * Encodes the specified ProtoTextBrick message. Does not implicitly {@link ProtoTextBrick.verify|verify} messages. - * @function encode - * @memberof ProtoTextBrick - * @static - * @param {IProtoTextBrick} message ProtoTextBrick message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTextBrick.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.id); - 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.editable != null && Object.hasOwnProperty.call(message, "editable")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoTextBrick message, length delimited. Does not implicitly {@link ProtoTextBrick.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTextBrick - * @static - * @param {IProtoTextBrick} message ProtoTextBrick message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTextBrick.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTextBrick message from the specified reader or buffer. - * @function decode - * @memberof ProtoTextBrick - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTextBrick} ProtoTextBrick - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTextBrick(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - message.id = reader.uint64(); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 6: { - message.editable = reader.bool(); - break; - } - case 7: { - message.name = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTextBrick message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTextBrick - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTextBrick} ProtoTextBrick - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTextBrick.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTextBrick message. - * @function verify - * @memberof ProtoTextBrick - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isInteger(message.id) && !(message.id && $util.isInteger(message.id.low) && $util.isInteger(message.id.high))) - return "id: integer|Long expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.editable != null && message.hasOwnProperty("editable")) - if (typeof message.editable !== "boolean") - return "editable: boolean expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - return null; - }; - - /** - * Creates a ProtoTextBrick message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTextBrick - * @static - * @param {Object.} object Plain object - * @returns {ProtoTextBrick} ProtoTextBrick - */ - ProtoTextBrick.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTextBrick) - return object; - var message = new $root.ProtoTextBrick(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoTextBrick._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoTextBrick.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.id != null) - 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 = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - if (object.editable != null) - message.editable = Boolean(object.editable); - if (object.name != null) - message.name = String(object.name); - return message; - }; - - /** - * Creates a plain object from a ProtoTextBrick message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTextBrick - * @static - * @param {ProtoTextBrick} message ProtoTextBrick - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTextBrick.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - if ($util.Long) { - var long = new $util.Long(0, 0, true); - object.id = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.id = options.longs === String ? "0" : 0; - object.editable = false; - object.name = ""; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.id != null && message.hasOwnProperty("id")) - if (typeof message.id === "number") - object.id = options.longs === String ? String(message.id) : message.id; - 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.editable != null && message.hasOwnProperty("editable")) - object.editable = message.editable; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - return object; - }; - - /** - * Converts this ProtoTextBrick to JSON. - * @function toJSON - * @memberof ProtoTextBrick - * @instance - * @returns {Object.} JSON object - */ - ProtoTextBrick.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTextBrick - * @function getTypeUrl - * @memberof ProtoTextBrick - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTextBrick.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTextBrick"; - }; - - return ProtoTextBrick; -})(); - -$root.ProtoVariable = (function() { - - /** - * Properties of a ProtoVariable. - * @name IProtoVariable - * @interface IProtoVariable - * @property {IProtoDocumentElement|null} [parent] ProtoVariable parent - * @property {string|null} [path] ProtoVariable path - * @property {string|null} [content] ProtoVariable content - * @property {string|null} [formatUuid] ProtoVariable formatUuid - * @property {ProtoVariableSpecialType|null} [specialType] ProtoVariable specialType - * @property {string|null} [uuid] ProtoVariable uuid - * @property {Array.|null} [comChannelUUIDs] ProtoVariable comChannelUUIDs - */ - - /** - * Constructs a new ProtoVariable. - * @name ProtoVariable - * @classdesc Represents a ProtoVariable. - * @implements IProtoVariable - * @constructor - * @param {IProtoVariable=} [properties] Properties to set - */ - function ProtoVariable(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoVariable parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoVariable - * @instance - */ - ProtoVariable.prototype.parent = null; - - /** - * ProtoVariable path. - * @member {string} path - * @memberof ProtoVariable - * @instance - */ - ProtoVariable.prototype.path = ""; - - /** - * ProtoVariable content. - * @member {string} content - * @memberof ProtoVariable - * @instance - */ - ProtoVariable.prototype.content = ""; - - /** - * ProtoVariable formatUuid. - * @member {string} formatUuid - * @memberof ProtoVariable - * @instance - */ - ProtoVariable.prototype.formatUuid = ""; - - /** - * ProtoVariable specialType. - * @member {ProtoVariableSpecialType} specialType - * @memberof ProtoVariable - * @instance - */ - ProtoVariable.prototype.specialType = 0; - - /** - * ProtoVariable uuid. - * @member {string} uuid - * @memberof ProtoVariable - * @instance - */ - ProtoVariable.prototype.uuid = ""; - - /** - * ProtoVariable comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoVariable - * @instance - */ - ProtoVariable.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoVariable instance using the specified properties. - * @function create - * @memberof ProtoVariable - * @static - * @param {IProtoVariable=} [properties] Properties to set - * @returns {ProtoVariable} ProtoVariable instance - */ - ProtoVariable.create = function create(properties) { - return new ProtoVariable(properties); - }; - - /** - * Encodes the specified ProtoVariable message. Does not implicitly {@link ProtoVariable.verify|verify} messages. - * @function encode - * @memberof ProtoVariable - * @static - * @param {IProtoVariable} message ProtoVariable message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoVariable.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.path != null && Object.hasOwnProperty.call(message, "path")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.path); - if (message.content != null && Object.hasOwnProperty.call(message, "content")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.content); - if (message.formatUuid != null && Object.hasOwnProperty.call(message, "formatUuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.formatUuid); - if (message.specialType != null && Object.hasOwnProperty.call(message, "specialType")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.specialType); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoVariable message, length delimited. Does not implicitly {@link ProtoVariable.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoVariable - * @static - * @param {IProtoVariable} message ProtoVariable message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoVariable.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoVariable message from the specified reader or buffer. - * @function decode - * @memberof ProtoVariable - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoVariable} ProtoVariable - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoVariable(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.path = reader.string(); - break; - } - case 3: { - message.content = reader.string(); - break; - } - case 4: { - message.formatUuid = reader.string(); - break; - } - case 5: { - message.specialType = reader.int32(); - break; - } - case 6: { - message.uuid = reader.string(); - break; - } - case 7: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoVariable message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoVariable - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoVariable} ProtoVariable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoVariable.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoVariable message. - * @function verify - * @memberof ProtoVariable - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.path != null && message.hasOwnProperty("path")) - if (!$util.isString(message.path)) - return "path: string expected"; - if (message.content != null && message.hasOwnProperty("content")) - if (!$util.isString(message.content)) - return "content: string expected"; - if (message.formatUuid != null && message.hasOwnProperty("formatUuid")) - if (!$util.isString(message.formatUuid)) - return "formatUuid: string expected"; - if (message.specialType != null && message.hasOwnProperty("specialType")) - switch (message.specialType) { - default: - return "specialType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - break; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoVariable message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoVariable - * @static - * @param {Object.} object Plain object - * @returns {ProtoVariable} ProtoVariable - */ - ProtoVariable.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoVariable) - return object; - 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); - } - if (object.path != null) - message.path = String(object.path); - if (object.content != null) - message.content = String(object.content); - if (object.formatUuid != null) - 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) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoVariable.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoVariable message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoVariable - * @static - * @param {ProtoVariable} message ProtoVariable - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoVariable.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.path = ""; - object.content = ""; - object.formatUuid = ""; - object.specialType = options.enums === String ? "NOT_SPECIAL" : 0; - object.uuid = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.path != null && message.hasOwnProperty("path")) - object.path = message.path; - if (message.content != null && message.hasOwnProperty("content")) - object.content = message.content; - if (message.formatUuid != null && message.hasOwnProperty("formatUuid")) - object.formatUuid = message.formatUuid; - if (message.specialType != null && message.hasOwnProperty("specialType")) - object.specialType = options.enums === String ? $root.ProtoVariableSpecialType[message.specialType] === undefined ? message.specialType : $root.ProtoVariableSpecialType[message.specialType] : message.specialType; - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoVariable to JSON. - * @function toJSON - * @memberof ProtoVariable - * @instance - * @returns {Object.} JSON object - */ - ProtoVariable.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoVariable - * @function getTypeUrl - * @memberof ProtoVariable - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoVariable.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoVariable"; - }; - - return ProtoVariable; -})(); - -/** - * ProtoVariableSpecialType enum. - * @name ProtoVariableSpecialType - * @enum {number} - * @property {number} NOT_SPECIAL=0 NOT_SPECIAL value - * @property {number} TABLE_NUMBER=1 TABLE_NUMBER value - * @property {number} DOC_PAGE_COUNT=2 DOC_PAGE_COUNT value - * @property {number} DOC_CUR_PAGE=3 DOC_CUR_PAGE value - * @property {number} CUR_PAGE=4 CUR_PAGE value - * @property {number} PAGE_COUNT=5 PAGE_COUNT value - * @property {number} PREV_PAGE=6 PREV_PAGE value - * @property {number} SECTION_PAGE=7 SECTION_PAGE value - * @property {number} UPDATED_AT=8 UPDATED_AT value - * @property {number} GENERATED_AT=9 GENERATED_AT value - */ -$root.ProtoVariableSpecialType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NOT_SPECIAL"] = 0; - values[valuesById[1] = "TABLE_NUMBER"] = 1; - values[valuesById[2] = "DOC_PAGE_COUNT"] = 2; - values[valuesById[3] = "DOC_CUR_PAGE"] = 3; - values[valuesById[4] = "CUR_PAGE"] = 4; - values[valuesById[5] = "PAGE_COUNT"] = 5; - values[valuesById[6] = "PREV_PAGE"] = 6; - values[valuesById[7] = "SECTION_PAGE"] = 7; - values[valuesById[8] = "UPDATED_AT"] = 8; - values[valuesById[9] = "GENERATED_AT"] = 9; - return values; -})(); - -$root.ProtoFormatted = (function() { - - /** - * Properties of a ProtoFormatted. - * @name IProtoFormatted - * @interface IProtoFormatted - * @property {IProtoDocumentElement|null} [parent] ProtoFormatted parent - * @property {boolean|null} [dteditorSyntax] ProtoFormatted dteditorSyntax - * @property {string|null} [doctypeContent] ProtoFormatted doctypeContent - * @property {string|null} [doctypeCode] ProtoFormatted doctypeCode - * @property {string|null} [htmlContent] ProtoFormatted htmlContent - * @property {string|null} [htmlCode] ProtoFormatted htmlCode - * @property {string|null} [textContent] ProtoFormatted textContent - * @property {string|null} [textCode] ProtoFormatted textCode - * @property {Array.|null} [comChannelUUIDs] ProtoFormatted comChannelUUIDs - */ - - /** - * Constructs a new ProtoFormatted. - * @name ProtoFormatted - * @classdesc Represents a ProtoFormatted. - * @implements IProtoFormatted - * @constructor - * @param {IProtoFormatted=} [properties] Properties to set - */ - function ProtoFormatted(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoFormatted parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.parent = null; - - /** - * ProtoFormatted dteditorSyntax. - * @member {boolean} dteditorSyntax - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.dteditorSyntax = false; - - /** - * ProtoFormatted doctypeContent. - * @member {string} doctypeContent - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.doctypeContent = ""; - - /** - * ProtoFormatted doctypeCode. - * @member {string} doctypeCode - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.doctypeCode = ""; - - /** - * ProtoFormatted htmlContent. - * @member {string} htmlContent - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.htmlContent = ""; - - /** - * ProtoFormatted htmlCode. - * @member {string} htmlCode - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.htmlCode = ""; - - /** - * ProtoFormatted textContent. - * @member {string} textContent - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.textContent = ""; - - /** - * ProtoFormatted textCode. - * @member {string} textCode - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.textCode = ""; - - /** - * ProtoFormatted comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoFormatted - * @instance - */ - ProtoFormatted.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoFormatted instance using the specified properties. - * @function create - * @memberof ProtoFormatted - * @static - * @param {IProtoFormatted=} [properties] Properties to set - * @returns {ProtoFormatted} ProtoFormatted instance - */ - ProtoFormatted.create = function create(properties) { - return new ProtoFormatted(properties); - }; - - /** - * Encodes the specified ProtoFormatted message. Does not implicitly {@link ProtoFormatted.verify|verify} messages. - * @function encode - * @memberof ProtoFormatted - * @static - * @param {IProtoFormatted} message ProtoFormatted message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoFormatted.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.dteditorSyntax != null && Object.hasOwnProperty.call(message, "dteditorSyntax")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.dteditorSyntax); - if (message.doctypeContent != null && Object.hasOwnProperty.call(message, "doctypeContent")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.doctypeContent); - if (message.doctypeCode != null && Object.hasOwnProperty.call(message, "doctypeCode")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.doctypeCode); - if (message.htmlContent != null && Object.hasOwnProperty.call(message, "htmlContent")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.htmlContent); - if (message.htmlCode != null && Object.hasOwnProperty.call(message, "htmlCode")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.htmlCode); - if (message.textContent != null && Object.hasOwnProperty.call(message, "textContent")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.textContent); - if (message.textCode != null && Object.hasOwnProperty.call(message, "textCode")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.textCode); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoFormatted message, length delimited. Does not implicitly {@link ProtoFormatted.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoFormatted - * @static - * @param {IProtoFormatted} message ProtoFormatted message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoFormatted.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoFormatted message from the specified reader or buffer. - * @function decode - * @memberof ProtoFormatted - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoFormatted} ProtoFormatted - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoFormatted(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.dteditorSyntax = reader.bool(); - break; - } - case 3: { - message.doctypeContent = reader.string(); - break; - } - case 4: { - message.doctypeCode = reader.string(); - break; - } - case 5: { - message.htmlContent = reader.string(); - break; - } - case 6: { - message.htmlCode = reader.string(); - break; - } - case 7: { - message.textContent = reader.string(); - break; - } - case 8: { - message.textCode = reader.string(); - break; - } - case 9: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoFormatted message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoFormatted - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoFormatted} ProtoFormatted - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoFormatted.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoFormatted message. - * @function verify - * @memberof ProtoFormatted - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.dteditorSyntax != null && message.hasOwnProperty("dteditorSyntax")) - if (typeof message.dteditorSyntax !== "boolean") - return "dteditorSyntax: boolean expected"; - if (message.doctypeContent != null && message.hasOwnProperty("doctypeContent")) - if (!$util.isString(message.doctypeContent)) - return "doctypeContent: string expected"; - if (message.doctypeCode != null && message.hasOwnProperty("doctypeCode")) - if (!$util.isString(message.doctypeCode)) - return "doctypeCode: string expected"; - if (message.htmlContent != null && message.hasOwnProperty("htmlContent")) - if (!$util.isString(message.htmlContent)) - return "htmlContent: string expected"; - if (message.htmlCode != null && message.hasOwnProperty("htmlCode")) - if (!$util.isString(message.htmlCode)) - return "htmlCode: string expected"; - if (message.textContent != null && message.hasOwnProperty("textContent")) - if (!$util.isString(message.textContent)) - return "textContent: string expected"; - if (message.textCode != null && message.hasOwnProperty("textCode")) - if (!$util.isString(message.textCode)) - return "textCode: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoFormatted message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoFormatted - * @static - * @param {Object.} object Plain object - * @returns {ProtoFormatted} ProtoFormatted - */ - ProtoFormatted.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoFormatted) - return object; - 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); - } - if (object.dteditorSyntax != null) - message.dteditorSyntax = Boolean(object.dteditorSyntax); - if (object.doctypeContent != null) - message.doctypeContent = String(object.doctypeContent); - if (object.doctypeCode != null) - message.doctypeCode = String(object.doctypeCode); - if (object.htmlContent != null) - message.htmlContent = String(object.htmlContent); - if (object.htmlCode != null) - message.htmlCode = String(object.htmlCode); - if (object.textContent != null) - message.textContent = String(object.textContent); - if (object.textCode != null) - message.textCode = String(object.textCode); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoFormatted.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoFormatted message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoFormatted - * @static - * @param {ProtoFormatted} message ProtoFormatted - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoFormatted.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.dteditorSyntax = false; - object.doctypeContent = ""; - object.doctypeCode = ""; - object.htmlContent = ""; - object.htmlCode = ""; - object.textContent = ""; - object.textCode = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.dteditorSyntax != null && message.hasOwnProperty("dteditorSyntax")) - object.dteditorSyntax = message.dteditorSyntax; - if (message.doctypeContent != null && message.hasOwnProperty("doctypeContent")) - object.doctypeContent = message.doctypeContent; - if (message.doctypeCode != null && message.hasOwnProperty("doctypeCode")) - object.doctypeCode = message.doctypeCode; - if (message.htmlContent != null && message.hasOwnProperty("htmlContent")) - object.htmlContent = message.htmlContent; - if (message.htmlCode != null && message.hasOwnProperty("htmlCode")) - object.htmlCode = message.htmlCode; - if (message.textContent != null && message.hasOwnProperty("textContent")) - object.textContent = message.textContent; - if (message.textCode != null && message.hasOwnProperty("textCode")) - object.textCode = message.textCode; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoFormatted to JSON. - * @function toJSON - * @memberof ProtoFormatted - * @instance - * @returns {Object.} JSON object - */ - ProtoFormatted.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoFormatted - * @function getTypeUrl - * @memberof ProtoFormatted - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoFormatted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoFormatted"; - }; - - return ProtoFormatted; -})(); - -$root.ProtoApplyProtoCDef = (function() { - - /** - * Properties of a ProtoApplyProtoCDef. - * @name IProtoApplyProtoCDef - * @interface IProtoApplyProtoCDef - * @property {string|null} [cDefUuid] ProtoApplyProtoCDef cDefUuid - * @property {Array.|null} [comChannelUUIDs] ProtoApplyProtoCDef comChannelUUIDs - */ - - /** - * Constructs a new ProtoApplyProtoCDef. - * @name ProtoApplyProtoCDef - * @classdesc Represents a ProtoApplyProtoCDef. - * @implements IProtoApplyProtoCDef - * @constructor - * @param {IProtoApplyProtoCDef=} [properties] Properties to set - */ - function ProtoApplyProtoCDef(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoApplyProtoCDef cDefUuid. - * @member {string} cDefUuid - * @memberof ProtoApplyProtoCDef - * @instance - */ - ProtoApplyProtoCDef.prototype.cDefUuid = ""; - - /** - * ProtoApplyProtoCDef comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoApplyProtoCDef - * @instance - */ - ProtoApplyProtoCDef.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoApplyProtoCDef instance using the specified properties. - * @function create - * @memberof ProtoApplyProtoCDef - * @static - * @param {IProtoApplyProtoCDef=} [properties] Properties to set - * @returns {ProtoApplyProtoCDef} ProtoApplyProtoCDef instance - */ - ProtoApplyProtoCDef.create = function create(properties) { - return new ProtoApplyProtoCDef(properties); - }; - - /** - * Encodes the specified ProtoApplyProtoCDef message. Does not implicitly {@link ProtoApplyProtoCDef.verify|verify} messages. - * @function encode - * @memberof ProtoApplyProtoCDef - * @static - * @param {IProtoApplyProtoCDef} message ProtoApplyProtoCDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoApplyProtoCDef.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.cDefUuid != null && Object.hasOwnProperty.call(message, "cDefUuid")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.cDefUuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoApplyProtoCDef message, length delimited. Does not implicitly {@link ProtoApplyProtoCDef.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoApplyProtoCDef - * @static - * @param {IProtoApplyProtoCDef} message ProtoApplyProtoCDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoApplyProtoCDef.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoApplyProtoCDef message from the specified reader or buffer. - * @function decode - * @memberof ProtoApplyProtoCDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoApplyProtoCDef} ProtoApplyProtoCDef - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoApplyProtoCDef(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.cDefUuid = reader.string(); - break; - } - case 2: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoApplyProtoCDef message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoApplyProtoCDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoApplyProtoCDef} ProtoApplyProtoCDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoApplyProtoCDef.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoApplyProtoCDef message. - * @function verify - * @memberof ProtoApplyProtoCDef - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) - if (!$util.isString(message.cDefUuid)) - return "cDefUuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoApplyProtoCDef message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoApplyProtoCDef - * @static - * @param {Object.} object Plain object - * @returns {ProtoApplyProtoCDef} ProtoApplyProtoCDef - */ - ProtoApplyProtoCDef.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoApplyProtoCDef) - return object; - var message = new $root.ProtoApplyProtoCDef(); - if (object.cDefUuid != null) - message.cDefUuid = String(object.cDefUuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoApplyProtoCDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoApplyProtoCDef message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoApplyProtoCDef - * @static - * @param {ProtoApplyProtoCDef} message ProtoApplyProtoCDef - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoApplyProtoCDef.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) - object.cDefUuid = ""; - if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) - object.cDefUuid = message.cDefUuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoApplyProtoCDef to JSON. - * @function toJSON - * @memberof ProtoApplyProtoCDef - * @instance - * @returns {Object.} JSON object - */ - ProtoApplyProtoCDef.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoApplyProtoCDef - * @function getTypeUrl - * @memberof ProtoApplyProtoCDef - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoApplyProtoCDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoApplyProtoCDef"; - }; - - return ProtoApplyProtoCDef; -})(); - -$root.ProtoApplyProtoPDef = (function() { - - /** - * Properties of a ProtoApplyProtoPDef. - * @name IProtoApplyProtoPDef - * @interface IProtoApplyProtoPDef - * @property {string|null} [pDefUuid] ProtoApplyProtoPDef pDefUuid - * @property {Array.|null} [comChannelUUIDs] ProtoApplyProtoPDef comChannelUUIDs - */ - - /** - * Constructs a new ProtoApplyProtoPDef. - * @name ProtoApplyProtoPDef - * @classdesc Represents a ProtoApplyProtoPDef. - * @implements IProtoApplyProtoPDef - * @constructor - * @param {IProtoApplyProtoPDef=} [properties] Properties to set - */ - function ProtoApplyProtoPDef(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoApplyProtoPDef pDefUuid. - * @member {string} pDefUuid - * @memberof ProtoApplyProtoPDef - * @instance - */ - ProtoApplyProtoPDef.prototype.pDefUuid = ""; - - /** - * ProtoApplyProtoPDef comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoApplyProtoPDef - * @instance - */ - ProtoApplyProtoPDef.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoApplyProtoPDef instance using the specified properties. - * @function create - * @memberof ProtoApplyProtoPDef - * @static - * @param {IProtoApplyProtoPDef=} [properties] Properties to set - * @returns {ProtoApplyProtoPDef} ProtoApplyProtoPDef instance - */ - ProtoApplyProtoPDef.create = function create(properties) { - return new ProtoApplyProtoPDef(properties); - }; - - /** - * Encodes the specified ProtoApplyProtoPDef message. Does not implicitly {@link ProtoApplyProtoPDef.verify|verify} messages. - * @function encode - * @memberof ProtoApplyProtoPDef - * @static - * @param {IProtoApplyProtoPDef} message ProtoApplyProtoPDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoApplyProtoPDef.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.pDefUuid != null && Object.hasOwnProperty.call(message, "pDefUuid")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.pDefUuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoApplyProtoPDef message, length delimited. Does not implicitly {@link ProtoApplyProtoPDef.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoApplyProtoPDef - * @static - * @param {IProtoApplyProtoPDef} message ProtoApplyProtoPDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoApplyProtoPDef.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoApplyProtoPDef message from the specified reader or buffer. - * @function decode - * @memberof ProtoApplyProtoPDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoApplyProtoPDef} ProtoApplyProtoPDef - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoApplyProtoPDef(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.pDefUuid = reader.string(); - break; - } - case 2: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoApplyProtoPDef message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoApplyProtoPDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoApplyProtoPDef} ProtoApplyProtoPDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoApplyProtoPDef.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoApplyProtoPDef message. - * @function verify - * @memberof ProtoApplyProtoPDef - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.pDefUuid != null && message.hasOwnProperty("pDefUuid")) - if (!$util.isString(message.pDefUuid)) - return "pDefUuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoApplyProtoPDef message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoApplyProtoPDef - * @static - * @param {Object.} object Plain object - * @returns {ProtoApplyProtoPDef} ProtoApplyProtoPDef - */ - ProtoApplyProtoPDef.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoApplyProtoPDef) - return object; - var message = new $root.ProtoApplyProtoPDef(); - if (object.pDefUuid != null) - message.pDefUuid = String(object.pDefUuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoApplyProtoPDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoApplyProtoPDef message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoApplyProtoPDef - * @static - * @param {ProtoApplyProtoPDef} message ProtoApplyProtoPDef - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoApplyProtoPDef.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) - object.pDefUuid = ""; - if (message.pDefUuid != null && message.hasOwnProperty("pDefUuid")) - object.pDefUuid = message.pDefUuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoApplyProtoPDef to JSON. - * @function toJSON - * @memberof ProtoApplyProtoPDef - * @instance - * @returns {Object.} JSON object - */ - ProtoApplyProtoPDef.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoApplyProtoPDef - * @function getTypeUrl - * @memberof ProtoApplyProtoPDef - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoApplyProtoPDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoApplyProtoPDef"; - }; - - return ProtoApplyProtoPDef; -})(); - -$root.ProtoApplyPtConfig = (function() { - - /** - * Properties of a ProtoApplyPtConfig. - * @name IProtoApplyPtConfig - * @interface IProtoApplyPtConfig - * @property {string|null} [ptConfigUuid] ProtoApplyPtConfig ptConfigUuid - * @property {Array.|null} [comChannelUUIDs] ProtoApplyPtConfig comChannelUUIDs - */ - - /** - * Constructs a new ProtoApplyPtConfig. - * @name ProtoApplyPtConfig - * @classdesc Represents a ProtoApplyPtConfig. - * @implements IProtoApplyPtConfig - * @constructor - * @param {IProtoApplyPtConfig=} [properties] Properties to set - */ - function ProtoApplyPtConfig(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoApplyPtConfig ptConfigUuid. - * @member {string} ptConfigUuid - * @memberof ProtoApplyPtConfig - * @instance - */ - ProtoApplyPtConfig.prototype.ptConfigUuid = ""; - - /** - * ProtoApplyPtConfig comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoApplyPtConfig - * @instance - */ - ProtoApplyPtConfig.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoApplyPtConfig instance using the specified properties. - * @function create - * @memberof ProtoApplyPtConfig - * @static - * @param {IProtoApplyPtConfig=} [properties] Properties to set - * @returns {ProtoApplyPtConfig} ProtoApplyPtConfig instance - */ - ProtoApplyPtConfig.create = function create(properties) { - return new ProtoApplyPtConfig(properties); - }; - - /** - * Encodes the specified ProtoApplyPtConfig message. Does not implicitly {@link ProtoApplyPtConfig.verify|verify} messages. - * @function encode - * @memberof ProtoApplyPtConfig - * @static - * @param {IProtoApplyPtConfig} message ProtoApplyPtConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoApplyPtConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.ptConfigUuid != null && Object.hasOwnProperty.call(message, "ptConfigUuid")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.ptConfigUuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoApplyPtConfig message, length delimited. Does not implicitly {@link ProtoApplyPtConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoApplyPtConfig - * @static - * @param {IProtoApplyPtConfig} message ProtoApplyPtConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoApplyPtConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoApplyPtConfig message from the specified reader or buffer. - * @function decode - * @memberof ProtoApplyPtConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoApplyPtConfig} ProtoApplyPtConfig - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoApplyPtConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.ptConfigUuid = reader.string(); - break; - } - case 2: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoApplyPtConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoApplyPtConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoApplyPtConfig} ProtoApplyPtConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoApplyPtConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoApplyPtConfig message. - * @function verify - * @memberof ProtoApplyPtConfig - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.ptConfigUuid != null && message.hasOwnProperty("ptConfigUuid")) - if (!$util.isString(message.ptConfigUuid)) - return "ptConfigUuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoApplyPtConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoApplyPtConfig - * @static - * @param {Object.} object Plain object - * @returns {ProtoApplyPtConfig} ProtoApplyPtConfig - */ - ProtoApplyPtConfig.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoApplyPtConfig) - return object; - var message = new $root.ProtoApplyPtConfig(); - if (object.ptConfigUuid != null) - message.ptConfigUuid = String(object.ptConfigUuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoApplyPtConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoApplyPtConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoApplyPtConfig - * @static - * @param {ProtoApplyPtConfig} message ProtoApplyPtConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoApplyPtConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) - object.ptConfigUuid = ""; - if (message.ptConfigUuid != null && message.hasOwnProperty("ptConfigUuid")) - object.ptConfigUuid = message.ptConfigUuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoApplyPtConfig to JSON. - * @function toJSON - * @memberof ProtoApplyPtConfig - * @instance - * @returns {Object.} JSON object - */ - ProtoApplyPtConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoApplyPtConfig - * @function getTypeUrl - * @memberof ProtoApplyPtConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoApplyPtConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoApplyPtConfig"; - }; - - return ProtoApplyPtConfig; -})(); - -$root.ProtoApplyUlConfig = (function() { - - /** - * Properties of a ProtoApplyUlConfig. - * @name IProtoApplyUlConfig - * @interface IProtoApplyUlConfig - * @property {string|null} [ulConfigUuid] ProtoApplyUlConfig ulConfigUuid - * @property {Array.|null} [comChannelUUIDs] ProtoApplyUlConfig comChannelUUIDs - */ - - /** - * Constructs a new ProtoApplyUlConfig. - * @name ProtoApplyUlConfig - * @classdesc Represents a ProtoApplyUlConfig. - * @implements IProtoApplyUlConfig - * @constructor - * @param {IProtoApplyUlConfig=} [properties] Properties to set - */ - function ProtoApplyUlConfig(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoApplyUlConfig ulConfigUuid. - * @member {string} ulConfigUuid - * @memberof ProtoApplyUlConfig - * @instance - */ - ProtoApplyUlConfig.prototype.ulConfigUuid = ""; - - /** - * ProtoApplyUlConfig comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoApplyUlConfig - * @instance - */ - ProtoApplyUlConfig.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoApplyUlConfig instance using the specified properties. - * @function create - * @memberof ProtoApplyUlConfig - * @static - * @param {IProtoApplyUlConfig=} [properties] Properties to set - * @returns {ProtoApplyUlConfig} ProtoApplyUlConfig instance - */ - ProtoApplyUlConfig.create = function create(properties) { - return new ProtoApplyUlConfig(properties); - }; - - /** - * Encodes the specified ProtoApplyUlConfig message. Does not implicitly {@link ProtoApplyUlConfig.verify|verify} messages. - * @function encode - * @memberof ProtoApplyUlConfig - * @static - * @param {IProtoApplyUlConfig} message ProtoApplyUlConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoApplyUlConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.ulConfigUuid != null && Object.hasOwnProperty.call(message, "ulConfigUuid")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.ulConfigUuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoApplyUlConfig message, length delimited. Does not implicitly {@link ProtoApplyUlConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoApplyUlConfig - * @static - * @param {IProtoApplyUlConfig} message ProtoApplyUlConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoApplyUlConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoApplyUlConfig message from the specified reader or buffer. - * @function decode - * @memberof ProtoApplyUlConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoApplyUlConfig} ProtoApplyUlConfig - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoApplyUlConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.ulConfigUuid = reader.string(); - break; - } - case 2: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoApplyUlConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoApplyUlConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoApplyUlConfig} ProtoApplyUlConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoApplyUlConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoApplyUlConfig message. - * @function verify - * @memberof ProtoApplyUlConfig - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.ulConfigUuid != null && message.hasOwnProperty("ulConfigUuid")) - if (!$util.isString(message.ulConfigUuid)) - return "ulConfigUuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoApplyUlConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoApplyUlConfig - * @static - * @param {Object.} object Plain object - * @returns {ProtoApplyUlConfig} ProtoApplyUlConfig - */ - ProtoApplyUlConfig.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoApplyUlConfig) - return object; - var message = new $root.ProtoApplyUlConfig(); - if (object.ulConfigUuid != null) - message.ulConfigUuid = String(object.ulConfigUuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoApplyUlConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoApplyUlConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoApplyUlConfig - * @static - * @param {ProtoApplyUlConfig} message ProtoApplyUlConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoApplyUlConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) - object.ulConfigUuid = ""; - if (message.ulConfigUuid != null && message.hasOwnProperty("ulConfigUuid")) - object.ulConfigUuid = message.ulConfigUuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoApplyUlConfig to JSON. - * @function toJSON - * @memberof ProtoApplyUlConfig - * @instance - * @returns {Object.} JSON object - */ - ProtoApplyUlConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoApplyUlConfig - * @function getTypeUrl - * @memberof ProtoApplyUlConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoApplyUlConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoApplyUlConfig"; - }; - - return ProtoApplyUlConfig; -})(); - -$root.ProtoCDef = (function() { - - /** - * Properties of a ProtoCDef. - * @name IProtoCDef - * @interface IProtoCDef - * @property {IProtoColumnSettings|null} [columSettings] ProtoCDef columSettings - * @property {IProtoBoxedBool|null} [applyToHeaderFooter] ProtoCDef applyToHeaderFooter - * @property {IProtoBoxedBool|null} [applyImmediate] ProtoCDef applyImmediate - * @property {string|null} [Uuid] ProtoCDef Uuid - * @property {Array.|null} [comChannelUUIDs] ProtoCDef comChannelUUIDs - */ - - /** - * Constructs a new ProtoCDef. - * @name ProtoCDef - * @classdesc Represents a ProtoCDef. - * @implements IProtoCDef - * @constructor - * @param {IProtoCDef=} [properties] Properties to set - */ - function ProtoCDef(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoCDef columSettings. - * @member {IProtoColumnSettings|null|undefined} columSettings - * @memberof ProtoCDef - * @instance - */ - ProtoCDef.prototype.columSettings = null; - - /** - * ProtoCDef applyToHeaderFooter. - * @member {IProtoBoxedBool|null|undefined} applyToHeaderFooter - * @memberof ProtoCDef - * @instance - */ - ProtoCDef.prototype.applyToHeaderFooter = null; - - /** - * ProtoCDef applyImmediate. - * @member {IProtoBoxedBool|null|undefined} applyImmediate - * @memberof ProtoCDef - * @instance - */ - ProtoCDef.prototype.applyImmediate = null; - - /** - * ProtoCDef Uuid. - * @member {string} Uuid - * @memberof ProtoCDef - * @instance - */ - ProtoCDef.prototype.Uuid = ""; - - /** - * ProtoCDef comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoCDef - * @instance - */ - ProtoCDef.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoCDef instance using the specified properties. - * @function create - * @memberof ProtoCDef - * @static - * @param {IProtoCDef=} [properties] Properties to set - * @returns {ProtoCDef} ProtoCDef instance - */ - ProtoCDef.create = function create(properties) { - return new ProtoCDef(properties); - }; - - /** - * Encodes the specified ProtoCDef message. Does not implicitly {@link ProtoCDef.verify|verify} messages. - * @function encode - * @memberof ProtoCDef - * @static - * @param {IProtoCDef} message ProtoCDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCDef.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.columSettings != null && Object.hasOwnProperty.call(message, "columSettings")) - $root.ProtoColumnSettings.encode(message.columSettings, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.applyToHeaderFooter != null && Object.hasOwnProperty.call(message, "applyToHeaderFooter")) - $root.ProtoBoxedBool.encode(message.applyToHeaderFooter, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.applyImmediate != null && Object.hasOwnProperty.call(message, "applyImmediate")) - $root.ProtoBoxedBool.encode(message.applyImmediate, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.Uuid != null && Object.hasOwnProperty.call(message, "Uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.Uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoCDef message, length delimited. Does not implicitly {@link ProtoCDef.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoCDef - * @static - * @param {IProtoCDef} message ProtoCDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCDef.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoCDef message from the specified reader or buffer. - * @function decode - * @memberof ProtoCDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoCDef} ProtoCDef - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCDef(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.columSettings = $root.ProtoColumnSettings.decode(reader, reader.uint32()); - break; - } - case 2: { - message.applyToHeaderFooter = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 3: { - message.applyImmediate = $root.ProtoBoxedBool.decode(reader, reader.uint32()); - break; - } - case 4: { - message.Uuid = reader.string(); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoCDef message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoCDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoCDef} ProtoCDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoCDef.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoCDef message. - * @function verify - * @memberof ProtoCDef - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.columSettings != null && message.hasOwnProperty("columSettings")) { - 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); - if (error) - return "applyToHeaderFooter." + error; - } - if (message.applyImmediate != null && message.hasOwnProperty("applyImmediate")) { - var error = $root.ProtoBoxedBool.verify(message.applyImmediate); - if (error) - return "applyImmediate." + error; - } - if (message.Uuid != null && message.hasOwnProperty("Uuid")) - if (!$util.isString(message.Uuid)) - return "Uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoCDef message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoCDef - * @static - * @param {Object.} object Plain object - * @returns {ProtoCDef} ProtoCDef - */ - ProtoCDef.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoCDef) - return object; - 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); - } - if (object.applyToHeaderFooter != null) { - if (typeof object.applyToHeaderFooter !== "object") - throw TypeError(".ProtoCDef.applyToHeaderFooter: object expected"); - 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); - } - if (object.Uuid != null) - message.Uuid = String(object.Uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoCDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoCDef message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoCDef - * @static - * @param {ProtoCDef} message ProtoCDef - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoCDef.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.columSettings = null; - object.applyToHeaderFooter = null; - object.applyImmediate = null; - object.Uuid = ""; - } - if (message.columSettings != null && message.hasOwnProperty("columSettings")) - object.columSettings = $root.ProtoColumnSettings.toObject(message.columSettings, options); - if (message.applyToHeaderFooter != null && message.hasOwnProperty("applyToHeaderFooter")) - object.applyToHeaderFooter = $root.ProtoBoxedBool.toObject(message.applyToHeaderFooter, options); - if (message.applyImmediate != null && message.hasOwnProperty("applyImmediate")) - object.applyImmediate = $root.ProtoBoxedBool.toObject(message.applyImmediate, options); - if (message.Uuid != null && message.hasOwnProperty("Uuid")) - object.Uuid = message.Uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoCDef to JSON. - * @function toJSON - * @memberof ProtoCDef - * @instance - * @returns {Object.} JSON object - */ - ProtoCDef.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoCDef - * @function getTypeUrl - * @memberof ProtoCDef - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoCDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoCDef"; - }; - - return ProtoCDef; -})(); - -$root.ProtoPDef = (function() { - - /** - * Properties of a ProtoPDef. - * @name IProtoPDef - * @interface IProtoPDef - * @property {IProtoBoxedMeasure|null} [pageWidth] ProtoPDef pageWidth - * @property {IProtoBoxedMeasure|null} [pageDepth] ProtoPDef pageDepth - * @property {string|null} [Uuid] ProtoPDef Uuid - * @property {Array.|null} [comChannelUUIDs] ProtoPDef comChannelUUIDs - */ - - /** - * Constructs a new ProtoPDef. - * @name ProtoPDef - * @classdesc Represents a ProtoPDef. - * @implements IProtoPDef - * @constructor - * @param {IProtoPDef=} [properties] Properties to set - */ - function ProtoPDef(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoPDef pageWidth. - * @member {IProtoBoxedMeasure|null|undefined} pageWidth - * @memberof ProtoPDef - * @instance - */ - ProtoPDef.prototype.pageWidth = null; - - /** - * ProtoPDef pageDepth. - * @member {IProtoBoxedMeasure|null|undefined} pageDepth - * @memberof ProtoPDef - * @instance - */ - ProtoPDef.prototype.pageDepth = null; - - /** - * ProtoPDef Uuid. - * @member {string} Uuid - * @memberof ProtoPDef - * @instance - */ - ProtoPDef.prototype.Uuid = ""; - - /** - * ProtoPDef comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoPDef - * @instance - */ - ProtoPDef.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoPDef instance using the specified properties. - * @function create - * @memberof ProtoPDef - * @static - * @param {IProtoPDef=} [properties] Properties to set - * @returns {ProtoPDef} ProtoPDef instance - */ - ProtoPDef.create = function create(properties) { - return new ProtoPDef(properties); - }; - - /** - * Encodes the specified ProtoPDef message. Does not implicitly {@link ProtoPDef.verify|verify} messages. - * @function encode - * @memberof ProtoPDef - * @static - * @param {IProtoPDef} message ProtoPDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoPDef.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.pageWidth != null && Object.hasOwnProperty.call(message, "pageWidth")) - $root.ProtoBoxedMeasure.encode(message.pageWidth, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.pageDepth != null && Object.hasOwnProperty.call(message, "pageDepth")) - $root.ProtoBoxedMeasure.encode(message.pageDepth, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.Uuid != null && Object.hasOwnProperty.call(message, "Uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.Uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoPDef message, length delimited. Does not implicitly {@link ProtoPDef.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoPDef - * @static - * @param {IProtoPDef} message ProtoPDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoPDef.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoPDef message from the specified reader or buffer. - * @function decode - * @memberof ProtoPDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoPDef} ProtoPDef - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoPDef(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.pageWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.pageDepth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - message.Uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoPDef message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoPDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoPDef} ProtoPDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoPDef.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoPDef message. - * @function verify - * @memberof ProtoPDef - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.pageWidth != null && message.hasOwnProperty("pageWidth")) { - 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); - if (error) - return "pageDepth." + error; - } - if (message.Uuid != null && message.hasOwnProperty("Uuid")) - if (!$util.isString(message.Uuid)) - return "Uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoPDef message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoPDef - * @static - * @param {Object.} object Plain object - * @returns {ProtoPDef} ProtoPDef - */ - ProtoPDef.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoPDef) - return object; - 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); - } - if (object.pageDepth != null) { - if (typeof object.pageDepth !== "object") - throw TypeError(".ProtoPDef.pageDepth: object expected"); - message.pageDepth = $root.ProtoBoxedMeasure.fromObject(object.pageDepth); - } - if (object.Uuid != null) - message.Uuid = String(object.Uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoPDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoPDef message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoPDef - * @static - * @param {ProtoPDef} message ProtoPDef - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoPDef.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.pageWidth = null; - object.pageDepth = null; - object.Uuid = ""; - } - if (message.pageWidth != null && message.hasOwnProperty("pageWidth")) - object.pageWidth = $root.ProtoBoxedMeasure.toObject(message.pageWidth, options); - if (message.pageDepth != null && message.hasOwnProperty("pageDepth")) - object.pageDepth = $root.ProtoBoxedMeasure.toObject(message.pageDepth, options); - if (message.Uuid != null && message.hasOwnProperty("Uuid")) - object.Uuid = message.Uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoPDef to JSON. - * @function toJSON - * @memberof ProtoPDef - * @instance - * @returns {Object.} JSON object - */ - ProtoPDef.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoPDef - * @function getTypeUrl - * @memberof ProtoPDef - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoPDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoPDef"; - }; - - return ProtoPDef; -})(); - -$root.ProtoPtConfig = (function() { - - /** - * Properties of a ProtoPtConfig. - * @name IProtoPtConfig - * @interface IProtoPtConfig - * @property {IProtoBoxedMeasure|null} [height] ProtoPtConfig height - * @property {IProtoBoxedMeasure|null} [lineFeed] ProtoPtConfig lineFeed - * @property {IProtoBoxedMeasure|null} [characterWidth] ProtoPtConfig characterWidth - * @property {IProtoBoxedMeasure|null} [spaceWidth] ProtoPtConfig spaceWidth - * @property {string|null} [Uuid] ProtoPtConfig Uuid - * @property {Array.|null} [comChannelUUIDs] ProtoPtConfig comChannelUUIDs - */ - - /** - * Constructs a new ProtoPtConfig. - * @name ProtoPtConfig - * @classdesc Represents a ProtoPtConfig. - * @implements IProtoPtConfig - * @constructor - * @param {IProtoPtConfig=} [properties] Properties to set - */ - function ProtoPtConfig(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoPtConfig height. - * @member {IProtoBoxedMeasure|null|undefined} height - * @memberof ProtoPtConfig - * @instance - */ - ProtoPtConfig.prototype.height = null; - - /** - * ProtoPtConfig lineFeed. - * @member {IProtoBoxedMeasure|null|undefined} lineFeed - * @memberof ProtoPtConfig - * @instance - */ - ProtoPtConfig.prototype.lineFeed = null; - - /** - * ProtoPtConfig characterWidth. - * @member {IProtoBoxedMeasure|null|undefined} characterWidth - * @memberof ProtoPtConfig - * @instance - */ - ProtoPtConfig.prototype.characterWidth = null; - - /** - * ProtoPtConfig spaceWidth. - * @member {IProtoBoxedMeasure|null|undefined} spaceWidth - * @memberof ProtoPtConfig - * @instance - */ - ProtoPtConfig.prototype.spaceWidth = null; - - /** - * ProtoPtConfig Uuid. - * @member {string} Uuid - * @memberof ProtoPtConfig - * @instance - */ - ProtoPtConfig.prototype.Uuid = ""; - - /** - * ProtoPtConfig comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoPtConfig - * @instance - */ - ProtoPtConfig.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoPtConfig instance using the specified properties. - * @function create - * @memberof ProtoPtConfig - * @static - * @param {IProtoPtConfig=} [properties] Properties to set - * @returns {ProtoPtConfig} ProtoPtConfig instance - */ - ProtoPtConfig.create = function create(properties) { - return new ProtoPtConfig(properties); - }; - - /** - * Encodes the specified ProtoPtConfig message. Does not implicitly {@link ProtoPtConfig.verify|verify} messages. - * @function encode - * @memberof ProtoPtConfig - * @static - * @param {IProtoPtConfig} message ProtoPtConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoPtConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - $root.ProtoBoxedMeasure.encode(message.height, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.lineFeed != null && Object.hasOwnProperty.call(message, "lineFeed")) - $root.ProtoBoxedMeasure.encode(message.lineFeed, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.characterWidth != null && Object.hasOwnProperty.call(message, "characterWidth")) - $root.ProtoBoxedMeasure.encode(message.characterWidth, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.spaceWidth != null && Object.hasOwnProperty.call(message, "spaceWidth")) - $root.ProtoBoxedMeasure.encode(message.spaceWidth, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.Uuid != null && Object.hasOwnProperty.call(message, "Uuid")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.Uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoPtConfig message, length delimited. Does not implicitly {@link ProtoPtConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoPtConfig - * @static - * @param {IProtoPtConfig} message ProtoPtConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoPtConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoPtConfig message from the specified reader or buffer. - * @function decode - * @memberof ProtoPtConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoPtConfig} ProtoPtConfig - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoPtConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.height = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.lineFeed = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - message.characterWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.spaceWidth = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 5: { - message.Uuid = reader.string(); - break; - } - case 6: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoPtConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoPtConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoPtConfig} ProtoPtConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoPtConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoPtConfig message. - * @function verify - * @memberof ProtoPtConfig - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.height != null && message.hasOwnProperty("height")) { - 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); - if (error) - return "lineFeed." + error; - } - if (message.characterWidth != null && message.hasOwnProperty("characterWidth")) { - 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); - if (error) - return "spaceWidth." + error; - } - if (message.Uuid != null && message.hasOwnProperty("Uuid")) - if (!$util.isString(message.Uuid)) - return "Uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoPtConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoPtConfig - * @static - * @param {Object.} object Plain object - * @returns {ProtoPtConfig} ProtoPtConfig - */ - ProtoPtConfig.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoPtConfig) - return object; - 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); - } - if (object.lineFeed != null) { - if (typeof object.lineFeed !== "object") - throw TypeError(".ProtoPtConfig.lineFeed: object expected"); - 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); - } - if (object.spaceWidth != null) { - if (typeof object.spaceWidth !== "object") - throw TypeError(".ProtoPtConfig.spaceWidth: object expected"); - message.spaceWidth = $root.ProtoBoxedMeasure.fromObject(object.spaceWidth); - } - if (object.Uuid != null) - message.Uuid = String(object.Uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoPtConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoPtConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoPtConfig - * @static - * @param {ProtoPtConfig} message ProtoPtConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoPtConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.height = null; - object.lineFeed = null; - object.characterWidth = null; - object.spaceWidth = null; - object.Uuid = ""; - } - if (message.height != null && message.hasOwnProperty("height")) - object.height = $root.ProtoBoxedMeasure.toObject(message.height, options); - if (message.lineFeed != null && message.hasOwnProperty("lineFeed")) - object.lineFeed = $root.ProtoBoxedMeasure.toObject(message.lineFeed, options); - if (message.characterWidth != null && message.hasOwnProperty("characterWidth")) - object.characterWidth = $root.ProtoBoxedMeasure.toObject(message.characterWidth, options); - if (message.spaceWidth != null && message.hasOwnProperty("spaceWidth")) - object.spaceWidth = $root.ProtoBoxedMeasure.toObject(message.spaceWidth, options); - if (message.Uuid != null && message.hasOwnProperty("Uuid")) - object.Uuid = message.Uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoPtConfig to JSON. - * @function toJSON - * @memberof ProtoPtConfig - * @instance - * @returns {Object.} JSON object - */ - ProtoPtConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoPtConfig - * @function getTypeUrl - * @memberof ProtoPtConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoPtConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoPtConfig"; - }; - - return ProtoPtConfig; -})(); - -$root.ProtoUlConfig = (function() { - - /** - * Properties of a ProtoUlConfig. - * @name IProtoUlConfig - * @interface IProtoUlConfig - * @property {ProtoUnderlineMode|null} [mode] ProtoUlConfig mode - * @property {string|null} [Uuid] ProtoUlConfig Uuid - * @property {Array.|null} [comChannelUUIDs] ProtoUlConfig comChannelUUIDs - */ - - /** - * Constructs a new ProtoUlConfig. - * @name ProtoUlConfig - * @classdesc Represents a ProtoUlConfig. - * @implements IProtoUlConfig - * @constructor - * @param {IProtoUlConfig=} [properties] Properties to set - */ - function ProtoUlConfig(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoUlConfig mode. - * @member {ProtoUnderlineMode} mode - * @memberof ProtoUlConfig - * @instance - */ - ProtoUlConfig.prototype.mode = 0; - - /** - * ProtoUlConfig Uuid. - * @member {string} Uuid - * @memberof ProtoUlConfig - * @instance - */ - ProtoUlConfig.prototype.Uuid = ""; - - /** - * ProtoUlConfig comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoUlConfig - * @instance - */ - ProtoUlConfig.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoUlConfig instance using the specified properties. - * @function create - * @memberof ProtoUlConfig - * @static - * @param {IProtoUlConfig=} [properties] Properties to set - * @returns {ProtoUlConfig} ProtoUlConfig instance - */ - ProtoUlConfig.create = function create(properties) { - return new ProtoUlConfig(properties); - }; - - /** - * Encodes the specified ProtoUlConfig message. Does not implicitly {@link ProtoUlConfig.verify|verify} messages. - * @function encode - * @memberof ProtoUlConfig - * @static - * @param {IProtoUlConfig} message ProtoUlConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoUlConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.mode); - if (message.Uuid != null && Object.hasOwnProperty.call(message, "Uuid")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.Uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoUlConfig message, length delimited. Does not implicitly {@link ProtoUlConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoUlConfig - * @static - * @param {IProtoUlConfig} message ProtoUlConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoUlConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoUlConfig message from the specified reader or buffer. - * @function decode - * @memberof ProtoUlConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoUlConfig} ProtoUlConfig - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoUlConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.mode = reader.int32(); - break; - } - case 2: { - message.Uuid = reader.string(); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoUlConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoUlConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoUlConfig} ProtoUlConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoUlConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoUlConfig message. - * @function verify - * @memberof ProtoUlConfig - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.mode != null && message.hasOwnProperty("mode")) - switch (message.mode) { - default: - return "mode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.Uuid != null && message.hasOwnProperty("Uuid")) - if (!$util.isString(message.Uuid)) - return "Uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoUlConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoUlConfig - * @static - * @param {Object.} object Plain object - * @returns {ProtoUlConfig} ProtoUlConfig - */ - ProtoUlConfig.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoUlConfig) - return object; - var message = new $root.ProtoUlConfig(); - 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) - message.Uuid = String(object.Uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoUlConfig.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoUlConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoUlConfig - * @static - * @param {ProtoUlConfig} message ProtoUlConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoUlConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.mode = options.enums === String ? "DUMMY_UNDERLINE_MODE" : 0; - object.Uuid = ""; - } - if (message.mode != null && message.hasOwnProperty("mode")) - object.mode = options.enums === String ? $root.ProtoUnderlineMode[message.mode] === undefined ? message.mode : $root.ProtoUnderlineMode[message.mode] : message.mode; - if (message.Uuid != null && message.hasOwnProperty("Uuid")) - object.Uuid = message.Uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoUlConfig to JSON. - * @function toJSON - * @memberof ProtoUlConfig - * @instance - * @returns {Object.} JSON object - */ - ProtoUlConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoUlConfig - * @function getTypeUrl - * @memberof ProtoUlConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoUlConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoUlConfig"; - }; - - return ProtoUlConfig; -})(); - -/** - * ProtoPageMode enum. - * @name ProtoPageMode - * @enum {number} - * @property {number} NEXT_PAGE=0 NEXT_PAGE value - * @property {number} NEXT_RECTO_PAGE=1 NEXT_RECTO_PAGE value - * @property {number} NEXT_VERSO_PAGE=2 NEXT_VERSO_PAGE value - */ -$root.ProtoPageMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NEXT_PAGE"] = 0; - values[valuesById[1] = "NEXT_RECTO_PAGE"] = 1; - values[valuesById[2] = "NEXT_VERSO_PAGE"] = 2; - return values; -})(); - -/** - * ProtoPageOrientation enum. - * @name ProtoPageOrientation - * @enum {number} - * @property {number} UNSET=0 UNSET value - * @property {number} PORTRAIT=1 PORTRAIT value - * @property {number} LANDSCAPE=2 LANDSCAPE value - * @property {number} INVERSE_PORTRAIT=3 INVERSE_PORTRAIT value - * @property {number} INVERSE_LANDSCAPE=4 INVERSE_LANDSCAPE value - */ -$root.ProtoPageOrientation = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNSET"] = 0; - values[valuesById[1] = "PORTRAIT"] = 1; - values[valuesById[2] = "LANDSCAPE"] = 2; - values[valuesById[3] = "INVERSE_PORTRAIT"] = 3; - values[valuesById[4] = "INVERSE_LANDSCAPE"] = 4; - return values; -})(); - -$root.ProtoNewPage = (function() { - - /** - * Properties of a ProtoNewPage. - * @name IProtoNewPage - * @interface IProtoNewPage - * @property {string|null} [uuid] ProtoNewPage uuid - * @property {string|null} [paperTrayUuid] ProtoNewPage paperTrayUuid - * @property {number|null} [paperTrayNumber] ProtoNewPage paperTrayNumber - * @property {number|null} [paperCount] ProtoNewPage paperCount - * @property {ProtoPageMode|null} [pageMode] ProtoNewPage pageMode - * @property {ProtoPageOrientation|null} [pageOrientation] ProtoNewPage pageOrientation - * @property {string|null} [pDefUuid] ProtoNewPage pDefUuid - * @property {string|null} [cDefUuid] ProtoNewPage cDefUuid - * @property {Array.|null} [comChannelUUIDs] ProtoNewPage comChannelUUIDs - */ - - /** - * Constructs a new ProtoNewPage. - * @name ProtoNewPage - * @classdesc Represents a ProtoNewPage. - * @implements IProtoNewPage - * @constructor - * @param {IProtoNewPage=} [properties] Properties to set - */ - function ProtoNewPage(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoNewPage uuid. - * @member {string} uuid - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.uuid = ""; - - /** - * ProtoNewPage paperTrayUuid. - * @member {string} paperTrayUuid - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.paperTrayUuid = ""; - - /** - * ProtoNewPage paperTrayNumber. - * @member {number} paperTrayNumber - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.paperTrayNumber = 0; - - /** - * ProtoNewPage paperCount. - * @member {number} paperCount - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.paperCount = 0; - - /** - * ProtoNewPage pageMode. - * @member {ProtoPageMode} pageMode - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.pageMode = 0; - - /** - * ProtoNewPage pageOrientation. - * @member {ProtoPageOrientation} pageOrientation - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.pageOrientation = 0; - - /** - * ProtoNewPage pDefUuid. - * @member {string} pDefUuid - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.pDefUuid = ""; - - /** - * ProtoNewPage cDefUuid. - * @member {string} cDefUuid - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.cDefUuid = ""; - - /** - * ProtoNewPage comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoNewPage - * @instance - */ - ProtoNewPage.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoNewPage instance using the specified properties. - * @function create - * @memberof ProtoNewPage - * @static - * @param {IProtoNewPage=} [properties] Properties to set - * @returns {ProtoNewPage} ProtoNewPage instance - */ - ProtoNewPage.create = function create(properties) { - return new ProtoNewPage(properties); - }; - - /** - * Encodes the specified ProtoNewPage message. Does not implicitly {@link ProtoNewPage.verify|verify} messages. - * @function encode - * @memberof ProtoNewPage - * @static - * @param {IProtoNewPage} message ProtoNewPage message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoNewPage.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid); - if (message.paperTrayUuid != null && Object.hasOwnProperty.call(message, "paperTrayUuid")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.paperTrayUuid); - if (message.paperTrayNumber != null && Object.hasOwnProperty.call(message, "paperTrayNumber")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.paperTrayNumber); - if (message.paperCount != null && Object.hasOwnProperty.call(message, "paperCount")) - writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.paperCount); - if (message.pageMode != null && Object.hasOwnProperty.call(message, "pageMode")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.pageMode); - if (message.pageOrientation != null && Object.hasOwnProperty.call(message, "pageOrientation")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.pageOrientation); - if (message.pDefUuid != null && Object.hasOwnProperty.call(message, "pDefUuid")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.pDefUuid); - if (message.cDefUuid != null && Object.hasOwnProperty.call(message, "cDefUuid")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.cDefUuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoNewPage message, length delimited. Does not implicitly {@link ProtoNewPage.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoNewPage - * @static - * @param {IProtoNewPage} message ProtoNewPage message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoNewPage.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoNewPage message from the specified reader or buffer. - * @function decode - * @memberof ProtoNewPage - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoNewPage} ProtoNewPage - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoNewPage(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.uuid = reader.string(); - break; - } - case 2: { - message.paperTrayUuid = reader.string(); - break; - } - case 3: { - message.paperTrayNumber = reader.uint32(); - break; - } - case 4: { - message.paperCount = reader.uint32(); - break; - } - case 5: { - message.pageMode = reader.int32(); - break; - } - case 6: { - message.pageOrientation = reader.int32(); - break; - } - case 7: { - message.pDefUuid = reader.string(); - break; - } - case 8: { - message.cDefUuid = reader.string(); - break; - } - case 9: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoNewPage message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoNewPage - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoNewPage} ProtoNewPage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoNewPage.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoNewPage message. - * @function verify - * @memberof ProtoNewPage - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.paperTrayUuid != null && message.hasOwnProperty("paperTrayUuid")) - if (!$util.isString(message.paperTrayUuid)) - return "paperTrayUuid: string expected"; - if (message.paperTrayNumber != null && message.hasOwnProperty("paperTrayNumber")) - if (!$util.isInteger(message.paperTrayNumber)) - return "paperTrayNumber: integer expected"; - if (message.paperCount != null && message.hasOwnProperty("paperCount")) - if (!$util.isInteger(message.paperCount)) - return "paperCount: integer expected"; - if (message.pageMode != null && message.hasOwnProperty("pageMode")) - switch (message.pageMode) { - default: - return "pageMode: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.pageOrientation != null && message.hasOwnProperty("pageOrientation")) - switch (message.pageOrientation) { - default: - return "pageOrientation: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.pDefUuid != null && message.hasOwnProperty("pDefUuid")) - if (!$util.isString(message.pDefUuid)) - return "pDefUuid: string expected"; - if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) - if (!$util.isString(message.cDefUuid)) - return "cDefUuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoNewPage message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoNewPage - * @static - * @param {Object.} object Plain object - * @returns {ProtoNewPage} ProtoNewPage - */ - ProtoNewPage.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoNewPage) - return object; - var message = new $root.ProtoNewPage(); - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.paperTrayUuid != null) - message.paperTrayUuid = String(object.paperTrayUuid); - if (object.paperTrayNumber != null) - message.paperTrayNumber = object.paperTrayNumber >>> 0; - if (object.paperCount != null) - 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) - message.pDefUuid = String(object.pDefUuid); - if (object.cDefUuid != null) - message.cDefUuid = String(object.cDefUuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoNewPage.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoNewPage message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoNewPage - * @static - * @param {ProtoNewPage} message ProtoNewPage - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoNewPage.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.uuid = ""; - object.paperTrayUuid = ""; - object.paperTrayNumber = 0; - object.paperCount = 0; - object.pageMode = options.enums === String ? "NEXT_PAGE" : 0; - object.pageOrientation = options.enums === String ? "UNSET" : 0; - object.pDefUuid = ""; - object.cDefUuid = ""; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.paperTrayUuid != null && message.hasOwnProperty("paperTrayUuid")) - object.paperTrayUuid = message.paperTrayUuid; - if (message.paperTrayNumber != null && message.hasOwnProperty("paperTrayNumber")) - object.paperTrayNumber = message.paperTrayNumber; - if (message.paperCount != null && message.hasOwnProperty("paperCount")) - object.paperCount = message.paperCount; - if (message.pageMode != null && message.hasOwnProperty("pageMode")) - object.pageMode = options.enums === String ? $root.ProtoPageMode[message.pageMode] === undefined ? message.pageMode : $root.ProtoPageMode[message.pageMode] : message.pageMode; - if (message.pageOrientation != null && message.hasOwnProperty("pageOrientation")) - object.pageOrientation = options.enums === String ? $root.ProtoPageOrientation[message.pageOrientation] === undefined ? message.pageOrientation : $root.ProtoPageOrientation[message.pageOrientation] : message.pageOrientation; - if (message.pDefUuid != null && message.hasOwnProperty("pDefUuid")) - object.pDefUuid = message.pDefUuid; - if (message.cDefUuid != null && message.hasOwnProperty("cDefUuid")) - object.cDefUuid = message.cDefUuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoNewPage to JSON. - * @function toJSON - * @memberof ProtoNewPage - * @instance - * @returns {Object.} JSON object - */ - ProtoNewPage.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoNewPage - * @function getTypeUrl - * @memberof ProtoNewPage - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoNewPage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoNewPage"; - }; - - return ProtoNewPage; -})(); - -$root.ProtoIndentation = (function() { - - /** - * Properties of a ProtoIndentation. - * @name IProtoIndentation - * @interface IProtoIndentation - * @property {Array.|null} [_children] ProtoIndentation _children - * @property {IProtoDocumentElement|null} [parent] ProtoIndentation parent - * @property {IProtoBoxedMeasure|null} [left] ProtoIndentation left - * @property {IProtoBoxedMeasure|null} [right] ProtoIndentation right - * @property {string|null} [uuid] ProtoIndentation uuid - * @property {Array.|null} [comChannelUUIDs] ProtoIndentation comChannelUUIDs - */ - - /** - * Constructs a new ProtoIndentation. - * @name ProtoIndentation - * @classdesc Represents a ProtoIndentation. - * @implements IProtoIndentation - * @constructor - * @param {IProtoIndentation=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoIndentation _children. - * @member {Array.} _children - * @memberof ProtoIndentation - * @instance - */ - ProtoIndentation.prototype._children = $util.emptyArray; - - /** - * ProtoIndentation parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoIndentation - * @instance - */ - ProtoIndentation.prototype.parent = null; - - /** - * ProtoIndentation left. - * @member {IProtoBoxedMeasure|null|undefined} left - * @memberof ProtoIndentation - * @instance - */ - ProtoIndentation.prototype.left = null; - - /** - * ProtoIndentation right. - * @member {IProtoBoxedMeasure|null|undefined} right - * @memberof ProtoIndentation - * @instance - */ - ProtoIndentation.prototype.right = null; - - /** - * ProtoIndentation uuid. - * @member {string} uuid - * @memberof ProtoIndentation - * @instance - */ - ProtoIndentation.prototype.uuid = ""; - - /** - * ProtoIndentation comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoIndentation - * @instance - */ - ProtoIndentation.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoIndentation instance using the specified properties. - * @function create - * @memberof ProtoIndentation - * @static - * @param {IProtoIndentation=} [properties] Properties to set - * @returns {ProtoIndentation} ProtoIndentation instance - */ - ProtoIndentation.create = function create(properties) { - return new ProtoIndentation(properties); - }; - - /** - * Encodes the specified ProtoIndentation message. Does not implicitly {@link ProtoIndentation.verify|verify} messages. - * @function encode - * @memberof ProtoIndentation - * @static - * @param {IProtoIndentation} message ProtoIndentation message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoIndentation.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.left != null && Object.hasOwnProperty.call(message, "left")) - $root.ProtoBoxedMeasure.encode(message.left, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.right != null && Object.hasOwnProperty.call(message, "right")) - $root.ProtoBoxedMeasure.encode(message.right, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoIndentation message, length delimited. Does not implicitly {@link ProtoIndentation.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoIndentation - * @static - * @param {IProtoIndentation} message ProtoIndentation message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoIndentation.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoIndentation message from the specified reader or buffer. - * @function decode - * @memberof ProtoIndentation - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoIndentation} ProtoIndentation - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoIndentation(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.left = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.right = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 5: { - message.uuid = reader.string(); - break; - } - case 6: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoIndentation message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoIndentation - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoIndentation} ProtoIndentation - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoIndentation.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoIndentation message. - * @function verify - * @memberof ProtoIndentation - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "left." + error; - } - if (message.right != null && message.hasOwnProperty("right")) { - var error = $root.ProtoBoxedMeasure.verify(message.right); - if (error) - return "right." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoIndentation message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoIndentation - * @static - * @param {Object.} object Plain object - * @returns {ProtoIndentation} ProtoIndentation - */ - ProtoIndentation.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoIndentation) - return object; - var message = new $root.ProtoIndentation(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoIndentation._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoIndentation.parent: object expected"); - 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); - } - if (object.right != null) { - if (typeof object.right !== "object") - throw TypeError(".ProtoIndentation.right: object expected"); - message.right = $root.ProtoBoxedMeasure.fromObject(object.right); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoIndentation.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoIndentation message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoIndentation - * @static - * @param {ProtoIndentation} message ProtoIndentation - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoIndentation.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.left = null; - object.right = null; - object.uuid = ""; - } - if (message._children && 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.left != null && message.hasOwnProperty("left")) - object.left = $root.ProtoBoxedMeasure.toObject(message.left, options); - if (message.right != null && message.hasOwnProperty("right")) - object.right = $root.ProtoBoxedMeasure.toObject(message.right, options); - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoIndentation to JSON. - * @function toJSON - * @memberof ProtoIndentation - * @instance - * @returns {Object.} JSON object - */ - ProtoIndentation.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoIndentation - * @function getTypeUrl - * @memberof ProtoIndentation - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoIndentation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoIndentation"; - }; - - return ProtoIndentation; -})(); - -$root.ProtoCarryOver = (function() { - - /** - * Properties of a ProtoCarryOver. - * @name IProtoCarryOver - * @interface IProtoCarryOver - * @property {Array.|null} [_children] ProtoCarryOver _children - * @property {IProtoDocumentElement|null} [parent] ProtoCarryOver parent - * @property {Array.|null} [comChannelUUIDs] ProtoCarryOver comChannelUUIDs - */ - - /** - * Constructs a new ProtoCarryOver. - * @name ProtoCarryOver - * @classdesc Represents a ProtoCarryOver. - * @implements IProtoCarryOver - * @constructor - * @param {IProtoCarryOver=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoCarryOver _children. - * @member {Array.} _children - * @memberof ProtoCarryOver - * @instance - */ - ProtoCarryOver.prototype._children = $util.emptyArray; - - /** - * ProtoCarryOver parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoCarryOver - * @instance - */ - ProtoCarryOver.prototype.parent = null; - - /** - * ProtoCarryOver comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoCarryOver - * @instance - */ - ProtoCarryOver.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoCarryOver instance using the specified properties. - * @function create - * @memberof ProtoCarryOver - * @static - * @param {IProtoCarryOver=} [properties] Properties to set - * @returns {ProtoCarryOver} ProtoCarryOver instance - */ - ProtoCarryOver.create = function create(properties) { - return new ProtoCarryOver(properties); - }; - - /** - * Encodes the specified ProtoCarryOver message. Does not implicitly {@link ProtoCarryOver.verify|verify} messages. - * @function encode - * @memberof ProtoCarryOver - * @static - * @param {IProtoCarryOver} message ProtoCarryOver message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCarryOver.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoCarryOver message, length delimited. Does not implicitly {@link ProtoCarryOver.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoCarryOver - * @static - * @param {IProtoCarryOver} message ProtoCarryOver message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCarryOver.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoCarryOver message from the specified reader or buffer. - * @function decode - * @memberof ProtoCarryOver - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoCarryOver} ProtoCarryOver - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCarryOver(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoCarryOver message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoCarryOver - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoCarryOver} ProtoCarryOver - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoCarryOver.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoCarryOver message. - * @function verify - * @memberof ProtoCarryOver - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoCarryOver message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoCarryOver - * @static - * @param {Object.} object Plain object - * @returns {ProtoCarryOver} ProtoCarryOver - */ - ProtoCarryOver.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoCarryOver) - return object; - var message = new $root.ProtoCarryOver(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoCarryOver._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoCarryOver.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoCarryOver.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoCarryOver message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoCarryOver - * @static - * @param {ProtoCarryOver} message ProtoCarryOver - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoCarryOver.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) - object.parent = null; - if (message._children && 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoCarryOver to JSON. - * @function toJSON - * @memberof ProtoCarryOver - * @instance - * @returns {Object.} JSON object - */ - ProtoCarryOver.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoCarryOver - * @function getTypeUrl - * @memberof ProtoCarryOver - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoCarryOver.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoCarryOver"; - }; - - return ProtoCarryOver; -})(); - -$root.ProtoLoopEntry = (function() { - - /** - * Properties of a ProtoLoopEntry. - * @name IProtoLoopEntry - * @interface IProtoLoopEntry - * @property {Array.|null} [_children] ProtoLoopEntry _children - * @property {IProtoDocumentElement|null} [parent] ProtoLoopEntry parent - * @property {string|null} [path] ProtoLoopEntry path - * @property {number|Long|null} [index] ProtoLoopEntry index - * @property {string|null} [uuid] ProtoLoopEntry uuid - * @property {Array.|null} [comChannelUUIDs] ProtoLoopEntry comChannelUUIDs - */ - - /** - * Constructs a new ProtoLoopEntry. - * @name ProtoLoopEntry - * @classdesc Represents a ProtoLoopEntry. - * @implements IProtoLoopEntry - * @constructor - * @param {IProtoLoopEntry=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoLoopEntry _children. - * @member {Array.} _children - * @memberof ProtoLoopEntry - * @instance - */ - ProtoLoopEntry.prototype._children = $util.emptyArray; - - /** - * ProtoLoopEntry parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoLoopEntry - * @instance - */ - ProtoLoopEntry.prototype.parent = null; - - /** - * ProtoLoopEntry path. - * @member {string} path - * @memberof ProtoLoopEntry - * @instance - */ - ProtoLoopEntry.prototype.path = ""; - - /** - * ProtoLoopEntry index. - * @member {number|Long} index - * @memberof ProtoLoopEntry - * @instance - */ - ProtoLoopEntry.prototype.index = $util.Long ? $util.Long.fromBits(0,0,true) : 0; - - /** - * ProtoLoopEntry uuid. - * @member {string} uuid - * @memberof ProtoLoopEntry - * @instance - */ - ProtoLoopEntry.prototype.uuid = ""; - - /** - * ProtoLoopEntry comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoLoopEntry - * @instance - */ - ProtoLoopEntry.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoLoopEntry instance using the specified properties. - * @function create - * @memberof ProtoLoopEntry - * @static - * @param {IProtoLoopEntry=} [properties] Properties to set - * @returns {ProtoLoopEntry} ProtoLoopEntry instance - */ - ProtoLoopEntry.create = function create(properties) { - return new ProtoLoopEntry(properties); - }; - - /** - * Encodes the specified ProtoLoopEntry message. Does not implicitly {@link ProtoLoopEntry.verify|verify} messages. - * @function encode - * @memberof ProtoLoopEntry - * @static - * @param {IProtoLoopEntry} message ProtoLoopEntry message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLoopEntry.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.path != null && Object.hasOwnProperty.call(message, "path")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.path); - if (message.index != null && Object.hasOwnProperty.call(message, "index")) - writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.index); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoLoopEntry message, length delimited. Does not implicitly {@link ProtoLoopEntry.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoLoopEntry - * @static - * @param {IProtoLoopEntry} message ProtoLoopEntry message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLoopEntry.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoLoopEntry message from the specified reader or buffer. - * @function decode - * @memberof ProtoLoopEntry - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoLoopEntry} ProtoLoopEntry - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLoopEntry(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.path = reader.string(); - break; - } - case 4: { - message.index = reader.uint64(); - break; - } - case 5: { - message.uuid = reader.string(); - break; - } - case 6: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoLoopEntry message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoLoopEntry - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoLoopEntry} ProtoLoopEntry - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoLoopEntry.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoLoopEntry message. - * @function verify - * @memberof ProtoLoopEntry - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.path != null && message.hasOwnProperty("path")) - if (!$util.isString(message.path)) - return "path: string expected"; - if (message.index != null && message.hasOwnProperty("index")) - if (!$util.isInteger(message.index) && !(message.index && $util.isInteger(message.index.low) && $util.isInteger(message.index.high))) - return "index: integer|Long expected"; - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoLoopEntry message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoLoopEntry - * @static - * @param {Object.} object Plain object - * @returns {ProtoLoopEntry} ProtoLoopEntry - */ - ProtoLoopEntry.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoLoopEntry) - return object; - var message = new $root.ProtoLoopEntry(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoLoopEntry._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoLoopEntry.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.path != null) - message.path = String(object.path); - if (object.index != null) - 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) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoLoopEntry.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoLoopEntry message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoLoopEntry - * @static - * @param {ProtoLoopEntry} message ProtoLoopEntry - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoLoopEntry.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.path = ""; - if ($util.Long) { - var long = new $util.Long(0, 0, true); - object.index = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.index = options.longs === String ? "0" : 0; - object.uuid = ""; - } - if (message._children && 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.path != null && message.hasOwnProperty("path")) - object.path = message.path; - if (message.index != null && message.hasOwnProperty("index")) - if (typeof message.index === "number") - object.index = options.longs === String ? String(message.index) : message.index; - else - object.index = options.longs === String ? $util.Long.prototype.toString.call(message.index) : options.longs === Number ? new $util.LongBits(message.index.low >>> 0, message.index.high >>> 0).toNumber(true) : message.index; - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoLoopEntry to JSON. - * @function toJSON - * @memberof ProtoLoopEntry - * @instance - * @returns {Object.} JSON object - */ - ProtoLoopEntry.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoLoopEntry - * @function getTypeUrl - * @memberof ProtoLoopEntry - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoLoopEntry.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoLoopEntry"; - }; - - return ProtoLoopEntry; -})(); - -$root.ProtoLoop = (function() { - - /** - * Properties of a ProtoLoop. - * @name IProtoLoop - * @interface IProtoLoop - * @property {Array.|null} [_children] ProtoLoop _children - * @property {IProtoDocumentElement|null} [parent] ProtoLoop parent - * @property {string|null} [path] ProtoLoop path - * @property {string|null} [uuid] ProtoLoop uuid - * @property {Array.|null} [comChannelUUIDs] ProtoLoop comChannelUUIDs - */ - - /** - * Constructs a new ProtoLoop. - * @name ProtoLoop - * @classdesc Represents a ProtoLoop. - * @implements IProtoLoop - * @constructor - * @param {IProtoLoop=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoLoop _children. - * @member {Array.} _children - * @memberof ProtoLoop - * @instance - */ - ProtoLoop.prototype._children = $util.emptyArray; - - /** - * ProtoLoop parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoLoop - * @instance - */ - ProtoLoop.prototype.parent = null; - - /** - * ProtoLoop path. - * @member {string} path - * @memberof ProtoLoop - * @instance - */ - ProtoLoop.prototype.path = ""; - - /** - * ProtoLoop uuid. - * @member {string} uuid - * @memberof ProtoLoop - * @instance - */ - ProtoLoop.prototype.uuid = ""; - - /** - * ProtoLoop comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoLoop - * @instance - */ - ProtoLoop.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoLoop instance using the specified properties. - * @function create - * @memberof ProtoLoop - * @static - * @param {IProtoLoop=} [properties] Properties to set - * @returns {ProtoLoop} ProtoLoop instance - */ - ProtoLoop.create = function create(properties) { - return new ProtoLoop(properties); - }; - - /** - * Encodes the specified ProtoLoop message. Does not implicitly {@link ProtoLoop.verify|verify} messages. - * @function encode - * @memberof ProtoLoop - * @static - * @param {IProtoLoop} message ProtoLoop message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLoop.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.path != null && Object.hasOwnProperty.call(message, "path")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.path); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoLoop message, length delimited. Does not implicitly {@link ProtoLoop.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoLoop - * @static - * @param {IProtoLoop} message ProtoLoop message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLoop.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoLoop message from the specified reader or buffer. - * @function decode - * @memberof ProtoLoop - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoLoop} ProtoLoop - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLoop(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.path = reader.string(); - break; - } - case 4: { - message.uuid = reader.string(); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoLoop message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoLoop - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoLoop} ProtoLoop - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoLoop.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoLoop message. - * @function verify - * @memberof ProtoLoop - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.path != null && message.hasOwnProperty("path")) - if (!$util.isString(message.path)) - return "path: string expected"; - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoLoop message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoLoop - * @static - * @param {Object.} object Plain object - * @returns {ProtoLoop} ProtoLoop - */ - ProtoLoop.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoLoop) - return object; - var message = new $root.ProtoLoop(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoLoop._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoLoop.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.path != null) - message.path = String(object.path); - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoLoop.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoLoop message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoLoop - * @static - * @param {ProtoLoop} message ProtoLoop - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoLoop.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.path = ""; - object.uuid = ""; - } - if (message._children && 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.path != null && message.hasOwnProperty("path")) - object.path = message.path; - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoLoop to JSON. - * @function toJSON - * @memberof ProtoLoop - * @instance - * @returns {Object.} JSON object - */ - ProtoLoop.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoLoop - * @function getTypeUrl - * @memberof ProtoLoop - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoLoop.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoLoop"; - }; - - return ProtoLoop; -})(); - -/** - * ProtoSubTotalPosition enum. - * @name ProtoSubTotalPosition - * @enum {number} - * @property {number} POSITION_ABOVE_FOOTER=0 POSITION_ABOVE_FOOTER value - * @property {number} POSITION_BELOW_CONTENT=1 POSITION_BELOW_CONTENT value - */ -$root.ProtoSubTotalPosition = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "POSITION_ABOVE_FOOTER"] = 0; - values[valuesById[1] = "POSITION_BELOW_CONTENT"] = 1; - return values; -})(); - -$root.ProtoSubTotal = (function() { - - /** - * Properties of a ProtoSubTotal. - * @name IProtoSubTotal - * @interface IProtoSubTotal - * @property {Array.|null} [_children] ProtoSubTotal _children - * @property {IProtoDocumentElement|null} [parent] ProtoSubTotal parent - * @property {boolean|null} [applyImmediate] ProtoSubTotal applyImmediate - * @property {ProtoSubTotalPosition|null} [position] ProtoSubTotal position - * @property {IProtoMeasure|null} [height] ProtoSubTotal height - * @property {Array.|null} [comChannelUUIDs] ProtoSubTotal comChannelUUIDs - */ - - /** - * Constructs a new ProtoSubTotal. - * @name ProtoSubTotal - * @classdesc Represents a ProtoSubTotal. - * @implements IProtoSubTotal - * @constructor - * @param {IProtoSubTotal=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSubTotal _children. - * @member {Array.} _children - * @memberof ProtoSubTotal - * @instance - */ - ProtoSubTotal.prototype._children = $util.emptyArray; - - /** - * ProtoSubTotal parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoSubTotal - * @instance - */ - ProtoSubTotal.prototype.parent = null; - - /** - * ProtoSubTotal applyImmediate. - * @member {boolean} applyImmediate - * @memberof ProtoSubTotal - * @instance - */ - ProtoSubTotal.prototype.applyImmediate = false; - - /** - * ProtoSubTotal position. - * @member {ProtoSubTotalPosition} position - * @memberof ProtoSubTotal - * @instance - */ - ProtoSubTotal.prototype.position = 0; - - /** - * ProtoSubTotal height. - * @member {IProtoMeasure|null|undefined} height - * @memberof ProtoSubTotal - * @instance - */ - ProtoSubTotal.prototype.height = null; - - /** - * ProtoSubTotal comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoSubTotal - * @instance - */ - ProtoSubTotal.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoSubTotal instance using the specified properties. - * @function create - * @memberof ProtoSubTotal - * @static - * @param {IProtoSubTotal=} [properties] Properties to set - * @returns {ProtoSubTotal} ProtoSubTotal instance - */ - ProtoSubTotal.create = function create(properties) { - return new ProtoSubTotal(properties); - }; - - /** - * Encodes the specified ProtoSubTotal message. Does not implicitly {@link ProtoSubTotal.verify|verify} messages. - * @function encode - * @memberof ProtoSubTotal - * @static - * @param {IProtoSubTotal} message ProtoSubTotal message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSubTotal.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.applyImmediate != null && Object.hasOwnProperty.call(message, "applyImmediate")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.applyImmediate); - if (message.position != null && Object.hasOwnProperty.call(message, "position")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.position); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - $root.ProtoMeasure.encode(message.height, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoSubTotal message, length delimited. Does not implicitly {@link ProtoSubTotal.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSubTotal - * @static - * @param {IProtoSubTotal} message ProtoSubTotal message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSubTotal.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSubTotal message from the specified reader or buffer. - * @function decode - * @memberof ProtoSubTotal - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSubTotal} ProtoSubTotal - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSubTotal(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.applyImmediate = reader.bool(); - break; - } - case 4: { - message.position = reader.int32(); - break; - } - case 5: { - message.height = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 6: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSubTotal message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSubTotal - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSubTotal} ProtoSubTotal - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSubTotal.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSubTotal message. - * @function verify - * @memberof ProtoSubTotal - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.applyImmediate != null && message.hasOwnProperty("applyImmediate")) - if (typeof message.applyImmediate !== "boolean") - return "applyImmediate: boolean expected"; - if (message.position != null && message.hasOwnProperty("position")) - switch (message.position) { - default: - return "position: enum value expected"; - case 0: - case 1: - break; - } - if (message.height != null && message.hasOwnProperty("height")) { - var error = $root.ProtoMeasure.verify(message.height); - if (error) - return "height." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoSubTotal message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSubTotal - * @static - * @param {Object.} object Plain object - * @returns {ProtoSubTotal} ProtoSubTotal - */ - ProtoSubTotal.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSubTotal) - return object; - var message = new $root.ProtoSubTotal(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoSubTotal._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoSubTotal.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.applyImmediate != null) - 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); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoSubTotal.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoSubTotal message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSubTotal - * @static - * @param {ProtoSubTotal} message ProtoSubTotal - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSubTotal.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.applyImmediate = false; - object.position = options.enums === String ? "POSITION_ABOVE_FOOTER" : 0; - object.height = null; - } - if (message._children && 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.applyImmediate != null && message.hasOwnProperty("applyImmediate")) - object.applyImmediate = message.applyImmediate; - if (message.position != null && message.hasOwnProperty("position")) - object.position = options.enums === String ? $root.ProtoSubTotalPosition[message.position] === undefined ? message.position : $root.ProtoSubTotalPosition[message.position] : message.position; - if (message.height != null && message.hasOwnProperty("height")) - object.height = $root.ProtoMeasure.toObject(message.height, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoSubTotal to JSON. - * @function toJSON - * @memberof ProtoSubTotal - * @instance - * @returns {Object.} JSON object - */ - ProtoSubTotal.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSubTotal - * @function getTypeUrl - * @memberof ProtoSubTotal - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSubTotal.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSubTotal"; - }; - - return ProtoSubTotal; -})(); - -$root.ProtoWsArea = (function() { - - /** - * Properties of a ProtoWsArea. - * @name IProtoWsArea - * @interface IProtoWsArea - * @property {Array.|null} [_children] ProtoWsArea _children - * @property {IProtoDocumentElement|null} [parent] ProtoWsArea parent - * @property {Array.|null} [comChannelUUIDs] ProtoWsArea comChannelUUIDs - */ - - /** - * Constructs a new ProtoWsArea. - * @name ProtoWsArea - * @classdesc Represents a ProtoWsArea. - * @implements IProtoWsArea - * @constructor - * @param {IProtoWsArea=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoWsArea _children. - * @member {Array.} _children - * @memberof ProtoWsArea - * @instance - */ - ProtoWsArea.prototype._children = $util.emptyArray; - - /** - * ProtoWsArea parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoWsArea - * @instance - */ - ProtoWsArea.prototype.parent = null; - - /** - * ProtoWsArea comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoWsArea - * @instance - */ - ProtoWsArea.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoWsArea instance using the specified properties. - * @function create - * @memberof ProtoWsArea - * @static - * @param {IProtoWsArea=} [properties] Properties to set - * @returns {ProtoWsArea} ProtoWsArea instance - */ - ProtoWsArea.create = function create(properties) { - return new ProtoWsArea(properties); - }; - - /** - * Encodes the specified ProtoWsArea message. Does not implicitly {@link ProtoWsArea.verify|verify} messages. - * @function encode - * @memberof ProtoWsArea - * @static - * @param {IProtoWsArea} message ProtoWsArea message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoWsArea.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoWsArea message, length delimited. Does not implicitly {@link ProtoWsArea.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoWsArea - * @static - * @param {IProtoWsArea} message ProtoWsArea message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoWsArea.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoWsArea message from the specified reader or buffer. - * @function decode - * @memberof ProtoWsArea - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoWsArea} ProtoWsArea - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoWsArea(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoWsArea message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoWsArea - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoWsArea} ProtoWsArea - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoWsArea.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoWsArea message. - * @function verify - * @memberof ProtoWsArea - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoWsArea message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoWsArea - * @static - * @param {Object.} object Plain object - * @returns {ProtoWsArea} ProtoWsArea - */ - ProtoWsArea.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoWsArea) - return object; - var message = new $root.ProtoWsArea(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoWsArea._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoWsArea.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoWsArea.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoWsArea message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoWsArea - * @static - * @param {ProtoWsArea} message ProtoWsArea - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoWsArea.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) - object.parent = null; - if (message._children && 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoWsArea to JSON. - * @function toJSON - * @memberof ProtoWsArea - * @instance - * @returns {Object.} JSON object - */ - ProtoWsArea.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoWsArea - * @function getTypeUrl - * @memberof ProtoWsArea - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoWsArea.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoWsArea"; - }; - - return ProtoWsArea; -})(); - -$root.ProtoRule = (function() { - - /** - * Properties of a ProtoRule. - * @name IProtoRule - * @interface IProtoRule - * @property {IProtoMeasure|null} [xOffset] ProtoRule xOffset - * @property {IProtoMeasure|null} [yOffset] ProtoRule yOffset - * @property {IProtoMeasure|null} [width] ProtoRule width - * @property {IProtoMeasure|null} [thickness] ProtoRule thickness - * @property {number|null} [rotation] ProtoRule rotation - * @property {IProtoColor|null} [color] ProtoRule color - * @property {ProtoRuleStyle|null} [style] ProtoRule style - * @property {ProtoRuleMode|null} [mode] ProtoRule mode - * @property {IProtoRuleBoundaries|null} [boundaries] ProtoRule boundaries - * @property {Array.|null} [comChannelUUIDs] ProtoRule comChannelUUIDs - */ - - /** - * Constructs a new ProtoRule. - * @name ProtoRule - * @classdesc Represents a ProtoRule. - * @implements IProtoRule - * @constructor - * @param {IProtoRule=} [properties] Properties to set - */ - function ProtoRule(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoRule xOffset. - * @member {IProtoMeasure|null|undefined} xOffset - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.xOffset = null; - - /** - * ProtoRule yOffset. - * @member {IProtoMeasure|null|undefined} yOffset - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.yOffset = null; - - /** - * ProtoRule width. - * @member {IProtoMeasure|null|undefined} width - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.width = null; - - /** - * ProtoRule thickness. - * @member {IProtoMeasure|null|undefined} thickness - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.thickness = null; - - /** - * ProtoRule rotation. - * @member {number} rotation - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.rotation = 0; - - /** - * ProtoRule color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.color = null; - - /** - * ProtoRule style. - * @member {ProtoRuleStyle} style - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.style = 0; - - /** - * ProtoRule mode. - * @member {ProtoRuleMode} mode - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.mode = 0; - - /** - * ProtoRule boundaries. - * @member {IProtoRuleBoundaries|null|undefined} boundaries - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.boundaries = null; - - /** - * ProtoRule comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoRule - * @instance - */ - ProtoRule.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoRule instance using the specified properties. - * @function create - * @memberof ProtoRule - * @static - * @param {IProtoRule=} [properties] Properties to set - * @returns {ProtoRule} ProtoRule instance - */ - ProtoRule.create = function create(properties) { - return new ProtoRule(properties); - }; - - /** - * Encodes the specified ProtoRule message. Does not implicitly {@link ProtoRule.verify|verify} messages. - * @function encode - * @memberof ProtoRule - * @static - * @param {IProtoRule} message ProtoRule message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoRule.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.xOffset != null && Object.hasOwnProperty.call(message, "xOffset")) - $root.ProtoMeasure.encode(message.xOffset, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.yOffset != null && Object.hasOwnProperty.call(message, "yOffset")) - $root.ProtoMeasure.encode(message.yOffset, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $root.ProtoMeasure.encode(message.width, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.thickness != null && Object.hasOwnProperty.call(message, "thickness")) - $root.ProtoMeasure.encode(message.thickness, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.rotation != null && Object.hasOwnProperty.call(message, "rotation")) - writer.uint32(/* id 5, wireType 1 =*/41).double(message.rotation); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $root.ProtoColor.encode(message.color, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.style != null && Object.hasOwnProperty.call(message, "style")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.style); - if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.mode); - if (message.boundaries != null && Object.hasOwnProperty.call(message, "boundaries")) - $root.ProtoRuleBoundaries.encode(message.boundaries, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoRule message, length delimited. Does not implicitly {@link ProtoRule.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoRule - * @static - * @param {IProtoRule} message ProtoRule message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoRule.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoRule message from the specified reader or buffer. - * @function decode - * @memberof ProtoRule - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoRule} ProtoRule - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoRule(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.xOffset = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.yOffset = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 3: { - message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.thickness = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 5: { - message.rotation = reader.double(); - break; - } - case 6: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 7: { - message.style = reader.int32(); - break; - } - case 8: { - message.mode = reader.int32(); - break; - } - case 9: { - message.boundaries = $root.ProtoRuleBoundaries.decode(reader, reader.uint32()); - break; - } - case 10: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoRule message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoRule - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoRule} ProtoRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoRule.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoRule message. - * @function verify - * @memberof ProtoRule - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.xOffset != null && message.hasOwnProperty("xOffset")) { - 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); - if (error) - return "yOffset." + error; - } - if (message.width != null && message.hasOwnProperty("width")) { - 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); - if (error) - return "thickness." + error; - } - if (message.rotation != null && message.hasOwnProperty("rotation")) - if (typeof message.rotation !== "number") - return "rotation: number expected"; - if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color); - if (error) - return "color." + error; - } - if (message.style != null && message.hasOwnProperty("style")) - switch (message.style) { - default: - return "style: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 254: - break; - } - if (message.mode != null && message.hasOwnProperty("mode")) - switch (message.mode) { - default: - return "mode: enum value expected"; - case 0: - case 1: - break; - } - if (message.boundaries != null && message.hasOwnProperty("boundaries")) { - var error = $root.ProtoRuleBoundaries.verify(message.boundaries); - if (error) - return "boundaries." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoRule message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoRule - * @static - * @param {Object.} object Plain object - * @returns {ProtoRule} ProtoRule - */ - ProtoRule.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoRule) - return object; - 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); - } - if (object.yOffset != null) { - if (typeof object.yOffset !== "object") - throw TypeError(".ProtoRule.yOffset: object expected"); - 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); - } - if (object.thickness != null) { - if (typeof object.thickness !== "object") - throw TypeError(".ProtoRule.thickness: object expected"); - message.thickness = $root.ProtoMeasure.fromObject(object.thickness); - } - if (object.rotation != null) - 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); - } - 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.boundaries != null) { - if (typeof object.boundaries !== "object") - throw TypeError(".ProtoRule.boundaries: object expected"); - message.boundaries = $root.ProtoRuleBoundaries.fromObject(object.boundaries); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoRule.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoRule message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoRule - * @static - * @param {ProtoRule} message ProtoRule - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoRule.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.xOffset = null; - object.yOffset = null; - object.width = null; - object.thickness = null; - object.rotation = 0; - object.color = null; - object.style = options.enums === String ? "DUMMY_RULE_STYLE" : 0; - object.mode = options.enums === String ? "NORMAL" : 0; - object.boundaries = null; - } - if (message.xOffset != null && message.hasOwnProperty("xOffset")) - object.xOffset = $root.ProtoMeasure.toObject(message.xOffset, options); - if (message.yOffset != null && message.hasOwnProperty("yOffset")) - object.yOffset = $root.ProtoMeasure.toObject(message.yOffset, options); - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoMeasure.toObject(message.width, options); - if (message.thickness != null && message.hasOwnProperty("thickness")) - object.thickness = $root.ProtoMeasure.toObject(message.thickness, options); - if (message.rotation != null && message.hasOwnProperty("rotation")) - object.rotation = options.json && !isFinite(message.rotation) ? String(message.rotation) : message.rotation; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.style != null && message.hasOwnProperty("style")) - object.style = options.enums === String ? $root.ProtoRuleStyle[message.style] === undefined ? message.style : $root.ProtoRuleStyle[message.style] : message.style; - if (message.mode != null && message.hasOwnProperty("mode")) - object.mode = options.enums === String ? $root.ProtoRuleMode[message.mode] === undefined ? message.mode : $root.ProtoRuleMode[message.mode] : message.mode; - if (message.boundaries != null && message.hasOwnProperty("boundaries")) - object.boundaries = $root.ProtoRuleBoundaries.toObject(message.boundaries, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoRule to JSON. - * @function toJSON - * @memberof ProtoRule - * @instance - * @returns {Object.} JSON object - */ - ProtoRule.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoRule - * @function getTypeUrl - * @memberof ProtoRule - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoRule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoRule"; - }; - - return ProtoRule; -})(); - -/** - * ProtoRuleMode enum. - * @name ProtoRuleMode - * @enum {number} - * @property {number} NORMAL=0 NORMAL value - * @property {number} BOUNDARY=1 BOUNDARY value - */ -$root.ProtoRuleMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NORMAL"] = 0; - values[valuesById[1] = "BOUNDARY"] = 1; - return values; -})(); - -$root.ProtoRuleBoundaries = (function() { - - /** - * Properties of a ProtoRuleBoundaries. - * @name IProtoRuleBoundaries - * @interface IProtoRuleBoundaries - * @property {IProtoMeasure|null} [start] ProtoRuleBoundaries start - * @property {IProtoMeasure|null} [end] ProtoRuleBoundaries end - */ - - /** - * Constructs a new ProtoRuleBoundaries. - * @name ProtoRuleBoundaries - * @classdesc Represents a ProtoRuleBoundaries. - * @implements IProtoRuleBoundaries - * @constructor - * @param {IProtoRuleBoundaries=} [properties] Properties to set - */ - function ProtoRuleBoundaries(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoRuleBoundaries start. - * @member {IProtoMeasure|null|undefined} start - * @memberof ProtoRuleBoundaries - * @instance - */ - ProtoRuleBoundaries.prototype.start = null; - - /** - * ProtoRuleBoundaries end. - * @member {IProtoMeasure|null|undefined} end - * @memberof ProtoRuleBoundaries - * @instance - */ - ProtoRuleBoundaries.prototype.end = null; - - /** - * Creates a new ProtoRuleBoundaries instance using the specified properties. - * @function create - * @memberof ProtoRuleBoundaries - * @static - * @param {IProtoRuleBoundaries=} [properties] Properties to set - * @returns {ProtoRuleBoundaries} ProtoRuleBoundaries instance - */ - ProtoRuleBoundaries.create = function create(properties) { - return new ProtoRuleBoundaries(properties); - }; - - /** - * Encodes the specified ProtoRuleBoundaries message. Does not implicitly {@link ProtoRuleBoundaries.verify|verify} messages. - * @function encode - * @memberof ProtoRuleBoundaries - * @static - * @param {IProtoRuleBoundaries} message ProtoRuleBoundaries message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoRuleBoundaries.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.start != null && Object.hasOwnProperty.call(message, "start")) - $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(); - return writer; - }; - - /** - * Encodes the specified ProtoRuleBoundaries message, length delimited. Does not implicitly {@link ProtoRuleBoundaries.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoRuleBoundaries - * @static - * @param {IProtoRuleBoundaries} message ProtoRuleBoundaries message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoRuleBoundaries.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoRuleBoundaries message from the specified reader or buffer. - * @function decode - * @memberof ProtoRuleBoundaries - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoRuleBoundaries} ProtoRuleBoundaries - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoRuleBoundaries(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.start = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 2: { - message.end = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoRuleBoundaries message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoRuleBoundaries - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoRuleBoundaries} ProtoRuleBoundaries - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoRuleBoundaries.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoRuleBoundaries message. - * @function verify - * @memberof ProtoRuleBoundaries - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.start != null && message.hasOwnProperty("start")) { - 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); - if (error) - return "end." + error; - } - return null; - }; - - /** - * Creates a ProtoRuleBoundaries message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoRuleBoundaries - * @static - * @param {Object.} object Plain object - * @returns {ProtoRuleBoundaries} ProtoRuleBoundaries - */ - ProtoRuleBoundaries.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoRuleBoundaries) - return object; - 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); - } - if (object.end != null) { - if (typeof object.end !== "object") - throw TypeError(".ProtoRuleBoundaries.end: object expected"); - message.end = $root.ProtoMeasure.fromObject(object.end); - } - return message; - }; - - /** - * Creates a plain object from a ProtoRuleBoundaries message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoRuleBoundaries - * @static - * @param {ProtoRuleBoundaries} message ProtoRuleBoundaries - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoRuleBoundaries.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.start = null; - object.end = null; - } - if (message.start != null && message.hasOwnProperty("start")) - object.start = $root.ProtoMeasure.toObject(message.start, options); - if (message.end != null && message.hasOwnProperty("end")) - object.end = $root.ProtoMeasure.toObject(message.end, options); - return object; - }; - - /** - * Converts this ProtoRuleBoundaries to JSON. - * @function toJSON - * @memberof ProtoRuleBoundaries - * @instance - * @returns {Object.} JSON object - */ - ProtoRuleBoundaries.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoRuleBoundaries - * @function getTypeUrl - * @memberof ProtoRuleBoundaries - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoRuleBoundaries.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoRuleBoundaries"; - }; - - return ProtoRuleBoundaries; -})(); - -$root.ProtoColorDef = (function() { - - /** - * Properties of a ProtoColorDef. - * @name IProtoColorDef - * @interface IProtoColorDef - * @property {IProtoColor|null} [color] ProtoColorDef color - * @property {Array.|null} [comChannelUUIDs] ProtoColorDef comChannelUUIDs - */ - - /** - * Constructs a new ProtoColorDef. - * @name ProtoColorDef - * @classdesc Represents a ProtoColorDef. - * @implements IProtoColorDef - * @constructor - * @param {IProtoColorDef=} [properties] Properties to set - */ - function ProtoColorDef(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoColorDef color. - * @member {IProtoColor|null|undefined} color - * @memberof ProtoColorDef - * @instance - */ - ProtoColorDef.prototype.color = null; - - /** - * ProtoColorDef comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoColorDef - * @instance - */ - ProtoColorDef.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoColorDef instance using the specified properties. - * @function create - * @memberof ProtoColorDef - * @static - * @param {IProtoColorDef=} [properties] Properties to set - * @returns {ProtoColorDef} ProtoColorDef instance - */ - ProtoColorDef.create = function create(properties) { - return new ProtoColorDef(properties); - }; - - /** - * Encodes the specified ProtoColorDef message. Does not implicitly {@link ProtoColorDef.verify|verify} messages. - * @function encode - * @memberof ProtoColorDef - * @static - * @param {IProtoColorDef} message ProtoColorDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoColorDef.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - $root.ProtoColor.encode(message.color, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoColorDef message, length delimited. Does not implicitly {@link ProtoColorDef.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoColorDef - * @static - * @param {IProtoColorDef} message ProtoColorDef message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoColorDef.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoColorDef message from the specified reader or buffer. - * @function decode - * @memberof ProtoColorDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoColorDef} ProtoColorDef - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoColorDef(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.color = $root.ProtoColor.decode(reader, reader.uint32()); - break; - } - case 2: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoColorDef message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoColorDef - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoColorDef} ProtoColorDef - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoColorDef.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoColorDef message. - * @function verify - * @memberof ProtoColorDef - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.color != null && message.hasOwnProperty("color")) { - var error = $root.ProtoColor.verify(message.color); - if (error) - return "color." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoColorDef message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoColorDef - * @static - * @param {Object.} object Plain object - * @returns {ProtoColorDef} ProtoColorDef - */ - ProtoColorDef.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoColorDef) - return object; - 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); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoColorDef.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoColorDef message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoColorDef - * @static - * @param {ProtoColorDef} message ProtoColorDef - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoColorDef.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) - object.color = null; - if (message.color != null && message.hasOwnProperty("color")) - object.color = $root.ProtoColor.toObject(message.color, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoColorDef to JSON. - * @function toJSON - * @memberof ProtoColorDef - * @instance - * @returns {Object.} JSON object - */ - ProtoColorDef.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoColorDef - * @function getTypeUrl - * @memberof ProtoColorDef - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoColorDef.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoColorDef"; - }; - - return ProtoColorDef; -})(); - -$root.ProtoLayout = (function() { - - /** - * Properties of a ProtoLayout. - * @name IProtoLayout - * @interface IProtoLayout - * @property {IProtoDocumentElement|null} [parent] ProtoLayout parent - * @property {string|null} [name] ProtoLayout name - * @property {Array.|null} [comChannelUUIDs] ProtoLayout comChannelUUIDs - */ - - /** - * Constructs a new ProtoLayout. - * @name ProtoLayout - * @classdesc Represents a ProtoLayout. - * @implements IProtoLayout - * @constructor - * @param {IProtoLayout=} [properties] Properties to set - */ - function ProtoLayout(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoLayout parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoLayout - * @instance - */ - ProtoLayout.prototype.parent = null; - - /** - * ProtoLayout name. - * @member {string} name - * @memberof ProtoLayout - * @instance - */ - ProtoLayout.prototype.name = ""; - - /** - * ProtoLayout comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoLayout - * @instance - */ - ProtoLayout.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoLayout instance using the specified properties. - * @function create - * @memberof ProtoLayout - * @static - * @param {IProtoLayout=} [properties] Properties to set - * @returns {ProtoLayout} ProtoLayout instance - */ - ProtoLayout.create = function create(properties) { - return new ProtoLayout(properties); - }; - - /** - * Encodes the specified ProtoLayout message. Does not implicitly {@link ProtoLayout.verify|verify} messages. - * @function encode - * @memberof ProtoLayout - * @static - * @param {IProtoLayout} message ProtoLayout message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLayout.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoLayout message, length delimited. Does not implicitly {@link ProtoLayout.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoLayout - * @static - * @param {IProtoLayout} message ProtoLayout message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLayout.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoLayout message from the specified reader or buffer. - * @function decode - * @memberof ProtoLayout - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoLayout} ProtoLayout - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLayout(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.name = reader.string(); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoLayout message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoLayout - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoLayout} ProtoLayout - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoLayout.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoLayout message. - * @function verify - * @memberof ProtoLayout - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoLayout message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoLayout - * @static - * @param {Object.} object Plain object - * @returns {ProtoLayout} ProtoLayout - */ - ProtoLayout.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoLayout) - return object; - 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); - } - if (object.name != null) - message.name = String(object.name); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoLayout.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoLayout message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoLayout - * @static - * @param {ProtoLayout} message ProtoLayout - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoLayout.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.name = ""; - } - 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoLayout to JSON. - * @function toJSON - * @memberof ProtoLayout - * @instance - * @returns {Object.} JSON object - */ - ProtoLayout.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoLayout - * @function getTypeUrl - * @memberof ProtoLayout - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoLayout.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoLayout"; - }; - - return ProtoLayout; -})(); - -$root.ProtoAdvancedIllustrationArea = (function() { - - /** - * Properties of a ProtoAdvancedIllustrationArea. - * @name IProtoAdvancedIllustrationArea - * @interface IProtoAdvancedIllustrationArea - * @property {Array.|null} [_children] ProtoAdvancedIllustrationArea _children - * @property {IProtoDocumentElement|null} [parent] ProtoAdvancedIllustrationArea parent - * @property {string|null} [uuid] ProtoAdvancedIllustrationArea uuid - * @property {boolean|null} [absolute] ProtoAdvancedIllustrationArea absolute - * @property {IProtoMeasure|null} [width] ProtoAdvancedIllustrationArea width - * @property {IProtoMeasure|null} [height] ProtoAdvancedIllustrationArea height - * @property {IProtoMeasure|null} [x] ProtoAdvancedIllustrationArea x - * @property {IProtoMeasure|null} [y] ProtoAdvancedIllustrationArea y - * @property {ProtoAdvancedIllustrationAreaTextFlowType|null} [textFlow] ProtoAdvancedIllustrationArea textFlow - * @property {number|null} [rotation] ProtoAdvancedIllustrationArea rotation - * @property {Array.|null} [comChannelUUIDs] ProtoAdvancedIllustrationArea comChannelUUIDs - */ - - /** - * Constructs a new ProtoAdvancedIllustrationArea. - * @name ProtoAdvancedIllustrationArea - * @classdesc Represents a ProtoAdvancedIllustrationArea. - * @implements IProtoAdvancedIllustrationArea - * @constructor - * @param {IProtoAdvancedIllustrationArea=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoAdvancedIllustrationArea _children. - * @member {Array.} _children - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype._children = $util.emptyArray; - - /** - * ProtoAdvancedIllustrationArea parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.parent = null; - - /** - * ProtoAdvancedIllustrationArea uuid. - * @member {string} uuid - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.uuid = ""; - - /** - * ProtoAdvancedIllustrationArea absolute. - * @member {boolean} absolute - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.absolute = false; - - /** - * ProtoAdvancedIllustrationArea width. - * @member {IProtoMeasure|null|undefined} width - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.width = null; - - /** - * ProtoAdvancedIllustrationArea height. - * @member {IProtoMeasure|null|undefined} height - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.height = null; - - /** - * ProtoAdvancedIllustrationArea x. - * @member {IProtoMeasure|null|undefined} x - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.x = null; - - /** - * ProtoAdvancedIllustrationArea y. - * @member {IProtoMeasure|null|undefined} y - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.y = null; - - /** - * ProtoAdvancedIllustrationArea textFlow. - * @member {ProtoAdvancedIllustrationAreaTextFlowType} textFlow - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.textFlow = 0; - - /** - * ProtoAdvancedIllustrationArea rotation. - * @member {number} rotation - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.rotation = 0; - - /** - * ProtoAdvancedIllustrationArea comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoAdvancedIllustrationArea - * @instance - */ - ProtoAdvancedIllustrationArea.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoAdvancedIllustrationArea instance using the specified properties. - * @function create - * @memberof ProtoAdvancedIllustrationArea - * @static - * @param {IProtoAdvancedIllustrationArea=} [properties] Properties to set - * @returns {ProtoAdvancedIllustrationArea} ProtoAdvancedIllustrationArea instance - */ - ProtoAdvancedIllustrationArea.create = function create(properties) { - return new ProtoAdvancedIllustrationArea(properties); - }; - - /** - * Encodes the specified ProtoAdvancedIllustrationArea message. Does not implicitly {@link ProtoAdvancedIllustrationArea.verify|verify} messages. - * @function encode - * @memberof ProtoAdvancedIllustrationArea - * @static - * @param {IProtoAdvancedIllustrationArea} message ProtoAdvancedIllustrationArea message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoAdvancedIllustrationArea.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - if (message.absolute != null && Object.hasOwnProperty.call(message, "absolute")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.absolute); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - $root.ProtoMeasure.encode(message.width, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - $root.ProtoMeasure.encode(message.height, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.x != null && Object.hasOwnProperty.call(message, "x")) - $root.ProtoMeasure.encode(message.x, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.y != null && Object.hasOwnProperty.call(message, "y")) - $root.ProtoMeasure.encode(message.y, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.textFlow != null && Object.hasOwnProperty.call(message, "textFlow")) - writer.uint32(/* id 9, wireType 0 =*/72).int32(message.textFlow); - if (message.rotation != null && Object.hasOwnProperty.call(message, "rotation")) - writer.uint32(/* id 10, wireType 5 =*/85).float(message.rotation); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoAdvancedIllustrationArea message, length delimited. Does not implicitly {@link ProtoAdvancedIllustrationArea.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoAdvancedIllustrationArea - * @static - * @param {IProtoAdvancedIllustrationArea} message ProtoAdvancedIllustrationArea message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoAdvancedIllustrationArea.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoAdvancedIllustrationArea message from the specified reader or buffer. - * @function decode - * @memberof ProtoAdvancedIllustrationArea - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoAdvancedIllustrationArea} ProtoAdvancedIllustrationArea - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoAdvancedIllustrationArea(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - message.absolute = reader.bool(); - break; - } - case 5: { - message.width = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 6: { - message.height = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 7: { - message.x = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 8: { - message.y = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 9: { - message.textFlow = reader.int32(); - break; - } - case 10: { - message.rotation = reader.float(); - break; - } - case 11: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoAdvancedIllustrationArea message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoAdvancedIllustrationArea - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoAdvancedIllustrationArea} ProtoAdvancedIllustrationArea - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoAdvancedIllustrationArea.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoAdvancedIllustrationArea message. - * @function verify - * @memberof ProtoAdvancedIllustrationArea - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.absolute != null && message.hasOwnProperty("absolute")) - if (typeof message.absolute !== "boolean") - return "absolute: boolean expected"; - if (message.width != null && message.hasOwnProperty("width")) { - 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); - if (error) - return "height." + error; - } - if (message.x != null && message.hasOwnProperty("x")) { - 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); - if (error) - return "y." + error; - } - if (message.textFlow != null && message.hasOwnProperty("textFlow")) - switch (message.textFlow) { - default: - return "textFlow: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.rotation != null && message.hasOwnProperty("rotation")) - if (typeof message.rotation !== "number") - return "rotation: number expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoAdvancedIllustrationArea message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoAdvancedIllustrationArea - * @static - * @param {Object.} object Plain object - * @returns {ProtoAdvancedIllustrationArea} ProtoAdvancedIllustrationArea - */ - ProtoAdvancedIllustrationArea.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoAdvancedIllustrationArea) - return object; - var message = new $root.ProtoAdvancedIllustrationArea(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoAdvancedIllustrationArea._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoAdvancedIllustrationArea.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.absolute != null) - 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); - } - if (object.height != null) { - if (typeof object.height !== "object") - throw TypeError(".ProtoAdvancedIllustrationArea.height: object expected"); - 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); - } - if (object.y != null) { - if (typeof object.y !== "object") - throw TypeError(".ProtoAdvancedIllustrationArea.y: object expected"); - 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.rotation != null) - message.rotation = Number(object.rotation); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoAdvancedIllustrationArea.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoAdvancedIllustrationArea message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoAdvancedIllustrationArea - * @static - * @param {ProtoAdvancedIllustrationArea} message ProtoAdvancedIllustrationArea - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoAdvancedIllustrationArea.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.absolute = false; - object.width = null; - object.height = null; - object.x = null; - object.y = null; - object.textFlow = options.enums === String ? "DO_NOT_USE_AT_ALL" : 0; - object.rotation = 0; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.absolute != null && message.hasOwnProperty("absolute")) - object.absolute = message.absolute; - if (message.width != null && message.hasOwnProperty("width")) - object.width = $root.ProtoMeasure.toObject(message.width, options); - if (message.height != null && message.hasOwnProperty("height")) - object.height = $root.ProtoMeasure.toObject(message.height, options); - if (message.x != null && message.hasOwnProperty("x")) - object.x = $root.ProtoMeasure.toObject(message.x, options); - if (message.y != null && message.hasOwnProperty("y")) - object.y = $root.ProtoMeasure.toObject(message.y, options); - if (message.textFlow != null && message.hasOwnProperty("textFlow")) - object.textFlow = options.enums === String ? $root.ProtoAdvancedIllustrationAreaTextFlowType[message.textFlow] === undefined ? message.textFlow : $root.ProtoAdvancedIllustrationAreaTextFlowType[message.textFlow] : message.textFlow; - 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 = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoAdvancedIllustrationArea to JSON. - * @function toJSON - * @memberof ProtoAdvancedIllustrationArea - * @instance - * @returns {Object.} JSON object - */ - ProtoAdvancedIllustrationArea.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoAdvancedIllustrationArea - * @function getTypeUrl - * @memberof ProtoAdvancedIllustrationArea - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoAdvancedIllustrationArea.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoAdvancedIllustrationArea"; - }; - - return ProtoAdvancedIllustrationArea; -})(); - -$root.ProtoAdjustHorizontally = (function() { - - /** - * Properties of a ProtoAdjustHorizontally. - * @name IProtoAdjustHorizontally - * @interface IProtoAdjustHorizontally - * @property {Array.|null} [_children] ProtoAdjustHorizontally _children - * @property {IProtoDocumentElement|null} [parent] ProtoAdjustHorizontally parent - * @property {IProtoMeasure|null} [minFontSize] ProtoAdjustHorizontally minFontSize - * @property {IProtoMeasure|null} [maxFontSize] ProtoAdjustHorizontally maxFontSize - * @property {Array.|null} [comChannelUUIDs] ProtoAdjustHorizontally comChannelUUIDs - */ - - /** - * Constructs a new ProtoAdjustHorizontally. - * @name ProtoAdjustHorizontally - * @classdesc Represents a ProtoAdjustHorizontally. - * @implements IProtoAdjustHorizontally - * @constructor - * @param {IProtoAdjustHorizontally=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoAdjustHorizontally _children. - * @member {Array.} _children - * @memberof ProtoAdjustHorizontally - * @instance - */ - ProtoAdjustHorizontally.prototype._children = $util.emptyArray; - - /** - * ProtoAdjustHorizontally parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoAdjustHorizontally - * @instance - */ - ProtoAdjustHorizontally.prototype.parent = null; - - /** - * ProtoAdjustHorizontally minFontSize. - * @member {IProtoMeasure|null|undefined} minFontSize - * @memberof ProtoAdjustHorizontally - * @instance - */ - ProtoAdjustHorizontally.prototype.minFontSize = null; - - /** - * ProtoAdjustHorizontally maxFontSize. - * @member {IProtoMeasure|null|undefined} maxFontSize - * @memberof ProtoAdjustHorizontally - * @instance - */ - ProtoAdjustHorizontally.prototype.maxFontSize = null; - - /** - * ProtoAdjustHorizontally comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoAdjustHorizontally - * @instance - */ - ProtoAdjustHorizontally.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoAdjustHorizontally instance using the specified properties. - * @function create - * @memberof ProtoAdjustHorizontally - * @static - * @param {IProtoAdjustHorizontally=} [properties] Properties to set - * @returns {ProtoAdjustHorizontally} ProtoAdjustHorizontally instance - */ - ProtoAdjustHorizontally.create = function create(properties) { - return new ProtoAdjustHorizontally(properties); - }; - - /** - * Encodes the specified ProtoAdjustHorizontally message. Does not implicitly {@link ProtoAdjustHorizontally.verify|verify} messages. - * @function encode - * @memberof ProtoAdjustHorizontally - * @static - * @param {IProtoAdjustHorizontally} message ProtoAdjustHorizontally message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoAdjustHorizontally.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.minFontSize != null && Object.hasOwnProperty.call(message, "minFontSize")) - $root.ProtoMeasure.encode(message.minFontSize, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.maxFontSize != null && Object.hasOwnProperty.call(message, "maxFontSize")) - $root.ProtoMeasure.encode(message.maxFontSize, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoAdjustHorizontally message, length delimited. Does not implicitly {@link ProtoAdjustHorizontally.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoAdjustHorizontally - * @static - * @param {IProtoAdjustHorizontally} message ProtoAdjustHorizontally message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoAdjustHorizontally.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoAdjustHorizontally message from the specified reader or buffer. - * @function decode - * @memberof ProtoAdjustHorizontally - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoAdjustHorizontally} ProtoAdjustHorizontally - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoAdjustHorizontally(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.minFontSize = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 4: { - message.maxFontSize = $root.ProtoMeasure.decode(reader, reader.uint32()); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoAdjustHorizontally message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoAdjustHorizontally - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoAdjustHorizontally} ProtoAdjustHorizontally - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoAdjustHorizontally.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoAdjustHorizontally message. - * @function verify - * @memberof ProtoAdjustHorizontally - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "minFontSize." + error; - } - if (message.maxFontSize != null && message.hasOwnProperty("maxFontSize")) { - var error = $root.ProtoMeasure.verify(message.maxFontSize); - if (error) - return "maxFontSize." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoAdjustHorizontally message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoAdjustHorizontally - * @static - * @param {Object.} object Plain object - * @returns {ProtoAdjustHorizontally} ProtoAdjustHorizontally - */ - ProtoAdjustHorizontally.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoAdjustHorizontally) - return object; - var message = new $root.ProtoAdjustHorizontally(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoAdjustHorizontally._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoAdjustHorizontally.parent: object expected"); - 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); - } - if (object.maxFontSize != null) { - if (typeof object.maxFontSize !== "object") - throw TypeError(".ProtoAdjustHorizontally.maxFontSize: object expected"); - message.maxFontSize = $root.ProtoMeasure.fromObject(object.maxFontSize); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoAdjustHorizontally.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoAdjustHorizontally message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoAdjustHorizontally - * @static - * @param {ProtoAdjustHorizontally} message ProtoAdjustHorizontally - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoAdjustHorizontally.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.minFontSize = null; - object.maxFontSize = null; - } - if (message._children && 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.minFontSize != null && message.hasOwnProperty("minFontSize")) - object.minFontSize = $root.ProtoMeasure.toObject(message.minFontSize, options); - if (message.maxFontSize != null && message.hasOwnProperty("maxFontSize")) - object.maxFontSize = $root.ProtoMeasure.toObject(message.maxFontSize, options); - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoAdjustHorizontally to JSON. - * @function toJSON - * @memberof ProtoAdjustHorizontally - * @instance - * @returns {Object.} JSON object - */ - ProtoAdjustHorizontally.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoAdjustHorizontally - * @function getTypeUrl - * @memberof ProtoAdjustHorizontally - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoAdjustHorizontally.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoAdjustHorizontally"; - }; - - return ProtoAdjustHorizontally; -})(); - -/** - * ProtoDoctypeOutputMode enum. - * @name ProtoDoctypeOutputMode - * @enum {number} - * @property {number} DOCTYPE_OUTPUT_MODE_NOT_SET=0 DOCTYPE_OUTPUT_MODE_NOT_SET value - * @property {number} DOCTYPE=1 DOCTYPE value - * @property {number} JSON=2 JSON value - */ -$root.ProtoDoctypeOutputMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DOCTYPE_OUTPUT_MODE_NOT_SET"] = 0; - values[valuesById[1] = "DOCTYPE"] = 1; - values[valuesById[2] = "JSON"] = 2; - return values; -})(); - -$root.ProtoDoctypeScript = (function() { - - /** - * Properties of a ProtoDoctypeScript. - * @name IProtoDoctypeScript - * @interface IProtoDoctypeScript - * @property {IProtoDocumentElement|null} [parent] ProtoDoctypeScript parent - * @property {string|null} [content] ProtoDoctypeScript content - * @property {ProtoDoctypeOutputMode|null} [outputMode] ProtoDoctypeScript outputMode - * @property {Array.|null} [comChannelUUIDs] ProtoDoctypeScript comChannelUUIDs - * @property {string|null} [uuid] ProtoDoctypeScript uuid - */ - - /** - * Constructs a new ProtoDoctypeScript. - * @name ProtoDoctypeScript - * @classdesc Represents a ProtoDoctypeScript. - * @implements IProtoDoctypeScript - * @constructor - * @param {IProtoDoctypeScript=} [properties] Properties to set - */ - function ProtoDoctypeScript(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoDoctypeScript parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoDoctypeScript - * @instance - */ - ProtoDoctypeScript.prototype.parent = null; - - /** - * ProtoDoctypeScript content. - * @member {string} content - * @memberof ProtoDoctypeScript - * @instance - */ - ProtoDoctypeScript.prototype.content = ""; - - /** - * ProtoDoctypeScript outputMode. - * @member {ProtoDoctypeOutputMode} outputMode - * @memberof ProtoDoctypeScript - * @instance - */ - ProtoDoctypeScript.prototype.outputMode = 0; - - /** - * ProtoDoctypeScript comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoDoctypeScript - * @instance - */ - ProtoDoctypeScript.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoDoctypeScript uuid. - * @member {string} uuid - * @memberof ProtoDoctypeScript - * @instance - */ - ProtoDoctypeScript.prototype.uuid = ""; - - /** - * Creates a new ProtoDoctypeScript instance using the specified properties. - * @function create - * @memberof ProtoDoctypeScript - * @static - * @param {IProtoDoctypeScript=} [properties] Properties to set - * @returns {ProtoDoctypeScript} ProtoDoctypeScript instance - */ - ProtoDoctypeScript.create = function create(properties) { - return new ProtoDoctypeScript(properties); - }; - - /** - * Encodes the specified ProtoDoctypeScript message. Does not implicitly {@link ProtoDoctypeScript.verify|verify} messages. - * @function encode - * @memberof ProtoDoctypeScript - * @static - * @param {IProtoDoctypeScript} message ProtoDoctypeScript message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDoctypeScript.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.content != null && Object.hasOwnProperty.call(message, "content")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.content); - if (message.outputMode != null && Object.hasOwnProperty.call(message, "outputMode")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.outputMode); - 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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.uuid); - return writer; - }; - - /** - * Encodes the specified ProtoDoctypeScript message, length delimited. Does not implicitly {@link ProtoDoctypeScript.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoDoctypeScript - * @static - * @param {IProtoDoctypeScript} message ProtoDoctypeScript message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDoctypeScript.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoDoctypeScript message from the specified reader or buffer. - * @function decode - * @memberof ProtoDoctypeScript - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoDoctypeScript} ProtoDoctypeScript - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDoctypeScript(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.content = reader.string(); - break; - } - case 3: { - message.outputMode = reader.int32(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.uuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoDoctypeScript message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoDoctypeScript - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoDoctypeScript} ProtoDoctypeScript - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoDoctypeScript.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoDoctypeScript message. - * @function verify - * @memberof ProtoDoctypeScript - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.content != null && message.hasOwnProperty("content")) - if (!$util.isString(message.content)) - return "content: string expected"; - if (message.outputMode != null && message.hasOwnProperty("outputMode")) - switch (message.outputMode) { - default: - return "outputMode: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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; - }; - - /** - * Creates a ProtoDoctypeScript message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoDoctypeScript - * @static - * @param {Object.} object Plain object - * @returns {ProtoDoctypeScript} ProtoDoctypeScript - */ - ProtoDoctypeScript.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoDoctypeScript) - return object; - 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); - } - if (object.content != null) - 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 = []; - 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; - }; - - /** - * Creates a plain object from a ProtoDoctypeScript message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoDoctypeScript - * @static - * @param {ProtoDoctypeScript} message ProtoDoctypeScript - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoDoctypeScript.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.content = ""; - object.outputMode = options.enums === String ? "DOCTYPE_OUTPUT_MODE_NOT_SET" : 0; - object.uuid = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.content != null && message.hasOwnProperty("content")) - object.content = message.content; - 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 = []; - 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; - }; - - /** - * Converts this ProtoDoctypeScript to JSON. - * @function toJSON - * @memberof ProtoDoctypeScript - * @instance - * @returns {Object.} JSON object - */ - ProtoDoctypeScript.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoDoctypeScript - * @function getTypeUrl - * @memberof ProtoDoctypeScript - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoDoctypeScript.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoDoctypeScript"; - }; - - return ProtoDoctypeScript; -})(); - -$root.ProtoDmScript = (function() { - - /** - * Properties of a ProtoDmScript. - * @name IProtoDmScript - * @interface IProtoDmScript - * @property {IProtoDocumentElement|null} [parent] ProtoDmScript parent - * @property {string|null} [content] ProtoDmScript content - * @property {Array.|null} [comChannelUUIDs] ProtoDmScript comChannelUUIDs - * @property {string|null} [uuid] ProtoDmScript uuid - */ - - /** - * Constructs a new ProtoDmScript. - * @name ProtoDmScript - * @classdesc Represents a ProtoDmScript. - * @implements IProtoDmScript - * @constructor - * @param {IProtoDmScript=} [properties] Properties to set - */ - function ProtoDmScript(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoDmScript parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoDmScript - * @instance - */ - ProtoDmScript.prototype.parent = null; - - /** - * ProtoDmScript content. - * @member {string} content - * @memberof ProtoDmScript - * @instance - */ - ProtoDmScript.prototype.content = ""; - - /** - * ProtoDmScript comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoDmScript - * @instance - */ - ProtoDmScript.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoDmScript uuid. - * @member {string} uuid - * @memberof ProtoDmScript - * @instance - */ - ProtoDmScript.prototype.uuid = ""; - - /** - * Creates a new ProtoDmScript instance using the specified properties. - * @function create - * @memberof ProtoDmScript - * @static - * @param {IProtoDmScript=} [properties] Properties to set - * @returns {ProtoDmScript} ProtoDmScript instance - */ - ProtoDmScript.create = function create(properties) { - return new ProtoDmScript(properties); - }; - - /** - * Encodes the specified ProtoDmScript message. Does not implicitly {@link ProtoDmScript.verify|verify} messages. - * @function encode - * @memberof ProtoDmScript - * @static - * @param {IProtoDmScript} message ProtoDmScript message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDmScript.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.content != null && Object.hasOwnProperty.call(message, "content")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.content); - 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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - return writer; - }; - - /** - * Encodes the specified ProtoDmScript message, length delimited. Does not implicitly {@link ProtoDmScript.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoDmScript - * @static - * @param {IProtoDmScript} message ProtoDmScript message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDmScript.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoDmScript message from the specified reader or buffer. - * @function decode - * @memberof ProtoDmScript - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoDmScript} ProtoDmScript - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDmScript(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.content = reader.string(); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 4: { - message.uuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoDmScript message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoDmScript - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoDmScript} ProtoDmScript - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoDmScript.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoDmScript message. - * @function verify - * @memberof ProtoDmScript - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.content != null && message.hasOwnProperty("content")) - if (!$util.isString(message.content)) - return "content: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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; - }; - - /** - * Creates a ProtoDmScript message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoDmScript - * @static - * @param {Object.} object Plain object - * @returns {ProtoDmScript} ProtoDmScript - */ - ProtoDmScript.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoDmScript) - return object; - 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); - } - if (object.content != null) - message.content = String(object.content); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoDmScript.comChannelUUIDs: array expected"); - 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; - }; - - /** - * Creates a plain object from a ProtoDmScript message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoDmScript - * @static - * @param {ProtoDmScript} message ProtoDmScript - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoDmScript.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.content = ""; - object.uuid = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.content != null && message.hasOwnProperty("content")) - object.content = message.content; - if (message.comChannelUUIDs && 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; - }; - - /** - * Converts this ProtoDmScript to JSON. - * @function toJSON - * @memberof ProtoDmScript - * @instance - * @returns {Object.} JSON object - */ - ProtoDmScript.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoDmScript - * @function getTypeUrl - * @memberof ProtoDmScript - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoDmScript.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoDmScript"; - }; - - return ProtoDmScript; -})(); - -$root.ProtoDynamicTemplate = (function() { - - /** - * Properties of a ProtoDynamicTemplate. - * @name IProtoDynamicTemplate - * @interface IProtoDynamicTemplate - * @property {IProtoDocumentElement|null} [parent] ProtoDynamicTemplate parent - * @property {string|null} [uuid] ProtoDynamicTemplate uuid - * @property {string|null} [script] ProtoDynamicTemplate script - * @property {Array.|null} [comChannelUUIDs] ProtoDynamicTemplate comChannelUUIDs - */ - - /** - * Constructs a new ProtoDynamicTemplate. - * @name ProtoDynamicTemplate - * @classdesc Represents a ProtoDynamicTemplate. - * @implements IProtoDynamicTemplate - * @constructor - * @param {IProtoDynamicTemplate=} [properties] Properties to set - */ - function ProtoDynamicTemplate(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoDynamicTemplate parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoDynamicTemplate - * @instance - */ - ProtoDynamicTemplate.prototype.parent = null; - - /** - * ProtoDynamicTemplate uuid. - * @member {string} uuid - * @memberof ProtoDynamicTemplate - * @instance - */ - ProtoDynamicTemplate.prototype.uuid = ""; - - /** - * ProtoDynamicTemplate script. - * @member {string} script - * @memberof ProtoDynamicTemplate - * @instance - */ - ProtoDynamicTemplate.prototype.script = ""; - - /** - * ProtoDynamicTemplate comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoDynamicTemplate - * @instance - */ - ProtoDynamicTemplate.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoDynamicTemplate instance using the specified properties. - * @function create - * @memberof ProtoDynamicTemplate - * @static - * @param {IProtoDynamicTemplate=} [properties] Properties to set - * @returns {ProtoDynamicTemplate} ProtoDynamicTemplate instance - */ - ProtoDynamicTemplate.create = function create(properties) { - return new ProtoDynamicTemplate(properties); - }; - - /** - * Encodes the specified ProtoDynamicTemplate message. Does not implicitly {@link ProtoDynamicTemplate.verify|verify} messages. - * @function encode - * @memberof ProtoDynamicTemplate - * @static - * @param {IProtoDynamicTemplate} message ProtoDynamicTemplate message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDynamicTemplate.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.uuid); - if (message.script != null && Object.hasOwnProperty.call(message, "script")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.script); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoDynamicTemplate message, length delimited. Does not implicitly {@link ProtoDynamicTemplate.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoDynamicTemplate - * @static - * @param {IProtoDynamicTemplate} message ProtoDynamicTemplate message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoDynamicTemplate.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoDynamicTemplate message from the specified reader or buffer. - * @function decode - * @memberof ProtoDynamicTemplate - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoDynamicTemplate} ProtoDynamicTemplate - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoDynamicTemplate(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.uuid = reader.string(); - break; - } - case 3: { - message.script = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoDynamicTemplate message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoDynamicTemplate - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoDynamicTemplate} ProtoDynamicTemplate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoDynamicTemplate.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoDynamicTemplate message. - * @function verify - * @memberof ProtoDynamicTemplate - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.script != null && message.hasOwnProperty("script")) - if (!$util.isString(message.script)) - return "script: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoDynamicTemplate message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoDynamicTemplate - * @static - * @param {Object.} object Plain object - * @returns {ProtoDynamicTemplate} ProtoDynamicTemplate - */ - ProtoDynamicTemplate.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoDynamicTemplate) - return object; - 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); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.script != null) - message.script = String(object.script); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoDynamicTemplate.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoDynamicTemplate message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoDynamicTemplate - * @static - * @param {ProtoDynamicTemplate} message ProtoDynamicTemplate - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoDynamicTemplate.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.script = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.script != null && message.hasOwnProperty("script")) - object.script = message.script; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoDynamicTemplate to JSON. - * @function toJSON - * @memberof ProtoDynamicTemplate - * @instance - * @returns {Object.} JSON object - */ - ProtoDynamicTemplate.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoDynamicTemplate - * @function getTypeUrl - * @memberof ProtoDynamicTemplate - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoDynamicTemplate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoDynamicTemplate"; - }; - - return ProtoDynamicTemplate; -})(); - -$root.ProtoSelection = (function() { - - /** - * Properties of a ProtoSelection. - * @name IProtoSelection - * @interface IProtoSelection - * @property {Array.|null} [_children] ProtoSelection _children - * @property {IProtoDocumentElement|null} [parent] ProtoSelection parent - * @property {string|null} [uuid] ProtoSelection uuid - * @property {Array.|null} [comChannelUUIDs] ProtoSelection comChannelUUIDs - * @property {string|null} [internalName] ProtoSelection internalName - * @property {string|null} [name] ProtoSelection name - * @property {boolean|null} [multi] ProtoSelection multi - * @property {number|Long|null} [min] ProtoSelection min - * @property {number|Long|null} [max] ProtoSelection max - */ - - /** - * Constructs a new ProtoSelection. - * @name ProtoSelection - * @classdesc Represents a ProtoSelection. - * @implements IProtoSelection - * @constructor - * @param {IProtoSelection=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSelection _children. - * @member {Array.} _children - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype._children = $util.emptyArray; - - /** - * ProtoSelection parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype.parent = null; - - /** - * ProtoSelection uuid. - * @member {string} uuid - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype.uuid = ""; - - /** - * ProtoSelection comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoSelection internalName. - * @member {string} internalName - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype.internalName = ""; - - /** - * ProtoSelection name. - * @member {string} name - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype.name = ""; - - /** - * ProtoSelection multi. - * @member {boolean} multi - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype.multi = false; - - /** - * ProtoSelection min. - * @member {number|Long} min - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype.min = $util.Long ? $util.Long.fromBits(0,0,true) : 0; - - /** - * ProtoSelection max. - * @member {number|Long} max - * @memberof ProtoSelection - * @instance - */ - ProtoSelection.prototype.max = $util.Long ? $util.Long.fromBits(0,0,true) : 0; - - /** - * Creates a new ProtoSelection instance using the specified properties. - * @function create - * @memberof ProtoSelection - * @static - * @param {IProtoSelection=} [properties] Properties to set - * @returns {ProtoSelection} ProtoSelection instance - */ - ProtoSelection.create = function create(properties) { - return new ProtoSelection(properties); - }; - - /** - * Encodes the specified ProtoSelection message. Does not implicitly {@link ProtoSelection.verify|verify} messages. - * @function encode - * @memberof ProtoSelection - * @static - * @param {IProtoSelection} message ProtoSelection message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSelection.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - 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.internalName != null && Object.hasOwnProperty.call(message, "internalName")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.internalName); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.name); - if (message.multi != null && Object.hasOwnProperty.call(message, "multi")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.multi); - if (message.min != null && Object.hasOwnProperty.call(message, "min")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoSelection message, length delimited. Does not implicitly {@link ProtoSelection.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSelection - * @static - * @param {IProtoSelection} message ProtoSelection message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSelection.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSelection message from the specified reader or buffer. - * @function decode - * @memberof ProtoSelection - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSelection} ProtoSelection - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSelection(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.internalName = reader.string(); - break; - } - case 6: { - message.name = reader.string(); - break; - } - case 7: { - message.multi = reader.bool(); - break; - } - case 8: { - message.min = reader.uint64(); - break; - } - case 9: { - message.max = reader.uint64(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSelection message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSelection - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSelection} ProtoSelection - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSelection.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSelection message. - * @function verify - * @memberof ProtoSelection - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.internalName != null && message.hasOwnProperty("internalName")) - if (!$util.isString(message.internalName)) - return "internalName: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.multi != null && message.hasOwnProperty("multi")) - if (typeof message.multi !== "boolean") - return "multi: boolean expected"; - if (message.min != null && message.hasOwnProperty("min")) - if (!$util.isInteger(message.min) && !(message.min && $util.isInteger(message.min.low) && $util.isInteger(message.min.high))) - return "min: integer|Long expected"; - if (message.max != null && message.hasOwnProperty("max")) - if (!$util.isInteger(message.max) && !(message.max && $util.isInteger(message.max.low) && $util.isInteger(message.max.high))) - return "max: integer|Long expected"; - return null; - }; - - /** - * Creates a ProtoSelection message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSelection - * @static - * @param {Object.} object Plain object - * @returns {ProtoSelection} ProtoSelection - */ - ProtoSelection.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSelection) - return object; - var message = new $root.ProtoSelection(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoSelection._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoSelection.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoSelection.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - if (object.internalName != null) - message.internalName = String(object.internalName); - if (object.name != null) - message.name = String(object.name); - if (object.multi != null) - message.multi = Boolean(object.multi); - if (object.min != null) - 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 ($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; - }; - - /** - * Creates a plain object from a ProtoSelection message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSelection - * @static - * @param {ProtoSelection} message ProtoSelection - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSelection.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.internalName = ""; - object.name = ""; - object.multi = false; - if ($util.Long) { - var long = new $util.Long(0, 0, true); - object.min = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.min = options.longs === String ? "0" : 0; - if ($util.Long) { - var long = new $util.Long(0, 0, true); - object.max = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.max = options.longs === String ? "0" : 0; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.internalName != null && message.hasOwnProperty("internalName")) - object.internalName = message.internalName; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.multi != null && message.hasOwnProperty("multi")) - object.multi = message.multi; - if (message.min != null && message.hasOwnProperty("min")) - if (typeof message.min === "number") - object.min = options.longs === String ? String(message.min) : message.min; - else - object.min = options.longs === String ? $util.Long.prototype.toString.call(message.min) : options.longs === Number ? new $util.LongBits(message.min.low >>> 0, message.min.high >>> 0).toNumber(true) : message.min; - if (message.max != null && message.hasOwnProperty("max")) - if (typeof message.max === "number") - object.max = options.longs === String ? String(message.max) : message.max; - else - object.max = options.longs === String ? $util.Long.prototype.toString.call(message.max) : options.longs === Number ? new $util.LongBits(message.max.low >>> 0, message.max.high >>> 0).toNumber(true) : message.max; - return object; - }; - - /** - * Converts this ProtoSelection to JSON. - * @function toJSON - * @memberof ProtoSelection - * @instance - * @returns {Object.} JSON object - */ - ProtoSelection.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSelection - * @function getTypeUrl - * @memberof ProtoSelection - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSelection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSelection"; - }; - - return ProtoSelection; -})(); - -$root.ProtoSelectionEntry = (function() { - - /** - * Properties of a ProtoSelectionEntry. - * @name IProtoSelectionEntry - * @interface IProtoSelectionEntry - * @property {Array.|null} [_children] ProtoSelectionEntry _children - * @property {IProtoDocumentElement|null} [parent] ProtoSelectionEntry parent - * @property {string|null} [uuid] ProtoSelectionEntry uuid - * @property {Array.|null} [comChannelUUIDs] ProtoSelectionEntry comChannelUUIDs - * @property {string|null} [internalName] ProtoSelectionEntry internalName - * @property {string|null} [name] ProtoSelectionEntry name - * @property {boolean|null} [selected] ProtoSelectionEntry selected - */ - - /** - * Constructs a new ProtoSelectionEntry. - * @name ProtoSelectionEntry - * @classdesc Represents a ProtoSelectionEntry. - * @implements IProtoSelectionEntry - * @constructor - * @param {IProtoSelectionEntry=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoSelectionEntry _children. - * @member {Array.} _children - * @memberof ProtoSelectionEntry - * @instance - */ - ProtoSelectionEntry.prototype._children = $util.emptyArray; - - /** - * ProtoSelectionEntry parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoSelectionEntry - * @instance - */ - ProtoSelectionEntry.prototype.parent = null; - - /** - * ProtoSelectionEntry uuid. - * @member {string} uuid - * @memberof ProtoSelectionEntry - * @instance - */ - ProtoSelectionEntry.prototype.uuid = ""; - - /** - * ProtoSelectionEntry comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoSelectionEntry - * @instance - */ - ProtoSelectionEntry.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoSelectionEntry internalName. - * @member {string} internalName - * @memberof ProtoSelectionEntry - * @instance - */ - ProtoSelectionEntry.prototype.internalName = ""; - - /** - * ProtoSelectionEntry name. - * @member {string} name - * @memberof ProtoSelectionEntry - * @instance - */ - ProtoSelectionEntry.prototype.name = ""; - - /** - * ProtoSelectionEntry selected. - * @member {boolean} selected - * @memberof ProtoSelectionEntry - * @instance - */ - ProtoSelectionEntry.prototype.selected = false; - - /** - * Creates a new ProtoSelectionEntry instance using the specified properties. - * @function create - * @memberof ProtoSelectionEntry - * @static - * @param {IProtoSelectionEntry=} [properties] Properties to set - * @returns {ProtoSelectionEntry} ProtoSelectionEntry instance - */ - ProtoSelectionEntry.create = function create(properties) { - return new ProtoSelectionEntry(properties); - }; - - /** - * Encodes the specified ProtoSelectionEntry message. Does not implicitly {@link ProtoSelectionEntry.verify|verify} messages. - * @function encode - * @memberof ProtoSelectionEntry - * @static - * @param {IProtoSelectionEntry} message ProtoSelectionEntry message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSelectionEntry.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - 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.internalName != null && Object.hasOwnProperty.call(message, "internalName")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.internalName); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoSelectionEntry message, length delimited. Does not implicitly {@link ProtoSelectionEntry.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoSelectionEntry - * @static - * @param {IProtoSelectionEntry} message ProtoSelectionEntry message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoSelectionEntry.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoSelectionEntry message from the specified reader or buffer. - * @function decode - * @memberof ProtoSelectionEntry - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoSelectionEntry} ProtoSelectionEntry - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoSelectionEntry(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.internalName = reader.string(); - break; - } - case 6: { - message.name = reader.string(); - break; - } - case 7: { - message.selected = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoSelectionEntry message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoSelectionEntry - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoSelectionEntry} ProtoSelectionEntry - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoSelectionEntry.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoSelectionEntry message. - * @function verify - * @memberof ProtoSelectionEntry - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.internalName != null && message.hasOwnProperty("internalName")) - if (!$util.isString(message.internalName)) - return "internalName: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.selected != null && message.hasOwnProperty("selected")) - if (typeof message.selected !== "boolean") - return "selected: boolean expected"; - return null; - }; - - /** - * Creates a ProtoSelectionEntry message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoSelectionEntry - * @static - * @param {Object.} object Plain object - * @returns {ProtoSelectionEntry} ProtoSelectionEntry - */ - ProtoSelectionEntry.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoSelectionEntry) - return object; - var message = new $root.ProtoSelectionEntry(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoSelectionEntry._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoSelectionEntry.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoSelectionEntry.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - if (object.internalName != null) - message.internalName = String(object.internalName); - if (object.name != null) - message.name = String(object.name); - if (object.selected != null) - message.selected = Boolean(object.selected); - return message; - }; - - /** - * Creates a plain object from a ProtoSelectionEntry message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoSelectionEntry - * @static - * @param {ProtoSelectionEntry} message ProtoSelectionEntry - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoSelectionEntry.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.internalName = ""; - object.name = ""; - object.selected = false; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.internalName != null && message.hasOwnProperty("internalName")) - object.internalName = message.internalName; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.selected != null && message.hasOwnProperty("selected")) - object.selected = message.selected; - return object; - }; - - /** - * Converts this ProtoSelectionEntry to JSON. - * @function toJSON - * @memberof ProtoSelectionEntry - * @instance - * @returns {Object.} JSON object - */ - ProtoSelectionEntry.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoSelectionEntry - * @function getTypeUrl - * @memberof ProtoSelectionEntry - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoSelectionEntry.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoSelectionEntry"; - }; - - return ProtoSelectionEntry; -})(); - -$root.ProtoCondition = (function() { - - /** - * Properties of a ProtoCondition. - * @name IProtoCondition - * @interface IProtoCondition - * @property {Array.|null} [_children] ProtoCondition _children - * @property {IProtoDocumentElement|null} [parent] ProtoCondition parent - * @property {string|null} [uuid] ProtoCondition uuid - * @property {Array.|null} [comChannelUUIDs] ProtoCondition comChannelUUIDs - * @property {string|null} [code] ProtoCondition code - * @property {boolean|null} [result] ProtoCondition result - * @property {boolean|null} [regenerate] ProtoCondition regenerate - */ - - /** - * Constructs a new ProtoCondition. - * @name ProtoCondition - * @classdesc Represents a ProtoCondition. - * @implements IProtoCondition - * @constructor - * @param {IProtoCondition=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoCondition _children. - * @member {Array.} _children - * @memberof ProtoCondition - * @instance - */ - ProtoCondition.prototype._children = $util.emptyArray; - - /** - * ProtoCondition parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoCondition - * @instance - */ - ProtoCondition.prototype.parent = null; - - /** - * ProtoCondition uuid. - * @member {string} uuid - * @memberof ProtoCondition - * @instance - */ - ProtoCondition.prototype.uuid = ""; - - /** - * ProtoCondition comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoCondition - * @instance - */ - ProtoCondition.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoCondition code. - * @member {string} code - * @memberof ProtoCondition - * @instance - */ - ProtoCondition.prototype.code = ""; - - /** - * ProtoCondition result. - * @member {boolean} result - * @memberof ProtoCondition - * @instance - */ - ProtoCondition.prototype.result = false; - - /** - * ProtoCondition regenerate. - * @member {boolean} regenerate - * @memberof ProtoCondition - * @instance - */ - ProtoCondition.prototype.regenerate = false; - - /** - * Creates a new ProtoCondition instance using the specified properties. - * @function create - * @memberof ProtoCondition - * @static - * @param {IProtoCondition=} [properties] Properties to set - * @returns {ProtoCondition} ProtoCondition instance - */ - ProtoCondition.create = function create(properties) { - return new ProtoCondition(properties); - }; - - /** - * Encodes the specified ProtoCondition message. Does not implicitly {@link ProtoCondition.verify|verify} messages. - * @function encode - * @memberof ProtoCondition - * @static - * @param {IProtoCondition} message ProtoCondition message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCondition.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - 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.code != null && Object.hasOwnProperty.call(message, "code")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.code); - if (message.result != null && Object.hasOwnProperty.call(message, "result")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoCondition message, length delimited. Does not implicitly {@link ProtoCondition.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoCondition - * @static - * @param {IProtoCondition} message ProtoCondition message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoCondition.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoCondition message from the specified reader or buffer. - * @function decode - * @memberof ProtoCondition - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoCondition} ProtoCondition - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoCondition(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.code = reader.string(); - break; - } - case 6: { - message.result = reader.bool(); - break; - } - case 7: { - message.regenerate = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoCondition message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoCondition - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoCondition} ProtoCondition - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoCondition.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoCondition message. - * @function verify - * @memberof ProtoCondition - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.code != null && message.hasOwnProperty("code")) - if (!$util.isString(message.code)) - return "code: string expected"; - if (message.result != null && message.hasOwnProperty("result")) - if (typeof message.result !== "boolean") - return "result: boolean expected"; - if (message.regenerate != null && message.hasOwnProperty("regenerate")) - if (typeof message.regenerate !== "boolean") - return "regenerate: boolean expected"; - return null; - }; - - /** - * Creates a ProtoCondition message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoCondition - * @static - * @param {Object.} object Plain object - * @returns {ProtoCondition} ProtoCondition - */ - ProtoCondition.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoCondition) - return object; - var message = new $root.ProtoCondition(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoCondition._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoCondition.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoCondition.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - if (object.code != null) - message.code = String(object.code); - if (object.result != null) - message.result = Boolean(object.result); - if (object.regenerate != null) - message.regenerate = Boolean(object.regenerate); - return message; - }; - - /** - * Creates a plain object from a ProtoCondition message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoCondition - * @static - * @param {ProtoCondition} message ProtoCondition - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoCondition.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.code = ""; - object.result = false; - object.regenerate = false; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.code != null && message.hasOwnProperty("code")) - object.code = message.code; - if (message.result != null && message.hasOwnProperty("result")) - object.result = message.result; - if (message.regenerate != null && message.hasOwnProperty("regenerate")) - object.regenerate = message.regenerate; - return object; - }; - - /** - * Converts this ProtoCondition to JSON. - * @function toJSON - * @memberof ProtoCondition - * @instance - * @returns {Object.} JSON object - */ - ProtoCondition.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoCondition - * @function getTypeUrl - * @memberof ProtoCondition - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoCondition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoCondition"; - }; - - return ProtoCondition; -})(); - -$root.ProtoPageCondition = (function() { - - /** - * Properties of a ProtoPageCondition. - * @name IProtoPageCondition - * @interface IProtoPageCondition - * @property {Array.|null} [_children] ProtoPageCondition _children - * @property {IProtoDocumentElement|null} [parent] ProtoPageCondition parent - * @property {string|null} [uuid] ProtoPageCondition uuid - * @property {Array.|null} [comChannelUUIDs] ProtoPageCondition comChannelUUIDs - * @property {string|null} [code] ProtoPageCondition code - */ - - /** - * Constructs a new ProtoPageCondition. - * @name ProtoPageCondition - * @classdesc Represents a ProtoPageCondition. - * @implements IProtoPageCondition - * @constructor - * @param {IProtoPageCondition=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoPageCondition _children. - * @member {Array.} _children - * @memberof ProtoPageCondition - * @instance - */ - ProtoPageCondition.prototype._children = $util.emptyArray; - - /** - * ProtoPageCondition parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoPageCondition - * @instance - */ - ProtoPageCondition.prototype.parent = null; - - /** - * ProtoPageCondition uuid. - * @member {string} uuid - * @memberof ProtoPageCondition - * @instance - */ - ProtoPageCondition.prototype.uuid = ""; - - /** - * ProtoPageCondition comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoPageCondition - * @instance - */ - ProtoPageCondition.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoPageCondition code. - * @member {string} code - * @memberof ProtoPageCondition - * @instance - */ - ProtoPageCondition.prototype.code = ""; - - /** - * Creates a new ProtoPageCondition instance using the specified properties. - * @function create - * @memberof ProtoPageCondition - * @static - * @param {IProtoPageCondition=} [properties] Properties to set - * @returns {ProtoPageCondition} ProtoPageCondition instance - */ - ProtoPageCondition.create = function create(properties) { - return new ProtoPageCondition(properties); - }; - - /** - * Encodes the specified ProtoPageCondition message. Does not implicitly {@link ProtoPageCondition.verify|verify} messages. - * @function encode - * @memberof ProtoPageCondition - * @static - * @param {IProtoPageCondition} message ProtoPageCondition message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoPageCondition.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - 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.code != null && Object.hasOwnProperty.call(message, "code")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.code); - return writer; - }; - - /** - * Encodes the specified ProtoPageCondition message, length delimited. Does not implicitly {@link ProtoPageCondition.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoPageCondition - * @static - * @param {IProtoPageCondition} message ProtoPageCondition message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoPageCondition.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoPageCondition message from the specified reader or buffer. - * @function decode - * @memberof ProtoPageCondition - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoPageCondition} ProtoPageCondition - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoPageCondition(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - message.code = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoPageCondition message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoPageCondition - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoPageCondition} ProtoPageCondition - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoPageCondition.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoPageCondition message. - * @function verify - * @memberof ProtoPageCondition - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.code != null && message.hasOwnProperty("code")) - if (!$util.isString(message.code)) - return "code: string expected"; - return null; - }; - - /** - * Creates a ProtoPageCondition message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoPageCondition - * @static - * @param {Object.} object Plain object - * @returns {ProtoPageCondition} ProtoPageCondition - */ - ProtoPageCondition.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoPageCondition) - return object; - var message = new $root.ProtoPageCondition(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoPageCondition._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoPageCondition.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoPageCondition.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - if (object.code != null) - message.code = String(object.code); - return message; - }; - - /** - * Creates a plain object from a ProtoPageCondition message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoPageCondition - * @static - * @param {ProtoPageCondition} message ProtoPageCondition - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoPageCondition.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - object.code = ""; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - if (message.code != null && message.hasOwnProperty("code")) - object.code = message.code; - return object; - }; - - /** - * Converts this ProtoPageCondition to JSON. - * @function toJSON - * @memberof ProtoPageCondition - * @instance - * @returns {Object.} JSON object - */ - ProtoPageCondition.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoPageCondition - * @function getTypeUrl - * @memberof ProtoPageCondition - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoPageCondition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoPageCondition"; - }; - - return ProtoPageCondition; -})(); - -$root.ProtoLocale = (function() { - - /** - * Properties of a ProtoLocale. - * @name IProtoLocale - * @interface IProtoLocale - * @property {Array.|null} [_children] ProtoLocale _children - * @property {IProtoDocumentElement|null} [parent] ProtoLocale parent - * @property {string|null} [uuid] ProtoLocale uuid - * @property {Array.|null} [comChannelUUIDs] ProtoLocale comChannelUUIDs - * @property {Array.|null} [languageUUIDs] ProtoLocale languageUUIDs - * @property {Array.|null} [regionUUIDs] ProtoLocale regionUUIDs - */ - - /** - * Constructs a new ProtoLocale. - * @name ProtoLocale - * @classdesc Represents a ProtoLocale. - * @implements IProtoLocale - * @constructor - * @param {IProtoLocale=} [properties] Properties to set - */ - function ProtoLocale(properties) { - this._children = []; - this.comChannelUUIDs = []; - this.languageUUIDs = []; - this.regionUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoLocale _children. - * @member {Array.} _children - * @memberof ProtoLocale - * @instance - */ - ProtoLocale.prototype._children = $util.emptyArray; - - /** - * ProtoLocale parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoLocale - * @instance - */ - ProtoLocale.prototype.parent = null; - - /** - * ProtoLocale uuid. - * @member {string} uuid - * @memberof ProtoLocale - * @instance - */ - ProtoLocale.prototype.uuid = ""; - - /** - * ProtoLocale comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoLocale - * @instance - */ - ProtoLocale.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoLocale languageUUIDs. - * @member {Array.} languageUUIDs - * @memberof ProtoLocale - * @instance - */ - ProtoLocale.prototype.languageUUIDs = $util.emptyArray; - - /** - * ProtoLocale regionUUIDs. - * @member {Array.} regionUUIDs - * @memberof ProtoLocale - * @instance - */ - ProtoLocale.prototype.regionUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoLocale instance using the specified properties. - * @function create - * @memberof ProtoLocale - * @static - * @param {IProtoLocale=} [properties] Properties to set - * @returns {ProtoLocale} ProtoLocale instance - */ - ProtoLocale.create = function create(properties) { - return new ProtoLocale(properties); - }; - - /** - * Encodes the specified ProtoLocale message. Does not implicitly {@link ProtoLocale.verify|verify} messages. - * @function encode - * @memberof ProtoLocale - * @static - * @param {IProtoLocale} message ProtoLocale message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLocale.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._children != null && message._children.length) - for (var i = 0; i < message._children.length; ++i) - $root.ProtoDocumentElement.encode(message._children[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid); - 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.languageUUIDs != null && message.languageUUIDs.length) - for (var i = 0; i < message.languageUUIDs.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.languageUUIDs[i]); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoLocale message, length delimited. Does not implicitly {@link ProtoLocale.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoLocale - * @static - * @param {IProtoLocale} message ProtoLocale message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoLocale.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoLocale message from the specified reader or buffer. - * @function decode - * @memberof ProtoLocale - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoLocale} ProtoLocale - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoLocale(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message._children && message._children.length)) - message._children = []; - message._children.push($root.ProtoDocumentElement.decode(reader, reader.uint32())); - break; - } - case 2: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 3: { - message.uuid = reader.string(); - break; - } - case 4: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 5: { - if (!(message.languageUUIDs && message.languageUUIDs.length)) - message.languageUUIDs = []; - message.languageUUIDs.push(reader.string()); - break; - } - case 6: { - if (!(message.regionUUIDs && message.regionUUIDs.length)) - message.regionUUIDs = []; - message.regionUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoLocale message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoLocale - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoLocale} ProtoLocale - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoLocale.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoLocale message. - * @function verify - * @memberof ProtoLocale - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - 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]); - if (error) - return "_children." + error; - } - } - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - if (message.languageUUIDs != null && message.hasOwnProperty("languageUUIDs")) { - if (!Array.isArray(message.languageUUIDs)) - return "languageUUIDs: array expected"; - for (var i = 0; i < message.languageUUIDs.length; ++i) - if (!$util.isString(message.languageUUIDs[i])) - return "languageUUIDs: string[] expected"; - } - if (message.regionUUIDs != null && message.hasOwnProperty("regionUUIDs")) { - if (!Array.isArray(message.regionUUIDs)) - return "regionUUIDs: array expected"; - for (var i = 0; i < message.regionUUIDs.length; ++i) - if (!$util.isString(message.regionUUIDs[i])) - return "regionUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoLocale message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoLocale - * @static - * @param {Object.} object Plain object - * @returns {ProtoLocale} ProtoLocale - */ - ProtoLocale.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoLocale) - return object; - var message = new $root.ProtoLocale(); - if (object._children) { - if (!Array.isArray(object._children)) - throw TypeError(".ProtoLocale._children: array expected"); - 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]); - } - } - if (object.parent != null) { - if (typeof object.parent !== "object") - throw TypeError(".ProtoLocale.parent: object expected"); - message.parent = $root.ProtoDocumentElement.fromObject(object.parent); - } - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoLocale.comChannelUUIDs: array expected"); - 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 = []; - 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 = []; - for (var i = 0; i < object.regionUUIDs.length; ++i) - message.regionUUIDs[i] = String(object.regionUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoLocale message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoLocale - * @static - * @param {ProtoLocale} message ProtoLocale - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoLocale.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object._children = []; - object.comChannelUUIDs = []; - object.languageUUIDs = []; - object.regionUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.uuid = ""; - } - if (message._children && 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.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && 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 = []; - for (var j = 0; j < message.languageUUIDs.length; ++j) - object.languageUUIDs[j] = message.languageUUIDs[j]; - } - if (message.regionUUIDs && message.regionUUIDs.length) { - object.regionUUIDs = []; - for (var j = 0; j < message.regionUUIDs.length; ++j) - object.regionUUIDs[j] = message.regionUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoLocale to JSON. - * @function toJSON - * @memberof ProtoLocale - * @instance - * @returns {Object.} JSON object - */ - ProtoLocale.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoLocale - * @function getTypeUrl - * @memberof ProtoLocale - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoLocale.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoLocale"; - }; - - return ProtoLocale; -})(); - -$root.ProtoTag = (function() { - - /** - * Properties of a ProtoTag. - * @name IProtoTag - * @interface IProtoTag - * @property {IProtoDocumentElement|null} [parent] ProtoTag parent - * @property {string|null} [name] ProtoTag name - * @property {Array.|null} [comChannelUUIDs] ProtoTag comChannelUUIDs - * @property {string|null} [uuid] ProtoTag uuid - * @property {Array.|null} [params] ProtoTag params - * @property {string|null} [nameCode] ProtoTag nameCode - * @property {boolean|null} [codeMode] ProtoTag codeMode - */ - - /** - * Constructs a new ProtoTag. - * @name ProtoTag - * @classdesc Represents a ProtoTag. - * @implements IProtoTag - * @constructor - * @param {IProtoTag=} [properties] Properties to set - */ - 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) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoTag parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoTag - * @instance - */ - ProtoTag.prototype.parent = null; - - /** - * ProtoTag name. - * @member {string} name - * @memberof ProtoTag - * @instance - */ - ProtoTag.prototype.name = ""; - - /** - * ProtoTag comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoTag - * @instance - */ - ProtoTag.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoTag uuid. - * @member {string} uuid - * @memberof ProtoTag - * @instance - */ - ProtoTag.prototype.uuid = ""; - - /** - * ProtoTag params. - * @member {Array.} params - * @memberof ProtoTag - * @instance - */ - ProtoTag.prototype.params = $util.emptyArray; - - /** - * ProtoTag nameCode. - * @member {string} nameCode - * @memberof ProtoTag - * @instance - */ - ProtoTag.prototype.nameCode = ""; - - /** - * ProtoTag codeMode. - * @member {boolean} codeMode - * @memberof ProtoTag - * @instance - */ - ProtoTag.prototype.codeMode = false; - - /** - * Creates a new ProtoTag instance using the specified properties. - * @function create - * @memberof ProtoTag - * @static - * @param {IProtoTag=} [properties] Properties to set - * @returns {ProtoTag} ProtoTag instance - */ - ProtoTag.create = function create(properties) { - return new ProtoTag(properties); - }; - - /** - * Encodes the specified ProtoTag message. Does not implicitly {@link ProtoTag.verify|verify} messages. - * @function encode - * @memberof ProtoTag - * @static - * @param {IProtoTag} message ProtoTag message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTag.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - 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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - if (message.params != null && message.params.length) - for (var i = 0; i < message.params.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.params[i]); - if (message.nameCode != null && Object.hasOwnProperty.call(message, "nameCode")) - 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); - return writer; - }; - - /** - * Encodes the specified ProtoTag message, length delimited. Does not implicitly {@link ProtoTag.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoTag - * @static - * @param {IProtoTag} message ProtoTag message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoTag.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoTag message from the specified reader or buffer. - * @function decode - * @memberof ProtoTag - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoTag} ProtoTag - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoTag(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.name = reader.string(); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 4: { - message.uuid = reader.string(); - break; - } - case 5: { - if (!(message.params && message.params.length)) - message.params = []; - message.params.push(reader.string()); - break; - } - case 6: { - message.nameCode = reader.string(); - break; - } - case 7: { - message.codeMode = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoTag message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoTag - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoTag} ProtoTag - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoTag.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoTag message. - * @function verify - * @memberof ProtoTag - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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"; - if (message.params != null && message.hasOwnProperty("params")) { - if (!Array.isArray(message.params)) - return "params: array expected"; - for (var i = 0; i < message.params.length; ++i) - if (!$util.isString(message.params[i])) - return "params: string[] expected"; - } - if (message.nameCode != null && message.hasOwnProperty("nameCode")) - if (!$util.isString(message.nameCode)) - return "nameCode: string expected"; - if (message.codeMode != null && message.hasOwnProperty("codeMode")) - if (typeof message.codeMode !== "boolean") - return "codeMode: boolean expected"; - return null; - }; - - /** - * Creates a ProtoTag message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoTag - * @static - * @param {Object.} object Plain object - * @returns {ProtoTag} ProtoTag - */ - ProtoTag.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoTag) - return object; - 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); - } - if (object.name != null) - message.name = String(object.name); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoTag.comChannelUUIDs: array expected"); - 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); - if (object.params) { - if (!Array.isArray(object.params)) - throw TypeError(".ProtoTag.params: array expected"); - message.params = []; - for (var i = 0; i < object.params.length; ++i) - message.params[i] = String(object.params[i]); - } - if (object.nameCode != null) - message.nameCode = String(object.nameCode); - if (object.codeMode != null) - message.codeMode = Boolean(object.codeMode); - return message; - }; - - /** - * Creates a plain object from a ProtoTag message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoTag - * @static - * @param {ProtoTag} message ProtoTag - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoTag.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object.comChannelUUIDs = []; - object.params = []; - } - if (options.defaults) { - object.parent = null; - object.name = ""; - object.uuid = ""; - object.nameCode = ""; - object.codeMode = false; - } - 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 = []; - 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 = []; - for (var j = 0; j < message.params.length; ++j) - object.params[j] = message.params[j]; - } - if (message.nameCode != null && message.hasOwnProperty("nameCode")) - object.nameCode = message.nameCode; - if (message.codeMode != null && message.hasOwnProperty("codeMode")) - object.codeMode = message.codeMode; - return object; - }; - - /** - * Converts this ProtoTag to JSON. - * @function toJSON - * @memberof ProtoTag - * @instance - * @returns {Object.} JSON object - */ - ProtoTag.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoTag - * @function getTypeUrl - * @memberof ProtoTag - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoTag.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoTag"; - }; - - return ProtoTag; -})(); - -$root.ProtoParagraphSetDefault = (function() { - - /** - * Properties of a ProtoParagraphSetDefault. - * @name IProtoParagraphSetDefault - * @interface IProtoParagraphSetDefault - * @property {IProtoDocumentElement|null} [parent] ProtoParagraphSetDefault parent - * @property {string|null} [name] ProtoParagraphSetDefault name - * @property {string|null} [paragraphFormatUUID] ProtoParagraphSetDefault paragraphFormatUUID - * @property {string|null} [uuid] ProtoParagraphSetDefault uuid - * @property {Array.|null} [comChannelUUIDs] ProtoParagraphSetDefault comChannelUUIDs - */ - - /** - * Constructs a new ProtoParagraphSetDefault. - * @name ProtoParagraphSetDefault - * @classdesc Represents a ProtoParagraphSetDefault. - * @implements IProtoParagraphSetDefault - * @constructor - * @param {IProtoParagraphSetDefault=} [properties] Properties to set - */ - function ProtoParagraphSetDefault(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoParagraphSetDefault parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoParagraphSetDefault - * @instance - */ - ProtoParagraphSetDefault.prototype.parent = null; - - /** - * ProtoParagraphSetDefault name. - * @member {string} name - * @memberof ProtoParagraphSetDefault - * @instance - */ - ProtoParagraphSetDefault.prototype.name = ""; - - /** - * ProtoParagraphSetDefault paragraphFormatUUID. - * @member {string} paragraphFormatUUID - * @memberof ProtoParagraphSetDefault - * @instance - */ - ProtoParagraphSetDefault.prototype.paragraphFormatUUID = ""; - - /** - * ProtoParagraphSetDefault uuid. - * @member {string} uuid - * @memberof ProtoParagraphSetDefault - * @instance - */ - ProtoParagraphSetDefault.prototype.uuid = ""; - - /** - * ProtoParagraphSetDefault comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoParagraphSetDefault - * @instance - */ - ProtoParagraphSetDefault.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * Creates a new ProtoParagraphSetDefault instance using the specified properties. - * @function create - * @memberof ProtoParagraphSetDefault - * @static - * @param {IProtoParagraphSetDefault=} [properties] Properties to set - * @returns {ProtoParagraphSetDefault} ProtoParagraphSetDefault instance - */ - ProtoParagraphSetDefault.create = function create(properties) { - return new ProtoParagraphSetDefault(properties); - }; - - /** - * Encodes the specified ProtoParagraphSetDefault message. Does not implicitly {@link ProtoParagraphSetDefault.verify|verify} messages. - * @function encode - * @memberof ProtoParagraphSetDefault - * @static - * @param {IProtoParagraphSetDefault} message ProtoParagraphSetDefault message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoParagraphSetDefault.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $root.ProtoDocumentElement.encode(message.parent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.paragraphFormatUUID != null && Object.hasOwnProperty.call(message, "paragraphFormatUUID")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.paragraphFormatUUID); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - 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]); - return writer; - }; - - /** - * Encodes the specified ProtoParagraphSetDefault message, length delimited. Does not implicitly {@link ProtoParagraphSetDefault.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoParagraphSetDefault - * @static - * @param {IProtoParagraphSetDefault} message ProtoParagraphSetDefault message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoParagraphSetDefault.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoParagraphSetDefault message from the specified reader or buffer. - * @function decode - * @memberof ProtoParagraphSetDefault - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoParagraphSetDefault} ProtoParagraphSetDefault - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoParagraphSetDefault(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.name = reader.string(); - break; - } - case 3: { - message.paragraphFormatUUID = reader.string(); - break; - } - case 4: { - message.uuid = reader.string(); - break; - } - case 5: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoParagraphSetDefault message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoParagraphSetDefault - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoParagraphSetDefault} ProtoParagraphSetDefault - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoParagraphSetDefault.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoParagraphSetDefault message. - * @function verify - * @memberof ProtoParagraphSetDefault - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - var error = $root.ProtoDocumentElement.verify(message.parent); - if (error) - return "parent." + error; - } - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.paragraphFormatUUID != null && message.hasOwnProperty("paragraphFormatUUID")) - if (!$util.isString(message.paragraphFormatUUID)) - return "paragraphFormatUUID: string expected"; - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - if (!$util.isString(message.comChannelUUIDs[i])) - return "comChannelUUIDs: string[] expected"; - } - return null; - }; - - /** - * Creates a ProtoParagraphSetDefault message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoParagraphSetDefault - * @static - * @param {Object.} object Plain object - * @returns {ProtoParagraphSetDefault} ProtoParagraphSetDefault - */ - ProtoParagraphSetDefault.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoParagraphSetDefault) - return object; - 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); - } - if (object.name != null) - message.name = String(object.name); - if (object.paragraphFormatUUID != null) - message.paragraphFormatUUID = String(object.paragraphFormatUUID); - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoParagraphSetDefault.comChannelUUIDs: array expected"); - message.comChannelUUIDs = []; - for (var i = 0; i < object.comChannelUUIDs.length; ++i) - message.comChannelUUIDs[i] = String(object.comChannelUUIDs[i]); - } - return message; - }; - - /** - * Creates a plain object from a ProtoParagraphSetDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoParagraphSetDefault - * @static - * @param {ProtoParagraphSetDefault} message ProtoParagraphSetDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoParagraphSetDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.name = ""; - object.paragraphFormatUUID = ""; - 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.paragraphFormatUUID != null && message.hasOwnProperty("paragraphFormatUUID")) - object.paragraphFormatUUID = message.paragraphFormatUUID; - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.comChannelUUIDs && message.comChannelUUIDs.length) { - object.comChannelUUIDs = []; - for (var j = 0; j < message.comChannelUUIDs.length; ++j) - object.comChannelUUIDs[j] = message.comChannelUUIDs[j]; - } - return object; - }; - - /** - * Converts this ProtoParagraphSetDefault to JSON. - * @function toJSON - * @memberof ProtoParagraphSetDefault - * @instance - * @returns {Object.} JSON object - */ - ProtoParagraphSetDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoParagraphSetDefault - * @function getTypeUrl - * @memberof ProtoParagraphSetDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoParagraphSetDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoParagraphSetDefault"; - }; - - return ProtoParagraphSetDefault; -})(); - -$root.ProtoInputFieldText = (function() { - - /** - * Properties of a ProtoInputFieldText. - * @name IProtoInputFieldText - * @interface IProtoInputFieldText - * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldText parent - * @property {IProtoBaseInputField|null} [base] ProtoInputFieldText base - * @property {PDFPrintingBehavior|null} [pdfPrintingBehavior] ProtoInputFieldText pdfPrintingBehavior - * @property {IProtoBoxedMeasure|null} [pdfSize] ProtoInputFieldText pdfSize - * @property {string|null} [pdfFormName] ProtoInputFieldText pdfFormName - * @property {Array.|null} [comChannelUUIDs] ProtoInputFieldText comChannelUUIDs - * @property {string|null} [uuid] ProtoInputFieldText uuid - */ - - /** - * Constructs a new ProtoInputFieldText. - * @name ProtoInputFieldText - * @classdesc Represents a ProtoInputFieldText. - * @implements IProtoInputFieldText - * @constructor - * @param {IProtoInputFieldText=} [properties] Properties to set - */ - function ProtoInputFieldText(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoInputFieldText parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoInputFieldText - * @instance - */ - ProtoInputFieldText.prototype.parent = null; - - /** - * ProtoInputFieldText base. - * @member {IProtoBaseInputField|null|undefined} base - * @memberof ProtoInputFieldText - * @instance - */ - ProtoInputFieldText.prototype.base = null; - - /** - * ProtoInputFieldText pdfPrintingBehavior. - * @member {PDFPrintingBehavior} pdfPrintingBehavior - * @memberof ProtoInputFieldText - * @instance - */ - ProtoInputFieldText.prototype.pdfPrintingBehavior = 0; - - /** - * ProtoInputFieldText pdfSize. - * @member {IProtoBoxedMeasure|null|undefined} pdfSize - * @memberof ProtoInputFieldText - * @instance - */ - ProtoInputFieldText.prototype.pdfSize = null; - - /** - * ProtoInputFieldText pdfFormName. - * @member {string} pdfFormName - * @memberof ProtoInputFieldText - * @instance - */ - ProtoInputFieldText.prototype.pdfFormName = ""; - - /** - * ProtoInputFieldText comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoInputFieldText - * @instance - */ - ProtoInputFieldText.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoInputFieldText uuid. - * @member {string} uuid - * @memberof ProtoInputFieldText - * @instance - */ - ProtoInputFieldText.prototype.uuid = ""; - - /** - * Creates a new ProtoInputFieldText instance using the specified properties. - * @function create - * @memberof ProtoInputFieldText - * @static - * @param {IProtoInputFieldText=} [properties] Properties to set - * @returns {ProtoInputFieldText} ProtoInputFieldText instance - */ - ProtoInputFieldText.create = function create(properties) { - return new ProtoInputFieldText(properties); - }; - - /** - * Encodes the specified ProtoInputFieldText message. Does not implicitly {@link ProtoInputFieldText.verify|verify} messages. - * @function encode - * @memberof ProtoInputFieldText - * @static - * @param {IProtoInputFieldText} message ProtoInputFieldText message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldText.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $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.pdfPrintingBehavior != null && Object.hasOwnProperty.call(message, "pdfPrintingBehavior")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.pdfPrintingBehavior); - if (message.pdfSize != null && Object.hasOwnProperty.call(message, "pdfSize")) - $root.ProtoBoxedMeasure.encode(message.pdfSize, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.pdfFormName != null && Object.hasOwnProperty.call(message, "pdfFormName")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.pdfFormName); - 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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.uuid); - return writer; - }; - - /** - * Encodes the specified ProtoInputFieldText message, length delimited. Does not implicitly {@link ProtoInputFieldText.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoInputFieldText - * @static - * @param {IProtoInputFieldText} message ProtoInputFieldText message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldText.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoInputFieldText message from the specified reader or buffer. - * @function decode - * @memberof ProtoInputFieldText - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoInputFieldText} ProtoInputFieldText - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldText(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32()); - break; - } - case 3: { - message.pdfPrintingBehavior = reader.int32(); - break; - } - case 4: { - message.pdfSize = $root.ProtoBoxedMeasure.decode(reader, reader.uint32()); - break; - } - case 5: { - message.pdfFormName = reader.string(); - break; - } - case 6: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 7: { - message.uuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoInputFieldText message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoInputFieldText - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoInputFieldText} ProtoInputFieldText - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoInputFieldText.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoInputFieldText message. - * @function verify - * @memberof ProtoInputFieldText - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "base." + error; - } - if (message.pdfPrintingBehavior != null && message.hasOwnProperty("pdfPrintingBehavior")) - switch (message.pdfPrintingBehavior) { - default: - return "pdfPrintingBehavior: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.pdfSize != null && message.hasOwnProperty("pdfSize")) { - var error = $root.ProtoBoxedMeasure.verify(message.pdfSize); - if (error) - return "pdfSize." + error; - } - if (message.pdfFormName != null && message.hasOwnProperty("pdfFormName")) - if (!$util.isString(message.pdfFormName)) - return "pdfFormName: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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; - }; - - /** - * Creates a ProtoInputFieldText message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoInputFieldText - * @static - * @param {Object.} object Plain object - * @returns {ProtoInputFieldText} ProtoInputFieldText - */ - ProtoInputFieldText.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoInputFieldText) - return object; - 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); - } - if (object.base != null) { - if (typeof object.base !== "object") - throw TypeError(".ProtoInputFieldText.base: object expected"); - message.base = $root.ProtoBaseInputField.fromObject(object.base); - } - switch (object.pdfPrintingBehavior) { - default: - if (typeof object.pdfPrintingBehavior === "number") { - message.pdfPrintingBehavior = object.pdfPrintingBehavior; - break; - } - break; - case "PDF_PRINTING_BEHAVIOR_INPUT": - case 0: - message.pdfPrintingBehavior = 0; - break; - case "PDF_PRINTING_BEHAVIOR_TEXT": - case 1: - message.pdfPrintingBehavior = 1; - break; - case "PDF_PRINTING_BEHAVIOR_INHERIT": - case 2: - message.pdfPrintingBehavior = 2; - break; - } - if (object.pdfSize != null) { - if (typeof object.pdfSize !== "object") - throw TypeError(".ProtoInputFieldText.pdfSize: object expected"); - message.pdfSize = $root.ProtoBoxedMeasure.fromObject(object.pdfSize); - } - if (object.pdfFormName != null) - message.pdfFormName = String(object.pdfFormName); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoInputFieldText.comChannelUUIDs: array expected"); - 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; - }; - - /** - * Creates a plain object from a ProtoInputFieldText message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoInputFieldText - * @static - * @param {ProtoInputFieldText} message ProtoInputFieldText - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoInputFieldText.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.base = null; - object.pdfPrintingBehavior = options.enums === String ? "PDF_PRINTING_BEHAVIOR_INPUT" : 0; - object.pdfSize = null; - object.pdfFormName = ""; - object.uuid = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.base != null && message.hasOwnProperty("base")) - object.base = $root.ProtoBaseInputField.toObject(message.base, options); - if (message.pdfPrintingBehavior != null && message.hasOwnProperty("pdfPrintingBehavior")) - object.pdfPrintingBehavior = options.enums === String ? $root.PDFPrintingBehavior[message.pdfPrintingBehavior] === undefined ? message.pdfPrintingBehavior : $root.PDFPrintingBehavior[message.pdfPrintingBehavior] : message.pdfPrintingBehavior; - if (message.pdfSize != null && message.hasOwnProperty("pdfSize")) - object.pdfSize = $root.ProtoBoxedMeasure.toObject(message.pdfSize, options); - if (message.pdfFormName != null && message.hasOwnProperty("pdfFormName")) - object.pdfFormName = message.pdfFormName; - if (message.comChannelUUIDs && 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; - }; - - /** - * Converts this ProtoInputFieldText to JSON. - * @function toJSON - * @memberof ProtoInputFieldText - * @instance - * @returns {Object.} JSON object - */ - ProtoInputFieldText.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoInputFieldText - * @function getTypeUrl - * @memberof ProtoInputFieldText - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoInputFieldText.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoInputFieldText"; - }; - - return ProtoInputFieldText; -})(); - -$root.ProtoInputFieldDate = (function() { - - /** - * Properties of a ProtoInputFieldDate. - * @name IProtoInputFieldDate - * @interface IProtoInputFieldDate - * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldDate parent - * @property {IProtoBaseInputField|null} [base] ProtoInputFieldDate base - * @property {Array.|null} [comChannelUUIDs] ProtoInputFieldDate comChannelUUIDs - * @property {string|null} [uuid] ProtoInputFieldDate uuid - */ - - /** - * Constructs a new ProtoInputFieldDate. - * @name ProtoInputFieldDate - * @classdesc Represents a ProtoInputFieldDate. - * @implements IProtoInputFieldDate - * @constructor - * @param {IProtoInputFieldDate=} [properties] Properties to set - */ - function ProtoInputFieldDate(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoInputFieldDate parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoInputFieldDate - * @instance - */ - ProtoInputFieldDate.prototype.parent = null; - - /** - * ProtoInputFieldDate base. - * @member {IProtoBaseInputField|null|undefined} base - * @memberof ProtoInputFieldDate - * @instance - */ - ProtoInputFieldDate.prototype.base = null; - - /** - * ProtoInputFieldDate comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoInputFieldDate - * @instance - */ - ProtoInputFieldDate.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoInputFieldDate uuid. - * @member {string} uuid - * @memberof ProtoInputFieldDate - * @instance - */ - ProtoInputFieldDate.prototype.uuid = ""; - - /** - * Creates a new ProtoInputFieldDate instance using the specified properties. - * @function create - * @memberof ProtoInputFieldDate - * @static - * @param {IProtoInputFieldDate=} [properties] Properties to set - * @returns {ProtoInputFieldDate} ProtoInputFieldDate instance - */ - ProtoInputFieldDate.create = function create(properties) { - return new ProtoInputFieldDate(properties); - }; - - /** - * Encodes the specified ProtoInputFieldDate message. Does not implicitly {@link ProtoInputFieldDate.verify|verify} messages. - * @function encode - * @memberof ProtoInputFieldDate - * @static - * @param {IProtoInputFieldDate} message ProtoInputFieldDate message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldDate.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $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.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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - return writer; - }; - - /** - * Encodes the specified ProtoInputFieldDate message, length delimited. Does not implicitly {@link ProtoInputFieldDate.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoInputFieldDate - * @static - * @param {IProtoInputFieldDate} message ProtoInputFieldDate message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldDate.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoInputFieldDate message from the specified reader or buffer. - * @function decode - * @memberof ProtoInputFieldDate - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoInputFieldDate} ProtoInputFieldDate - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldDate(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 4: { - message.uuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoInputFieldDate message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoInputFieldDate - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoInputFieldDate} ProtoInputFieldDate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoInputFieldDate.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoInputFieldDate message. - * @function verify - * @memberof ProtoInputFieldDate - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "base." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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; - }; - - /** - * Creates a ProtoInputFieldDate message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoInputFieldDate - * @static - * @param {Object.} object Plain object - * @returns {ProtoInputFieldDate} ProtoInputFieldDate - */ - ProtoInputFieldDate.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoInputFieldDate) - return object; - 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); - } - if (object.base != null) { - if (typeof object.base !== "object") - throw TypeError(".ProtoInputFieldDate.base: object expected"); - message.base = $root.ProtoBaseInputField.fromObject(object.base); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoInputFieldDate.comChannelUUIDs: array expected"); - 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; - }; - - /** - * Creates a plain object from a ProtoInputFieldDate message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoInputFieldDate - * @static - * @param {ProtoInputFieldDate} message ProtoInputFieldDate - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoInputFieldDate.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.base = null; - object.uuid = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.base != null && message.hasOwnProperty("base")) - object.base = $root.ProtoBaseInputField.toObject(message.base, options); - if (message.comChannelUUIDs && 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; - }; - - /** - * Converts this ProtoInputFieldDate to JSON. - * @function toJSON - * @memberof ProtoInputFieldDate - * @instance - * @returns {Object.} JSON object - */ - ProtoInputFieldDate.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoInputFieldDate - * @function getTypeUrl - * @memberof ProtoInputFieldDate - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoInputFieldDate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoInputFieldDate"; - }; - - return ProtoInputFieldDate; -})(); - -$root.ProtoInputFieldCheckbox = (function() { - - /** - * Properties of a ProtoInputFieldCheckbox. - * @name IProtoInputFieldCheckbox - * @interface IProtoInputFieldCheckbox - * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldCheckbox parent - * @property {IProtoBaseInputField|null} [base] ProtoInputFieldCheckbox base - * @property {Array.|null} [comChannelUUIDs] ProtoInputFieldCheckbox comChannelUUIDs - * @property {string|null} [uuid] ProtoInputFieldCheckbox uuid - */ - - /** - * Constructs a new ProtoInputFieldCheckbox. - * @name ProtoInputFieldCheckbox - * @classdesc Represents a ProtoInputFieldCheckbox. - * @implements IProtoInputFieldCheckbox - * @constructor - * @param {IProtoInputFieldCheckbox=} [properties] Properties to set - */ - function ProtoInputFieldCheckbox(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoInputFieldCheckbox parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoInputFieldCheckbox - * @instance - */ - ProtoInputFieldCheckbox.prototype.parent = null; - - /** - * ProtoInputFieldCheckbox base. - * @member {IProtoBaseInputField|null|undefined} base - * @memberof ProtoInputFieldCheckbox - * @instance - */ - ProtoInputFieldCheckbox.prototype.base = null; - - /** - * ProtoInputFieldCheckbox comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoInputFieldCheckbox - * @instance - */ - ProtoInputFieldCheckbox.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoInputFieldCheckbox uuid. - * @member {string} uuid - * @memberof ProtoInputFieldCheckbox - * @instance - */ - ProtoInputFieldCheckbox.prototype.uuid = ""; - - /** - * Creates a new ProtoInputFieldCheckbox instance using the specified properties. - * @function create - * @memberof ProtoInputFieldCheckbox - * @static - * @param {IProtoInputFieldCheckbox=} [properties] Properties to set - * @returns {ProtoInputFieldCheckbox} ProtoInputFieldCheckbox instance - */ - ProtoInputFieldCheckbox.create = function create(properties) { - return new ProtoInputFieldCheckbox(properties); - }; - - /** - * Encodes the specified ProtoInputFieldCheckbox message. Does not implicitly {@link ProtoInputFieldCheckbox.verify|verify} messages. - * @function encode - * @memberof ProtoInputFieldCheckbox - * @static - * @param {IProtoInputFieldCheckbox} message ProtoInputFieldCheckbox message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldCheckbox.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $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.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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - return writer; - }; - - /** - * Encodes the specified ProtoInputFieldCheckbox message, length delimited. Does not implicitly {@link ProtoInputFieldCheckbox.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoInputFieldCheckbox - * @static - * @param {IProtoInputFieldCheckbox} message ProtoInputFieldCheckbox message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldCheckbox.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoInputFieldCheckbox message from the specified reader or buffer. - * @function decode - * @memberof ProtoInputFieldCheckbox - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoInputFieldCheckbox} ProtoInputFieldCheckbox - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldCheckbox(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 4: { - message.uuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoInputFieldCheckbox message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoInputFieldCheckbox - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoInputFieldCheckbox} ProtoInputFieldCheckbox - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoInputFieldCheckbox.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoInputFieldCheckbox message. - * @function verify - * @memberof ProtoInputFieldCheckbox - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "base." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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; - }; - - /** - * Creates a ProtoInputFieldCheckbox message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoInputFieldCheckbox - * @static - * @param {Object.} object Plain object - * @returns {ProtoInputFieldCheckbox} ProtoInputFieldCheckbox - */ - ProtoInputFieldCheckbox.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoInputFieldCheckbox) - return object; - 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); - } - if (object.base != null) { - if (typeof object.base !== "object") - throw TypeError(".ProtoInputFieldCheckbox.base: object expected"); - message.base = $root.ProtoBaseInputField.fromObject(object.base); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoInputFieldCheckbox.comChannelUUIDs: array expected"); - 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; - }; - - /** - * Creates a plain object from a ProtoInputFieldCheckbox message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoInputFieldCheckbox - * @static - * @param {ProtoInputFieldCheckbox} message ProtoInputFieldCheckbox - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoInputFieldCheckbox.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.base = null; - object.uuid = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.base != null && message.hasOwnProperty("base")) - object.base = $root.ProtoBaseInputField.toObject(message.base, options); - if (message.comChannelUUIDs && 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; - }; - - /** - * Converts this ProtoInputFieldCheckbox to JSON. - * @function toJSON - * @memberof ProtoInputFieldCheckbox - * @instance - * @returns {Object.} JSON object - */ - ProtoInputFieldCheckbox.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoInputFieldCheckbox - * @function getTypeUrl - * @memberof ProtoInputFieldCheckbox - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoInputFieldCheckbox.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoInputFieldCheckbox"; - }; - - return ProtoInputFieldCheckbox; -})(); - -$root.ProtoInputFieldLabel = (function() { - - /** - * Properties of a ProtoInputFieldLabel. - * @name IProtoInputFieldLabel - * @interface IProtoInputFieldLabel - * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldLabel parent - * @property {IProtoBaseInputField|null} [base] ProtoInputFieldLabel base - * @property {Array.|null} [comChannelUUIDs] ProtoInputFieldLabel comChannelUUIDs - * @property {string|null} [uuid] ProtoInputFieldLabel uuid - */ - - /** - * Constructs a new ProtoInputFieldLabel. - * @name ProtoInputFieldLabel - * @classdesc Represents a ProtoInputFieldLabel. - * @implements IProtoInputFieldLabel - * @constructor - * @param {IProtoInputFieldLabel=} [properties] Properties to set - */ - function ProtoInputFieldLabel(properties) { - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoInputFieldLabel parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoInputFieldLabel - * @instance - */ - ProtoInputFieldLabel.prototype.parent = null; - - /** - * ProtoInputFieldLabel base. - * @member {IProtoBaseInputField|null|undefined} base - * @memberof ProtoInputFieldLabel - * @instance - */ - ProtoInputFieldLabel.prototype.base = null; - - /** - * ProtoInputFieldLabel comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoInputFieldLabel - * @instance - */ - ProtoInputFieldLabel.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoInputFieldLabel uuid. - * @member {string} uuid - * @memberof ProtoInputFieldLabel - * @instance - */ - ProtoInputFieldLabel.prototype.uuid = ""; - - /** - * Creates a new ProtoInputFieldLabel instance using the specified properties. - * @function create - * @memberof ProtoInputFieldLabel - * @static - * @param {IProtoInputFieldLabel=} [properties] Properties to set - * @returns {ProtoInputFieldLabel} ProtoInputFieldLabel instance - */ - ProtoInputFieldLabel.create = function create(properties) { - return new ProtoInputFieldLabel(properties); - }; - - /** - * Encodes the specified ProtoInputFieldLabel message. Does not implicitly {@link ProtoInputFieldLabel.verify|verify} messages. - * @function encode - * @memberof ProtoInputFieldLabel - * @static - * @param {IProtoInputFieldLabel} message ProtoInputFieldLabel message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldLabel.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $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.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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.uuid); - return writer; - }; - - /** - * Encodes the specified ProtoInputFieldLabel message, length delimited. Does not implicitly {@link ProtoInputFieldLabel.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoInputFieldLabel - * @static - * @param {IProtoInputFieldLabel} message ProtoInputFieldLabel message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldLabel.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoInputFieldLabel message from the specified reader or buffer. - * @function decode - * @memberof ProtoInputFieldLabel - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoInputFieldLabel} ProtoInputFieldLabel - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldLabel(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 4: { - message.uuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoInputFieldLabel message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoInputFieldLabel - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoInputFieldLabel} ProtoInputFieldLabel - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoInputFieldLabel.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoInputFieldLabel message. - * @function verify - * @memberof ProtoInputFieldLabel - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "base." + error; - } - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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; - }; - - /** - * Creates a ProtoInputFieldLabel message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoInputFieldLabel - * @static - * @param {Object.} object Plain object - * @returns {ProtoInputFieldLabel} ProtoInputFieldLabel - */ - ProtoInputFieldLabel.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoInputFieldLabel) - return object; - 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); - } - if (object.base != null) { - if (typeof object.base !== "object") - throw TypeError(".ProtoInputFieldLabel.base: object expected"); - message.base = $root.ProtoBaseInputField.fromObject(object.base); - } - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoInputFieldLabel.comChannelUUIDs: array expected"); - 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; - }; - - /** - * Creates a plain object from a ProtoInputFieldLabel message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoInputFieldLabel - * @static - * @param {ProtoInputFieldLabel} message ProtoInputFieldLabel - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoInputFieldLabel.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.comChannelUUIDs = []; - if (options.defaults) { - object.parent = null; - object.base = null; - object.uuid = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.base != null && message.hasOwnProperty("base")) - object.base = $root.ProtoBaseInputField.toObject(message.base, options); - if (message.comChannelUUIDs && 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; - }; - - /** - * Converts this ProtoInputFieldLabel to JSON. - * @function toJSON - * @memberof ProtoInputFieldLabel - * @instance - * @returns {Object.} JSON object - */ - ProtoInputFieldLabel.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoInputFieldLabel - * @function getTypeUrl - * @memberof ProtoInputFieldLabel - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoInputFieldLabel.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoInputFieldLabel"; - }; - - return ProtoInputFieldLabel; -})(); - -$root.ProtoInputFieldDropdown = (function() { - - /** - * Properties of a ProtoInputFieldDropdown. - * @name IProtoInputFieldDropdown - * @interface IProtoInputFieldDropdown - * @property {IProtoDocumentElement|null} [parent] ProtoInputFieldDropdown parent - * @property {IProtoBaseInputField|null} [base] ProtoInputFieldDropdown base - * @property {Array.|null} [options] ProtoInputFieldDropdown options - * @property {boolean|null} [bindOptionsCode] ProtoInputFieldDropdown bindOptionsCode - * @property {string|null} [optionsCode] ProtoInputFieldDropdown optionsCode - * @property {Array.|null} [comChannelUUIDs] ProtoInputFieldDropdown comChannelUUIDs - * @property {string|null} [uuid] ProtoInputFieldDropdown uuid - */ - - /** - * Constructs a new ProtoInputFieldDropdown. - * @name ProtoInputFieldDropdown - * @classdesc Represents a ProtoInputFieldDropdown. - * @implements IProtoInputFieldDropdown - * @constructor - * @param {IProtoInputFieldDropdown=} [properties] Properties to set - */ - function ProtoInputFieldDropdown(properties) { - this.options = []; - this.comChannelUUIDs = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ProtoInputFieldDropdown parent. - * @member {IProtoDocumentElement|null|undefined} parent - * @memberof ProtoInputFieldDropdown - * @instance - */ - ProtoInputFieldDropdown.prototype.parent = null; - - /** - * ProtoInputFieldDropdown base. - * @member {IProtoBaseInputField|null|undefined} base - * @memberof ProtoInputFieldDropdown - * @instance - */ - ProtoInputFieldDropdown.prototype.base = null; - - /** - * ProtoInputFieldDropdown options. - * @member {Array.} options - * @memberof ProtoInputFieldDropdown - * @instance - */ - ProtoInputFieldDropdown.prototype.options = $util.emptyArray; - - /** - * ProtoInputFieldDropdown bindOptionsCode. - * @member {boolean} bindOptionsCode - * @memberof ProtoInputFieldDropdown - * @instance - */ - ProtoInputFieldDropdown.prototype.bindOptionsCode = false; - - /** - * ProtoInputFieldDropdown optionsCode. - * @member {string} optionsCode - * @memberof ProtoInputFieldDropdown - * @instance - */ - ProtoInputFieldDropdown.prototype.optionsCode = ""; - - /** - * ProtoInputFieldDropdown comChannelUUIDs. - * @member {Array.} comChannelUUIDs - * @memberof ProtoInputFieldDropdown - * @instance - */ - ProtoInputFieldDropdown.prototype.comChannelUUIDs = $util.emptyArray; - - /** - * ProtoInputFieldDropdown uuid. - * @member {string} uuid - * @memberof ProtoInputFieldDropdown - * @instance - */ - ProtoInputFieldDropdown.prototype.uuid = ""; - - /** - * Creates a new ProtoInputFieldDropdown instance using the specified properties. - * @function create - * @memberof ProtoInputFieldDropdown - * @static - * @param {IProtoInputFieldDropdown=} [properties] Properties to set - * @returns {ProtoInputFieldDropdown} ProtoInputFieldDropdown instance - */ - ProtoInputFieldDropdown.create = function create(properties) { - return new ProtoInputFieldDropdown(properties); - }; - - /** - * Encodes the specified ProtoInputFieldDropdown message. Does not implicitly {@link ProtoInputFieldDropdown.verify|verify} messages. - * @function encode - * @memberof ProtoInputFieldDropdown - * @static - * @param {IProtoInputFieldDropdown} message ProtoInputFieldDropdown message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldDropdown.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - $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.options != null && message.options.length) - for (var i = 0; i < message.options.length; ++i) - $root.ProtoOption.encode(message.options[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.bindOptionsCode != null && Object.hasOwnProperty.call(message, "bindOptionsCode")) - 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.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.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.uuid); - return writer; - }; - - /** - * Encodes the specified ProtoInputFieldDropdown message, length delimited. Does not implicitly {@link ProtoInputFieldDropdown.verify|verify} messages. - * @function encodeDelimited - * @memberof ProtoInputFieldDropdown - * @static - * @param {IProtoInputFieldDropdown} message ProtoInputFieldDropdown message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ProtoInputFieldDropdown.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ProtoInputFieldDropdown message from the specified reader or buffer. - * @function decode - * @memberof ProtoInputFieldDropdown - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ProtoInputFieldDropdown} ProtoInputFieldDropdown - * @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) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ProtoInputFieldDropdown(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.parent = $root.ProtoDocumentElement.decode(reader, reader.uint32()); - break; - } - case 2: { - message.base = $root.ProtoBaseInputField.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.options && message.options.length)) - message.options = []; - message.options.push($root.ProtoOption.decode(reader, reader.uint32())); - break; - } - case 4: { - message.bindOptionsCode = reader.bool(); - break; - } - case 5: { - message.optionsCode = reader.string(); - break; - } - case 6: { - if (!(message.comChannelUUIDs && message.comChannelUUIDs.length)) - message.comChannelUUIDs = []; - message.comChannelUUIDs.push(reader.string()); - break; - } - case 7: { - message.uuid = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ProtoInputFieldDropdown message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ProtoInputFieldDropdown - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ProtoInputFieldDropdown} ProtoInputFieldDropdown - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ProtoInputFieldDropdown.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ProtoInputFieldDropdown message. - * @function verify - * @memberof ProtoInputFieldDropdown - * @static - * @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) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) { - 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); - if (error) - return "base." + error; - } - if (message.options != null && message.hasOwnProperty("options")) { - 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]); - if (error) - return "options." + error; - } - } - if (message.bindOptionsCode != null && message.hasOwnProperty("bindOptionsCode")) - if (typeof message.bindOptionsCode !== "boolean") - return "bindOptionsCode: boolean expected"; - if (message.optionsCode != null && message.hasOwnProperty("optionsCode")) - if (!$util.isString(message.optionsCode)) - return "optionsCode: string expected"; - if (message.comChannelUUIDs != null && message.hasOwnProperty("comChannelUUIDs")) { - if (!Array.isArray(message.comChannelUUIDs)) - return "comChannelUUIDs: array expected"; - for (var i = 0; i < message.comChannelUUIDs.length; ++i) - 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; - }; - - /** - * Creates a ProtoInputFieldDropdown message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ProtoInputFieldDropdown - * @static - * @param {Object.} object Plain object - * @returns {ProtoInputFieldDropdown} ProtoInputFieldDropdown - */ - ProtoInputFieldDropdown.fromObject = function fromObject(object) { - if (object instanceof $root.ProtoInputFieldDropdown) - return object; - 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); - } - if (object.base != null) { - if (typeof object.base !== "object") - throw TypeError(".ProtoInputFieldDropdown.base: object expected"); - message.base = $root.ProtoBaseInputField.fromObject(object.base); - } - if (object.options) { - if (!Array.isArray(object.options)) - throw TypeError(".ProtoInputFieldDropdown.options: array expected"); - 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]); - } - } - if (object.bindOptionsCode != null) - message.bindOptionsCode = Boolean(object.bindOptionsCode); - if (object.optionsCode != null) - message.optionsCode = String(object.optionsCode); - if (object.comChannelUUIDs) { - if (!Array.isArray(object.comChannelUUIDs)) - throw TypeError(".ProtoInputFieldDropdown.comChannelUUIDs: array expected"); - 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; - }; - - /** - * Creates a plain object from a ProtoInputFieldDropdown message. Also converts values to other types if specified. - * @function toObject - * @memberof ProtoInputFieldDropdown - * @static - * @param {ProtoInputFieldDropdown} message ProtoInputFieldDropdown - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ProtoInputFieldDropdown.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object.options = []; - object.comChannelUUIDs = []; - } - if (options.defaults) { - object.parent = null; - object.base = null; - object.bindOptionsCode = false; - object.optionsCode = ""; - object.uuid = ""; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = $root.ProtoDocumentElement.toObject(message.parent, options); - if (message.base != null && message.hasOwnProperty("base")) - object.base = $root.ProtoBaseInputField.toObject(message.base, options); - if (message.options && message.options.length) { - object.options = []; - for (var j = 0; j < message.options.length; ++j) - object.options[j] = $root.ProtoOption.toObject(message.options[j], options); - } - if (message.bindOptionsCode != null && message.hasOwnProperty("bindOptionsCode")) - object.bindOptionsCode = message.bindOptionsCode; - if (message.optionsCode != null && message.hasOwnProperty("optionsCode")) - object.optionsCode = message.optionsCode; - if (message.comChannelUUIDs && 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; - }; - - /** - * Converts this ProtoInputFieldDropdown to JSON. - * @function toJSON - * @memberof ProtoInputFieldDropdown - * @instance - * @returns {Object.} JSON object - */ - ProtoInputFieldDropdown.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ProtoInputFieldDropdown - * @function getTypeUrl - * @memberof ProtoInputFieldDropdown - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ProtoInputFieldDropdown.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ProtoInputFieldDropdown"; - }; - - return ProtoInputFieldDropdown; -})(); - -module.exports = $root; diff --git a/build/docframe.proto b/build/docframe.proto deleted file mode 100644 index 81fd75a..0000000 --- a/build/docframe.proto +++ /dev/null @@ -1,1475 +0,0 @@ -syntax = "proto3"; -message ProtoBoxedBool { -bool value = 1; -bool isNull = 2; -} -message ProtoBoxedDouble { -double value = 1; -bool isNull = 2; -} -message ProtoBoxedInt32 { -int32 value = 1; -bool isNull = 2; -} -message ProtoBoxedUint32 { -uint32 value = 1; -bool isNull = 2; -} -message ProtoBoxedString { -string value = 1; -bool isNull = 2; -} -enum ProtoSPBMode { -NONE = 0; -SUPERSCRIPT = 1; -SUBSCRIPT = 2; -} - -message ProtoBoxedSPBMode { -ProtoSPBMode value = 1; -bool isNull = 2; -} -enum ProtoRuleStyle { -DUMMY_RULE_STYLE = 0; // dummy is needed here, because otherwise protoc command produces error -SOLID = 1; -SPARSE_SHADING = 2; -MEDIUM_SHADING = 3; -DENSE_SHADING = 4; -LIGHT_DOTTED = 5; -MEDIUM_DOTTED = 6; -HEAVY_DOTTED = 7; -LIGHT_DASHED = 8; -MEDIUM_DASHED = 9; -HEAVY_DASHED = 10; -DASH_PATTERN = 11; - -DOUBLE = 254; -} -message ProtoStrikethroughSpec { - -ProtoMeasure weight = 1; -ProtoUnderlineMode mode = 2; -ProtoColor color = 3; -int32 offsetEm = 4; -ProtoRuleStyle style = 5; - -} - -message ProtoBoxedStrikethroughSpec { -ProtoStrikethroughSpec value = 1; -bool isNull = 2; -} -enum ProtoMeasureType { -PT = 0; -CM = 1; -MM = 2; -IN = 3; -PERCENT = 4; -PX = 5; -} - -message ProtoMeasure { -double value = 1; -ProtoMeasureType mtype = 2; -} - -message ProtoBoxedMeasure { -ProtoMeasure value = 1; -bool isNull = 2; -} - -message ProtoSideMeasures { -ProtoMeasure top = 1; -ProtoMeasure right = 2; -ProtoMeasure bottom = 3; -ProtoMeasure left = 4; -} -enum ProtoAdvancedIllustrationAreaTextFlowType { -DO_NOT_USE_AT_ALL = 0; -AROUND = 1; -NO_FLOW = 2; -FOREGROUND = 3; -BACKGROUND = 4; -} - -message ProtoBoxedAdvancedIllustrationAreaTextFlowType { -ProtoAdvancedIllustrationAreaTextFlowType value = 1; -bool isNull = 2; -} - -message ProtoAdvancedIllustrationAreaImageSettings { -ProtoBoxedAdvancedIllustrationAreaTextFlowType textFlow = 1; -ProtoSideMeasures margin = 2; -} -message ProtoFont { -int32 id = 1; -string name = 2; -} - -message ProtoBoxedFont { -ProtoFont value = 1; -bool isNull = 2; -} -enum ProtoColorType { -DUMMY_COLOR_TYPE = 0; // dummy is needed here, because otherwise protoc command produces error -RGB = 3; -CMYK = 4; -} - - -message ProtoColor { -ProtoBoxedString name = 1; -ProtoColorType type = 2; // set to RGB or CMYK -int32 r = 3; -int32 g = 4; -int32 b = 5; -float c = 6; -float m = 7; -float y = 8; -float k = 9; -} - -message ProtoBoxedColor { -ProtoColor value = 1; -bool isNull = 2; -} - -message ProtoRGBColor { -ProtoBoxedString name = 1; -ProtoColorType type = 2; // set to RGB - -int32 r = 3; -int32 g = 4; -int32 b = 5; -} - -message ProtoCMYKColor { -ProtoBoxedString name = 1; -ProtoColorType type = 2; // set to CMYK - -float c = 3; -float m = 4; -float y = 5; -float k = 6; -} -enum ProtoHorizontalAlignment { -ALIGN_LEFT = 0; -ALIGN_CENTER = 1; -ALIGN_RIGHT = 2; -ALIGN_JUSTIFY = 3; -ALIGN_FULL_JUSTIFY = 4; -ALIGN_CENTER_ON_PAGE = 5; -} - -enum ProtoVerticalAlignment { -TOP = 0; -MIDDLE = 1; -BOTTOM = 2; -} - -message ProtoBoxedHorizontalAlignment { -ProtoHorizontalAlignment value = 1; -bool isNull = 2; -} - -message ProtoBoxedVerticalAlignment { -ProtoVerticalAlignment value = 1; -bool isNull = 2; -} -enum ProtoBarcodeType { -PDF417 = 0; -DATAMATRIX = 1; -BC128 = 2; -QR = 3; -ITF = 4; -EAN8 = 5; -EAN13 = 6; -CODE39 = 7; -SWISSQR = 8; -AZTEC = 9; -} - -message ProtoSwissQRCreditor { -string addressType = 1; -string name = 2; -string postalCode = 3; -string town = 4; -string country = 5; -string streetOrAddressLine1 = 6; -string buildingNumberOrAddressLine2 = 7; -string iban = 8; -string amount = 9; -string currency = 10; -} - -message ProtoSwissQRDebitor { -string addressType = 1; -string name = 2; -string postalCode = 3; -string town = 4; -string country = 5; -string streetOrAddressLine1 = 6; -string buildingNumberOrAddressLine2 = 7; -string paymentReferenceType = 8; -string paymentReference = 9; -string unstructuredReference = 10; -string billInformation = 11; -} - -message ProtoSwissQRData { -ProtoSwissQRCreditor creditor = 1; -ProtoSwissQRDebitor debitor = 2; -} -message ProtoLinebreak { -ProtoDocumentElement parent = 1; -repeated string comChannelUUIDs = 2; - -string uuid = 3; -ProtoBoxedUint32 count = 4; -} -message ProtoBorder { -ProtoMeasure weight = 1; -ProtoColor color = 2; -} - -message ProtoSideBorders { -ProtoBorder top = 1; -ProtoBorder right = 2; -ProtoBorder bottom = 3; -ProtoBorder left = 4; -} -enum ProtoPositionMode { -CENTER = 0; -LEFT = 1; -FOLIO = 2; -RIGHT = 3; -REVERSE_FOLIO = 4; -} - -message ProtoBoxedPositionMode { -ProtoPositionMode value = 1; -bool isNull = 2; -} - -message ProtoColumnSettings { -ProtoBoxedMeasure width = 1; -ProtoBoxedMeasure interColumnSpace = 2; -ProtoBoxedMeasure positionOffset = 3; -ProtoPositionMode positionMode = 4; -ProtoBoxedMeasure outsideMargin = 5; -} -message ProtoGraphicState { -ProtoBoxedBool bold = 1; -ProtoBoxedBool italic = 2; -repeated ProtoColor colorStack = 3; -ProtoBoxedBool subscript = 4; -ProtoBoxedBool superscript = 5; -ProtoBoxedBool underline = 6; -ProtoBoxedBool strikethrough = 7; -} -message ProtoHtmlParser { - -} -enum ProtoUnderlineMode { -DUMMY_UNDERLINE_MODE = 0; // dummy is needed here, because otherwise protoc command produces error -WORDS_NO_BLANKS = 1; -WORDS_AND_BLANKS = 2; -CHARACTERS_NO_BLANKS = 3; -CHARACTERS_AND_BLANKS = 4; -} - -message ProtoUnderlineSpec { -ProtoMeasure weight = 1; -ProtoUnderlineMode mode = 2; -ProtoColor color = 3; -int32 offsetEm = 4; -ProtoRuleStyle style = 5; -} - -message ProtoBoxedUnderlineSpec { -ProtoUnderlineSpec value = 1; -bool isNull = 2; -} -message ProtoCropSettings { -ProtoBoxedMeasure x = 1; -ProtoBoxedMeasure y = 2; -ProtoBoxedMeasure width = 3; -ProtoBoxedMeasure height = 4; -} - -message ProtoFlipSettings { -bool x = 1; -bool y = 2; -} - -enum ProtoImageReferencePoint { -REF_POINT_DO_NOT_USE_AT_ALL = 0; -REF_POINT_BOTTOM_LEFT = 1; -REF_POINT_TOP_LEFT = 2; -REF_POINT_CENTER = 3; -REF_POINT_BOTTOM_RIGHT = 4; -REF_POINT_TOP_RIGHT = 5; -} -enum ProtoSemanticType { -SEMANTIC_TYPE_NONE = 0; -SEMANTIC_TYPE_PART = 1; -SEMANTIC_TYPE_ART = 2; -SEMANTIC_TYPE_SECT = 3; -SEMANTIC_TYPE_DIV = 4; -} -message ProtoOption { -string key = 1; -string value = 2; -} - -enum PDFPrintingBehavior { -PDF_PRINTING_BEHAVIOR_INPUT = 0; -PDF_PRINTING_BEHAVIOR_TEXT = 1; -PDF_PRINTING_BEHAVIOR_INHERIT = 2; -} - -message ProtoBaseInputField { -string name = 1; -bool meta = 2; -ProtoBoxedString value = 3; -string formatUUID = 4; -string dataTypeUUID = 5; -string onChangeCode = 6; -string placeholder = 7; -bool bindDefaultValue = 8; -string defaultValueCode = 9; - -bool readonly = 10; -} -enum Inheritance { -INHERITANCE_INHERIT = 0; -INHERITANCE_CODE = 1; -INHERITANCE_BIND_CODE = 2; -INHERITANCE_STATIC = 3; -INHERITANCE_RESET = 4; -} -message ProtoDocumentElement { -ProtoDocumentElement parent = 1; -repeated string comChannelUUIDs = 2; -} -message ProtoBranchDocumentElement { -repeated ProtoDocumentElement _children = 1; - -ProtoDocumentElement parent = 2; -repeated string comChannelUUIDs = 3; - -} -message ProtoLink { -repeated ProtoDocumentElement _children = 1; - -string url = 2; -repeated string comChannelUUIDs = 3; -} -enum ProtoNumberType { -ARABIC = 0; -ROM_UPPERCASE = 1; -ROM_LOWERCASE = 2; -LETTER_UPPERCASE = 3; -LETTER_LOWERCASE = 4; -} - -enum ProtoListLevelSettingType { -UNNUMBERED = 0; -NUMERIC = 1; -IMAGE = 2; -} - -message ProtoListLevelSetting { -string listSettingName = 1; -ProtoBoxedUint32 fontSize = 2; -ProtoListLevelSettingType type = 3; -int32 level = 4; -string prefix = 5; -string suffix = 6; -ProtoFont fixFontFamily = 7; -bool fixBold = 8; -bool fixItalic = 9; -int32 indentionWidth = 10; -ProtoColor color = 11; - -string imageName = 12; - -ProtoFont fontFamily = 13; -ProtoBoxedBool bold = 14; -ProtoBoxedBool italic = 15; - -ProtoNumberType numberType = 16; - -string character = 17; -} - -message ProtoImageListLevelSetting { -string listSettingName = 1; -ProtoBoxedUint32 fontSize = 2; -ProtoListLevelSettingType type = 3; -int32 level = 4; -string prefix = 5; -string suffix = 6; -ProtoFont fixFontFamily = 7; -bool fixBold = 8; -bool fixItalic = 9; -int32 indentionWidth = 10; -ProtoColor color = 11; - -string imageName = 12; -} - -message ProtoTextListLevelSetting { -string listSettingName = 1; -ProtoBoxedUint32 fontSize = 2; -ProtoListLevelSettingType type = 3; -int32 level = 4; -string prefix = 5; -string suffix = 6; -ProtoFont fixFontFamily = 7; -bool fixBold = 8; -bool fixItalic = 9; -int32 indentionWidth = 10; -ProtoColor color = 11; - -ProtoFont fontFamily = 12; -ProtoBoxedBool bold = 13; -ProtoBoxedBool italic = 14; -} - -message ProtoNumberListLevelSetting { -string listSettingName = 1; -ProtoBoxedUint32 fontSize = 2; -ProtoListLevelSettingType type = 3; -int32 level = 4; -string prefix = 5; -string suffix = 6; -ProtoFont fixFontFamily = 7; -bool fixBold = 8; -bool fixItalic = 9; -int32 indentionWidth = 10; -ProtoColor color = 11; -ProtoFont fontFamily = 12; -ProtoBoxedBool bold = 13; -ProtoBoxedBool italic = 14; - -ProtoNumberType numberType = 15; -} - -message ProtoUnnumberedListLevelSetting { -string listSettingName = 1; -ProtoBoxedUint32 fontSize = 2; -ProtoListLevelSettingType type = 3; -int32 level = 4; -string prefix = 5; -string suffix = 6; -ProtoFont fixFontFamily = 7; -bool fixBold = 8; -bool fixItalic = 9; -int32 indentionWidth = 10; -ProtoColor color = 11; -ProtoFont fontFamily = 12; -ProtoBoxedBool bold = 13; -ProtoBoxedBool italic = 14; - -string character = 15; -} -message ProtoListSetting { -ProtoDocumentElement parent = 1; - -string name = 2; -repeated ProtoListLevelSetting listLevelSettings = 3; -ProtoListLevelSetting defaultListLevelSetting = 4; -repeated string comChannelUUIDs = 5; -} - -message ProtoBoxedListSetting { -ProtoListSetting value = 1; -bool isNull = 2; -} -message ProtoNamedString { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string name = 3; -repeated string comChannelUUIDs = 4; -string uuid = 5; -string description = 6; -string nameCode = 7; -bool codeMode = 8; -} -message ProtoParagraph { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -ProtoParagraphFormat format = 3; -ProtoParagraphFormat overwrite = 4; -repeated string comChannelUUIDs = 5; -string paragraphFormatUUID = 6; -string uuid = 7; -} -message ProtoParagraphFormat { -ProtoParagraphFormat baseFormat = 1; -ProtoBoxedString name = 2; -ProtoBoxedBool default = 3; -ProtoBoxedFont font = 4; -ProtoBoxedBool bold = 5; -ProtoBoxedBool italic = 6; -ProtoBoxedColor fontColor = 7; -ProtoBoxedUnderlineSpec underline = 8; -ProtoBoxedMeasure fontSize = 9; -ProtoBoxedMeasure characterWidth = 10; -ProtoBoxedMeasure characterSpacing = 11; -ProtoBoxedMeasure lineFeed = 12; -ProtoBoxedHorizontalAlignment alignment = 13; -ProtoBoxedMeasure indentionWidth = 14; -ProtoBoxedInt32 indentionLevel = 15; -ProtoBoxedMeasure spaceAbove = 16; -ProtoBoxedMeasure spaceBelow = 17; -ProtoBoxedInt32 widowSetting = 18; -ProtoBoxedInt32 orphanSetting = 19; -ProtoBoxedInt32 widowPriority = 20; -ProtoBoxedStrikethroughSpec strikethrough = 21; -ProtoBoxedSPBMode superscriptSubscript = 22; -ProtoBoxedColor backgroundColor = 23; -ProtoBoxedListSetting listSetting = 24; -ProtoBoxedBool hyphenation = 25; -ProtoBoxedString preNamedString = 26; -ProtoBoxedString postNamedString = 27; -ProtoBoxedString semanticType = 28; -repeated string comChannelUUIDs = 29; -} -message ProtoSection { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string uuid = 3; -string cDefUuid = 4; - -repeated string comChannelUUIDs = 5; -} -message ProtoSpaceVertically { -ProtoDocumentElement parent = 1; - -ProtoMeasure space = 2; -repeated string comChannelUUIDs = 3; -} -message ProtoSpan { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -ProtoBoxedBool bold = 3; -ProtoBoxedBool italic = 4; -ProtoColor color = 5; -ProtoBoxedBool subscript = 6; -ProtoBoxedBool superscript = 7; -ProtoBoxedBool underline = 8; -ProtoBoxedBool strikethrough = 9; -repeated string comChannelUUIDs = 10; -} -message ProtoTable { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -ProtoTableSettings settings = 3; -string configName = 4; - -Node carryOver = 5; -Node subTotal = 6; -repeated string comChannelUUIDs = 7; -ProtoTableElementProperties elementProperties = 8; -} - -message ProtoTableConfig { -ProtoDocumentElement parent = 1; - -ProtoTableSettings settings = 2; -string configName = 3; -repeated string comChannelUUIDs = 4; -} - -message ProtoTableSettings { -ProtoMeasure xOffset = 1; -ProtoBoxedBool leftMeasure = 2; -ProtoMeasure width = 3; -ProtoBoxedUint32 repeatHeader = 4; -ProtoTableWS ws = 5; -} - - -enum ProtoTableContentGroupType { -HEADER = 0; -BODY = 1; -FOOTER = 2; -SUB_HEADER = 3; -} - -message ProtoBoxedTableContentGroupType { -ProtoTableContentGroupType value = 1; -bool isNull = 2; -} - -message ProtoTableContentGroup { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -ProtoTableContentGroupSettings settings = 3; -repeated string comChannelUUIDs = 4; -ProtoTableElementProperties elementProperties = 5; -} - -message ProtoTableContentGroupConfig { -ProtoDocumentElement parent = 1; - -ProtoTableContentGroupSettings settings = 2; -string configName = 3; -repeated string comChannelUUIDs = 4; -} - -message ProtoTableContentGroupSettings { -ProtoBoxedTableContentGroupType contentGroupType = 1; -repeated ProtoColor backgroundColors = 2; -ProtoTableWS ws = 3; -} - - -message ProtoTableRow { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -ProtoTableRowSettings settings = 3; -ProtoBoxedUint32 rowConfigNumber = 4; -repeated string comChannelUUIDs = 5; -ProtoTableElementProperties elementProperties = 6; -} - -message ProtoTableRowConfig { -ProtoDocumentElement parent = 1; - -ProtoTableRowSettings settings = 2; -string configName = 3; -string rowHeader = 4; -string rowFooter = 5; -repeated string comChannelUUIDs = 6; -} - -message ProtoTableRowSettings { -ProtoMeasure minHeight = 1; -ProtoTableWS ws = 2; -} - -enum ProtoTableCellType { -TABLE_CELL_BODY = 0; -TABLE_CELL_ROW_HEADER = 1; -TABLE_CELL_ROW_FOOTER = 2; -} - -message ProtoBoxedTableCellType { -ProtoTableCellType value = 1; -bool isNull = 2; -} - -message ProtoTableCell { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -ProtoTableCellSettings settings = 3; -ProtoBoxedUint32 cellConfigNumber = 4; -bool mergedLeft = 5; -bool mergedUp = 6; -repeated string comChannelUUIDs = 7; -ProtoTableElementProperties elementProperties = 8; -} - -message ProtoTableCellConfig { -ProtoDocumentElement parent = 1; - -ProtoTableCellSettings settings = 2; -string configName = 3; -ProtoBoxedTableCellType cellType = 4; -repeated string comChannelUUIDs = 5; -} - -message ProtoTableCellSettings { -ProtoMeasure width = 1; -ProtoBoxedHorizontalAlignment align = 2; -ProtoBoxedVerticalAlignment valign = 3; -ProtoColor backgroundColor = 4; -ProtoSideMeasures padding = 5; -ProtoSideBorders border = 6; -ProtoSideMeasures margin = 7; -ProtoBoxedDouble rotation = 8; -ProtoBoxedString defaultParagraphFormat = 9; -} - -message ProtoTableWS { -uint32 minLinesBefore = 1; -uint32 minLinesAfter = 2; -uint32 priority = 3; -} - -message ProtoTableElementProperties { -Inheritance widthInheritance = 1; -ProtoMeasure width = 2; -string widthCode = 3; - -Inheritance alignInheritance = 4; -ProtoBoxedHorizontalAlignment align = 5; -string alignCode = 6; - -Inheritance valignInheritance = 7; -ProtoBoxedVerticalAlignment valign = 8; -string valignCode = 9; - -Inheritance backgroundColorInheritance = 10; -repeated ProtoColor backgroundColor = 11; -string backgroundColorCode = 12; - -Inheritance paddingTopInheritance = 13; -ProtoMeasure paddingTop = 14; -string paddingTopCode = 15; - -Inheritance paddingRightInheritance = 16; -ProtoMeasure paddingRight = 17; -string paddingRightCode = 18; - -Inheritance paddingBottomInheritance = 19; -ProtoMeasure paddingBottom = 20; -string paddingBottomCode = 21; - -Inheritance paddingLeftInheritance = 22; -ProtoMeasure paddingLeft = 23; -string paddingLeftCode = 24; - -Inheritance borderTopColorInheritance = 25; -ProtoColor borderTopColor = 26; -string borderTopColorCode = 27; - -Inheritance borderTopWeightInheritance = 28; -ProtoMeasure borderTopWeight = 29; -string borderTopWeightCode = 30; - -Inheritance borderRightColorInheritance = 31; -ProtoColor borderRightColor = 32; -string borderRightColorCode = 33; - -Inheritance borderRightWeightInheritance = 34; -ProtoMeasure borderRightWeight = 35; -string borderRightWeightCode = 36; - -Inheritance borderBottomColorInheritance = 37; -ProtoColor borderBottomColor = 38; -string borderBottomColorCode = 39; - -Inheritance borderBottomWeightInheritance = 40; -ProtoMeasure borderBottomWeight = 41; -string borderBottomWeightCode = 42; - -Inheritance borderLeftColorInheritance = 43; -ProtoColor borderLeftColor = 44; -string borderLeftColorCode = 45; - -Inheritance borderLeftWeightInheritance = 46; -ProtoMeasure borderLeftWeight = 47; -string borderLeftWeightCode = 48; - -Inheritance marginTopInheritance = 49; -ProtoMeasure marginTop = 50; -string marginTopCode = 51; - -Inheritance marginRightInheritance = 52; -ProtoMeasure marginRight = 53; -string marginRightCode = 54; - -Inheritance marginBottomInheritance = 55; -ProtoMeasure marginBottom = 56; -string marginBottomCode = 57; - -Inheritance marginLeftInheritance = 58; -ProtoMeasure marginLeft = 59; -string marginLeftCode = 60; - -Inheritance rotationInheritance = 61; -ProtoBoxedDouble rotation = 62; -string rotationCode = 63; - -Inheritance defaultParagraphFormatUUIDInheritance = 64; -ProtoBoxedString defaultParagraphFormatUUID = 65; -string defaultParagraphFormatUUIDCode = 66; - -Inheritance tableContentGroupTypeInheritance = 67; -ProtoBoxedTableContentGroupType tableContentGroupType = 68; -string tableContentGroupTypeCode = 69; - -Inheritance cellTypeInheritance = 70; -ProtoBoxedTableCellType cellType = 71; -string cellTypeCode = 72; - -Inheritance minRowHeightInheritance = 73; -ProtoMeasure minRowHeight = 74; -string minRowHeightCode = 75; - -Inheritance wsInheritance = 76; -ProtoTableWS ws = 77; -string wsCode = 78; -} - -message ProtoText { -ProtoDocumentElement parent = 1; - -string content = 2; -repeated string comChannelUUIDs = 3; -} -message ProtoBarcode { -ProtoBarcodeType type = 1; -ProtoMeasure x = 2; -ProtoMeasure y = 3; -ProtoImageReferencePoint referencePoint = 4; -float rotation = 5; -ProtoMeasure width = 6; -ProtoMeasure height = 7; -ProtoMeasure padding = 8; -string data = 9; -bool positionAbsolute = 10; -repeated string comChannelUUIDs = 11; -string uuid = 12; -string code = 13; -ProtoSwissQRData swissQRData = 14; -} -message ProtoBrickReference { -string internName = 1; -uint32 version = 2; -repeated string comChannelUUIDs = 3; -} -message ProtoBrick { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -uint64 id = 3; -string internName = 4; -string uuid = 5; -bool editable = 6; -repeated string comChannelUUIDs = 7; -string name = 8; -} -message ProtoTemplate { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -repeated string comChannelUUIDs = 3; -string uuid = 4; -ColumnBalancing columnBalancing = 5; -ProtoSemanticType semanticType = 6; -string templateUuid = 7; -} - -enum ColumnBalancing { -NO_BALANCING = 0; -BALANCING = 1; -} -enum ProtoHeaderMode { -HEADER_MODE_APPEND_INITIAL = 0; -HEADER_MODE_APPEND = 1; -HEADER_MODE_EXTEND = 2; -HEADER_MODE_REPLACE = 3; -} - -message ProtoHeader { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string uuid = 3; -repeated string comChannelUUIDs = 4; -ProtoHeaderMode mode = 5; -} -enum ProtoFooterMode { -FOOTER_MODE_APPEND_INITIAL = 0; -FOOTER_MODE_APPEND = 1; -FOOTER_MODE_EXTEND = 2; -FOOTER_MODE_REPLACE = 3; -} - -message ProtoFooter { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string uuid = 3; -repeated string comChannelUUIDs = 4; -ProtoFooterMode mode = 5; -} -option csharp_namespace = "Docframe"; - -message Node { -repeated Node children = 1; - -oneof object { -ProtoListSetting list_setting = 2; -ProtoColorDef colorDef = 3; -ProtoBrick brick = 4; -ProtoTemplate template = 5; -ProtoFormatted formatted = 6; -ProtoImage image = 7; -ProtoParagraphFormat paragraph_format = 8; -ProtoTextBrick text_brick = 9; -ProtoText text = 10; -ProtoLinebreak linebreak = 11; -ProtoSpaceVertically space_vertically = 12; -ProtoFooter footer = 13; -ProtoHeader header = 14; -ProtoTable table = 15; -ProtoTableRow table_row = 16; -ProtoTableCell table_cell = 17; -ProtoCDef c_def = 18; -ProtoPDef p_def = 19; -ProtoApplyProtoCDef apply_c_def = 20; -ProtoApplyProtoPDef apply_p_def = 21; -ProtoApplyPtConfig apply_pt_config = 22; -ProtoApplyUlConfig apply_ul_config = 23; -ProtoPtConfig pt_config = 24; -ProtoUlConfig ul_config = 25; -ProtoNewPage new_page = 26; -ProtoVariable variable = 27; -ProtoNamedString named_string = 28; -ProtoParagraph paragraph = 30; -ProtoSection section = 31; -ProtoSpan span = 32; -ProtoLink link = 33; -ProtoDirectory directory = 34; -ProtoTableContentGroup table_content_group = 35; -ProtoTableConfig table_config = 36; -ProtoTableCellConfig table_cell_config = 37; -ProtoTableRowConfig table_row_config = 38; -ProtoTableContentGroupConfig table_content_group_config = 39; -ProtoBrickReference brick_reference = 40; -ProtoIndentation indentation = 55; -ProtoBarcode barcode = 56; -ProtoWsArea ws_area = 57; -ProtoCarryOver carry_over = 58; -ProtoSubTotal sub_total = 59; -ProtoLoop loop = 60; -ProtoLoopEntry loop_entry = 61; -ProtoRule rule = 62; -ProtoLayout layout = 63; -ProtoAdvancedIllustrationArea advanced_illustration_area = 64; -ProtoAdjustHorizontally adjust_horizontally = 65; -ProtoDoctypeScript doctypeScript = 66; -ProtoDmScript dmScript = 67; -ProtoDynamicTemplate dynamic_template = 68; -ProtoSelection selection = 69; -ProtoSelectionEntry selection_entry = 70; -ProtoCondition condition = 71; -ProtoPageCondition page_condition = 72; -ProtoLocale locale = 73; -ProtoTag tag = 74; -ProtoParagraphSetDefault paragraph_set_default = 75; -ProtoInputFieldText input_field_text = 76; -ProtoInputFieldDate input_field_date = 77; -ProtoInputFieldCheckbox input_field_checkbox = 78; -ProtoInputFieldLabel input_field_label = 79; -ProtoInputFieldDropdown input_field_dropdown = 80; -} -} - -enum NodeType { -DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT = 0; -DOCUMENT_ELEMENT_BRICK_REFERENCE = 1; -DOCUMENT_ELEMENT_BRICK = 2; -DOCUMENT_ELEMENT_DOCUMENT_ELEMENT = 3; -DOCUMENT_ELEMENT_LINEBREAK = 4; -DOCUMENT_ELEMENT_LIST_SETTING = 6; -DOCUMENT_ELEMENT_PARAGRAPH_FORMAT = 7; -DOCUMENT_ELEMENT_PARAGRAPH = 8; -DOCUMENT_ELEMENT_SECTION = 9; -DOCUMENT_ELEMENT_SPAN = 10; -DOCUMENT_ELEMENT_TABLE = 11; -DOCUMENT_ELEMENT_TABLE_CELL = 12; -DOCUMENT_ELEMENT_TABLE_ROW = 13; -DOCUMENT_ELEMENT_TEMPLATE = 15; -DOCUMENT_ELEMENT_TEXT = 16; -DOCUMENT_ELEMENT_COLOR_DEF = 19; -DOCUMENT_ELEMENT_IMAGE = 30; -DOCUMENT_ELEMENT_NAMED_STRING = 34; -DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP = 35; -DOCUMENT_ELEMENT_TABLE_CONFIG = 36; -DOCUMENT_ELEMENT_TABLE_CELL_CONFIG = 37; -DOCUMENT_ELEMENT_TABLE_ROW_CONFIG = 38; -DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG = 39; -DOCUMENT_ELEMENT_LINK = 40; -DOCUMENT_ELEMENT_DIRECTORY = 41; -DOCUMENT_ELEMENT_TEXT_BRICK = 42; -DOCUMENT_ELEMENT_VARIABLE = 44; -DOCUMENT_ELEMENT_SPACE_VERTICALLY = 45; -DOCUMENT_ELEMENT_FORMATTED = 46; -DOCUMENT_ELEMENT_APPLY_C_DEF = 47; -DOCUMENT_ELEMENT_APPLY_P_DEF = 48; -DOCUMENT_ELEMENT_APPLY_PT_CONFIG = 49; -DOCUMENT_ELEMENT_APPLY_UL_CONFIG = 50; -DOCUMENT_ELEMENT_C_DEF = 51; -DOCUMENT_ELEMENT_P_DEF = 52; -DOCUMENT_ELEMENT_PT_CONFIG = 53; -DOCUMENT_ELEMENT_UL_CONFIG = 54; -DOCUMENT_ELEMENT_NEW_PAGE = 55; -DOCUMENT_ELEMENT_HEADER = 56; -DOCUMENT_ELEMENT_FOOTER = 57; -DOCUMENT_ELEMENT_INDENTATION = 60; -DOCUMENT_ELEMENT_BARCODE = 61; -DOCUMENT_ELEMENT_WS_AREA = 62; -DOCUMENT_ELEMENT_CARRY_OVER = 63; -DOCUMENT_ELEMENT_SUB_TOTAL = 64; -DOCUMENT_ELEMENT_LOOP = 65; -DOCUMENT_ELEMENT_LOOP_ENTRY = 66; -DOCUMENT_ELEMENT_RULE = 67; -DOCUMENT_ELEMENT_LIST_LEVEL_SETTING = 68; -DOCUMENT_ELEMENT_LAYOUT = 69; -DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA = 70; -DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY = 71; -DOCUMENT_ELEMENT_DOCTYPE_SCRIPT = 72; -DOCUMENT_ELEMENT_DM_SCRIPT = 73; -DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE = 74; -DOCUMENT_ELEMENT_SELECTION = 75; -DOCUMENT_ELEMENT_SELECTION_ENTRY = 76; -DOCUMENT_ELEMENT_CONDITION = 77; -DOCUMENT_ELEMENT_PAGE_CONDITION = 78; -DOCUMENT_ELEMENT_LOCALE = 79; -DOCUMENT_ELEMENT_TAG = 80; -DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT = 81; -DOCUMENT_ELEMENT_INPUT_FIELD_TEXT = 82; -DOCUMENT_ELEMENT_INPUT_FIELD_DATE = 83; -DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX = 84; -DOCUMENT_ELEMENT_INPUT_FIELD_LABEL = 85; -DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN = 86; -} -enum ProtoImageScaleType { -IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL = 0; -IMAGE_SCALE_TYPE_RELATIVE = 1; -IMAGE_SCALE_TYPE_ABSOLUTE = 2; -IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN = 3; -} - -enum ProtoImageUAMode{ -IMAGE_UA_MODE_DO_NOT_USE_AT_ALL = 0; -IMAGE_UA_MODE_INHERITED = 1; -IMAGE_UA_MODE_SIMPLE = 2; -IMAGE_UA_MODE_ADVANCED = 3; - -} - -enum ProtoImageContentType{ -IMAGE_CONTENT_UUID_REFERENCE_INLINE = 0; -IMAGE_CONTENT_UUID_REFERENCE_LOCAL = 1; -IMAGE_CONTENT_UUID_REFERENCE_GLOBAL = 2; -IMAGE_CONTENT_DMSCRIPT = 3; -IMAGE_CONTENT_IMAGE_DATA = 4; -} - - -message ProtoImage { -ProtoDocumentElement parent = 1; - -string alt = 2; -string name = 3; -string src = 4; -string filename = 5; -ProtoBoxedDouble scale = 6; -ProtoBoxedDouble columnScale = 7; -ProtoBoxedMeasure width = 8; -ProtoBoxedMeasure height = 9; -ProtoBoxedMeasure x = 10; -ProtoBoxedMeasure y = 11; -ProtoBoxedBool positionAbsolute = 12; -double rotation = 13; -ProtoFlipSettings flipSettings = 14; -ProtoCropSettings cropSettings = 15; -ProtoAdvancedIllustrationAreaImageSettings aia = 16; -string uuid = 17; -ProtoImageReferencePoint referencePoint = 18; -string hyperlink = 19; -repeated string comChannelUUIDs = 20; -ProtoImageContentType imageContentType = 21; -string imageContent = 22; -ProtoImageScaleType scaleType = 23; -ProtoImageUAMode uaMode = 24; -string uaDescription = 25; -ProtoBoxedBool leftBorderIsLeftMeasure = 26; -} - -message ProtoDirectory { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string uuid = 3; -repeated string comChannelUUIDs = 4; -ProtoSemanticType semanticType = 5; -bool editable = 6; -string name = 7; -} -message ProtoTextBrick { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string uuid = 3; -uint64 id = 4; -repeated string comChannelUUIDs = 5; -bool editable = 6; -string name = 7; -} -message ProtoVariable { -ProtoDocumentElement parent = 1; - -string path = 2; -string content = 3; // Should this be optional or "empty string" -string formatUuid = 4; -ProtoVariableSpecialType specialType = 5; -string uuid = 6; -repeated string comChannelUUIDs = 7; -} - -enum ProtoVariableSpecialType { -NOT_SPECIAL = 0; -TABLE_NUMBER = 1; -DOC_PAGE_COUNT = 2; -DOC_CUR_PAGE = 3; -CUR_PAGE = 4; -PAGE_COUNT = 5; -PREV_PAGE = 6; -SECTION_PAGE = 7; -UPDATED_AT = 8; -GENERATED_AT = 9; -} -message ProtoFormatted { -ProtoDocumentElement parent = 1; - -bool dteditorSyntax = 2; -string doctypeContent = 3; -string doctypeCode = 4; -string htmlContent = 5; -string htmlCode = 6; -string textContent = 7; -string textCode = 8; -repeated string comChannelUUIDs = 9; -} - -message ProtoApplyProtoCDef { -string cDefUuid = 1; -repeated string comChannelUUIDs = 2; -} - -message ProtoApplyProtoPDef { -string pDefUuid = 1; -repeated string comChannelUUIDs = 2; -} - -message ProtoApplyPtConfig { -string ptConfigUuid = 1; -repeated string comChannelUUIDs = 2; -} - -message ProtoApplyUlConfig { -string ulConfigUuid = 1; -repeated string comChannelUUIDs = 2; -} - - - -message ProtoCDef { -ProtoColumnSettings columSettings = 1; -ProtoBoxedBool applyToHeaderFooter = 2; -ProtoBoxedBool applyImmediate = 3; -string Uuid = 4; -repeated string comChannelUUIDs = 5; -} - -message ProtoPDef { -ProtoBoxedMeasure pageWidth = 1; -ProtoBoxedMeasure pageDepth = 2; -string Uuid = 3; -repeated string comChannelUUIDs = 4; -} - -message ProtoPtConfig { -ProtoBoxedMeasure height = 1; -ProtoBoxedMeasure lineFeed = 2; -ProtoBoxedMeasure characterWidth = 3; -ProtoBoxedMeasure spaceWidth = 4; -string Uuid = 5; -repeated string comChannelUUIDs = 6; -} - -message ProtoUlConfig { -ProtoUnderlineMode mode = 1; -string Uuid = 2; -repeated string comChannelUUIDs = 3; -} -enum ProtoPageMode { -NEXT_PAGE = 0; -NEXT_RECTO_PAGE = 1; -NEXT_VERSO_PAGE = 2; -} - -enum ProtoPageOrientation { -UNSET = 0; -PORTRAIT = 1; -LANDSCAPE = 2; -INVERSE_PORTRAIT = 3; -INVERSE_LANDSCAPE = 4; -} - -message ProtoNewPage { -string uuid = 1; -string paperTrayUuid = 2; -uint32 paperTrayNumber = 3; -uint32 paperCount = 4; -ProtoPageMode pageMode = 5; -ProtoPageOrientation pageOrientation = 6; -string pDefUuid = 7; -string cDefUuid = 8; -repeated string comChannelUUIDs = 9; -} -message ProtoIndentation { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -ProtoBoxedMeasure left = 3; -ProtoBoxedMeasure right = 4; -string uuid = 5; -repeated string comChannelUUIDs = 6; -} -message ProtoCarryOver { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -repeated string comChannelUUIDs = 3; -} -message ProtoLoopEntry { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string path = 3; -uint64 index = 4; -string uuid = 5; -repeated string comChannelUUIDs = 6; -} -message ProtoLoop { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string path = 3; -string uuid = 4; -repeated string comChannelUUIDs = 5; -} -enum ProtoSubTotalPosition { -POSITION_ABOVE_FOOTER = 0; -POSITION_BELOW_CONTENT = 1; -} - -message ProtoSubTotal { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -bool apply_immediate = 3; -ProtoSubTotalPosition position = 4; -ProtoMeasure height = 5; -repeated string comChannelUUIDs = 6; -} - -message ProtoWsArea { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -repeated string comChannelUUIDs = 3; -} -message ProtoRule { -ProtoMeasure xOffset = 1; -ProtoMeasure yOffset = 2; -ProtoMeasure width = 3; -ProtoMeasure thickness = 4; -double rotation = 5; -ProtoColor color = 6; -ProtoRuleStyle style = 7; -ProtoRuleMode mode = 8; -ProtoRuleBoundaries boundaries = 9; -repeated string comChannelUUIDs = 10; -} - -enum ProtoRuleMode { -NORMAL = 0; -BOUNDARY = 1; -} - -message ProtoRuleBoundaries { -ProtoMeasure start = 1; -ProtoMeasure end = 2; -} -message ProtoColorDef { -ProtoColor color = 1; -repeated string comChannelUUIDs = 2; -} -message ProtoLayout { -ProtoDocumentElement parent = 1; - -string name = 2; -repeated string comChannelUUIDs = 3; -} -message ProtoAdvancedIllustrationArea { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string uuid = 3; -bool absolute = 4; -ProtoMeasure width = 5; -ProtoMeasure height = 6; -ProtoMeasure x = 7; -ProtoMeasure y = 8; -ProtoAdvancedIllustrationAreaTextFlowType textFlow = 9; -float rotation = 10; -repeated string comChannelUUIDs = 11; -} -message ProtoAdjustHorizontally { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -ProtoMeasure minFontSize = 3; -ProtoMeasure maxFontSize = 4; -repeated string comChannelUUIDs = 5; -} -enum ProtoDoctypeOutputMode { -DOCTYPE_OUTPUT_MODE_NOT_SET = 0; -DOCTYPE = 1; -JSON = 2; -} - -message ProtoDoctypeScript { -ProtoDocumentElement parent = 1; - -string content = 2; -ProtoDoctypeOutputMode outputMode = 3; -repeated string comChannelUUIDs = 4; -string uuid = 5; -} -message ProtoDmScript { -ProtoDocumentElement parent = 1; - -string content = 2; -repeated string comChannelUUIDs = 3; -string uuid = 4; -} -message ProtoDynamicTemplate { -ProtoDocumentElement parent = 1; -string uuid = 2; - -string script = 3; -repeated string comChannelUUIDs = 4; -} -message ProtoSelection { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string uuid = 3; -repeated string comChannelUUIDs = 4; -string internalName = 5; -string name = 6; -bool multi = 7; -uint64 min = 8; -uint64 max = 9; -} -message ProtoSelectionEntry { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; - -string uuid = 3; -repeated string comChannelUUIDs = 4; -string internalName = 5; -string name = 6; -bool selected = 7; -} -message ProtoCondition { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; -string uuid = 3; -repeated string comChannelUUIDs = 4; -string code = 5; -bool result = 6; -bool regenerate = 7; -} -message ProtoPageCondition { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; -string uuid = 3; -repeated string comChannelUUIDs = 4; -string code = 5; -} -message ProtoLocale { -repeated ProtoDocumentElement _children = 1; -ProtoDocumentElement parent = 2; -string uuid = 3; -repeated string comChannelUUIDs = 4; -repeated string languageUUIDs = 5; -repeated string regionUUIDs = 6; -} -message ProtoTag { -ProtoDocumentElement parent = 1; - -string name = 2; -repeated string comChannelUUIDs = 3; -string uuid = 4; -repeated string params = 5; -string nameCode = 6; -bool codeMode = 7; -} -message ProtoParagraphSetDefault { -ProtoDocumentElement parent = 1; - -string name = 2; -string paragraphFormatUUID = 3; -string uuid = 4; -repeated string comChannelUUIDs = 5; -} -message ProtoInputFieldText { -ProtoDocumentElement parent = 1; - -ProtoBaseInputField base = 2; -PDFPrintingBehavior pdf_printing_behavior = 3; -ProtoBoxedMeasure pdf_size = 4; -string pdf_form_name = 5; -repeated string comChannelUUIDs = 6; -string uuid = 7; -} - -message ProtoInputFieldDate { -ProtoDocumentElement parent = 1; - -ProtoBaseInputField base = 2; -repeated string comChannelUUIDs = 3; -string uuid = 4; -} - -message ProtoInputFieldCheckbox { -ProtoDocumentElement parent = 1; - -ProtoBaseInputField base = 2; -repeated string comChannelUUIDs = 3; -string uuid = 4; -} - -message ProtoInputFieldLabel { -ProtoDocumentElement parent = 1; - -ProtoBaseInputField base = 2; -repeated string comChannelUUIDs = 3; -string uuid = 4; -} - -message ProtoInputFieldDropdown { -ProtoDocumentElement parent = 1; - -ProtoBaseInputField base = 2; - -repeated ProtoOption options = 3; - -bool bindOptionsCode = 4; - -string optionsCode = 5; -repeated string comChannelUUIDs = 6; -string uuid = 7; -} - diff --git a/bun.lock b/bun.lock new file mode 100644 index 0000000..3dce4a7 --- /dev/null +++ b/bun.lock @@ -0,0 +1,106 @@ +{ + "lockfileVersion": 1, + "workspaces": { + "": { + "name": "docframe-types", + "devDependencies": { + "barrelsby": "^2.8.1", + "typescript": "^5.9.2", + }, + "peerDependencies": { + "@bufbuild/protobuf": "^2.7.0", + }, + }, + }, + "packages": { + "@bufbuild/protobuf": ["@bufbuild/protobuf@2.7.0", "", {}, "sha512-qn6tAIZEw5i/wiESBF4nQxZkl86aY4KoO0IkUa2Lh+rya64oTOdJQFlZuMwI1Qz9VBJQrQC4QlSA2DNek5gCOA=="], + + "@types/yargs": ["@types/yargs@17.0.33", "", { "dependencies": { "@types/yargs-parser": "*" } }, "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA=="], + + "@types/yargs-parser": ["@types/yargs-parser@21.0.3", "", {}, "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ=="], + + "ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="], + + "ansi-styles": ["ansi-styles@3.2.1", "", { "dependencies": { "color-convert": "^1.9.0" } }, "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA=="], + + "barrelsby": ["barrelsby@2.8.1", "", { "dependencies": { "@types/yargs": "^17.0.10", "signale": "^1.4.0", "yargs": "^17.4.1" }, "bin": { "barrelsby": "bin/cli.js" } }, "sha512-barN2MVKqUVwmjRy3JLSMYufrBDcdWUc2pjlR0V9P8S3aMvvJ4StFz1GJMzEi5GBoQlnBIWOcCxBDzI2xfaaGw=="], + + "chalk": ["chalk@2.4.2", "", { "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" } }, "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="], + + "cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="], + + "color-convert": ["color-convert@1.9.3", "", { "dependencies": { "color-name": "1.1.3" } }, "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg=="], + + "color-name": ["color-name@1.1.3", "", {}, "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="], + + "emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], + + "error-ex": ["error-ex@1.3.2", "", { "dependencies": { "is-arrayish": "^0.2.1" } }, "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g=="], + + "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], + + "escape-string-regexp": ["escape-string-regexp@1.0.5", "", {}, "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg=="], + + "figures": ["figures@2.0.0", "", { "dependencies": { "escape-string-regexp": "^1.0.5" } }, "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA=="], + + "find-up": ["find-up@2.1.0", "", { "dependencies": { "locate-path": "^2.0.0" } }, "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ=="], + + "get-caller-file": ["get-caller-file@2.0.5", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="], + + "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="], + + "has-flag": ["has-flag@3.0.0", "", {}, "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw=="], + + "is-arrayish": ["is-arrayish@0.2.1", "", {}, "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="], + + "is-fullwidth-code-point": ["is-fullwidth-code-point@3.0.0", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="], + + "json-parse-better-errors": ["json-parse-better-errors@1.0.2", "", {}, "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw=="], + + "load-json-file": ["load-json-file@4.0.0", "", { "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^4.0.0", "pify": "^3.0.0", "strip-bom": "^3.0.0" } }, "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw=="], + + "locate-path": ["locate-path@2.0.0", "", { "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" } }, "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA=="], + + "p-limit": ["p-limit@1.3.0", "", { "dependencies": { "p-try": "^1.0.0" } }, "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q=="], + + "p-locate": ["p-locate@2.0.0", "", { "dependencies": { "p-limit": "^1.1.0" } }, "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg=="], + + "p-try": ["p-try@1.0.0", "", {}, "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww=="], + + "parse-json": ["parse-json@4.0.0", "", { "dependencies": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" } }, "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw=="], + + "path-exists": ["path-exists@3.0.0", "", {}, "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ=="], + + "pify": ["pify@3.0.0", "", {}, "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg=="], + + "pkg-conf": ["pkg-conf@2.1.0", "", { "dependencies": { "find-up": "^2.0.0", "load-json-file": "^4.0.0" } }, "sha512-C+VUP+8jis7EsQZIhDYmS5qlNtjv2yP4SNtjXK9AP1ZcTRlnSfuumaTnRfYZnYgUUYVIKqL0fRvmUGDV2fmp6g=="], + + "require-directory": ["require-directory@2.1.1", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="], + + "signale": ["signale@1.4.0", "", { "dependencies": { "chalk": "^2.3.2", "figures": "^2.0.0", "pkg-conf": "^2.1.0" } }, "sha512-iuh+gPf28RkltuJC7W5MRi6XAjTDCAPC/prJUpQoG4vIP3MJZ+GTydVnodXA7pwvTKb2cA0m9OFZW/cdWy/I/w=="], + + "string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], + + "strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], + + "strip-bom": ["strip-bom@3.0.0", "", {}, "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA=="], + + "supports-color": ["supports-color@5.5.0", "", { "dependencies": { "has-flag": "^3.0.0" } }, "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=="], + + "typescript": ["typescript@5.9.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A=="], + + "wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="], + + "y18n": ["y18n@5.0.8", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="], + + "yargs": ["yargs@17.7.2", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="], + + "yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="], + + "wrap-ansi/ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], + + "wrap-ansi/ansi-styles/color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="], + + "wrap-ansi/ansi-styles/color-convert/color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], + } +} diff --git a/createDocframe.sh b/createDocframe.sh deleted file mode 100644 index ff8d476..0000000 --- a/createDocframe.sh +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/bash -set -v - -mkdir -p build - -# .proto files and the protofiles.txt file need a new line at the end - -> build/docframe.proto - -echo 'syntax = "proto3";' >> build/docframe.proto - -# Do not change the order - some .proto files depend on other .proto files -declare -a FileArray=( - "src/Box/box.bool.proto" - "src/Box/box.double.proto" - "src/Box/box.int32.proto" - "src/Box/box.uint32.proto" - "src/Box/box.string.proto" - "src/Util/util.spb_mode.proto" - "src/Util/util.rule_style.proto" - "src/Util/util.strikethrough_spec.proto" - "src/Util/util.text.proto" - "src/Util/util.measure.proto" - "src/Util/util.advanced_illustration_area_image_settings.proto" - "src/Util/util.font.proto" - "src/Util/util.color.proto" - "src/Util/util.align.proto" - "src/Util/util.barcode.proto" - "src/DocumentElements/documentelements.linebreak.proto" - "src/Util/util.border.proto" - "src/Util/util.column_settings.proto" - "src/Util/util.graphic_state.proto" - "src/Util/util.html_parser.proto" - "src/Util/util.underline_spec.proto" - "src/Util/util.image_settings.proto" - "src/Util/util.semantic_type.proto" - "src/Util/util.input_field.proto" - "src/Util/util.inheritance.proto" - "src/DocumentElements/documentelements.document_element.proto" - "src/DocumentElements/documentelements.branch_document_element.proto" - "src/DocumentElements/documentelements.link.proto" - "src/DocumentElements/documentelements.list_level_setting.proto" - "src/DocumentElements/documentelements.list_setting.proto" - "src/DocumentElements/documentelements.named_string.proto" - "src/DocumentElements/documentelements.paragraph.proto" - "src/DocumentElements/documentelements.paragraph_format.proto" - "src/DocumentElements/documentelements.section.proto" - "src/DocumentElements/documentelements.space_vertically.proto" - "src/DocumentElements/documentelements.span.proto" - "src/DocumentElements/documentelements.table.proto" - "src/DocumentElements/documentelements.text.proto" - "src/DocumentElements/documentelements.barcode.proto" - "src/DocumentElements/documentelements.brick_reference.proto" - "src/DocumentElements/documentelements.brick.proto" - "src/DocumentElements/documentelements.template.proto" - "src/DocumentElements/documentelements.header.proto" - "src/DocumentElements/documentelements.footer.proto" - "src/node.proto" - "src/DocumentElements/documentelements.image.proto" - "src/DocumentElements/documentelements.directory.proto" - "src/DocumentElements/documentelements.textbrick.proto" - "src/DocumentElements/documentelements.variable.proto" - "src/DocumentElements/documentelements.formatted.proto" - "src/DocumentElements/documentelements.apply_cdef.proto" - "src/DocumentElements/documentelements.apply_pdef.proto" - "src/DocumentElements/documentelements.apply_pt_config.proto" - "src/DocumentElements/documentelements.apply_ul_config.proto" - "src/DocumentElements/documentelements.cdef.proto" - "src/DocumentElements/documentelements.pdef.proto" - "src/DocumentElements/documentelements.pt_config.proto" - "src/DocumentElements/documentelements.ul_config.proto" - "src/DocumentElements/documentelements.new_page.proto" - "src/DocumentElements/documentelements.indentation.proto" - "src/DocumentElements/documentelements.carry_over.proto" - "src/DocumentElements/documentelements.loop_entry.proto" - "src/DocumentElements/documentelements.loop.proto" - "src/DocumentElements/documentelements.sub_total.proto" - "src/DocumentElements/documentelements.ws_area.proto" - "src/DocumentElements/documentelements.rule.proto" - "src/DocumentElements/documentelements.color_def.proto" - "src/DocumentElements/documentelements.layout.proto" - "src/DocumentElements/documentelements.advanced_illustration_area.proto" - "src/DocumentElements/documentelements.adjust_horizontally.proto" - "src/DocumentElements/documentelements.doctype_script.proto" - "src/DocumentElements/documentelements.dmscript.proto" - "src/DocumentElements/documentelements.dynamic_template.proto" - "src/DocumentElements/documentelements.selection.proto" - "src/DocumentElements/documentelements.selection_entry.proto" - "src/DocumentElements/documentelements.condition.proto" - "src/DocumentElements/documentelements.page_condition.proto" - "src/DocumentElements/documentelements.locale.proto" - "src/DocumentElements/documentelements.tag.proto" - "src/DocumentElements/documentelements.paragraph_set_default.proto" - "src/DocumentElements/documentelements.input_field.proto" -) - -for file in ${FileArray[@]}; do - while read line; do - if [[ $line != *"syntax = "* ]]; then - if [[ $line != *"import "* ]]; then - if [[ $line != "//"* ]]; then - echo $line >> build/docframe.proto - fi - fi - fi - done < $file -done - -# replace git with https, because a github account is needed for git, but not for https -./node_modules/.bin/pbjs -t static-module -w commonjs -o ./build/Docframe.js ./build/docframe.proto -node ./repair_pbjs.js < ./build/Docframe.js >./build/Docframe.js.repaired -mv ./build/Docframe.js.repaired ./build/Docframe.js -./node_modules/.bin/pbts -o ./build/Docframe.d.ts ./build/Docframe.js - -# MSYS_NO_PATHCONV=1 fixes build on windows (git bash) -MSYS_NO_PATHCONV=1 protoc --csharp_out=build --go_out=. --go_opt=Mbuild/docframe.proto=/docframepb ./build/docframe.proto - -pushd docframepb -go generate . -popd diff --git a/docframepb/docframe.pb.go b/docframepb/docframe.pb.go deleted file mode 100644 index 374095f..0000000 --- a/docframepb/docframe.pb.go +++ /dev/null @@ -1,14877 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.8 -// protoc v6.32.0 -// source: build/docframe.proto - -package docframepb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ProtoSPBMode int32 - -const ( - ProtoSPBMode_NONE ProtoSPBMode = 0 - ProtoSPBMode_SUPERSCRIPT ProtoSPBMode = 1 - ProtoSPBMode_SUBSCRIPT ProtoSPBMode = 2 -) - -// Enum value maps for ProtoSPBMode. -var ( - ProtoSPBMode_name = map[int32]string{ - 0: "NONE", - 1: "SUPERSCRIPT", - 2: "SUBSCRIPT", - } - ProtoSPBMode_value = map[string]int32{ - "NONE": 0, - "SUPERSCRIPT": 1, - "SUBSCRIPT": 2, - } -) - -func (x ProtoSPBMode) Enum() *ProtoSPBMode { - p := new(ProtoSPBMode) - *p = x - return p -} - -func (x ProtoSPBMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoSPBMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[0].Descriptor() -} - -func (ProtoSPBMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[0] -} - -func (x ProtoSPBMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoSPBMode.Descriptor instead. -func (ProtoSPBMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{0} -} - -type ProtoRuleStyle int32 - -const ( - ProtoRuleStyle_DUMMY_RULE_STYLE ProtoRuleStyle = 0 // dummy is needed here, because otherwise protoc command produces error - ProtoRuleStyle_SOLID ProtoRuleStyle = 1 - ProtoRuleStyle_SPARSE_SHADING ProtoRuleStyle = 2 - ProtoRuleStyle_MEDIUM_SHADING ProtoRuleStyle = 3 - ProtoRuleStyle_DENSE_SHADING ProtoRuleStyle = 4 - ProtoRuleStyle_LIGHT_DOTTED ProtoRuleStyle = 5 - ProtoRuleStyle_MEDIUM_DOTTED ProtoRuleStyle = 6 - ProtoRuleStyle_HEAVY_DOTTED ProtoRuleStyle = 7 - ProtoRuleStyle_LIGHT_DASHED ProtoRuleStyle = 8 - ProtoRuleStyle_MEDIUM_DASHED ProtoRuleStyle = 9 - ProtoRuleStyle_HEAVY_DASHED ProtoRuleStyle = 10 - ProtoRuleStyle_DASH_PATTERN ProtoRuleStyle = 11 - ProtoRuleStyle_DOUBLE ProtoRuleStyle = 254 -) - -// Enum value maps for ProtoRuleStyle. -var ( - ProtoRuleStyle_name = map[int32]string{ - 0: "DUMMY_RULE_STYLE", - 1: "SOLID", - 2: "SPARSE_SHADING", - 3: "MEDIUM_SHADING", - 4: "DENSE_SHADING", - 5: "LIGHT_DOTTED", - 6: "MEDIUM_DOTTED", - 7: "HEAVY_DOTTED", - 8: "LIGHT_DASHED", - 9: "MEDIUM_DASHED", - 10: "HEAVY_DASHED", - 11: "DASH_PATTERN", - 254: "DOUBLE", - } - ProtoRuleStyle_value = map[string]int32{ - "DUMMY_RULE_STYLE": 0, - "SOLID": 1, - "SPARSE_SHADING": 2, - "MEDIUM_SHADING": 3, - "DENSE_SHADING": 4, - "LIGHT_DOTTED": 5, - "MEDIUM_DOTTED": 6, - "HEAVY_DOTTED": 7, - "LIGHT_DASHED": 8, - "MEDIUM_DASHED": 9, - "HEAVY_DASHED": 10, - "DASH_PATTERN": 11, - "DOUBLE": 254, - } -) - -func (x ProtoRuleStyle) Enum() *ProtoRuleStyle { - p := new(ProtoRuleStyle) - *p = x - return p -} - -func (x ProtoRuleStyle) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoRuleStyle) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[1].Descriptor() -} - -func (ProtoRuleStyle) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[1] -} - -func (x ProtoRuleStyle) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoRuleStyle.Descriptor instead. -func (ProtoRuleStyle) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{1} -} - -type ProtoMeasureType int32 - -const ( - ProtoMeasureType_PT ProtoMeasureType = 0 - ProtoMeasureType_CM ProtoMeasureType = 1 - ProtoMeasureType_MM ProtoMeasureType = 2 - ProtoMeasureType_IN ProtoMeasureType = 3 - ProtoMeasureType_PERCENT ProtoMeasureType = 4 - ProtoMeasureType_PX ProtoMeasureType = 5 -) - -// Enum value maps for ProtoMeasureType. -var ( - ProtoMeasureType_name = map[int32]string{ - 0: "PT", - 1: "CM", - 2: "MM", - 3: "IN", - 4: "PERCENT", - 5: "PX", - } - ProtoMeasureType_value = map[string]int32{ - "PT": 0, - "CM": 1, - "MM": 2, - "IN": 3, - "PERCENT": 4, - "PX": 5, - } -) - -func (x ProtoMeasureType) Enum() *ProtoMeasureType { - p := new(ProtoMeasureType) - *p = x - return p -} - -func (x ProtoMeasureType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoMeasureType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[2].Descriptor() -} - -func (ProtoMeasureType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[2] -} - -func (x ProtoMeasureType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoMeasureType.Descriptor instead. -func (ProtoMeasureType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{2} -} - -type ProtoAdvancedIllustrationAreaTextFlowType int32 - -const ( - ProtoAdvancedIllustrationAreaTextFlowType_DO_NOT_USE_AT_ALL ProtoAdvancedIllustrationAreaTextFlowType = 0 - ProtoAdvancedIllustrationAreaTextFlowType_AROUND ProtoAdvancedIllustrationAreaTextFlowType = 1 - ProtoAdvancedIllustrationAreaTextFlowType_NO_FLOW ProtoAdvancedIllustrationAreaTextFlowType = 2 - ProtoAdvancedIllustrationAreaTextFlowType_FOREGROUND ProtoAdvancedIllustrationAreaTextFlowType = 3 - ProtoAdvancedIllustrationAreaTextFlowType_BACKGROUND ProtoAdvancedIllustrationAreaTextFlowType = 4 -) - -// Enum value maps for ProtoAdvancedIllustrationAreaTextFlowType. -var ( - ProtoAdvancedIllustrationAreaTextFlowType_name = map[int32]string{ - 0: "DO_NOT_USE_AT_ALL", - 1: "AROUND", - 2: "NO_FLOW", - 3: "FOREGROUND", - 4: "BACKGROUND", - } - ProtoAdvancedIllustrationAreaTextFlowType_value = map[string]int32{ - "DO_NOT_USE_AT_ALL": 0, - "AROUND": 1, - "NO_FLOW": 2, - "FOREGROUND": 3, - "BACKGROUND": 4, - } -) - -func (x ProtoAdvancedIllustrationAreaTextFlowType) Enum() *ProtoAdvancedIllustrationAreaTextFlowType { - p := new(ProtoAdvancedIllustrationAreaTextFlowType) - *p = x - return p -} - -func (x ProtoAdvancedIllustrationAreaTextFlowType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoAdvancedIllustrationAreaTextFlowType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[3].Descriptor() -} - -func (ProtoAdvancedIllustrationAreaTextFlowType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[3] -} - -func (x ProtoAdvancedIllustrationAreaTextFlowType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoAdvancedIllustrationAreaTextFlowType.Descriptor instead. -func (ProtoAdvancedIllustrationAreaTextFlowType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{3} -} - -type ProtoColorType int32 - -const ( - ProtoColorType_DUMMY_COLOR_TYPE ProtoColorType = 0 // dummy is needed here, because otherwise protoc command produces error - ProtoColorType_RGB ProtoColorType = 3 - ProtoColorType_CMYK ProtoColorType = 4 -) - -// Enum value maps for ProtoColorType. -var ( - ProtoColorType_name = map[int32]string{ - 0: "DUMMY_COLOR_TYPE", - 3: "RGB", - 4: "CMYK", - } - ProtoColorType_value = map[string]int32{ - "DUMMY_COLOR_TYPE": 0, - "RGB": 3, - "CMYK": 4, - } -) - -func (x ProtoColorType) Enum() *ProtoColorType { - p := new(ProtoColorType) - *p = x - return p -} - -func (x ProtoColorType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoColorType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[4].Descriptor() -} - -func (ProtoColorType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[4] -} - -func (x ProtoColorType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoColorType.Descriptor instead. -func (ProtoColorType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{4} -} - -type ProtoHorizontalAlignment int32 - -const ( - ProtoHorizontalAlignment_ALIGN_LEFT ProtoHorizontalAlignment = 0 - ProtoHorizontalAlignment_ALIGN_CENTER ProtoHorizontalAlignment = 1 - ProtoHorizontalAlignment_ALIGN_RIGHT ProtoHorizontalAlignment = 2 - ProtoHorizontalAlignment_ALIGN_JUSTIFY ProtoHorizontalAlignment = 3 - ProtoHorizontalAlignment_ALIGN_FULL_JUSTIFY ProtoHorizontalAlignment = 4 - ProtoHorizontalAlignment_ALIGN_CENTER_ON_PAGE ProtoHorizontalAlignment = 5 -) - -// Enum value maps for ProtoHorizontalAlignment. -var ( - ProtoHorizontalAlignment_name = map[int32]string{ - 0: "ALIGN_LEFT", - 1: "ALIGN_CENTER", - 2: "ALIGN_RIGHT", - 3: "ALIGN_JUSTIFY", - 4: "ALIGN_FULL_JUSTIFY", - 5: "ALIGN_CENTER_ON_PAGE", - } - ProtoHorizontalAlignment_value = map[string]int32{ - "ALIGN_LEFT": 0, - "ALIGN_CENTER": 1, - "ALIGN_RIGHT": 2, - "ALIGN_JUSTIFY": 3, - "ALIGN_FULL_JUSTIFY": 4, - "ALIGN_CENTER_ON_PAGE": 5, - } -) - -func (x ProtoHorizontalAlignment) Enum() *ProtoHorizontalAlignment { - p := new(ProtoHorizontalAlignment) - *p = x - return p -} - -func (x ProtoHorizontalAlignment) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoHorizontalAlignment) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[5].Descriptor() -} - -func (ProtoHorizontalAlignment) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[5] -} - -func (x ProtoHorizontalAlignment) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoHorizontalAlignment.Descriptor instead. -func (ProtoHorizontalAlignment) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{5} -} - -type ProtoVerticalAlignment int32 - -const ( - ProtoVerticalAlignment_TOP ProtoVerticalAlignment = 0 - ProtoVerticalAlignment_MIDDLE ProtoVerticalAlignment = 1 - ProtoVerticalAlignment_BOTTOM ProtoVerticalAlignment = 2 -) - -// Enum value maps for ProtoVerticalAlignment. -var ( - ProtoVerticalAlignment_name = map[int32]string{ - 0: "TOP", - 1: "MIDDLE", - 2: "BOTTOM", - } - ProtoVerticalAlignment_value = map[string]int32{ - "TOP": 0, - "MIDDLE": 1, - "BOTTOM": 2, - } -) - -func (x ProtoVerticalAlignment) Enum() *ProtoVerticalAlignment { - p := new(ProtoVerticalAlignment) - *p = x - return p -} - -func (x ProtoVerticalAlignment) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoVerticalAlignment) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[6].Descriptor() -} - -func (ProtoVerticalAlignment) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[6] -} - -func (x ProtoVerticalAlignment) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoVerticalAlignment.Descriptor instead. -func (ProtoVerticalAlignment) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{6} -} - -type ProtoBarcodeType int32 - -const ( - ProtoBarcodeType_PDF417 ProtoBarcodeType = 0 - ProtoBarcodeType_DATAMATRIX ProtoBarcodeType = 1 - ProtoBarcodeType_BC128 ProtoBarcodeType = 2 - ProtoBarcodeType_QR ProtoBarcodeType = 3 - ProtoBarcodeType_ITF ProtoBarcodeType = 4 - ProtoBarcodeType_EAN8 ProtoBarcodeType = 5 - ProtoBarcodeType_EAN13 ProtoBarcodeType = 6 - ProtoBarcodeType_CODE39 ProtoBarcodeType = 7 - ProtoBarcodeType_SWISSQR ProtoBarcodeType = 8 - ProtoBarcodeType_AZTEC ProtoBarcodeType = 9 -) - -// Enum value maps for ProtoBarcodeType. -var ( - ProtoBarcodeType_name = map[int32]string{ - 0: "PDF417", - 1: "DATAMATRIX", - 2: "BC128", - 3: "QR", - 4: "ITF", - 5: "EAN8", - 6: "EAN13", - 7: "CODE39", - 8: "SWISSQR", - 9: "AZTEC", - } - ProtoBarcodeType_value = map[string]int32{ - "PDF417": 0, - "DATAMATRIX": 1, - "BC128": 2, - "QR": 3, - "ITF": 4, - "EAN8": 5, - "EAN13": 6, - "CODE39": 7, - "SWISSQR": 8, - "AZTEC": 9, - } -) - -func (x ProtoBarcodeType) Enum() *ProtoBarcodeType { - p := new(ProtoBarcodeType) - *p = x - return p -} - -func (x ProtoBarcodeType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoBarcodeType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[7].Descriptor() -} - -func (ProtoBarcodeType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[7] -} - -func (x ProtoBarcodeType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoBarcodeType.Descriptor instead. -func (ProtoBarcodeType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{7} -} - -type ProtoPositionMode int32 - -const ( - ProtoPositionMode_CENTER ProtoPositionMode = 0 - ProtoPositionMode_LEFT ProtoPositionMode = 1 - ProtoPositionMode_FOLIO ProtoPositionMode = 2 - ProtoPositionMode_RIGHT ProtoPositionMode = 3 - ProtoPositionMode_REVERSE_FOLIO ProtoPositionMode = 4 -) - -// Enum value maps for ProtoPositionMode. -var ( - ProtoPositionMode_name = map[int32]string{ - 0: "CENTER", - 1: "LEFT", - 2: "FOLIO", - 3: "RIGHT", - 4: "REVERSE_FOLIO", - } - ProtoPositionMode_value = map[string]int32{ - "CENTER": 0, - "LEFT": 1, - "FOLIO": 2, - "RIGHT": 3, - "REVERSE_FOLIO": 4, - } -) - -func (x ProtoPositionMode) Enum() *ProtoPositionMode { - p := new(ProtoPositionMode) - *p = x - return p -} - -func (x ProtoPositionMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoPositionMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[8].Descriptor() -} - -func (ProtoPositionMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[8] -} - -func (x ProtoPositionMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoPositionMode.Descriptor instead. -func (ProtoPositionMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{8} -} - -type ProtoUnderlineMode int32 - -const ( - ProtoUnderlineMode_DUMMY_UNDERLINE_MODE ProtoUnderlineMode = 0 // dummy is needed here, because otherwise protoc command produces error - ProtoUnderlineMode_WORDS_NO_BLANKS ProtoUnderlineMode = 1 - ProtoUnderlineMode_WORDS_AND_BLANKS ProtoUnderlineMode = 2 - ProtoUnderlineMode_CHARACTERS_NO_BLANKS ProtoUnderlineMode = 3 - ProtoUnderlineMode_CHARACTERS_AND_BLANKS ProtoUnderlineMode = 4 -) - -// Enum value maps for ProtoUnderlineMode. -var ( - ProtoUnderlineMode_name = map[int32]string{ - 0: "DUMMY_UNDERLINE_MODE", - 1: "WORDS_NO_BLANKS", - 2: "WORDS_AND_BLANKS", - 3: "CHARACTERS_NO_BLANKS", - 4: "CHARACTERS_AND_BLANKS", - } - ProtoUnderlineMode_value = map[string]int32{ - "DUMMY_UNDERLINE_MODE": 0, - "WORDS_NO_BLANKS": 1, - "WORDS_AND_BLANKS": 2, - "CHARACTERS_NO_BLANKS": 3, - "CHARACTERS_AND_BLANKS": 4, - } -) - -func (x ProtoUnderlineMode) Enum() *ProtoUnderlineMode { - p := new(ProtoUnderlineMode) - *p = x - return p -} - -func (x ProtoUnderlineMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoUnderlineMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[9].Descriptor() -} - -func (ProtoUnderlineMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[9] -} - -func (x ProtoUnderlineMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoUnderlineMode.Descriptor instead. -func (ProtoUnderlineMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{9} -} - -type ProtoImageReferencePoint int32 - -const ( - ProtoImageReferencePoint_REF_POINT_DO_NOT_USE_AT_ALL ProtoImageReferencePoint = 0 - ProtoImageReferencePoint_REF_POINT_BOTTOM_LEFT ProtoImageReferencePoint = 1 - ProtoImageReferencePoint_REF_POINT_TOP_LEFT ProtoImageReferencePoint = 2 - ProtoImageReferencePoint_REF_POINT_CENTER ProtoImageReferencePoint = 3 - ProtoImageReferencePoint_REF_POINT_BOTTOM_RIGHT ProtoImageReferencePoint = 4 - ProtoImageReferencePoint_REF_POINT_TOP_RIGHT ProtoImageReferencePoint = 5 -) - -// Enum value maps for ProtoImageReferencePoint. -var ( - ProtoImageReferencePoint_name = map[int32]string{ - 0: "REF_POINT_DO_NOT_USE_AT_ALL", - 1: "REF_POINT_BOTTOM_LEFT", - 2: "REF_POINT_TOP_LEFT", - 3: "REF_POINT_CENTER", - 4: "REF_POINT_BOTTOM_RIGHT", - 5: "REF_POINT_TOP_RIGHT", - } - ProtoImageReferencePoint_value = map[string]int32{ - "REF_POINT_DO_NOT_USE_AT_ALL": 0, - "REF_POINT_BOTTOM_LEFT": 1, - "REF_POINT_TOP_LEFT": 2, - "REF_POINT_CENTER": 3, - "REF_POINT_BOTTOM_RIGHT": 4, - "REF_POINT_TOP_RIGHT": 5, - } -) - -func (x ProtoImageReferencePoint) Enum() *ProtoImageReferencePoint { - p := new(ProtoImageReferencePoint) - *p = x - return p -} - -func (x ProtoImageReferencePoint) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoImageReferencePoint) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[10].Descriptor() -} - -func (ProtoImageReferencePoint) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[10] -} - -func (x ProtoImageReferencePoint) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoImageReferencePoint.Descriptor instead. -func (ProtoImageReferencePoint) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{10} -} - -type ProtoSemanticType int32 - -const ( - ProtoSemanticType_SEMANTIC_TYPE_NONE ProtoSemanticType = 0 - ProtoSemanticType_SEMANTIC_TYPE_PART ProtoSemanticType = 1 - ProtoSemanticType_SEMANTIC_TYPE_ART ProtoSemanticType = 2 - ProtoSemanticType_SEMANTIC_TYPE_SECT ProtoSemanticType = 3 - ProtoSemanticType_SEMANTIC_TYPE_DIV ProtoSemanticType = 4 -) - -// Enum value maps for ProtoSemanticType. -var ( - ProtoSemanticType_name = map[int32]string{ - 0: "SEMANTIC_TYPE_NONE", - 1: "SEMANTIC_TYPE_PART", - 2: "SEMANTIC_TYPE_ART", - 3: "SEMANTIC_TYPE_SECT", - 4: "SEMANTIC_TYPE_DIV", - } - ProtoSemanticType_value = map[string]int32{ - "SEMANTIC_TYPE_NONE": 0, - "SEMANTIC_TYPE_PART": 1, - "SEMANTIC_TYPE_ART": 2, - "SEMANTIC_TYPE_SECT": 3, - "SEMANTIC_TYPE_DIV": 4, - } -) - -func (x ProtoSemanticType) Enum() *ProtoSemanticType { - p := new(ProtoSemanticType) - *p = x - return p -} - -func (x ProtoSemanticType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoSemanticType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[11].Descriptor() -} - -func (ProtoSemanticType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[11] -} - -func (x ProtoSemanticType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoSemanticType.Descriptor instead. -func (ProtoSemanticType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{11} -} - -type PDFPrintingBehavior int32 - -const ( - PDFPrintingBehavior_PDF_PRINTING_BEHAVIOR_INPUT PDFPrintingBehavior = 0 - PDFPrintingBehavior_PDF_PRINTING_BEHAVIOR_TEXT PDFPrintingBehavior = 1 - PDFPrintingBehavior_PDF_PRINTING_BEHAVIOR_INHERIT PDFPrintingBehavior = 2 -) - -// Enum value maps for PDFPrintingBehavior. -var ( - PDFPrintingBehavior_name = map[int32]string{ - 0: "PDF_PRINTING_BEHAVIOR_INPUT", - 1: "PDF_PRINTING_BEHAVIOR_TEXT", - 2: "PDF_PRINTING_BEHAVIOR_INHERIT", - } - PDFPrintingBehavior_value = map[string]int32{ - "PDF_PRINTING_BEHAVIOR_INPUT": 0, - "PDF_PRINTING_BEHAVIOR_TEXT": 1, - "PDF_PRINTING_BEHAVIOR_INHERIT": 2, - } -) - -func (x PDFPrintingBehavior) Enum() *PDFPrintingBehavior { - p := new(PDFPrintingBehavior) - *p = x - return p -} - -func (x PDFPrintingBehavior) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PDFPrintingBehavior) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[12].Descriptor() -} - -func (PDFPrintingBehavior) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[12] -} - -func (x PDFPrintingBehavior) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PDFPrintingBehavior.Descriptor instead. -func (PDFPrintingBehavior) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{12} -} - -type Inheritance int32 - -const ( - Inheritance_INHERITANCE_INHERIT Inheritance = 0 - Inheritance_INHERITANCE_CODE Inheritance = 1 - Inheritance_INHERITANCE_BIND_CODE Inheritance = 2 - Inheritance_INHERITANCE_STATIC Inheritance = 3 - Inheritance_INHERITANCE_RESET Inheritance = 4 -) - -// Enum value maps for Inheritance. -var ( - Inheritance_name = map[int32]string{ - 0: "INHERITANCE_INHERIT", - 1: "INHERITANCE_CODE", - 2: "INHERITANCE_BIND_CODE", - 3: "INHERITANCE_STATIC", - 4: "INHERITANCE_RESET", - } - Inheritance_value = map[string]int32{ - "INHERITANCE_INHERIT": 0, - "INHERITANCE_CODE": 1, - "INHERITANCE_BIND_CODE": 2, - "INHERITANCE_STATIC": 3, - "INHERITANCE_RESET": 4, - } -) - -func (x Inheritance) Enum() *Inheritance { - p := new(Inheritance) - *p = x - return p -} - -func (x Inheritance) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Inheritance) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[13].Descriptor() -} - -func (Inheritance) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[13] -} - -func (x Inheritance) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Inheritance.Descriptor instead. -func (Inheritance) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{13} -} - -type ProtoNumberType int32 - -const ( - ProtoNumberType_ARABIC ProtoNumberType = 0 - ProtoNumberType_ROM_UPPERCASE ProtoNumberType = 1 - ProtoNumberType_ROM_LOWERCASE ProtoNumberType = 2 - ProtoNumberType_LETTER_UPPERCASE ProtoNumberType = 3 - ProtoNumberType_LETTER_LOWERCASE ProtoNumberType = 4 -) - -// Enum value maps for ProtoNumberType. -var ( - ProtoNumberType_name = map[int32]string{ - 0: "ARABIC", - 1: "ROM_UPPERCASE", - 2: "ROM_LOWERCASE", - 3: "LETTER_UPPERCASE", - 4: "LETTER_LOWERCASE", - } - ProtoNumberType_value = map[string]int32{ - "ARABIC": 0, - "ROM_UPPERCASE": 1, - "ROM_LOWERCASE": 2, - "LETTER_UPPERCASE": 3, - "LETTER_LOWERCASE": 4, - } -) - -func (x ProtoNumberType) Enum() *ProtoNumberType { - p := new(ProtoNumberType) - *p = x - return p -} - -func (x ProtoNumberType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoNumberType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[14].Descriptor() -} - -func (ProtoNumberType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[14] -} - -func (x ProtoNumberType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoNumberType.Descriptor instead. -func (ProtoNumberType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{14} -} - -type ProtoListLevelSettingType int32 - -const ( - ProtoListLevelSettingType_UNNUMBERED ProtoListLevelSettingType = 0 - ProtoListLevelSettingType_NUMERIC ProtoListLevelSettingType = 1 - ProtoListLevelSettingType_IMAGE ProtoListLevelSettingType = 2 -) - -// Enum value maps for ProtoListLevelSettingType. -var ( - ProtoListLevelSettingType_name = map[int32]string{ - 0: "UNNUMBERED", - 1: "NUMERIC", - 2: "IMAGE", - } - ProtoListLevelSettingType_value = map[string]int32{ - "UNNUMBERED": 0, - "NUMERIC": 1, - "IMAGE": 2, - } -) - -func (x ProtoListLevelSettingType) Enum() *ProtoListLevelSettingType { - p := new(ProtoListLevelSettingType) - *p = x - return p -} - -func (x ProtoListLevelSettingType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoListLevelSettingType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[15].Descriptor() -} - -func (ProtoListLevelSettingType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[15] -} - -func (x ProtoListLevelSettingType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoListLevelSettingType.Descriptor instead. -func (ProtoListLevelSettingType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{15} -} - -type ProtoTableContentGroupType int32 - -const ( - ProtoTableContentGroupType_HEADER ProtoTableContentGroupType = 0 - ProtoTableContentGroupType_BODY ProtoTableContentGroupType = 1 - ProtoTableContentGroupType_FOOTER ProtoTableContentGroupType = 2 - ProtoTableContentGroupType_SUB_HEADER ProtoTableContentGroupType = 3 -) - -// Enum value maps for ProtoTableContentGroupType. -var ( - ProtoTableContentGroupType_name = map[int32]string{ - 0: "HEADER", - 1: "BODY", - 2: "FOOTER", - 3: "SUB_HEADER", - } - ProtoTableContentGroupType_value = map[string]int32{ - "HEADER": 0, - "BODY": 1, - "FOOTER": 2, - "SUB_HEADER": 3, - } -) - -func (x ProtoTableContentGroupType) Enum() *ProtoTableContentGroupType { - p := new(ProtoTableContentGroupType) - *p = x - return p -} - -func (x ProtoTableContentGroupType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoTableContentGroupType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[16].Descriptor() -} - -func (ProtoTableContentGroupType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[16] -} - -func (x ProtoTableContentGroupType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoTableContentGroupType.Descriptor instead. -func (ProtoTableContentGroupType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{16} -} - -type ProtoTableCellType int32 - -const ( - ProtoTableCellType_TABLE_CELL_BODY ProtoTableCellType = 0 - ProtoTableCellType_TABLE_CELL_ROW_HEADER ProtoTableCellType = 1 - ProtoTableCellType_TABLE_CELL_ROW_FOOTER ProtoTableCellType = 2 -) - -// Enum value maps for ProtoTableCellType. -var ( - ProtoTableCellType_name = map[int32]string{ - 0: "TABLE_CELL_BODY", - 1: "TABLE_CELL_ROW_HEADER", - 2: "TABLE_CELL_ROW_FOOTER", - } - ProtoTableCellType_value = map[string]int32{ - "TABLE_CELL_BODY": 0, - "TABLE_CELL_ROW_HEADER": 1, - "TABLE_CELL_ROW_FOOTER": 2, - } -) - -func (x ProtoTableCellType) Enum() *ProtoTableCellType { - p := new(ProtoTableCellType) - *p = x - return p -} - -func (x ProtoTableCellType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoTableCellType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[17].Descriptor() -} - -func (ProtoTableCellType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[17] -} - -func (x ProtoTableCellType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoTableCellType.Descriptor instead. -func (ProtoTableCellType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{17} -} - -type ColumnBalancing int32 - -const ( - ColumnBalancing_NO_BALANCING ColumnBalancing = 0 - ColumnBalancing_BALANCING ColumnBalancing = 1 -) - -// Enum value maps for ColumnBalancing. -var ( - ColumnBalancing_name = map[int32]string{ - 0: "NO_BALANCING", - 1: "BALANCING", - } - ColumnBalancing_value = map[string]int32{ - "NO_BALANCING": 0, - "BALANCING": 1, - } -) - -func (x ColumnBalancing) Enum() *ColumnBalancing { - p := new(ColumnBalancing) - *p = x - return p -} - -func (x ColumnBalancing) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ColumnBalancing) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[18].Descriptor() -} - -func (ColumnBalancing) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[18] -} - -func (x ColumnBalancing) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ColumnBalancing.Descriptor instead. -func (ColumnBalancing) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{18} -} - -type ProtoHeaderMode int32 - -const ( - ProtoHeaderMode_HEADER_MODE_APPEND_INITIAL ProtoHeaderMode = 0 - ProtoHeaderMode_HEADER_MODE_APPEND ProtoHeaderMode = 1 - ProtoHeaderMode_HEADER_MODE_EXTEND ProtoHeaderMode = 2 - ProtoHeaderMode_HEADER_MODE_REPLACE ProtoHeaderMode = 3 -) - -// Enum value maps for ProtoHeaderMode. -var ( - ProtoHeaderMode_name = map[int32]string{ - 0: "HEADER_MODE_APPEND_INITIAL", - 1: "HEADER_MODE_APPEND", - 2: "HEADER_MODE_EXTEND", - 3: "HEADER_MODE_REPLACE", - } - ProtoHeaderMode_value = map[string]int32{ - "HEADER_MODE_APPEND_INITIAL": 0, - "HEADER_MODE_APPEND": 1, - "HEADER_MODE_EXTEND": 2, - "HEADER_MODE_REPLACE": 3, - } -) - -func (x ProtoHeaderMode) Enum() *ProtoHeaderMode { - p := new(ProtoHeaderMode) - *p = x - return p -} - -func (x ProtoHeaderMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoHeaderMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[19].Descriptor() -} - -func (ProtoHeaderMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[19] -} - -func (x ProtoHeaderMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoHeaderMode.Descriptor instead. -func (ProtoHeaderMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{19} -} - -type ProtoFooterMode int32 - -const ( - ProtoFooterMode_FOOTER_MODE_APPEND_INITIAL ProtoFooterMode = 0 - ProtoFooterMode_FOOTER_MODE_APPEND ProtoFooterMode = 1 - ProtoFooterMode_FOOTER_MODE_EXTEND ProtoFooterMode = 2 - ProtoFooterMode_FOOTER_MODE_REPLACE ProtoFooterMode = 3 -) - -// Enum value maps for ProtoFooterMode. -var ( - ProtoFooterMode_name = map[int32]string{ - 0: "FOOTER_MODE_APPEND_INITIAL", - 1: "FOOTER_MODE_APPEND", - 2: "FOOTER_MODE_EXTEND", - 3: "FOOTER_MODE_REPLACE", - } - ProtoFooterMode_value = map[string]int32{ - "FOOTER_MODE_APPEND_INITIAL": 0, - "FOOTER_MODE_APPEND": 1, - "FOOTER_MODE_EXTEND": 2, - "FOOTER_MODE_REPLACE": 3, - } -) - -func (x ProtoFooterMode) Enum() *ProtoFooterMode { - p := new(ProtoFooterMode) - *p = x - return p -} - -func (x ProtoFooterMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoFooterMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[20].Descriptor() -} - -func (ProtoFooterMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[20] -} - -func (x ProtoFooterMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoFooterMode.Descriptor instead. -func (ProtoFooterMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{20} -} - -type NodeType int32 - -const ( - NodeType_DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT NodeType = 0 - NodeType_DOCUMENT_ELEMENT_BRICK_REFERENCE NodeType = 1 - NodeType_DOCUMENT_ELEMENT_BRICK NodeType = 2 - NodeType_DOCUMENT_ELEMENT_DOCUMENT_ELEMENT NodeType = 3 - NodeType_DOCUMENT_ELEMENT_LINEBREAK NodeType = 4 - NodeType_DOCUMENT_ELEMENT_LIST_SETTING NodeType = 6 - NodeType_DOCUMENT_ELEMENT_PARAGRAPH_FORMAT NodeType = 7 - NodeType_DOCUMENT_ELEMENT_PARAGRAPH NodeType = 8 - NodeType_DOCUMENT_ELEMENT_SECTION NodeType = 9 - NodeType_DOCUMENT_ELEMENT_SPAN NodeType = 10 - NodeType_DOCUMENT_ELEMENT_TABLE NodeType = 11 - NodeType_DOCUMENT_ELEMENT_TABLE_CELL NodeType = 12 - NodeType_DOCUMENT_ELEMENT_TABLE_ROW NodeType = 13 - NodeType_DOCUMENT_ELEMENT_TEMPLATE NodeType = 15 - NodeType_DOCUMENT_ELEMENT_TEXT NodeType = 16 - NodeType_DOCUMENT_ELEMENT_COLOR_DEF NodeType = 19 - NodeType_DOCUMENT_ELEMENT_IMAGE NodeType = 30 - NodeType_DOCUMENT_ELEMENT_NAMED_STRING NodeType = 34 - NodeType_DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP NodeType = 35 - NodeType_DOCUMENT_ELEMENT_TABLE_CONFIG NodeType = 36 - NodeType_DOCUMENT_ELEMENT_TABLE_CELL_CONFIG NodeType = 37 - NodeType_DOCUMENT_ELEMENT_TABLE_ROW_CONFIG NodeType = 38 - NodeType_DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG NodeType = 39 - NodeType_DOCUMENT_ELEMENT_LINK NodeType = 40 - NodeType_DOCUMENT_ELEMENT_DIRECTORY NodeType = 41 - NodeType_DOCUMENT_ELEMENT_TEXT_BRICK NodeType = 42 - NodeType_DOCUMENT_ELEMENT_VARIABLE NodeType = 44 - NodeType_DOCUMENT_ELEMENT_SPACE_VERTICALLY NodeType = 45 - NodeType_DOCUMENT_ELEMENT_FORMATTED NodeType = 46 - NodeType_DOCUMENT_ELEMENT_APPLY_C_DEF NodeType = 47 - NodeType_DOCUMENT_ELEMENT_APPLY_P_DEF NodeType = 48 - NodeType_DOCUMENT_ELEMENT_APPLY_PT_CONFIG NodeType = 49 - NodeType_DOCUMENT_ELEMENT_APPLY_UL_CONFIG NodeType = 50 - NodeType_DOCUMENT_ELEMENT_C_DEF NodeType = 51 - NodeType_DOCUMENT_ELEMENT_P_DEF NodeType = 52 - NodeType_DOCUMENT_ELEMENT_PT_CONFIG NodeType = 53 - NodeType_DOCUMENT_ELEMENT_UL_CONFIG NodeType = 54 - NodeType_DOCUMENT_ELEMENT_NEW_PAGE NodeType = 55 - NodeType_DOCUMENT_ELEMENT_HEADER NodeType = 56 - NodeType_DOCUMENT_ELEMENT_FOOTER NodeType = 57 - NodeType_DOCUMENT_ELEMENT_INDENTATION NodeType = 60 - NodeType_DOCUMENT_ELEMENT_BARCODE NodeType = 61 - NodeType_DOCUMENT_ELEMENT_WS_AREA NodeType = 62 - NodeType_DOCUMENT_ELEMENT_CARRY_OVER NodeType = 63 - NodeType_DOCUMENT_ELEMENT_SUB_TOTAL NodeType = 64 - NodeType_DOCUMENT_ELEMENT_LOOP NodeType = 65 - NodeType_DOCUMENT_ELEMENT_LOOP_ENTRY NodeType = 66 - NodeType_DOCUMENT_ELEMENT_RULE NodeType = 67 - NodeType_DOCUMENT_ELEMENT_LIST_LEVEL_SETTING NodeType = 68 - NodeType_DOCUMENT_ELEMENT_LAYOUT NodeType = 69 - NodeType_DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA NodeType = 70 - NodeType_DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY NodeType = 71 - NodeType_DOCUMENT_ELEMENT_DOCTYPE_SCRIPT NodeType = 72 - NodeType_DOCUMENT_ELEMENT_DM_SCRIPT NodeType = 73 - NodeType_DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE NodeType = 74 - NodeType_DOCUMENT_ELEMENT_SELECTION NodeType = 75 - NodeType_DOCUMENT_ELEMENT_SELECTION_ENTRY NodeType = 76 - NodeType_DOCUMENT_ELEMENT_CONDITION NodeType = 77 - NodeType_DOCUMENT_ELEMENT_PAGE_CONDITION NodeType = 78 - NodeType_DOCUMENT_ELEMENT_LOCALE NodeType = 79 - NodeType_DOCUMENT_ELEMENT_TAG NodeType = 80 - NodeType_DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT NodeType = 81 - NodeType_DOCUMENT_ELEMENT_INPUT_FIELD_TEXT NodeType = 82 - NodeType_DOCUMENT_ELEMENT_INPUT_FIELD_DATE NodeType = 83 - NodeType_DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX NodeType = 84 - NodeType_DOCUMENT_ELEMENT_INPUT_FIELD_LABEL NodeType = 85 - NodeType_DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN NodeType = 86 -) - -// Enum value maps for NodeType. -var ( - NodeType_name = map[int32]string{ - 0: "DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT", - 1: "DOCUMENT_ELEMENT_BRICK_REFERENCE", - 2: "DOCUMENT_ELEMENT_BRICK", - 3: "DOCUMENT_ELEMENT_DOCUMENT_ELEMENT", - 4: "DOCUMENT_ELEMENT_LINEBREAK", - 6: "DOCUMENT_ELEMENT_LIST_SETTING", - 7: "DOCUMENT_ELEMENT_PARAGRAPH_FORMAT", - 8: "DOCUMENT_ELEMENT_PARAGRAPH", - 9: "DOCUMENT_ELEMENT_SECTION", - 10: "DOCUMENT_ELEMENT_SPAN", - 11: "DOCUMENT_ELEMENT_TABLE", - 12: "DOCUMENT_ELEMENT_TABLE_CELL", - 13: "DOCUMENT_ELEMENT_TABLE_ROW", - 15: "DOCUMENT_ELEMENT_TEMPLATE", - 16: "DOCUMENT_ELEMENT_TEXT", - 19: "DOCUMENT_ELEMENT_COLOR_DEF", - 30: "DOCUMENT_ELEMENT_IMAGE", - 34: "DOCUMENT_ELEMENT_NAMED_STRING", - 35: "DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP", - 36: "DOCUMENT_ELEMENT_TABLE_CONFIG", - 37: "DOCUMENT_ELEMENT_TABLE_CELL_CONFIG", - 38: "DOCUMENT_ELEMENT_TABLE_ROW_CONFIG", - 39: "DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG", - 40: "DOCUMENT_ELEMENT_LINK", - 41: "DOCUMENT_ELEMENT_DIRECTORY", - 42: "DOCUMENT_ELEMENT_TEXT_BRICK", - 44: "DOCUMENT_ELEMENT_VARIABLE", - 45: "DOCUMENT_ELEMENT_SPACE_VERTICALLY", - 46: "DOCUMENT_ELEMENT_FORMATTED", - 47: "DOCUMENT_ELEMENT_APPLY_C_DEF", - 48: "DOCUMENT_ELEMENT_APPLY_P_DEF", - 49: "DOCUMENT_ELEMENT_APPLY_PT_CONFIG", - 50: "DOCUMENT_ELEMENT_APPLY_UL_CONFIG", - 51: "DOCUMENT_ELEMENT_C_DEF", - 52: "DOCUMENT_ELEMENT_P_DEF", - 53: "DOCUMENT_ELEMENT_PT_CONFIG", - 54: "DOCUMENT_ELEMENT_UL_CONFIG", - 55: "DOCUMENT_ELEMENT_NEW_PAGE", - 56: "DOCUMENT_ELEMENT_HEADER", - 57: "DOCUMENT_ELEMENT_FOOTER", - 60: "DOCUMENT_ELEMENT_INDENTATION", - 61: "DOCUMENT_ELEMENT_BARCODE", - 62: "DOCUMENT_ELEMENT_WS_AREA", - 63: "DOCUMENT_ELEMENT_CARRY_OVER", - 64: "DOCUMENT_ELEMENT_SUB_TOTAL", - 65: "DOCUMENT_ELEMENT_LOOP", - 66: "DOCUMENT_ELEMENT_LOOP_ENTRY", - 67: "DOCUMENT_ELEMENT_RULE", - 68: "DOCUMENT_ELEMENT_LIST_LEVEL_SETTING", - 69: "DOCUMENT_ELEMENT_LAYOUT", - 70: "DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA", - 71: "DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY", - 72: "DOCUMENT_ELEMENT_DOCTYPE_SCRIPT", - 73: "DOCUMENT_ELEMENT_DM_SCRIPT", - 74: "DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE", - 75: "DOCUMENT_ELEMENT_SELECTION", - 76: "DOCUMENT_ELEMENT_SELECTION_ENTRY", - 77: "DOCUMENT_ELEMENT_CONDITION", - 78: "DOCUMENT_ELEMENT_PAGE_CONDITION", - 79: "DOCUMENT_ELEMENT_LOCALE", - 80: "DOCUMENT_ELEMENT_TAG", - 81: "DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT", - 82: "DOCUMENT_ELEMENT_INPUT_FIELD_TEXT", - 83: "DOCUMENT_ELEMENT_INPUT_FIELD_DATE", - 84: "DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX", - 85: "DOCUMENT_ELEMENT_INPUT_FIELD_LABEL", - 86: "DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN", - } - NodeType_value = map[string]int32{ - "DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT": 0, - "DOCUMENT_ELEMENT_BRICK_REFERENCE": 1, - "DOCUMENT_ELEMENT_BRICK": 2, - "DOCUMENT_ELEMENT_DOCUMENT_ELEMENT": 3, - "DOCUMENT_ELEMENT_LINEBREAK": 4, - "DOCUMENT_ELEMENT_LIST_SETTING": 6, - "DOCUMENT_ELEMENT_PARAGRAPH_FORMAT": 7, - "DOCUMENT_ELEMENT_PARAGRAPH": 8, - "DOCUMENT_ELEMENT_SECTION": 9, - "DOCUMENT_ELEMENT_SPAN": 10, - "DOCUMENT_ELEMENT_TABLE": 11, - "DOCUMENT_ELEMENT_TABLE_CELL": 12, - "DOCUMENT_ELEMENT_TABLE_ROW": 13, - "DOCUMENT_ELEMENT_TEMPLATE": 15, - "DOCUMENT_ELEMENT_TEXT": 16, - "DOCUMENT_ELEMENT_COLOR_DEF": 19, - "DOCUMENT_ELEMENT_IMAGE": 30, - "DOCUMENT_ELEMENT_NAMED_STRING": 34, - "DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP": 35, - "DOCUMENT_ELEMENT_TABLE_CONFIG": 36, - "DOCUMENT_ELEMENT_TABLE_CELL_CONFIG": 37, - "DOCUMENT_ELEMENT_TABLE_ROW_CONFIG": 38, - "DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG": 39, - "DOCUMENT_ELEMENT_LINK": 40, - "DOCUMENT_ELEMENT_DIRECTORY": 41, - "DOCUMENT_ELEMENT_TEXT_BRICK": 42, - "DOCUMENT_ELEMENT_VARIABLE": 44, - "DOCUMENT_ELEMENT_SPACE_VERTICALLY": 45, - "DOCUMENT_ELEMENT_FORMATTED": 46, - "DOCUMENT_ELEMENT_APPLY_C_DEF": 47, - "DOCUMENT_ELEMENT_APPLY_P_DEF": 48, - "DOCUMENT_ELEMENT_APPLY_PT_CONFIG": 49, - "DOCUMENT_ELEMENT_APPLY_UL_CONFIG": 50, - "DOCUMENT_ELEMENT_C_DEF": 51, - "DOCUMENT_ELEMENT_P_DEF": 52, - "DOCUMENT_ELEMENT_PT_CONFIG": 53, - "DOCUMENT_ELEMENT_UL_CONFIG": 54, - "DOCUMENT_ELEMENT_NEW_PAGE": 55, - "DOCUMENT_ELEMENT_HEADER": 56, - "DOCUMENT_ELEMENT_FOOTER": 57, - "DOCUMENT_ELEMENT_INDENTATION": 60, - "DOCUMENT_ELEMENT_BARCODE": 61, - "DOCUMENT_ELEMENT_WS_AREA": 62, - "DOCUMENT_ELEMENT_CARRY_OVER": 63, - "DOCUMENT_ELEMENT_SUB_TOTAL": 64, - "DOCUMENT_ELEMENT_LOOP": 65, - "DOCUMENT_ELEMENT_LOOP_ENTRY": 66, - "DOCUMENT_ELEMENT_RULE": 67, - "DOCUMENT_ELEMENT_LIST_LEVEL_SETTING": 68, - "DOCUMENT_ELEMENT_LAYOUT": 69, - "DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA": 70, - "DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY": 71, - "DOCUMENT_ELEMENT_DOCTYPE_SCRIPT": 72, - "DOCUMENT_ELEMENT_DM_SCRIPT": 73, - "DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE": 74, - "DOCUMENT_ELEMENT_SELECTION": 75, - "DOCUMENT_ELEMENT_SELECTION_ENTRY": 76, - "DOCUMENT_ELEMENT_CONDITION": 77, - "DOCUMENT_ELEMENT_PAGE_CONDITION": 78, - "DOCUMENT_ELEMENT_LOCALE": 79, - "DOCUMENT_ELEMENT_TAG": 80, - "DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT": 81, - "DOCUMENT_ELEMENT_INPUT_FIELD_TEXT": 82, - "DOCUMENT_ELEMENT_INPUT_FIELD_DATE": 83, - "DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX": 84, - "DOCUMENT_ELEMENT_INPUT_FIELD_LABEL": 85, - "DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN": 86, - } -) - -func (x NodeType) Enum() *NodeType { - p := new(NodeType) - *p = x - return p -} - -func (x NodeType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NodeType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[21].Descriptor() -} - -func (NodeType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[21] -} - -func (x NodeType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use NodeType.Descriptor instead. -func (NodeType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{21} -} - -type ProtoImageScaleType int32 - -const ( - ProtoImageScaleType_IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL ProtoImageScaleType = 0 - ProtoImageScaleType_IMAGE_SCALE_TYPE_RELATIVE ProtoImageScaleType = 1 - ProtoImageScaleType_IMAGE_SCALE_TYPE_ABSOLUTE ProtoImageScaleType = 2 - ProtoImageScaleType_IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN ProtoImageScaleType = 3 -) - -// Enum value maps for ProtoImageScaleType. -var ( - ProtoImageScaleType_name = map[int32]string{ - 0: "IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL", - 1: "IMAGE_SCALE_TYPE_RELATIVE", - 2: "IMAGE_SCALE_TYPE_ABSOLUTE", - 3: "IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN", - } - ProtoImageScaleType_value = map[string]int32{ - "IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL": 0, - "IMAGE_SCALE_TYPE_RELATIVE": 1, - "IMAGE_SCALE_TYPE_ABSOLUTE": 2, - "IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN": 3, - } -) - -func (x ProtoImageScaleType) Enum() *ProtoImageScaleType { - p := new(ProtoImageScaleType) - *p = x - return p -} - -func (x ProtoImageScaleType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoImageScaleType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[22].Descriptor() -} - -func (ProtoImageScaleType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[22] -} - -func (x ProtoImageScaleType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoImageScaleType.Descriptor instead. -func (ProtoImageScaleType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{22} -} - -type ProtoImageUAMode int32 - -const ( - ProtoImageUAMode_IMAGE_UA_MODE_DO_NOT_USE_AT_ALL ProtoImageUAMode = 0 - ProtoImageUAMode_IMAGE_UA_MODE_INHERITED ProtoImageUAMode = 1 - ProtoImageUAMode_IMAGE_UA_MODE_SIMPLE ProtoImageUAMode = 2 - ProtoImageUAMode_IMAGE_UA_MODE_ADVANCED ProtoImageUAMode = 3 -) - -// Enum value maps for ProtoImageUAMode. -var ( - ProtoImageUAMode_name = map[int32]string{ - 0: "IMAGE_UA_MODE_DO_NOT_USE_AT_ALL", - 1: "IMAGE_UA_MODE_INHERITED", - 2: "IMAGE_UA_MODE_SIMPLE", - 3: "IMAGE_UA_MODE_ADVANCED", - } - ProtoImageUAMode_value = map[string]int32{ - "IMAGE_UA_MODE_DO_NOT_USE_AT_ALL": 0, - "IMAGE_UA_MODE_INHERITED": 1, - "IMAGE_UA_MODE_SIMPLE": 2, - "IMAGE_UA_MODE_ADVANCED": 3, - } -) - -func (x ProtoImageUAMode) Enum() *ProtoImageUAMode { - p := new(ProtoImageUAMode) - *p = x - return p -} - -func (x ProtoImageUAMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoImageUAMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[23].Descriptor() -} - -func (ProtoImageUAMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[23] -} - -func (x ProtoImageUAMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoImageUAMode.Descriptor instead. -func (ProtoImageUAMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{23} -} - -type ProtoImageContentType int32 - -const ( - ProtoImageContentType_IMAGE_CONTENT_UUID_REFERENCE_INLINE ProtoImageContentType = 0 - ProtoImageContentType_IMAGE_CONTENT_UUID_REFERENCE_LOCAL ProtoImageContentType = 1 - ProtoImageContentType_IMAGE_CONTENT_UUID_REFERENCE_GLOBAL ProtoImageContentType = 2 - ProtoImageContentType_IMAGE_CONTENT_DMSCRIPT ProtoImageContentType = 3 - ProtoImageContentType_IMAGE_CONTENT_IMAGE_DATA ProtoImageContentType = 4 -) - -// Enum value maps for ProtoImageContentType. -var ( - ProtoImageContentType_name = map[int32]string{ - 0: "IMAGE_CONTENT_UUID_REFERENCE_INLINE", - 1: "IMAGE_CONTENT_UUID_REFERENCE_LOCAL", - 2: "IMAGE_CONTENT_UUID_REFERENCE_GLOBAL", - 3: "IMAGE_CONTENT_DMSCRIPT", - 4: "IMAGE_CONTENT_IMAGE_DATA", - } - ProtoImageContentType_value = map[string]int32{ - "IMAGE_CONTENT_UUID_REFERENCE_INLINE": 0, - "IMAGE_CONTENT_UUID_REFERENCE_LOCAL": 1, - "IMAGE_CONTENT_UUID_REFERENCE_GLOBAL": 2, - "IMAGE_CONTENT_DMSCRIPT": 3, - "IMAGE_CONTENT_IMAGE_DATA": 4, - } -) - -func (x ProtoImageContentType) Enum() *ProtoImageContentType { - p := new(ProtoImageContentType) - *p = x - return p -} - -func (x ProtoImageContentType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoImageContentType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[24].Descriptor() -} - -func (ProtoImageContentType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[24] -} - -func (x ProtoImageContentType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoImageContentType.Descriptor instead. -func (ProtoImageContentType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{24} -} - -type ProtoVariableSpecialType int32 - -const ( - ProtoVariableSpecialType_NOT_SPECIAL ProtoVariableSpecialType = 0 - ProtoVariableSpecialType_TABLE_NUMBER ProtoVariableSpecialType = 1 - ProtoVariableSpecialType_DOC_PAGE_COUNT ProtoVariableSpecialType = 2 - ProtoVariableSpecialType_DOC_CUR_PAGE ProtoVariableSpecialType = 3 - ProtoVariableSpecialType_CUR_PAGE ProtoVariableSpecialType = 4 - ProtoVariableSpecialType_PAGE_COUNT ProtoVariableSpecialType = 5 - ProtoVariableSpecialType_PREV_PAGE ProtoVariableSpecialType = 6 - ProtoVariableSpecialType_SECTION_PAGE ProtoVariableSpecialType = 7 - ProtoVariableSpecialType_UPDATED_AT ProtoVariableSpecialType = 8 - ProtoVariableSpecialType_GENERATED_AT ProtoVariableSpecialType = 9 -) - -// Enum value maps for ProtoVariableSpecialType. -var ( - ProtoVariableSpecialType_name = map[int32]string{ - 0: "NOT_SPECIAL", - 1: "TABLE_NUMBER", - 2: "DOC_PAGE_COUNT", - 3: "DOC_CUR_PAGE", - 4: "CUR_PAGE", - 5: "PAGE_COUNT", - 6: "PREV_PAGE", - 7: "SECTION_PAGE", - 8: "UPDATED_AT", - 9: "GENERATED_AT", - } - ProtoVariableSpecialType_value = map[string]int32{ - "NOT_SPECIAL": 0, - "TABLE_NUMBER": 1, - "DOC_PAGE_COUNT": 2, - "DOC_CUR_PAGE": 3, - "CUR_PAGE": 4, - "PAGE_COUNT": 5, - "PREV_PAGE": 6, - "SECTION_PAGE": 7, - "UPDATED_AT": 8, - "GENERATED_AT": 9, - } -) - -func (x ProtoVariableSpecialType) Enum() *ProtoVariableSpecialType { - p := new(ProtoVariableSpecialType) - *p = x - return p -} - -func (x ProtoVariableSpecialType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoVariableSpecialType) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[25].Descriptor() -} - -func (ProtoVariableSpecialType) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[25] -} - -func (x ProtoVariableSpecialType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoVariableSpecialType.Descriptor instead. -func (ProtoVariableSpecialType) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{25} -} - -type ProtoPageMode int32 - -const ( - ProtoPageMode_NEXT_PAGE ProtoPageMode = 0 - ProtoPageMode_NEXT_RECTO_PAGE ProtoPageMode = 1 - ProtoPageMode_NEXT_VERSO_PAGE ProtoPageMode = 2 -) - -// Enum value maps for ProtoPageMode. -var ( - ProtoPageMode_name = map[int32]string{ - 0: "NEXT_PAGE", - 1: "NEXT_RECTO_PAGE", - 2: "NEXT_VERSO_PAGE", - } - ProtoPageMode_value = map[string]int32{ - "NEXT_PAGE": 0, - "NEXT_RECTO_PAGE": 1, - "NEXT_VERSO_PAGE": 2, - } -) - -func (x ProtoPageMode) Enum() *ProtoPageMode { - p := new(ProtoPageMode) - *p = x - return p -} - -func (x ProtoPageMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoPageMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[26].Descriptor() -} - -func (ProtoPageMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[26] -} - -func (x ProtoPageMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoPageMode.Descriptor instead. -func (ProtoPageMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{26} -} - -type ProtoPageOrientation int32 - -const ( - ProtoPageOrientation_UNSET ProtoPageOrientation = 0 - ProtoPageOrientation_PORTRAIT ProtoPageOrientation = 1 - ProtoPageOrientation_LANDSCAPE ProtoPageOrientation = 2 - ProtoPageOrientation_INVERSE_PORTRAIT ProtoPageOrientation = 3 - ProtoPageOrientation_INVERSE_LANDSCAPE ProtoPageOrientation = 4 -) - -// Enum value maps for ProtoPageOrientation. -var ( - ProtoPageOrientation_name = map[int32]string{ - 0: "UNSET", - 1: "PORTRAIT", - 2: "LANDSCAPE", - 3: "INVERSE_PORTRAIT", - 4: "INVERSE_LANDSCAPE", - } - ProtoPageOrientation_value = map[string]int32{ - "UNSET": 0, - "PORTRAIT": 1, - "LANDSCAPE": 2, - "INVERSE_PORTRAIT": 3, - "INVERSE_LANDSCAPE": 4, - } -) - -func (x ProtoPageOrientation) Enum() *ProtoPageOrientation { - p := new(ProtoPageOrientation) - *p = x - return p -} - -func (x ProtoPageOrientation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoPageOrientation) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[27].Descriptor() -} - -func (ProtoPageOrientation) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[27] -} - -func (x ProtoPageOrientation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoPageOrientation.Descriptor instead. -func (ProtoPageOrientation) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{27} -} - -type ProtoSubTotalPosition int32 - -const ( - ProtoSubTotalPosition_POSITION_ABOVE_FOOTER ProtoSubTotalPosition = 0 - ProtoSubTotalPosition_POSITION_BELOW_CONTENT ProtoSubTotalPosition = 1 -) - -// Enum value maps for ProtoSubTotalPosition. -var ( - ProtoSubTotalPosition_name = map[int32]string{ - 0: "POSITION_ABOVE_FOOTER", - 1: "POSITION_BELOW_CONTENT", - } - ProtoSubTotalPosition_value = map[string]int32{ - "POSITION_ABOVE_FOOTER": 0, - "POSITION_BELOW_CONTENT": 1, - } -) - -func (x ProtoSubTotalPosition) Enum() *ProtoSubTotalPosition { - p := new(ProtoSubTotalPosition) - *p = x - return p -} - -func (x ProtoSubTotalPosition) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoSubTotalPosition) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[28].Descriptor() -} - -func (ProtoSubTotalPosition) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[28] -} - -func (x ProtoSubTotalPosition) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoSubTotalPosition.Descriptor instead. -func (ProtoSubTotalPosition) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{28} -} - -type ProtoRuleMode int32 - -const ( - ProtoRuleMode_NORMAL ProtoRuleMode = 0 - ProtoRuleMode_BOUNDARY ProtoRuleMode = 1 -) - -// Enum value maps for ProtoRuleMode. -var ( - ProtoRuleMode_name = map[int32]string{ - 0: "NORMAL", - 1: "BOUNDARY", - } - ProtoRuleMode_value = map[string]int32{ - "NORMAL": 0, - "BOUNDARY": 1, - } -) - -func (x ProtoRuleMode) Enum() *ProtoRuleMode { - p := new(ProtoRuleMode) - *p = x - return p -} - -func (x ProtoRuleMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoRuleMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[29].Descriptor() -} - -func (ProtoRuleMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[29] -} - -func (x ProtoRuleMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoRuleMode.Descriptor instead. -func (ProtoRuleMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{29} -} - -type ProtoDoctypeOutputMode int32 - -const ( - ProtoDoctypeOutputMode_DOCTYPE_OUTPUT_MODE_NOT_SET ProtoDoctypeOutputMode = 0 - ProtoDoctypeOutputMode_DOCTYPE ProtoDoctypeOutputMode = 1 - ProtoDoctypeOutputMode_JSON ProtoDoctypeOutputMode = 2 -) - -// Enum value maps for ProtoDoctypeOutputMode. -var ( - ProtoDoctypeOutputMode_name = map[int32]string{ - 0: "DOCTYPE_OUTPUT_MODE_NOT_SET", - 1: "DOCTYPE", - 2: "JSON", - } - ProtoDoctypeOutputMode_value = map[string]int32{ - "DOCTYPE_OUTPUT_MODE_NOT_SET": 0, - "DOCTYPE": 1, - "JSON": 2, - } -) - -func (x ProtoDoctypeOutputMode) Enum() *ProtoDoctypeOutputMode { - p := new(ProtoDoctypeOutputMode) - *p = x - return p -} - -func (x ProtoDoctypeOutputMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtoDoctypeOutputMode) Descriptor() protoreflect.EnumDescriptor { - return file_build_docframe_proto_enumTypes[30].Descriptor() -} - -func (ProtoDoctypeOutputMode) Type() protoreflect.EnumType { - return &file_build_docframe_proto_enumTypes[30] -} - -func (x ProtoDoctypeOutputMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProtoDoctypeOutputMode.Descriptor instead. -func (ProtoDoctypeOutputMode) EnumDescriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{30} -} - -type ProtoBoxedBool struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedBool) Reset() { - *x = ProtoBoxedBool{} - mi := &file_build_docframe_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedBool) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedBool) ProtoMessage() {} - -func (x *ProtoBoxedBool) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedBool.ProtoReflect.Descriptor instead. -func (*ProtoBoxedBool) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{0} -} - -func (x *ProtoBoxedBool) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -func (x *ProtoBoxedBool) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoBoxedDouble struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedDouble) Reset() { - *x = ProtoBoxedDouble{} - mi := &file_build_docframe_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedDouble) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedDouble) ProtoMessage() {} - -func (x *ProtoBoxedDouble) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedDouble.ProtoReflect.Descriptor instead. -func (*ProtoBoxedDouble) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{1} -} - -func (x *ProtoBoxedDouble) GetValue() float64 { - if x != nil { - return x.Value - } - return 0 -} - -func (x *ProtoBoxedDouble) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoBoxedInt32 struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedInt32) Reset() { - *x = ProtoBoxedInt32{} - mi := &file_build_docframe_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedInt32) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedInt32) ProtoMessage() {} - -func (x *ProtoBoxedInt32) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedInt32.ProtoReflect.Descriptor instead. -func (*ProtoBoxedInt32) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{2} -} - -func (x *ProtoBoxedInt32) GetValue() int32 { - if x != nil { - return x.Value - } - return 0 -} - -func (x *ProtoBoxedInt32) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoBoxedUint32 struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedUint32) Reset() { - *x = ProtoBoxedUint32{} - mi := &file_build_docframe_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedUint32) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedUint32) ProtoMessage() {} - -func (x *ProtoBoxedUint32) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedUint32.ProtoReflect.Descriptor instead. -func (*ProtoBoxedUint32) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{3} -} - -func (x *ProtoBoxedUint32) GetValue() uint32 { - if x != nil { - return x.Value - } - return 0 -} - -func (x *ProtoBoxedUint32) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoBoxedString struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedString) Reset() { - *x = ProtoBoxedString{} - mi := &file_build_docframe_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedString) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedString) ProtoMessage() {} - -func (x *ProtoBoxedString) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedString.ProtoReflect.Descriptor instead. -func (*ProtoBoxedString) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{4} -} - -func (x *ProtoBoxedString) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -func (x *ProtoBoxedString) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoBoxedSPBMode struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value ProtoSPBMode `protobuf:"varint,1,opt,name=value,proto3,enum=ProtoSPBMode" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedSPBMode) Reset() { - *x = ProtoBoxedSPBMode{} - mi := &file_build_docframe_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedSPBMode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedSPBMode) ProtoMessage() {} - -func (x *ProtoBoxedSPBMode) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedSPBMode.ProtoReflect.Descriptor instead. -func (*ProtoBoxedSPBMode) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{5} -} - -func (x *ProtoBoxedSPBMode) GetValue() ProtoSPBMode { - if x != nil { - return x.Value - } - return ProtoSPBMode_NONE -} - -func (x *ProtoBoxedSPBMode) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoStrikethroughSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Weight *ProtoMeasure `protobuf:"bytes,1,opt,name=weight,proto3" json:"weight,omitempty"` - Mode ProtoUnderlineMode `protobuf:"varint,2,opt,name=mode,proto3,enum=ProtoUnderlineMode" json:"mode,omitempty"` - Color *ProtoColor `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` - OffsetEm int32 `protobuf:"varint,4,opt,name=offsetEm,proto3" json:"offsetEm,omitempty"` - Style ProtoRuleStyle `protobuf:"varint,5,opt,name=style,proto3,enum=ProtoRuleStyle" json:"style,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoStrikethroughSpec) Reset() { - *x = ProtoStrikethroughSpec{} - mi := &file_build_docframe_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoStrikethroughSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoStrikethroughSpec) ProtoMessage() {} - -func (x *ProtoStrikethroughSpec) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoStrikethroughSpec.ProtoReflect.Descriptor instead. -func (*ProtoStrikethroughSpec) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{6} -} - -func (x *ProtoStrikethroughSpec) GetWeight() *ProtoMeasure { - if x != nil { - return x.Weight - } - return nil -} - -func (x *ProtoStrikethroughSpec) GetMode() ProtoUnderlineMode { - if x != nil { - return x.Mode - } - return ProtoUnderlineMode_DUMMY_UNDERLINE_MODE -} - -func (x *ProtoStrikethroughSpec) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoStrikethroughSpec) GetOffsetEm() int32 { - if x != nil { - return x.OffsetEm - } - return 0 -} - -func (x *ProtoStrikethroughSpec) GetStyle() ProtoRuleStyle { - if x != nil { - return x.Style - } - return ProtoRuleStyle_DUMMY_RULE_STYLE -} - -type ProtoBoxedStrikethroughSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value *ProtoStrikethroughSpec `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedStrikethroughSpec) Reset() { - *x = ProtoBoxedStrikethroughSpec{} - mi := &file_build_docframe_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedStrikethroughSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedStrikethroughSpec) ProtoMessage() {} - -func (x *ProtoBoxedStrikethroughSpec) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedStrikethroughSpec.ProtoReflect.Descriptor instead. -func (*ProtoBoxedStrikethroughSpec) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{7} -} - -func (x *ProtoBoxedStrikethroughSpec) GetValue() *ProtoStrikethroughSpec { - if x != nil { - return x.Value - } - return nil -} - -func (x *ProtoBoxedStrikethroughSpec) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoMeasure struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` - Mtype ProtoMeasureType `protobuf:"varint,2,opt,name=mtype,proto3,enum=ProtoMeasureType" json:"mtype,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoMeasure) Reset() { - *x = ProtoMeasure{} - mi := &file_build_docframe_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoMeasure) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoMeasure) ProtoMessage() {} - -func (x *ProtoMeasure) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoMeasure.ProtoReflect.Descriptor instead. -func (*ProtoMeasure) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{8} -} - -func (x *ProtoMeasure) GetValue() float64 { - if x != nil { - return x.Value - } - return 0 -} - -func (x *ProtoMeasure) GetMtype() ProtoMeasureType { - if x != nil { - return x.Mtype - } - return ProtoMeasureType_PT -} - -type ProtoBoxedMeasure struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value *ProtoMeasure `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedMeasure) Reset() { - *x = ProtoBoxedMeasure{} - mi := &file_build_docframe_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedMeasure) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedMeasure) ProtoMessage() {} - -func (x *ProtoBoxedMeasure) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedMeasure.ProtoReflect.Descriptor instead. -func (*ProtoBoxedMeasure) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{9} -} - -func (x *ProtoBoxedMeasure) GetValue() *ProtoMeasure { - if x != nil { - return x.Value - } - return nil -} - -func (x *ProtoBoxedMeasure) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoSideMeasures struct { - state protoimpl.MessageState `protogen:"open.v1"` - Top *ProtoMeasure `protobuf:"bytes,1,opt,name=top,proto3" json:"top,omitempty"` - Right *ProtoMeasure `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` - Bottom *ProtoMeasure `protobuf:"bytes,3,opt,name=bottom,proto3" json:"bottom,omitempty"` - Left *ProtoMeasure `protobuf:"bytes,4,opt,name=left,proto3" json:"left,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSideMeasures) Reset() { - *x = ProtoSideMeasures{} - mi := &file_build_docframe_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSideMeasures) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSideMeasures) ProtoMessage() {} - -func (x *ProtoSideMeasures) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSideMeasures.ProtoReflect.Descriptor instead. -func (*ProtoSideMeasures) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{10} -} - -func (x *ProtoSideMeasures) GetTop() *ProtoMeasure { - if x != nil { - return x.Top - } - return nil -} - -func (x *ProtoSideMeasures) GetRight() *ProtoMeasure { - if x != nil { - return x.Right - } - return nil -} - -func (x *ProtoSideMeasures) GetBottom() *ProtoMeasure { - if x != nil { - return x.Bottom - } - return nil -} - -func (x *ProtoSideMeasures) GetLeft() *ProtoMeasure { - if x != nil { - return x.Left - } - return nil -} - -type ProtoBoxedAdvancedIllustrationAreaTextFlowType struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value ProtoAdvancedIllustrationAreaTextFlowType `protobuf:"varint,1,opt,name=value,proto3,enum=ProtoAdvancedIllustrationAreaTextFlowType" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedAdvancedIllustrationAreaTextFlowType) Reset() { - *x = ProtoBoxedAdvancedIllustrationAreaTextFlowType{} - mi := &file_build_docframe_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedAdvancedIllustrationAreaTextFlowType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedAdvancedIllustrationAreaTextFlowType) ProtoMessage() {} - -func (x *ProtoBoxedAdvancedIllustrationAreaTextFlowType) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedAdvancedIllustrationAreaTextFlowType.ProtoReflect.Descriptor instead. -func (*ProtoBoxedAdvancedIllustrationAreaTextFlowType) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{11} -} - -func (x *ProtoBoxedAdvancedIllustrationAreaTextFlowType) GetValue() ProtoAdvancedIllustrationAreaTextFlowType { - if x != nil { - return x.Value - } - return ProtoAdvancedIllustrationAreaTextFlowType_DO_NOT_USE_AT_ALL -} - -func (x *ProtoBoxedAdvancedIllustrationAreaTextFlowType) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoAdvancedIllustrationAreaImageSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - TextFlow *ProtoBoxedAdvancedIllustrationAreaTextFlowType `protobuf:"bytes,1,opt,name=textFlow,proto3" json:"textFlow,omitempty"` - Margin *ProtoSideMeasures `protobuf:"bytes,2,opt,name=margin,proto3" json:"margin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoAdvancedIllustrationAreaImageSettings) Reset() { - *x = ProtoAdvancedIllustrationAreaImageSettings{} - mi := &file_build_docframe_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoAdvancedIllustrationAreaImageSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoAdvancedIllustrationAreaImageSettings) ProtoMessage() {} - -func (x *ProtoAdvancedIllustrationAreaImageSettings) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoAdvancedIllustrationAreaImageSettings.ProtoReflect.Descriptor instead. -func (*ProtoAdvancedIllustrationAreaImageSettings) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{12} -} - -func (x *ProtoAdvancedIllustrationAreaImageSettings) GetTextFlow() *ProtoBoxedAdvancedIllustrationAreaTextFlowType { - if x != nil { - return x.TextFlow - } - return nil -} - -func (x *ProtoAdvancedIllustrationAreaImageSettings) GetMargin() *ProtoSideMeasures { - if x != nil { - return x.Margin - } - return nil -} - -type ProtoFont struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoFont) Reset() { - *x = ProtoFont{} - mi := &file_build_docframe_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoFont) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoFont) ProtoMessage() {} - -func (x *ProtoFont) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoFont.ProtoReflect.Descriptor instead. -func (*ProtoFont) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{13} -} - -func (x *ProtoFont) GetId() int32 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *ProtoFont) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type ProtoBoxedFont struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value *ProtoFont `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedFont) Reset() { - *x = ProtoBoxedFont{} - mi := &file_build_docframe_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedFont) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedFont) ProtoMessage() {} - -func (x *ProtoBoxedFont) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedFont.ProtoReflect.Descriptor instead. -func (*ProtoBoxedFont) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{14} -} - -func (x *ProtoBoxedFont) GetValue() *ProtoFont { - if x != nil { - return x.Value - } - return nil -} - -func (x *ProtoBoxedFont) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoColor struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *ProtoBoxedString `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type ProtoColorType `protobuf:"varint,2,opt,name=type,proto3,enum=ProtoColorType" json:"type,omitempty"` // set to RGB or CMYK - R int32 `protobuf:"varint,3,opt,name=r,proto3" json:"r,omitempty"` - G int32 `protobuf:"varint,4,opt,name=g,proto3" json:"g,omitempty"` - B int32 `protobuf:"varint,5,opt,name=b,proto3" json:"b,omitempty"` - C float32 `protobuf:"fixed32,6,opt,name=c,proto3" json:"c,omitempty"` - M float32 `protobuf:"fixed32,7,opt,name=m,proto3" json:"m,omitempty"` - Y float32 `protobuf:"fixed32,8,opt,name=y,proto3" json:"y,omitempty"` - K float32 `protobuf:"fixed32,9,opt,name=k,proto3" json:"k,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoColor) Reset() { - *x = ProtoColor{} - mi := &file_build_docframe_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoColor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoColor) ProtoMessage() {} - -func (x *ProtoColor) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoColor.ProtoReflect.Descriptor instead. -func (*ProtoColor) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{15} -} - -func (x *ProtoColor) GetName() *ProtoBoxedString { - if x != nil { - return x.Name - } - return nil -} - -func (x *ProtoColor) GetType() ProtoColorType { - if x != nil { - return x.Type - } - return ProtoColorType_DUMMY_COLOR_TYPE -} - -func (x *ProtoColor) GetR() int32 { - if x != nil { - return x.R - } - return 0 -} - -func (x *ProtoColor) GetG() int32 { - if x != nil { - return x.G - } - return 0 -} - -func (x *ProtoColor) GetB() int32 { - if x != nil { - return x.B - } - return 0 -} - -func (x *ProtoColor) GetC() float32 { - if x != nil { - return x.C - } - return 0 -} - -func (x *ProtoColor) GetM() float32 { - if x != nil { - return x.M - } - return 0 -} - -func (x *ProtoColor) GetY() float32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *ProtoColor) GetK() float32 { - if x != nil { - return x.K - } - return 0 -} - -type ProtoBoxedColor struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value *ProtoColor `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedColor) Reset() { - *x = ProtoBoxedColor{} - mi := &file_build_docframe_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedColor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedColor) ProtoMessage() {} - -func (x *ProtoBoxedColor) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedColor.ProtoReflect.Descriptor instead. -func (*ProtoBoxedColor) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{16} -} - -func (x *ProtoBoxedColor) GetValue() *ProtoColor { - if x != nil { - return x.Value - } - return nil -} - -func (x *ProtoBoxedColor) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoRGBColor struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *ProtoBoxedString `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type ProtoColorType `protobuf:"varint,2,opt,name=type,proto3,enum=ProtoColorType" json:"type,omitempty"` // set to RGB - R int32 `protobuf:"varint,3,opt,name=r,proto3" json:"r,omitempty"` - G int32 `protobuf:"varint,4,opt,name=g,proto3" json:"g,omitempty"` - B int32 `protobuf:"varint,5,opt,name=b,proto3" json:"b,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoRGBColor) Reset() { - *x = ProtoRGBColor{} - mi := &file_build_docframe_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoRGBColor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoRGBColor) ProtoMessage() {} - -func (x *ProtoRGBColor) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoRGBColor.ProtoReflect.Descriptor instead. -func (*ProtoRGBColor) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{17} -} - -func (x *ProtoRGBColor) GetName() *ProtoBoxedString { - if x != nil { - return x.Name - } - return nil -} - -func (x *ProtoRGBColor) GetType() ProtoColorType { - if x != nil { - return x.Type - } - return ProtoColorType_DUMMY_COLOR_TYPE -} - -func (x *ProtoRGBColor) GetR() int32 { - if x != nil { - return x.R - } - return 0 -} - -func (x *ProtoRGBColor) GetG() int32 { - if x != nil { - return x.G - } - return 0 -} - -func (x *ProtoRGBColor) GetB() int32 { - if x != nil { - return x.B - } - return 0 -} - -type ProtoCMYKColor struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *ProtoBoxedString `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type ProtoColorType `protobuf:"varint,2,opt,name=type,proto3,enum=ProtoColorType" json:"type,omitempty"` // set to CMYK - C float32 `protobuf:"fixed32,3,opt,name=c,proto3" json:"c,omitempty"` - M float32 `protobuf:"fixed32,4,opt,name=m,proto3" json:"m,omitempty"` - Y float32 `protobuf:"fixed32,5,opt,name=y,proto3" json:"y,omitempty"` - K float32 `protobuf:"fixed32,6,opt,name=k,proto3" json:"k,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoCMYKColor) Reset() { - *x = ProtoCMYKColor{} - mi := &file_build_docframe_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoCMYKColor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoCMYKColor) ProtoMessage() {} - -func (x *ProtoCMYKColor) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoCMYKColor.ProtoReflect.Descriptor instead. -func (*ProtoCMYKColor) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{18} -} - -func (x *ProtoCMYKColor) GetName() *ProtoBoxedString { - if x != nil { - return x.Name - } - return nil -} - -func (x *ProtoCMYKColor) GetType() ProtoColorType { - if x != nil { - return x.Type - } - return ProtoColorType_DUMMY_COLOR_TYPE -} - -func (x *ProtoCMYKColor) GetC() float32 { - if x != nil { - return x.C - } - return 0 -} - -func (x *ProtoCMYKColor) GetM() float32 { - if x != nil { - return x.M - } - return 0 -} - -func (x *ProtoCMYKColor) GetY() float32 { - if x != nil { - return x.Y - } - return 0 -} - -func (x *ProtoCMYKColor) GetK() float32 { - if x != nil { - return x.K - } - return 0 -} - -type ProtoBoxedHorizontalAlignment struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value ProtoHorizontalAlignment `protobuf:"varint,1,opt,name=value,proto3,enum=ProtoHorizontalAlignment" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedHorizontalAlignment) Reset() { - *x = ProtoBoxedHorizontalAlignment{} - mi := &file_build_docframe_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedHorizontalAlignment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedHorizontalAlignment) ProtoMessage() {} - -func (x *ProtoBoxedHorizontalAlignment) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedHorizontalAlignment.ProtoReflect.Descriptor instead. -func (*ProtoBoxedHorizontalAlignment) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{19} -} - -func (x *ProtoBoxedHorizontalAlignment) GetValue() ProtoHorizontalAlignment { - if x != nil { - return x.Value - } - return ProtoHorizontalAlignment_ALIGN_LEFT -} - -func (x *ProtoBoxedHorizontalAlignment) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoBoxedVerticalAlignment struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value ProtoVerticalAlignment `protobuf:"varint,1,opt,name=value,proto3,enum=ProtoVerticalAlignment" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedVerticalAlignment) Reset() { - *x = ProtoBoxedVerticalAlignment{} - mi := &file_build_docframe_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedVerticalAlignment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedVerticalAlignment) ProtoMessage() {} - -func (x *ProtoBoxedVerticalAlignment) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedVerticalAlignment.ProtoReflect.Descriptor instead. -func (*ProtoBoxedVerticalAlignment) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{20} -} - -func (x *ProtoBoxedVerticalAlignment) GetValue() ProtoVerticalAlignment { - if x != nil { - return x.Value - } - return ProtoVerticalAlignment_TOP -} - -func (x *ProtoBoxedVerticalAlignment) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoSwissQRCreditor struct { - state protoimpl.MessageState `protogen:"open.v1"` - AddressType string `protobuf:"bytes,1,opt,name=addressType,proto3" json:"addressType,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - PostalCode string `protobuf:"bytes,3,opt,name=postalCode,proto3" json:"postalCode,omitempty"` - Town string `protobuf:"bytes,4,opt,name=town,proto3" json:"town,omitempty"` - Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` - StreetOrAddressLine1 string `protobuf:"bytes,6,opt,name=streetOrAddressLine1,proto3" json:"streetOrAddressLine1,omitempty"` - BuildingNumberOrAddressLine2 string `protobuf:"bytes,7,opt,name=buildingNumberOrAddressLine2,proto3" json:"buildingNumberOrAddressLine2,omitempty"` - Iban string `protobuf:"bytes,8,opt,name=iban,proto3" json:"iban,omitempty"` - Amount string `protobuf:"bytes,9,opt,name=amount,proto3" json:"amount,omitempty"` - Currency string `protobuf:"bytes,10,opt,name=currency,proto3" json:"currency,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSwissQRCreditor) Reset() { - *x = ProtoSwissQRCreditor{} - mi := &file_build_docframe_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSwissQRCreditor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSwissQRCreditor) ProtoMessage() {} - -func (x *ProtoSwissQRCreditor) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSwissQRCreditor.ProtoReflect.Descriptor instead. -func (*ProtoSwissQRCreditor) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{21} -} - -func (x *ProtoSwissQRCreditor) GetAddressType() string { - if x != nil { - return x.AddressType - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetPostalCode() string { - if x != nil { - return x.PostalCode - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetTown() string { - if x != nil { - return x.Town - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetCountry() string { - if x != nil { - return x.Country - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetStreetOrAddressLine1() string { - if x != nil { - return x.StreetOrAddressLine1 - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetBuildingNumberOrAddressLine2() string { - if x != nil { - return x.BuildingNumberOrAddressLine2 - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetIban() string { - if x != nil { - return x.Iban - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetAmount() string { - if x != nil { - return x.Amount - } - return "" -} - -func (x *ProtoSwissQRCreditor) GetCurrency() string { - if x != nil { - return x.Currency - } - return "" -} - -type ProtoSwissQRDebitor struct { - state protoimpl.MessageState `protogen:"open.v1"` - AddressType string `protobuf:"bytes,1,opt,name=addressType,proto3" json:"addressType,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - PostalCode string `protobuf:"bytes,3,opt,name=postalCode,proto3" json:"postalCode,omitempty"` - Town string `protobuf:"bytes,4,opt,name=town,proto3" json:"town,omitempty"` - Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` - StreetOrAddressLine1 string `protobuf:"bytes,6,opt,name=streetOrAddressLine1,proto3" json:"streetOrAddressLine1,omitempty"` - BuildingNumberOrAddressLine2 string `protobuf:"bytes,7,opt,name=buildingNumberOrAddressLine2,proto3" json:"buildingNumberOrAddressLine2,omitempty"` - PaymentReferenceType string `protobuf:"bytes,8,opt,name=paymentReferenceType,proto3" json:"paymentReferenceType,omitempty"` - PaymentReference string `protobuf:"bytes,9,opt,name=paymentReference,proto3" json:"paymentReference,omitempty"` - UnstructuredReference string `protobuf:"bytes,10,opt,name=unstructuredReference,proto3" json:"unstructuredReference,omitempty"` - BillInformation string `protobuf:"bytes,11,opt,name=billInformation,proto3" json:"billInformation,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSwissQRDebitor) Reset() { - *x = ProtoSwissQRDebitor{} - mi := &file_build_docframe_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSwissQRDebitor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSwissQRDebitor) ProtoMessage() {} - -func (x *ProtoSwissQRDebitor) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSwissQRDebitor.ProtoReflect.Descriptor instead. -func (*ProtoSwissQRDebitor) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{22} -} - -func (x *ProtoSwissQRDebitor) GetAddressType() string { - if x != nil { - return x.AddressType - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetPostalCode() string { - if x != nil { - return x.PostalCode - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetTown() string { - if x != nil { - return x.Town - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetCountry() string { - if x != nil { - return x.Country - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetStreetOrAddressLine1() string { - if x != nil { - return x.StreetOrAddressLine1 - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetBuildingNumberOrAddressLine2() string { - if x != nil { - return x.BuildingNumberOrAddressLine2 - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetPaymentReferenceType() string { - if x != nil { - return x.PaymentReferenceType - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetPaymentReference() string { - if x != nil { - return x.PaymentReference - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetUnstructuredReference() string { - if x != nil { - return x.UnstructuredReference - } - return "" -} - -func (x *ProtoSwissQRDebitor) GetBillInformation() string { - if x != nil { - return x.BillInformation - } - return "" -} - -type ProtoSwissQRData struct { - state protoimpl.MessageState `protogen:"open.v1"` - Creditor *ProtoSwissQRCreditor `protobuf:"bytes,1,opt,name=creditor,proto3" json:"creditor,omitempty"` - Debitor *ProtoSwissQRDebitor `protobuf:"bytes,2,opt,name=debitor,proto3" json:"debitor,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSwissQRData) Reset() { - *x = ProtoSwissQRData{} - mi := &file_build_docframe_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSwissQRData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSwissQRData) ProtoMessage() {} - -func (x *ProtoSwissQRData) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSwissQRData.ProtoReflect.Descriptor instead. -func (*ProtoSwissQRData) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{23} -} - -func (x *ProtoSwissQRData) GetCreditor() *ProtoSwissQRCreditor { - if x != nil { - return x.Creditor - } - return nil -} - -func (x *ProtoSwissQRData) GetDebitor() *ProtoSwissQRDebitor { - if x != nil { - return x.Debitor - } - return nil -} - -type ProtoLinebreak struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,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"` - Count *ProtoBoxedUint32 `protobuf:"bytes,4,opt,name=count,proto3" json:"count,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoLinebreak) Reset() { - *x = ProtoLinebreak{} - mi := &file_build_docframe_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoLinebreak) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoLinebreak) ProtoMessage() {} - -func (x *ProtoLinebreak) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoLinebreak.ProtoReflect.Descriptor instead. -func (*ProtoLinebreak) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{24} -} - -func (x *ProtoLinebreak) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoLinebreak) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoLinebreak) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoLinebreak) GetCount() *ProtoBoxedUint32 { - if x != nil { - return x.Count - } - return nil -} - -type ProtoBorder struct { - state protoimpl.MessageState `protogen:"open.v1"` - Weight *ProtoMeasure `protobuf:"bytes,1,opt,name=weight,proto3" json:"weight,omitempty"` - Color *ProtoColor `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBorder) Reset() { - *x = ProtoBorder{} - mi := &file_build_docframe_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBorder) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBorder) ProtoMessage() {} - -func (x *ProtoBorder) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBorder.ProtoReflect.Descriptor instead. -func (*ProtoBorder) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{25} -} - -func (x *ProtoBorder) GetWeight() *ProtoMeasure { - if x != nil { - return x.Weight - } - return nil -} - -func (x *ProtoBorder) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -type ProtoSideBorders struct { - state protoimpl.MessageState `protogen:"open.v1"` - Top *ProtoBorder `protobuf:"bytes,1,opt,name=top,proto3" json:"top,omitempty"` - Right *ProtoBorder `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` - Bottom *ProtoBorder `protobuf:"bytes,3,opt,name=bottom,proto3" json:"bottom,omitempty"` - Left *ProtoBorder `protobuf:"bytes,4,opt,name=left,proto3" json:"left,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSideBorders) Reset() { - *x = ProtoSideBorders{} - mi := &file_build_docframe_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSideBorders) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSideBorders) ProtoMessage() {} - -func (x *ProtoSideBorders) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSideBorders.ProtoReflect.Descriptor instead. -func (*ProtoSideBorders) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{26} -} - -func (x *ProtoSideBorders) GetTop() *ProtoBorder { - if x != nil { - return x.Top - } - return nil -} - -func (x *ProtoSideBorders) GetRight() *ProtoBorder { - if x != nil { - return x.Right - } - return nil -} - -func (x *ProtoSideBorders) GetBottom() *ProtoBorder { - if x != nil { - return x.Bottom - } - return nil -} - -func (x *ProtoSideBorders) GetLeft() *ProtoBorder { - if x != nil { - return x.Left - } - return nil -} - -type ProtoBoxedPositionMode struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value ProtoPositionMode `protobuf:"varint,1,opt,name=value,proto3,enum=ProtoPositionMode" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedPositionMode) Reset() { - *x = ProtoBoxedPositionMode{} - mi := &file_build_docframe_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedPositionMode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedPositionMode) ProtoMessage() {} - -func (x *ProtoBoxedPositionMode) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedPositionMode.ProtoReflect.Descriptor instead. -func (*ProtoBoxedPositionMode) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{27} -} - -func (x *ProtoBoxedPositionMode) GetValue() ProtoPositionMode { - if x != nil { - return x.Value - } - return ProtoPositionMode_CENTER -} - -func (x *ProtoBoxedPositionMode) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoColumnSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - Width *ProtoBoxedMeasure `protobuf:"bytes,1,opt,name=width,proto3" json:"width,omitempty"` - InterColumnSpace *ProtoBoxedMeasure `protobuf:"bytes,2,opt,name=interColumnSpace,proto3" json:"interColumnSpace,omitempty"` - PositionOffset *ProtoBoxedMeasure `protobuf:"bytes,3,opt,name=positionOffset,proto3" json:"positionOffset,omitempty"` - PositionMode ProtoPositionMode `protobuf:"varint,4,opt,name=positionMode,proto3,enum=ProtoPositionMode" json:"positionMode,omitempty"` - OutsideMargin *ProtoBoxedMeasure `protobuf:"bytes,5,opt,name=outsideMargin,proto3" json:"outsideMargin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoColumnSettings) Reset() { - *x = ProtoColumnSettings{} - mi := &file_build_docframe_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoColumnSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoColumnSettings) ProtoMessage() {} - -func (x *ProtoColumnSettings) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoColumnSettings.ProtoReflect.Descriptor instead. -func (*ProtoColumnSettings) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{28} -} - -func (x *ProtoColumnSettings) GetWidth() *ProtoBoxedMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoColumnSettings) GetInterColumnSpace() *ProtoBoxedMeasure { - if x != nil { - return x.InterColumnSpace - } - return nil -} - -func (x *ProtoColumnSettings) GetPositionOffset() *ProtoBoxedMeasure { - if x != nil { - return x.PositionOffset - } - return nil -} - -func (x *ProtoColumnSettings) GetPositionMode() ProtoPositionMode { - if x != nil { - return x.PositionMode - } - return ProtoPositionMode_CENTER -} - -func (x *ProtoColumnSettings) GetOutsideMargin() *ProtoBoxedMeasure { - if x != nil { - return x.OutsideMargin - } - return nil -} - -type ProtoGraphicState struct { - state protoimpl.MessageState `protogen:"open.v1"` - Bold *ProtoBoxedBool `protobuf:"bytes,1,opt,name=bold,proto3" json:"bold,omitempty"` - Italic *ProtoBoxedBool `protobuf:"bytes,2,opt,name=italic,proto3" json:"italic,omitempty"` - ColorStack []*ProtoColor `protobuf:"bytes,3,rep,name=colorStack,proto3" json:"colorStack,omitempty"` - Subscript *ProtoBoxedBool `protobuf:"bytes,4,opt,name=subscript,proto3" json:"subscript,omitempty"` - Superscript *ProtoBoxedBool `protobuf:"bytes,5,opt,name=superscript,proto3" json:"superscript,omitempty"` - Underline *ProtoBoxedBool `protobuf:"bytes,6,opt,name=underline,proto3" json:"underline,omitempty"` - Strikethrough *ProtoBoxedBool `protobuf:"bytes,7,opt,name=strikethrough,proto3" json:"strikethrough,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoGraphicState) Reset() { - *x = ProtoGraphicState{} - mi := &file_build_docframe_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoGraphicState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoGraphicState) ProtoMessage() {} - -func (x *ProtoGraphicState) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoGraphicState.ProtoReflect.Descriptor instead. -func (*ProtoGraphicState) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{29} -} - -func (x *ProtoGraphicState) GetBold() *ProtoBoxedBool { - if x != nil { - return x.Bold - } - return nil -} - -func (x *ProtoGraphicState) GetItalic() *ProtoBoxedBool { - if x != nil { - return x.Italic - } - return nil -} - -func (x *ProtoGraphicState) GetColorStack() []*ProtoColor { - if x != nil { - return x.ColorStack - } - return nil -} - -func (x *ProtoGraphicState) GetSubscript() *ProtoBoxedBool { - if x != nil { - return x.Subscript - } - return nil -} - -func (x *ProtoGraphicState) GetSuperscript() *ProtoBoxedBool { - if x != nil { - return x.Superscript - } - return nil -} - -func (x *ProtoGraphicState) GetUnderline() *ProtoBoxedBool { - if x != nil { - return x.Underline - } - return nil -} - -func (x *ProtoGraphicState) GetStrikethrough() *ProtoBoxedBool { - if x != nil { - return x.Strikethrough - } - return nil -} - -type ProtoHtmlParser struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoHtmlParser) Reset() { - *x = ProtoHtmlParser{} - mi := &file_build_docframe_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoHtmlParser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoHtmlParser) ProtoMessage() {} - -func (x *ProtoHtmlParser) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoHtmlParser.ProtoReflect.Descriptor instead. -func (*ProtoHtmlParser) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{30} -} - -type ProtoUnderlineSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Weight *ProtoMeasure `protobuf:"bytes,1,opt,name=weight,proto3" json:"weight,omitempty"` - Mode ProtoUnderlineMode `protobuf:"varint,2,opt,name=mode,proto3,enum=ProtoUnderlineMode" json:"mode,omitempty"` - Color *ProtoColor `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` - OffsetEm int32 `protobuf:"varint,4,opt,name=offsetEm,proto3" json:"offsetEm,omitempty"` - Style ProtoRuleStyle `protobuf:"varint,5,opt,name=style,proto3,enum=ProtoRuleStyle" json:"style,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoUnderlineSpec) Reset() { - *x = ProtoUnderlineSpec{} - mi := &file_build_docframe_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoUnderlineSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoUnderlineSpec) ProtoMessage() {} - -func (x *ProtoUnderlineSpec) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoUnderlineSpec.ProtoReflect.Descriptor instead. -func (*ProtoUnderlineSpec) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{31} -} - -func (x *ProtoUnderlineSpec) GetWeight() *ProtoMeasure { - if x != nil { - return x.Weight - } - return nil -} - -func (x *ProtoUnderlineSpec) GetMode() ProtoUnderlineMode { - if x != nil { - return x.Mode - } - return ProtoUnderlineMode_DUMMY_UNDERLINE_MODE -} - -func (x *ProtoUnderlineSpec) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoUnderlineSpec) GetOffsetEm() int32 { - if x != nil { - return x.OffsetEm - } - return 0 -} - -func (x *ProtoUnderlineSpec) GetStyle() ProtoRuleStyle { - if x != nil { - return x.Style - } - return ProtoRuleStyle_DUMMY_RULE_STYLE -} - -type ProtoBoxedUnderlineSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value *ProtoUnderlineSpec `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedUnderlineSpec) Reset() { - *x = ProtoBoxedUnderlineSpec{} - mi := &file_build_docframe_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedUnderlineSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedUnderlineSpec) ProtoMessage() {} - -func (x *ProtoBoxedUnderlineSpec) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedUnderlineSpec.ProtoReflect.Descriptor instead. -func (*ProtoBoxedUnderlineSpec) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{32} -} - -func (x *ProtoBoxedUnderlineSpec) GetValue() *ProtoUnderlineSpec { - if x != nil { - return x.Value - } - return nil -} - -func (x *ProtoBoxedUnderlineSpec) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoCropSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - X *ProtoBoxedMeasure `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` - Y *ProtoBoxedMeasure `protobuf:"bytes,2,opt,name=y,proto3" json:"y,omitempty"` - Width *ProtoBoxedMeasure `protobuf:"bytes,3,opt,name=width,proto3" json:"width,omitempty"` - Height *ProtoBoxedMeasure `protobuf:"bytes,4,opt,name=height,proto3" json:"height,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoCropSettings) Reset() { - *x = ProtoCropSettings{} - mi := &file_build_docframe_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoCropSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoCropSettings) ProtoMessage() {} - -func (x *ProtoCropSettings) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoCropSettings.ProtoReflect.Descriptor instead. -func (*ProtoCropSettings) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{33} -} - -func (x *ProtoCropSettings) GetX() *ProtoBoxedMeasure { - if x != nil { - return x.X - } - return nil -} - -func (x *ProtoCropSettings) GetY() *ProtoBoxedMeasure { - if x != nil { - return x.Y - } - return nil -} - -func (x *ProtoCropSettings) GetWidth() *ProtoBoxedMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoCropSettings) GetHeight() *ProtoBoxedMeasure { - if x != nil { - return x.Height - } - return nil -} - -type ProtoFlipSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - X bool `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y bool `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoFlipSettings) Reset() { - *x = ProtoFlipSettings{} - mi := &file_build_docframe_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoFlipSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoFlipSettings) ProtoMessage() {} - -func (x *ProtoFlipSettings) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoFlipSettings.ProtoReflect.Descriptor instead. -func (*ProtoFlipSettings) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{34} -} - -func (x *ProtoFlipSettings) GetX() bool { - if x != nil { - return x.X - } - return false -} - -func (x *ProtoFlipSettings) GetY() bool { - if x != nil { - return x.Y - } - return false -} - -type ProtoOption struct { - state protoimpl.MessageState `protogen:"open.v1"` - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoOption) Reset() { - *x = ProtoOption{} - mi := &file_build_docframe_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoOption) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoOption) ProtoMessage() {} - -func (x *ProtoOption) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoOption.ProtoReflect.Descriptor instead. -func (*ProtoOption) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{35} -} - -func (x *ProtoOption) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *ProtoOption) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -type ProtoBaseInputField struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Meta bool `protobuf:"varint,2,opt,name=meta,proto3" json:"meta,omitempty"` - Value *ProtoBoxedString `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - FormatUUID string `protobuf:"bytes,4,opt,name=formatUUID,proto3" json:"formatUUID,omitempty"` - DataTypeUUID string `protobuf:"bytes,5,opt,name=dataTypeUUID,proto3" json:"dataTypeUUID,omitempty"` - OnChangeCode string `protobuf:"bytes,6,opt,name=onChangeCode,proto3" json:"onChangeCode,omitempty"` - Placeholder string `protobuf:"bytes,7,opt,name=placeholder,proto3" json:"placeholder,omitempty"` - BindDefaultValue bool `protobuf:"varint,8,opt,name=bindDefaultValue,proto3" json:"bindDefaultValue,omitempty"` - DefaultValueCode string `protobuf:"bytes,9,opt,name=defaultValueCode,proto3" json:"defaultValueCode,omitempty"` - Readonly bool `protobuf:"varint,10,opt,name=readonly,proto3" json:"readonly,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBaseInputField) Reset() { - *x = ProtoBaseInputField{} - mi := &file_build_docframe_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBaseInputField) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBaseInputField) ProtoMessage() {} - -func (x *ProtoBaseInputField) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBaseInputField.ProtoReflect.Descriptor instead. -func (*ProtoBaseInputField) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{36} -} - -func (x *ProtoBaseInputField) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoBaseInputField) GetMeta() bool { - if x != nil { - return x.Meta - } - return false -} - -func (x *ProtoBaseInputField) GetValue() *ProtoBoxedString { - if x != nil { - return x.Value - } - return nil -} - -func (x *ProtoBaseInputField) GetFormatUUID() string { - if x != nil { - return x.FormatUUID - } - return "" -} - -func (x *ProtoBaseInputField) GetDataTypeUUID() string { - if x != nil { - return x.DataTypeUUID - } - return "" -} - -func (x *ProtoBaseInputField) GetOnChangeCode() string { - if x != nil { - return x.OnChangeCode - } - return "" -} - -func (x *ProtoBaseInputField) GetPlaceholder() string { - if x != nil { - return x.Placeholder - } - return "" -} - -func (x *ProtoBaseInputField) GetBindDefaultValue() bool { - if x != nil { - return x.BindDefaultValue - } - return false -} - -func (x *ProtoBaseInputField) GetDefaultValueCode() string { - if x != nil { - return x.DefaultValueCode - } - return "" -} - -func (x *ProtoBaseInputField) GetReadonly() bool { - if x != nil { - return x.Readonly - } - return false -} - -type ProtoDocumentElement struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,2,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoDocumentElement) Reset() { - *x = ProtoDocumentElement{} - mi := &file_build_docframe_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoDocumentElement) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoDocumentElement) ProtoMessage() {} - -func (x *ProtoDocumentElement) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[37] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoDocumentElement.ProtoReflect.Descriptor instead. -func (*ProtoDocumentElement) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{37} -} - -func (x *ProtoDocumentElement) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoDocumentElement) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoBranchDocumentElement 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBranchDocumentElement) Reset() { - *x = ProtoBranchDocumentElement{} - mi := &file_build_docframe_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBranchDocumentElement) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBranchDocumentElement) ProtoMessage() {} - -func (x *ProtoBranchDocumentElement) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[38] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBranchDocumentElement.ProtoReflect.Descriptor instead. -func (*ProtoBranchDocumentElement) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{38} -} - -func (x *ProtoBranchDocumentElement) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoBranchDocumentElement) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoBranchDocumentElement) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoLink struct { - state protoimpl.MessageState `protogen:"open.v1"` - XChildren []*ProtoDocumentElement `protobuf:"bytes,1,rep,name=_children,json=Children,proto3" json:"_children,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,3,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoLink) Reset() { - *x = ProtoLink{} - mi := &file_build_docframe_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoLink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoLink) ProtoMessage() {} - -func (x *ProtoLink) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[39] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoLink.ProtoReflect.Descriptor instead. -func (*ProtoLink) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{39} -} - -func (x *ProtoLink) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoLink) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *ProtoLink) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoListLevelSetting struct { - state protoimpl.MessageState `protogen:"open.v1"` - ListSettingName string `protobuf:"bytes,1,opt,name=listSettingName,proto3" json:"listSettingName,omitempty"` - FontSize *ProtoBoxedUint32 `protobuf:"bytes,2,opt,name=fontSize,proto3" json:"fontSize,omitempty"` - Type ProtoListLevelSettingType `protobuf:"varint,3,opt,name=type,proto3,enum=ProtoListLevelSettingType" json:"type,omitempty"` - Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` - Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"` - Suffix string `protobuf:"bytes,6,opt,name=suffix,proto3" json:"suffix,omitempty"` - FixFontFamily *ProtoFont `protobuf:"bytes,7,opt,name=fixFontFamily,proto3" json:"fixFontFamily,omitempty"` - FixBold bool `protobuf:"varint,8,opt,name=fixBold,proto3" json:"fixBold,omitempty"` - FixItalic bool `protobuf:"varint,9,opt,name=fixItalic,proto3" json:"fixItalic,omitempty"` - IndentionWidth int32 `protobuf:"varint,10,opt,name=indentionWidth,proto3" json:"indentionWidth,omitempty"` - Color *ProtoColor `protobuf:"bytes,11,opt,name=color,proto3" json:"color,omitempty"` - ImageName string `protobuf:"bytes,12,opt,name=imageName,proto3" json:"imageName,omitempty"` - FontFamily *ProtoFont `protobuf:"bytes,13,opt,name=fontFamily,proto3" json:"fontFamily,omitempty"` - Bold *ProtoBoxedBool `protobuf:"bytes,14,opt,name=bold,proto3" json:"bold,omitempty"` - Italic *ProtoBoxedBool `protobuf:"bytes,15,opt,name=italic,proto3" json:"italic,omitempty"` - NumberType ProtoNumberType `protobuf:"varint,16,opt,name=numberType,proto3,enum=ProtoNumberType" json:"numberType,omitempty"` - Character string `protobuf:"bytes,17,opt,name=character,proto3" json:"character,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoListLevelSetting) Reset() { - *x = ProtoListLevelSetting{} - mi := &file_build_docframe_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoListLevelSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoListLevelSetting) ProtoMessage() {} - -func (x *ProtoListLevelSetting) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[40] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoListLevelSetting.ProtoReflect.Descriptor instead. -func (*ProtoListLevelSetting) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{40} -} - -func (x *ProtoListLevelSetting) GetListSettingName() string { - if x != nil { - return x.ListSettingName - } - return "" -} - -func (x *ProtoListLevelSetting) GetFontSize() *ProtoBoxedUint32 { - if x != nil { - return x.FontSize - } - return nil -} - -func (x *ProtoListLevelSetting) GetType() ProtoListLevelSettingType { - if x != nil { - return x.Type - } - return ProtoListLevelSettingType_UNNUMBERED -} - -func (x *ProtoListLevelSetting) GetLevel() int32 { - if x != nil { - return x.Level - } - return 0 -} - -func (x *ProtoListLevelSetting) GetPrefix() string { - if x != nil { - return x.Prefix - } - return "" -} - -func (x *ProtoListLevelSetting) GetSuffix() string { - if x != nil { - return x.Suffix - } - return "" -} - -func (x *ProtoListLevelSetting) GetFixFontFamily() *ProtoFont { - if x != nil { - return x.FixFontFamily - } - return nil -} - -func (x *ProtoListLevelSetting) GetFixBold() bool { - if x != nil { - return x.FixBold - } - return false -} - -func (x *ProtoListLevelSetting) GetFixItalic() bool { - if x != nil { - return x.FixItalic - } - return false -} - -func (x *ProtoListLevelSetting) GetIndentionWidth() int32 { - if x != nil { - return x.IndentionWidth - } - return 0 -} - -func (x *ProtoListLevelSetting) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoListLevelSetting) GetImageName() string { - if x != nil { - return x.ImageName - } - return "" -} - -func (x *ProtoListLevelSetting) GetFontFamily() *ProtoFont { - if x != nil { - return x.FontFamily - } - return nil -} - -func (x *ProtoListLevelSetting) GetBold() *ProtoBoxedBool { - if x != nil { - return x.Bold - } - return nil -} - -func (x *ProtoListLevelSetting) GetItalic() *ProtoBoxedBool { - if x != nil { - return x.Italic - } - return nil -} - -func (x *ProtoListLevelSetting) GetNumberType() ProtoNumberType { - if x != nil { - return x.NumberType - } - return ProtoNumberType_ARABIC -} - -func (x *ProtoListLevelSetting) GetCharacter() string { - if x != nil { - return x.Character - } - return "" -} - -type ProtoImageListLevelSetting struct { - state protoimpl.MessageState `protogen:"open.v1"` - ListSettingName string `protobuf:"bytes,1,opt,name=listSettingName,proto3" json:"listSettingName,omitempty"` - FontSize *ProtoBoxedUint32 `protobuf:"bytes,2,opt,name=fontSize,proto3" json:"fontSize,omitempty"` - Type ProtoListLevelSettingType `protobuf:"varint,3,opt,name=type,proto3,enum=ProtoListLevelSettingType" json:"type,omitempty"` - Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` - Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"` - Suffix string `protobuf:"bytes,6,opt,name=suffix,proto3" json:"suffix,omitempty"` - FixFontFamily *ProtoFont `protobuf:"bytes,7,opt,name=fixFontFamily,proto3" json:"fixFontFamily,omitempty"` - FixBold bool `protobuf:"varint,8,opt,name=fixBold,proto3" json:"fixBold,omitempty"` - FixItalic bool `protobuf:"varint,9,opt,name=fixItalic,proto3" json:"fixItalic,omitempty"` - IndentionWidth int32 `protobuf:"varint,10,opt,name=indentionWidth,proto3" json:"indentionWidth,omitempty"` - Color *ProtoColor `protobuf:"bytes,11,opt,name=color,proto3" json:"color,omitempty"` - ImageName string `protobuf:"bytes,12,opt,name=imageName,proto3" json:"imageName,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoImageListLevelSetting) Reset() { - *x = ProtoImageListLevelSetting{} - mi := &file_build_docframe_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoImageListLevelSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoImageListLevelSetting) ProtoMessage() {} - -func (x *ProtoImageListLevelSetting) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[41] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoImageListLevelSetting.ProtoReflect.Descriptor instead. -func (*ProtoImageListLevelSetting) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{41} -} - -func (x *ProtoImageListLevelSetting) GetListSettingName() string { - if x != nil { - return x.ListSettingName - } - return "" -} - -func (x *ProtoImageListLevelSetting) GetFontSize() *ProtoBoxedUint32 { - if x != nil { - return x.FontSize - } - return nil -} - -func (x *ProtoImageListLevelSetting) GetType() ProtoListLevelSettingType { - if x != nil { - return x.Type - } - return ProtoListLevelSettingType_UNNUMBERED -} - -func (x *ProtoImageListLevelSetting) GetLevel() int32 { - if x != nil { - return x.Level - } - return 0 -} - -func (x *ProtoImageListLevelSetting) GetPrefix() string { - if x != nil { - return x.Prefix - } - return "" -} - -func (x *ProtoImageListLevelSetting) GetSuffix() string { - if x != nil { - return x.Suffix - } - return "" -} - -func (x *ProtoImageListLevelSetting) GetFixFontFamily() *ProtoFont { - if x != nil { - return x.FixFontFamily - } - return nil -} - -func (x *ProtoImageListLevelSetting) GetFixBold() bool { - if x != nil { - return x.FixBold - } - return false -} - -func (x *ProtoImageListLevelSetting) GetFixItalic() bool { - if x != nil { - return x.FixItalic - } - return false -} - -func (x *ProtoImageListLevelSetting) GetIndentionWidth() int32 { - if x != nil { - return x.IndentionWidth - } - return 0 -} - -func (x *ProtoImageListLevelSetting) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoImageListLevelSetting) GetImageName() string { - if x != nil { - return x.ImageName - } - return "" -} - -type ProtoTextListLevelSetting struct { - state protoimpl.MessageState `protogen:"open.v1"` - ListSettingName string `protobuf:"bytes,1,opt,name=listSettingName,proto3" json:"listSettingName,omitempty"` - FontSize *ProtoBoxedUint32 `protobuf:"bytes,2,opt,name=fontSize,proto3" json:"fontSize,omitempty"` - Type ProtoListLevelSettingType `protobuf:"varint,3,opt,name=type,proto3,enum=ProtoListLevelSettingType" json:"type,omitempty"` - Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` - Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"` - Suffix string `protobuf:"bytes,6,opt,name=suffix,proto3" json:"suffix,omitempty"` - FixFontFamily *ProtoFont `protobuf:"bytes,7,opt,name=fixFontFamily,proto3" json:"fixFontFamily,omitempty"` - FixBold bool `protobuf:"varint,8,opt,name=fixBold,proto3" json:"fixBold,omitempty"` - FixItalic bool `protobuf:"varint,9,opt,name=fixItalic,proto3" json:"fixItalic,omitempty"` - IndentionWidth int32 `protobuf:"varint,10,opt,name=indentionWidth,proto3" json:"indentionWidth,omitempty"` - Color *ProtoColor `protobuf:"bytes,11,opt,name=color,proto3" json:"color,omitempty"` - FontFamily *ProtoFont `protobuf:"bytes,12,opt,name=fontFamily,proto3" json:"fontFamily,omitempty"` - Bold *ProtoBoxedBool `protobuf:"bytes,13,opt,name=bold,proto3" json:"bold,omitempty"` - Italic *ProtoBoxedBool `protobuf:"bytes,14,opt,name=italic,proto3" json:"italic,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTextListLevelSetting) Reset() { - *x = ProtoTextListLevelSetting{} - mi := &file_build_docframe_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTextListLevelSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTextListLevelSetting) ProtoMessage() {} - -func (x *ProtoTextListLevelSetting) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[42] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTextListLevelSetting.ProtoReflect.Descriptor instead. -func (*ProtoTextListLevelSetting) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{42} -} - -func (x *ProtoTextListLevelSetting) GetListSettingName() string { - if x != nil { - return x.ListSettingName - } - return "" -} - -func (x *ProtoTextListLevelSetting) GetFontSize() *ProtoBoxedUint32 { - if x != nil { - return x.FontSize - } - return nil -} - -func (x *ProtoTextListLevelSetting) GetType() ProtoListLevelSettingType { - if x != nil { - return x.Type - } - return ProtoListLevelSettingType_UNNUMBERED -} - -func (x *ProtoTextListLevelSetting) GetLevel() int32 { - if x != nil { - return x.Level - } - return 0 -} - -func (x *ProtoTextListLevelSetting) GetPrefix() string { - if x != nil { - return x.Prefix - } - return "" -} - -func (x *ProtoTextListLevelSetting) GetSuffix() string { - if x != nil { - return x.Suffix - } - return "" -} - -func (x *ProtoTextListLevelSetting) GetFixFontFamily() *ProtoFont { - if x != nil { - return x.FixFontFamily - } - return nil -} - -func (x *ProtoTextListLevelSetting) GetFixBold() bool { - if x != nil { - return x.FixBold - } - return false -} - -func (x *ProtoTextListLevelSetting) GetFixItalic() bool { - if x != nil { - return x.FixItalic - } - return false -} - -func (x *ProtoTextListLevelSetting) GetIndentionWidth() int32 { - if x != nil { - return x.IndentionWidth - } - return 0 -} - -func (x *ProtoTextListLevelSetting) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoTextListLevelSetting) GetFontFamily() *ProtoFont { - if x != nil { - return x.FontFamily - } - return nil -} - -func (x *ProtoTextListLevelSetting) GetBold() *ProtoBoxedBool { - if x != nil { - return x.Bold - } - return nil -} - -func (x *ProtoTextListLevelSetting) GetItalic() *ProtoBoxedBool { - if x != nil { - return x.Italic - } - return nil -} - -type ProtoNumberListLevelSetting struct { - state protoimpl.MessageState `protogen:"open.v1"` - ListSettingName string `protobuf:"bytes,1,opt,name=listSettingName,proto3" json:"listSettingName,omitempty"` - FontSize *ProtoBoxedUint32 `protobuf:"bytes,2,opt,name=fontSize,proto3" json:"fontSize,omitempty"` - Type ProtoListLevelSettingType `protobuf:"varint,3,opt,name=type,proto3,enum=ProtoListLevelSettingType" json:"type,omitempty"` - Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` - Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"` - Suffix string `protobuf:"bytes,6,opt,name=suffix,proto3" json:"suffix,omitempty"` - FixFontFamily *ProtoFont `protobuf:"bytes,7,opt,name=fixFontFamily,proto3" json:"fixFontFamily,omitempty"` - FixBold bool `protobuf:"varint,8,opt,name=fixBold,proto3" json:"fixBold,omitempty"` - FixItalic bool `protobuf:"varint,9,opt,name=fixItalic,proto3" json:"fixItalic,omitempty"` - IndentionWidth int32 `protobuf:"varint,10,opt,name=indentionWidth,proto3" json:"indentionWidth,omitempty"` - Color *ProtoColor `protobuf:"bytes,11,opt,name=color,proto3" json:"color,omitempty"` - FontFamily *ProtoFont `protobuf:"bytes,12,opt,name=fontFamily,proto3" json:"fontFamily,omitempty"` - Bold *ProtoBoxedBool `protobuf:"bytes,13,opt,name=bold,proto3" json:"bold,omitempty"` - Italic *ProtoBoxedBool `protobuf:"bytes,14,opt,name=italic,proto3" json:"italic,omitempty"` - NumberType ProtoNumberType `protobuf:"varint,15,opt,name=numberType,proto3,enum=ProtoNumberType" json:"numberType,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoNumberListLevelSetting) Reset() { - *x = ProtoNumberListLevelSetting{} - mi := &file_build_docframe_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoNumberListLevelSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoNumberListLevelSetting) ProtoMessage() {} - -func (x *ProtoNumberListLevelSetting) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[43] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoNumberListLevelSetting.ProtoReflect.Descriptor instead. -func (*ProtoNumberListLevelSetting) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{43} -} - -func (x *ProtoNumberListLevelSetting) GetListSettingName() string { - if x != nil { - return x.ListSettingName - } - return "" -} - -func (x *ProtoNumberListLevelSetting) GetFontSize() *ProtoBoxedUint32 { - if x != nil { - return x.FontSize - } - return nil -} - -func (x *ProtoNumberListLevelSetting) GetType() ProtoListLevelSettingType { - if x != nil { - return x.Type - } - return ProtoListLevelSettingType_UNNUMBERED -} - -func (x *ProtoNumberListLevelSetting) GetLevel() int32 { - if x != nil { - return x.Level - } - return 0 -} - -func (x *ProtoNumberListLevelSetting) GetPrefix() string { - if x != nil { - return x.Prefix - } - return "" -} - -func (x *ProtoNumberListLevelSetting) GetSuffix() string { - if x != nil { - return x.Suffix - } - return "" -} - -func (x *ProtoNumberListLevelSetting) GetFixFontFamily() *ProtoFont { - if x != nil { - return x.FixFontFamily - } - return nil -} - -func (x *ProtoNumberListLevelSetting) GetFixBold() bool { - if x != nil { - return x.FixBold - } - return false -} - -func (x *ProtoNumberListLevelSetting) GetFixItalic() bool { - if x != nil { - return x.FixItalic - } - return false -} - -func (x *ProtoNumberListLevelSetting) GetIndentionWidth() int32 { - if x != nil { - return x.IndentionWidth - } - return 0 -} - -func (x *ProtoNumberListLevelSetting) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoNumberListLevelSetting) GetFontFamily() *ProtoFont { - if x != nil { - return x.FontFamily - } - return nil -} - -func (x *ProtoNumberListLevelSetting) GetBold() *ProtoBoxedBool { - if x != nil { - return x.Bold - } - return nil -} - -func (x *ProtoNumberListLevelSetting) GetItalic() *ProtoBoxedBool { - if x != nil { - return x.Italic - } - return nil -} - -func (x *ProtoNumberListLevelSetting) GetNumberType() ProtoNumberType { - if x != nil { - return x.NumberType - } - return ProtoNumberType_ARABIC -} - -type ProtoUnnumberedListLevelSetting struct { - state protoimpl.MessageState `protogen:"open.v1"` - ListSettingName string `protobuf:"bytes,1,opt,name=listSettingName,proto3" json:"listSettingName,omitempty"` - FontSize *ProtoBoxedUint32 `protobuf:"bytes,2,opt,name=fontSize,proto3" json:"fontSize,omitempty"` - Type ProtoListLevelSettingType `protobuf:"varint,3,opt,name=type,proto3,enum=ProtoListLevelSettingType" json:"type,omitempty"` - Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` - Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"` - Suffix string `protobuf:"bytes,6,opt,name=suffix,proto3" json:"suffix,omitempty"` - FixFontFamily *ProtoFont `protobuf:"bytes,7,opt,name=fixFontFamily,proto3" json:"fixFontFamily,omitempty"` - FixBold bool `protobuf:"varint,8,opt,name=fixBold,proto3" json:"fixBold,omitempty"` - FixItalic bool `protobuf:"varint,9,opt,name=fixItalic,proto3" json:"fixItalic,omitempty"` - IndentionWidth int32 `protobuf:"varint,10,opt,name=indentionWidth,proto3" json:"indentionWidth,omitempty"` - Color *ProtoColor `protobuf:"bytes,11,opt,name=color,proto3" json:"color,omitempty"` - FontFamily *ProtoFont `protobuf:"bytes,12,opt,name=fontFamily,proto3" json:"fontFamily,omitempty"` - Bold *ProtoBoxedBool `protobuf:"bytes,13,opt,name=bold,proto3" json:"bold,omitempty"` - Italic *ProtoBoxedBool `protobuf:"bytes,14,opt,name=italic,proto3" json:"italic,omitempty"` - Character string `protobuf:"bytes,15,opt,name=character,proto3" json:"character,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoUnnumberedListLevelSetting) Reset() { - *x = ProtoUnnumberedListLevelSetting{} - mi := &file_build_docframe_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoUnnumberedListLevelSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoUnnumberedListLevelSetting) ProtoMessage() {} - -func (x *ProtoUnnumberedListLevelSetting) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[44] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoUnnumberedListLevelSetting.ProtoReflect.Descriptor instead. -func (*ProtoUnnumberedListLevelSetting) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{44} -} - -func (x *ProtoUnnumberedListLevelSetting) GetListSettingName() string { - if x != nil { - return x.ListSettingName - } - return "" -} - -func (x *ProtoUnnumberedListLevelSetting) GetFontSize() *ProtoBoxedUint32 { - if x != nil { - return x.FontSize - } - return nil -} - -func (x *ProtoUnnumberedListLevelSetting) GetType() ProtoListLevelSettingType { - if x != nil { - return x.Type - } - return ProtoListLevelSettingType_UNNUMBERED -} - -func (x *ProtoUnnumberedListLevelSetting) GetLevel() int32 { - if x != nil { - return x.Level - } - return 0 -} - -func (x *ProtoUnnumberedListLevelSetting) GetPrefix() string { - if x != nil { - return x.Prefix - } - return "" -} - -func (x *ProtoUnnumberedListLevelSetting) GetSuffix() string { - if x != nil { - return x.Suffix - } - return "" -} - -func (x *ProtoUnnumberedListLevelSetting) GetFixFontFamily() *ProtoFont { - if x != nil { - return x.FixFontFamily - } - return nil -} - -func (x *ProtoUnnumberedListLevelSetting) GetFixBold() bool { - if x != nil { - return x.FixBold - } - return false -} - -func (x *ProtoUnnumberedListLevelSetting) GetFixItalic() bool { - if x != nil { - return x.FixItalic - } - return false -} - -func (x *ProtoUnnumberedListLevelSetting) GetIndentionWidth() int32 { - if x != nil { - return x.IndentionWidth - } - return 0 -} - -func (x *ProtoUnnumberedListLevelSetting) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoUnnumberedListLevelSetting) GetFontFamily() *ProtoFont { - if x != nil { - return x.FontFamily - } - return nil -} - -func (x *ProtoUnnumberedListLevelSetting) GetBold() *ProtoBoxedBool { - if x != nil { - return x.Bold - } - return nil -} - -func (x *ProtoUnnumberedListLevelSetting) GetItalic() *ProtoBoxedBool { - if x != nil { - return x.Italic - } - return nil -} - -func (x *ProtoUnnumberedListLevelSetting) GetCharacter() string { - if x != nil { - return x.Character - } - return "" -} - -type ProtoListSetting 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"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoListSetting) Reset() { - *x = ProtoListSetting{} - mi := &file_build_docframe_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoListSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoListSetting) ProtoMessage() {} - -func (x *ProtoListSetting) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[45] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoListSetting.ProtoReflect.Descriptor instead. -func (*ProtoListSetting) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{45} -} - -func (x *ProtoListSetting) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoListSetting) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoListSetting) GetListLevelSettings() []*ProtoListLevelSetting { - if x != nil { - return x.ListLevelSettings - } - return nil -} - -func (x *ProtoListSetting) GetDefaultListLevelSetting() *ProtoListLevelSetting { - if x != nil { - return x.DefaultListLevelSetting - } - return nil -} - -func (x *ProtoListSetting) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoBoxedListSetting struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value *ProtoListSetting `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedListSetting) Reset() { - *x = ProtoBoxedListSetting{} - mi := &file_build_docframe_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedListSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedListSetting) ProtoMessage() {} - -func (x *ProtoBoxedListSetting) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[46] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedListSetting.ProtoReflect.Descriptor instead. -func (*ProtoBoxedListSetting) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{46} -} - -func (x *ProtoBoxedListSetting) GetValue() *ProtoListSetting { - if x != nil { - return x.Value - } - return nil -} - -func (x *ProtoBoxedListSetting) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoNamedString 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"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,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"` - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - NameCode string `protobuf:"bytes,7,opt,name=nameCode,proto3" json:"nameCode,omitempty"` - CodeMode bool `protobuf:"varint,8,opt,name=codeMode,proto3" json:"codeMode,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoNamedString) Reset() { - *x = ProtoNamedString{} - mi := &file_build_docframe_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoNamedString) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoNamedString) ProtoMessage() {} - -func (x *ProtoNamedString) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[47] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoNamedString.ProtoReflect.Descriptor instead. -func (*ProtoNamedString) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{47} -} - -func (x *ProtoNamedString) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoNamedString) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoNamedString) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoNamedString) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoNamedString) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoNamedString) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *ProtoNamedString) GetNameCode() string { - if x != nil { - return x.NameCode - } - return "" -} - -func (x *ProtoNamedString) GetCodeMode() bool { - if x != nil { - return x.CodeMode - } - return false -} - -type ProtoParagraph 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"` - Format *ProtoParagraphFormat `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` - Overwrite *ProtoParagraphFormat `protobuf:"bytes,4,opt,name=overwrite,proto3" json:"overwrite,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - ParagraphFormatUUID string `protobuf:"bytes,6,opt,name=paragraphFormatUUID,proto3" json:"paragraphFormatUUID,omitempty"` - Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoParagraph) Reset() { - *x = ProtoParagraph{} - mi := &file_build_docframe_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoParagraph) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoParagraph) ProtoMessage() {} - -func (x *ProtoParagraph) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[48] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoParagraph.ProtoReflect.Descriptor instead. -func (*ProtoParagraph) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{48} -} - -func (x *ProtoParagraph) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoParagraph) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoParagraph) GetFormat() *ProtoParagraphFormat { - if x != nil { - return x.Format - } - return nil -} - -func (x *ProtoParagraph) GetOverwrite() *ProtoParagraphFormat { - if x != nil { - return x.Overwrite - } - return nil -} - -func (x *ProtoParagraph) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoParagraph) GetParagraphFormatUUID() string { - if x != nil { - return x.ParagraphFormatUUID - } - return "" -} - -func (x *ProtoParagraph) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type ProtoParagraphFormat struct { - state protoimpl.MessageState `protogen:"open.v1"` - BaseFormat *ProtoParagraphFormat `protobuf:"bytes,1,opt,name=baseFormat,proto3" json:"baseFormat,omitempty"` - Name *ProtoBoxedString `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Default *ProtoBoxedBool `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"` - Font *ProtoBoxedFont `protobuf:"bytes,4,opt,name=font,proto3" json:"font,omitempty"` - Bold *ProtoBoxedBool `protobuf:"bytes,5,opt,name=bold,proto3" json:"bold,omitempty"` - Italic *ProtoBoxedBool `protobuf:"bytes,6,opt,name=italic,proto3" json:"italic,omitempty"` - FontColor *ProtoBoxedColor `protobuf:"bytes,7,opt,name=fontColor,proto3" json:"fontColor,omitempty"` - Underline *ProtoBoxedUnderlineSpec `protobuf:"bytes,8,opt,name=underline,proto3" json:"underline,omitempty"` - FontSize *ProtoBoxedMeasure `protobuf:"bytes,9,opt,name=fontSize,proto3" json:"fontSize,omitempty"` - CharacterWidth *ProtoBoxedMeasure `protobuf:"bytes,10,opt,name=characterWidth,proto3" json:"characterWidth,omitempty"` - CharacterSpacing *ProtoBoxedMeasure `protobuf:"bytes,11,opt,name=characterSpacing,proto3" json:"characterSpacing,omitempty"` - LineFeed *ProtoBoxedMeasure `protobuf:"bytes,12,opt,name=lineFeed,proto3" json:"lineFeed,omitempty"` - Alignment *ProtoBoxedHorizontalAlignment `protobuf:"bytes,13,opt,name=alignment,proto3" json:"alignment,omitempty"` - IndentionWidth *ProtoBoxedMeasure `protobuf:"bytes,14,opt,name=indentionWidth,proto3" json:"indentionWidth,omitempty"` - IndentionLevel *ProtoBoxedInt32 `protobuf:"bytes,15,opt,name=indentionLevel,proto3" json:"indentionLevel,omitempty"` - SpaceAbove *ProtoBoxedMeasure `protobuf:"bytes,16,opt,name=spaceAbove,proto3" json:"spaceAbove,omitempty"` - SpaceBelow *ProtoBoxedMeasure `protobuf:"bytes,17,opt,name=spaceBelow,proto3" json:"spaceBelow,omitempty"` - WidowSetting *ProtoBoxedInt32 `protobuf:"bytes,18,opt,name=widowSetting,proto3" json:"widowSetting,omitempty"` - OrphanSetting *ProtoBoxedInt32 `protobuf:"bytes,19,opt,name=orphanSetting,proto3" json:"orphanSetting,omitempty"` - WidowPriority *ProtoBoxedInt32 `protobuf:"bytes,20,opt,name=widowPriority,proto3" json:"widowPriority,omitempty"` - Strikethrough *ProtoBoxedStrikethroughSpec `protobuf:"bytes,21,opt,name=strikethrough,proto3" json:"strikethrough,omitempty"` - SuperscriptSubscript *ProtoBoxedSPBMode `protobuf:"bytes,22,opt,name=superscriptSubscript,proto3" json:"superscriptSubscript,omitempty"` - BackgroundColor *ProtoBoxedColor `protobuf:"bytes,23,opt,name=backgroundColor,proto3" json:"backgroundColor,omitempty"` - ListSetting *ProtoBoxedListSetting `protobuf:"bytes,24,opt,name=listSetting,proto3" json:"listSetting,omitempty"` - Hyphenation *ProtoBoxedBool `protobuf:"bytes,25,opt,name=hyphenation,proto3" json:"hyphenation,omitempty"` - PreNamedString *ProtoBoxedString `protobuf:"bytes,26,opt,name=preNamedString,proto3" json:"preNamedString,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoParagraphFormat) Reset() { - *x = ProtoParagraphFormat{} - mi := &file_build_docframe_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoParagraphFormat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoParagraphFormat) ProtoMessage() {} - -func (x *ProtoParagraphFormat) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[49] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoParagraphFormat.ProtoReflect.Descriptor instead. -func (*ProtoParagraphFormat) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{49} -} - -func (x *ProtoParagraphFormat) GetBaseFormat() *ProtoParagraphFormat { - if x != nil { - return x.BaseFormat - } - return nil -} - -func (x *ProtoParagraphFormat) GetName() *ProtoBoxedString { - if x != nil { - return x.Name - } - return nil -} - -func (x *ProtoParagraphFormat) GetDefault() *ProtoBoxedBool { - if x != nil { - return x.Default - } - return nil -} - -func (x *ProtoParagraphFormat) GetFont() *ProtoBoxedFont { - if x != nil { - return x.Font - } - return nil -} - -func (x *ProtoParagraphFormat) GetBold() *ProtoBoxedBool { - if x != nil { - return x.Bold - } - return nil -} - -func (x *ProtoParagraphFormat) GetItalic() *ProtoBoxedBool { - if x != nil { - return x.Italic - } - return nil -} - -func (x *ProtoParagraphFormat) GetFontColor() *ProtoBoxedColor { - if x != nil { - return x.FontColor - } - return nil -} - -func (x *ProtoParagraphFormat) GetUnderline() *ProtoBoxedUnderlineSpec { - if x != nil { - return x.Underline - } - return nil -} - -func (x *ProtoParagraphFormat) GetFontSize() *ProtoBoxedMeasure { - if x != nil { - return x.FontSize - } - return nil -} - -func (x *ProtoParagraphFormat) GetCharacterWidth() *ProtoBoxedMeasure { - if x != nil { - return x.CharacterWidth - } - return nil -} - -func (x *ProtoParagraphFormat) GetCharacterSpacing() *ProtoBoxedMeasure { - if x != nil { - return x.CharacterSpacing - } - return nil -} - -func (x *ProtoParagraphFormat) GetLineFeed() *ProtoBoxedMeasure { - if x != nil { - return x.LineFeed - } - return nil -} - -func (x *ProtoParagraphFormat) GetAlignment() *ProtoBoxedHorizontalAlignment { - if x != nil { - return x.Alignment - } - return nil -} - -func (x *ProtoParagraphFormat) GetIndentionWidth() *ProtoBoxedMeasure { - if x != nil { - return x.IndentionWidth - } - return nil -} - -func (x *ProtoParagraphFormat) GetIndentionLevel() *ProtoBoxedInt32 { - if x != nil { - return x.IndentionLevel - } - return nil -} - -func (x *ProtoParagraphFormat) GetSpaceAbove() *ProtoBoxedMeasure { - if x != nil { - return x.SpaceAbove - } - return nil -} - -func (x *ProtoParagraphFormat) GetSpaceBelow() *ProtoBoxedMeasure { - if x != nil { - return x.SpaceBelow - } - return nil -} - -func (x *ProtoParagraphFormat) GetWidowSetting() *ProtoBoxedInt32 { - if x != nil { - return x.WidowSetting - } - return nil -} - -func (x *ProtoParagraphFormat) GetOrphanSetting() *ProtoBoxedInt32 { - if x != nil { - return x.OrphanSetting - } - return nil -} - -func (x *ProtoParagraphFormat) GetWidowPriority() *ProtoBoxedInt32 { - if x != nil { - return x.WidowPriority - } - return nil -} - -func (x *ProtoParagraphFormat) GetStrikethrough() *ProtoBoxedStrikethroughSpec { - if x != nil { - return x.Strikethrough - } - return nil -} - -func (x *ProtoParagraphFormat) GetSuperscriptSubscript() *ProtoBoxedSPBMode { - if x != nil { - return x.SuperscriptSubscript - } - return nil -} - -func (x *ProtoParagraphFormat) GetBackgroundColor() *ProtoBoxedColor { - if x != nil { - return x.BackgroundColor - } - return nil -} - -func (x *ProtoParagraphFormat) GetListSetting() *ProtoBoxedListSetting { - if x != nil { - return x.ListSetting - } - return nil -} - -func (x *ProtoParagraphFormat) GetHyphenation() *ProtoBoxedBool { - if x != nil { - return x.Hyphenation - } - return nil -} - -func (x *ProtoParagraphFormat) GetPreNamedString() *ProtoBoxedString { - if x != nil { - return x.PreNamedString - } - return nil -} - -func (x *ProtoParagraphFormat) GetPostNamedString() *ProtoBoxedString { - if x != nil { - return x.PostNamedString - } - return nil -} - -func (x *ProtoParagraphFormat) GetSemanticType() *ProtoBoxedString { - if x != nil { - return x.SemanticType - } - return nil -} - -func (x *ProtoParagraphFormat) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoSection 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - CDefUuid string `protobuf:"bytes,4,opt,name=cDefUuid,proto3" json:"cDefUuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSection) Reset() { - *x = ProtoSection{} - mi := &file_build_docframe_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSection) ProtoMessage() {} - -func (x *ProtoSection) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[50] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSection.ProtoReflect.Descriptor instead. -func (*ProtoSection) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{50} -} - -func (x *ProtoSection) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoSection) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoSection) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoSection) GetCDefUuid() string { - if x != nil { - return x.CDefUuid - } - return "" -} - -func (x *ProtoSection) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoSpaceVertically struct { - state protoimpl.MessageState `protogen:"open.v1"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSpaceVertically) Reset() { - *x = ProtoSpaceVertically{} - mi := &file_build_docframe_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSpaceVertically) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSpaceVertically) ProtoMessage() {} - -func (x *ProtoSpaceVertically) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[51] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSpaceVertically.ProtoReflect.Descriptor instead. -func (*ProtoSpaceVertically) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{51} -} - -func (x *ProtoSpaceVertically) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoSpaceVertically) GetSpace() *ProtoMeasure { - if x != nil { - return x.Space - } - return nil -} - -func (x *ProtoSpaceVertically) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoSpan 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"` - Bold *ProtoBoxedBool `protobuf:"bytes,3,opt,name=bold,proto3" json:"bold,omitempty"` - Italic *ProtoBoxedBool `protobuf:"bytes,4,opt,name=italic,proto3" json:"italic,omitempty"` - Color *ProtoColor `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` - Subscript *ProtoBoxedBool `protobuf:"bytes,6,opt,name=subscript,proto3" json:"subscript,omitempty"` - Superscript *ProtoBoxedBool `protobuf:"bytes,7,opt,name=superscript,proto3" json:"superscript,omitempty"` - Underline *ProtoBoxedBool `protobuf:"bytes,8,opt,name=underline,proto3" json:"underline,omitempty"` - Strikethrough *ProtoBoxedBool `protobuf:"bytes,9,opt,name=strikethrough,proto3" json:"strikethrough,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,10,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSpan) Reset() { - *x = ProtoSpan{} - mi := &file_build_docframe_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSpan) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSpan) ProtoMessage() {} - -func (x *ProtoSpan) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[52] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSpan.ProtoReflect.Descriptor instead. -func (*ProtoSpan) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{52} -} - -func (x *ProtoSpan) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoSpan) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoSpan) GetBold() *ProtoBoxedBool { - if x != nil { - return x.Bold - } - return nil -} - -func (x *ProtoSpan) GetItalic() *ProtoBoxedBool { - if x != nil { - return x.Italic - } - return nil -} - -func (x *ProtoSpan) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoSpan) GetSubscript() *ProtoBoxedBool { - if x != nil { - return x.Subscript - } - return nil -} - -func (x *ProtoSpan) GetSuperscript() *ProtoBoxedBool { - if x != nil { - return x.Superscript - } - return nil -} - -func (x *ProtoSpan) GetUnderline() *ProtoBoxedBool { - if x != nil { - return x.Underline - } - return nil -} - -func (x *ProtoSpan) GetStrikethrough() *ProtoBoxedBool { - if x != nil { - return x.Strikethrough - } - return nil -} - -func (x *ProtoSpan) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoTable 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"` - Settings *ProtoTableSettings `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"` - ConfigName string `protobuf:"bytes,4,opt,name=configName,proto3" json:"configName,omitempty"` - CarryOver *Node `protobuf:"bytes,5,opt,name=carryOver,proto3" json:"carryOver,omitempty"` - SubTotal *Node `protobuf:"bytes,6,opt,name=subTotal,proto3" json:"subTotal,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,7,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - ElementProperties *ProtoTableElementProperties `protobuf:"bytes,8,opt,name=elementProperties,proto3" json:"elementProperties,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTable) Reset() { - *x = ProtoTable{} - mi := &file_build_docframe_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTable) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTable) ProtoMessage() {} - -func (x *ProtoTable) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[53] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTable.ProtoReflect.Descriptor instead. -func (*ProtoTable) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{53} -} - -func (x *ProtoTable) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoTable) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTable) GetSettings() *ProtoTableSettings { - if x != nil { - return x.Settings - } - return nil -} - -func (x *ProtoTable) GetConfigName() string { - if x != nil { - return x.ConfigName - } - return "" -} - -func (x *ProtoTable) GetCarryOver() *Node { - if x != nil { - return x.CarryOver - } - return nil -} - -func (x *ProtoTable) GetSubTotal() *Node { - if x != nil { - return x.SubTotal - } - return nil -} - -func (x *ProtoTable) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoTable) GetElementProperties() *ProtoTableElementProperties { - if x != nil { - return x.ElementProperties - } - return nil -} - -type ProtoTableConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableConfig) Reset() { - *x = ProtoTableConfig{} - mi := &file_build_docframe_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableConfig) ProtoMessage() {} - -func (x *ProtoTableConfig) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[54] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableConfig.ProtoReflect.Descriptor instead. -func (*ProtoTableConfig) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{54} -} - -func (x *ProtoTableConfig) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTableConfig) GetSettings() *ProtoTableSettings { - if x != nil { - return x.Settings - } - return nil -} - -func (x *ProtoTableConfig) GetConfigName() string { - if x != nil { - return x.ConfigName - } - return "" -} - -func (x *ProtoTableConfig) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoTableSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - XOffset *ProtoMeasure `protobuf:"bytes,1,opt,name=xOffset,proto3" json:"xOffset,omitempty"` - LeftMeasure *ProtoBoxedBool `protobuf:"bytes,2,opt,name=leftMeasure,proto3" json:"leftMeasure,omitempty"` - Width *ProtoMeasure `protobuf:"bytes,3,opt,name=width,proto3" json:"width,omitempty"` - RepeatHeader *ProtoBoxedUint32 `protobuf:"bytes,4,opt,name=repeatHeader,proto3" json:"repeatHeader,omitempty"` - Ws *ProtoTableWS `protobuf:"bytes,5,opt,name=ws,proto3" json:"ws,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableSettings) Reset() { - *x = ProtoTableSettings{} - mi := &file_build_docframe_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableSettings) ProtoMessage() {} - -func (x *ProtoTableSettings) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[55] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableSettings.ProtoReflect.Descriptor instead. -func (*ProtoTableSettings) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{55} -} - -func (x *ProtoTableSettings) GetXOffset() *ProtoMeasure { - if x != nil { - return x.XOffset - } - return nil -} - -func (x *ProtoTableSettings) GetLeftMeasure() *ProtoBoxedBool { - if x != nil { - return x.LeftMeasure - } - return nil -} - -func (x *ProtoTableSettings) GetWidth() *ProtoMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoTableSettings) GetRepeatHeader() *ProtoBoxedUint32 { - if x != nil { - return x.RepeatHeader - } - return nil -} - -func (x *ProtoTableSettings) GetWs() *ProtoTableWS { - if x != nil { - return x.Ws - } - return nil -} - -type ProtoBoxedTableContentGroupType struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value ProtoTableContentGroupType `protobuf:"varint,1,opt,name=value,proto3,enum=ProtoTableContentGroupType" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedTableContentGroupType) Reset() { - *x = ProtoBoxedTableContentGroupType{} - mi := &file_build_docframe_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedTableContentGroupType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedTableContentGroupType) ProtoMessage() {} - -func (x *ProtoBoxedTableContentGroupType) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[56] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedTableContentGroupType.ProtoReflect.Descriptor instead. -func (*ProtoBoxedTableContentGroupType) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{56} -} - -func (x *ProtoBoxedTableContentGroupType) GetValue() ProtoTableContentGroupType { - if x != nil { - return x.Value - } - return ProtoTableContentGroupType_HEADER -} - -func (x *ProtoBoxedTableContentGroupType) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoTableContentGroup 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"` - Settings *ProtoTableContentGroupSettings `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - ElementProperties *ProtoTableElementProperties `protobuf:"bytes,5,opt,name=elementProperties,proto3" json:"elementProperties,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableContentGroup) Reset() { - *x = ProtoTableContentGroup{} - mi := &file_build_docframe_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableContentGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableContentGroup) ProtoMessage() {} - -func (x *ProtoTableContentGroup) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[57] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableContentGroup.ProtoReflect.Descriptor instead. -func (*ProtoTableContentGroup) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{57} -} - -func (x *ProtoTableContentGroup) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoTableContentGroup) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTableContentGroup) GetSettings() *ProtoTableContentGroupSettings { - if x != nil { - return x.Settings - } - return nil -} - -func (x *ProtoTableContentGroup) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoTableContentGroup) GetElementProperties() *ProtoTableElementProperties { - if x != nil { - return x.ElementProperties - } - return nil -} - -type ProtoTableContentGroupConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableContentGroupConfig) Reset() { - *x = ProtoTableContentGroupConfig{} - mi := &file_build_docframe_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableContentGroupConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableContentGroupConfig) ProtoMessage() {} - -func (x *ProtoTableContentGroupConfig) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[58] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableContentGroupConfig.ProtoReflect.Descriptor instead. -func (*ProtoTableContentGroupConfig) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{58} -} - -func (x *ProtoTableContentGroupConfig) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTableContentGroupConfig) GetSettings() *ProtoTableContentGroupSettings { - if x != nil { - return x.Settings - } - return nil -} - -func (x *ProtoTableContentGroupConfig) GetConfigName() string { - if x != nil { - return x.ConfigName - } - return "" -} - -func (x *ProtoTableContentGroupConfig) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoTableContentGroupSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - ContentGroupType *ProtoBoxedTableContentGroupType `protobuf:"bytes,1,opt,name=contentGroupType,proto3" json:"contentGroupType,omitempty"` - BackgroundColors []*ProtoColor `protobuf:"bytes,2,rep,name=backgroundColors,proto3" json:"backgroundColors,omitempty"` - Ws *ProtoTableWS `protobuf:"bytes,3,opt,name=ws,proto3" json:"ws,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableContentGroupSettings) Reset() { - *x = ProtoTableContentGroupSettings{} - mi := &file_build_docframe_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableContentGroupSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableContentGroupSettings) ProtoMessage() {} - -func (x *ProtoTableContentGroupSettings) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[59] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableContentGroupSettings.ProtoReflect.Descriptor instead. -func (*ProtoTableContentGroupSettings) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{59} -} - -func (x *ProtoTableContentGroupSettings) GetContentGroupType() *ProtoBoxedTableContentGroupType { - if x != nil { - return x.ContentGroupType - } - return nil -} - -func (x *ProtoTableContentGroupSettings) GetBackgroundColors() []*ProtoColor { - if x != nil { - return x.BackgroundColors - } - return nil -} - -func (x *ProtoTableContentGroupSettings) GetWs() *ProtoTableWS { - if x != nil { - return x.Ws - } - return nil -} - -type ProtoTableRow 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"` - Settings *ProtoTableRowSettings `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"` - RowConfigNumber *ProtoBoxedUint32 `protobuf:"bytes,4,opt,name=rowConfigNumber,proto3" json:"rowConfigNumber,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - ElementProperties *ProtoTableElementProperties `protobuf:"bytes,6,opt,name=elementProperties,proto3" json:"elementProperties,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableRow) Reset() { - *x = ProtoTableRow{} - mi := &file_build_docframe_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableRow) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableRow) ProtoMessage() {} - -func (x *ProtoTableRow) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[60] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableRow.ProtoReflect.Descriptor instead. -func (*ProtoTableRow) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{60} -} - -func (x *ProtoTableRow) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoTableRow) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTableRow) GetSettings() *ProtoTableRowSettings { - if x != nil { - return x.Settings - } - return nil -} - -func (x *ProtoTableRow) GetRowConfigNumber() *ProtoBoxedUint32 { - if x != nil { - return x.RowConfigNumber - } - return nil -} - -func (x *ProtoTableRow) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoTableRow) GetElementProperties() *ProtoTableElementProperties { - if x != nil { - return x.ElementProperties - } - return nil -} - -type ProtoTableRowConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Settings *ProtoTableRowSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` - ConfigName string `protobuf:"bytes,3,opt,name=configName,proto3" json:"configName,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableRowConfig) Reset() { - *x = ProtoTableRowConfig{} - mi := &file_build_docframe_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableRowConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableRowConfig) ProtoMessage() {} - -func (x *ProtoTableRowConfig) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[61] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableRowConfig.ProtoReflect.Descriptor instead. -func (*ProtoTableRowConfig) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{61} -} - -func (x *ProtoTableRowConfig) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTableRowConfig) GetSettings() *ProtoTableRowSettings { - if x != nil { - return x.Settings - } - return nil -} - -func (x *ProtoTableRowConfig) GetConfigName() string { - if x != nil { - return x.ConfigName - } - return "" -} - -func (x *ProtoTableRowConfig) GetRowHeader() string { - if x != nil { - return x.RowHeader - } - return "" -} - -func (x *ProtoTableRowConfig) GetRowFooter() string { - if x != nil { - return x.RowFooter - } - return "" -} - -func (x *ProtoTableRowConfig) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoTableRowSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - MinHeight *ProtoMeasure `protobuf:"bytes,1,opt,name=minHeight,proto3" json:"minHeight,omitempty"` - Ws *ProtoTableWS `protobuf:"bytes,2,opt,name=ws,proto3" json:"ws,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableRowSettings) Reset() { - *x = ProtoTableRowSettings{} - mi := &file_build_docframe_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableRowSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableRowSettings) ProtoMessage() {} - -func (x *ProtoTableRowSettings) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[62] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableRowSettings.ProtoReflect.Descriptor instead. -func (*ProtoTableRowSettings) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{62} -} - -func (x *ProtoTableRowSettings) GetMinHeight() *ProtoMeasure { - if x != nil { - return x.MinHeight - } - return nil -} - -func (x *ProtoTableRowSettings) GetWs() *ProtoTableWS { - if x != nil { - return x.Ws - } - return nil -} - -type ProtoBoxedTableCellType struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value ProtoTableCellType `protobuf:"varint,1,opt,name=value,proto3,enum=ProtoTableCellType" json:"value,omitempty"` - IsNull bool `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBoxedTableCellType) Reset() { - *x = ProtoBoxedTableCellType{} - mi := &file_build_docframe_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBoxedTableCellType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBoxedTableCellType) ProtoMessage() {} - -func (x *ProtoBoxedTableCellType) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[63] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBoxedTableCellType.ProtoReflect.Descriptor instead. -func (*ProtoBoxedTableCellType) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{63} -} - -func (x *ProtoBoxedTableCellType) GetValue() ProtoTableCellType { - if x != nil { - return x.Value - } - return ProtoTableCellType_TABLE_CELL_BODY -} - -func (x *ProtoBoxedTableCellType) GetIsNull() bool { - if x != nil { - return x.IsNull - } - return false -} - -type ProtoTableCell 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"` - Settings *ProtoTableCellSettings `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"` - CellConfigNumber *ProtoBoxedUint32 `protobuf:"bytes,4,opt,name=cellConfigNumber,proto3" json:"cellConfigNumber,omitempty"` - MergedLeft bool `protobuf:"varint,5,opt,name=mergedLeft,proto3" json:"mergedLeft,omitempty"` - MergedUp bool `protobuf:"varint,6,opt,name=mergedUp,proto3" json:"mergedUp,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,7,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - ElementProperties *ProtoTableElementProperties `protobuf:"bytes,8,opt,name=elementProperties,proto3" json:"elementProperties,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableCell) Reset() { - *x = ProtoTableCell{} - mi := &file_build_docframe_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableCell) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableCell) ProtoMessage() {} - -func (x *ProtoTableCell) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[64] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableCell.ProtoReflect.Descriptor instead. -func (*ProtoTableCell) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{64} -} - -func (x *ProtoTableCell) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoTableCell) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTableCell) GetSettings() *ProtoTableCellSettings { - if x != nil { - return x.Settings - } - return nil -} - -func (x *ProtoTableCell) GetCellConfigNumber() *ProtoBoxedUint32 { - if x != nil { - return x.CellConfigNumber - } - return nil -} - -func (x *ProtoTableCell) GetMergedLeft() bool { - if x != nil { - return x.MergedLeft - } - return false -} - -func (x *ProtoTableCell) GetMergedUp() bool { - if x != nil { - return x.MergedUp - } - return false -} - -func (x *ProtoTableCell) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoTableCell) GetElementProperties() *ProtoTableElementProperties { - if x != nil { - return x.ElementProperties - } - return nil -} - -type ProtoTableCellConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Settings *ProtoTableCellSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableCellConfig) Reset() { - *x = ProtoTableCellConfig{} - mi := &file_build_docframe_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableCellConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableCellConfig) ProtoMessage() {} - -func (x *ProtoTableCellConfig) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[65] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableCellConfig.ProtoReflect.Descriptor instead. -func (*ProtoTableCellConfig) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{65} -} - -func (x *ProtoTableCellConfig) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTableCellConfig) GetSettings() *ProtoTableCellSettings { - if x != nil { - return x.Settings - } - return nil -} - -func (x *ProtoTableCellConfig) GetConfigName() string { - if x != nil { - return x.ConfigName - } - return "" -} - -func (x *ProtoTableCellConfig) GetCellType() *ProtoBoxedTableCellType { - if x != nil { - return x.CellType - } - return nil -} - -func (x *ProtoTableCellConfig) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoTableCellSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - Width *ProtoMeasure `protobuf:"bytes,1,opt,name=width,proto3" json:"width,omitempty"` - Align *ProtoBoxedHorizontalAlignment `protobuf:"bytes,2,opt,name=align,proto3" json:"align,omitempty"` - Valign *ProtoBoxedVerticalAlignment `protobuf:"bytes,3,opt,name=valign,proto3" json:"valign,omitempty"` - BackgroundColor *ProtoColor `protobuf:"bytes,4,opt,name=backgroundColor,proto3" json:"backgroundColor,omitempty"` - Padding *ProtoSideMeasures `protobuf:"bytes,5,opt,name=padding,proto3" json:"padding,omitempty"` - Border *ProtoSideBorders `protobuf:"bytes,6,opt,name=border,proto3" json:"border,omitempty"` - Margin *ProtoSideMeasures `protobuf:"bytes,7,opt,name=margin,proto3" json:"margin,omitempty"` - Rotation *ProtoBoxedDouble `protobuf:"bytes,8,opt,name=rotation,proto3" json:"rotation,omitempty"` - DefaultParagraphFormat *ProtoBoxedString `protobuf:"bytes,9,opt,name=defaultParagraphFormat,proto3" json:"defaultParagraphFormat,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableCellSettings) Reset() { - *x = ProtoTableCellSettings{} - mi := &file_build_docframe_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableCellSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableCellSettings) ProtoMessage() {} - -func (x *ProtoTableCellSettings) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[66] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableCellSettings.ProtoReflect.Descriptor instead. -func (*ProtoTableCellSettings) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{66} -} - -func (x *ProtoTableCellSettings) GetWidth() *ProtoMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoTableCellSettings) GetAlign() *ProtoBoxedHorizontalAlignment { - if x != nil { - return x.Align - } - return nil -} - -func (x *ProtoTableCellSettings) GetValign() *ProtoBoxedVerticalAlignment { - if x != nil { - return x.Valign - } - return nil -} - -func (x *ProtoTableCellSettings) GetBackgroundColor() *ProtoColor { - if x != nil { - return x.BackgroundColor - } - return nil -} - -func (x *ProtoTableCellSettings) GetPadding() *ProtoSideMeasures { - if x != nil { - return x.Padding - } - return nil -} - -func (x *ProtoTableCellSettings) GetBorder() *ProtoSideBorders { - if x != nil { - return x.Border - } - return nil -} - -func (x *ProtoTableCellSettings) GetMargin() *ProtoSideMeasures { - if x != nil { - return x.Margin - } - return nil -} - -func (x *ProtoTableCellSettings) GetRotation() *ProtoBoxedDouble { - if x != nil { - return x.Rotation - } - return nil -} - -func (x *ProtoTableCellSettings) GetDefaultParagraphFormat() *ProtoBoxedString { - if x != nil { - return x.DefaultParagraphFormat - } - return nil -} - -type ProtoTableWS struct { - state protoimpl.MessageState `protogen:"open.v1"` - MinLinesBefore uint32 `protobuf:"varint,1,opt,name=minLinesBefore,proto3" json:"minLinesBefore,omitempty"` - MinLinesAfter uint32 `protobuf:"varint,2,opt,name=minLinesAfter,proto3" json:"minLinesAfter,omitempty"` - Priority uint32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableWS) Reset() { - *x = ProtoTableWS{} - mi := &file_build_docframe_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableWS) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableWS) ProtoMessage() {} - -func (x *ProtoTableWS) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[67] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableWS.ProtoReflect.Descriptor instead. -func (*ProtoTableWS) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{67} -} - -func (x *ProtoTableWS) GetMinLinesBefore() uint32 { - if x != nil { - return x.MinLinesBefore - } - return 0 -} - -func (x *ProtoTableWS) GetMinLinesAfter() uint32 { - if x != nil { - return x.MinLinesAfter - } - return 0 -} - -func (x *ProtoTableWS) GetPriority() uint32 { - if x != nil { - return x.Priority - } - return 0 -} - -type ProtoTableElementProperties struct { - state protoimpl.MessageState `protogen:"open.v1"` - WidthInheritance Inheritance `protobuf:"varint,1,opt,name=widthInheritance,proto3,enum=Inheritance" json:"widthInheritance,omitempty"` - Width *ProtoMeasure `protobuf:"bytes,2,opt,name=width,proto3" json:"width,omitempty"` - WidthCode string `protobuf:"bytes,3,opt,name=widthCode,proto3" json:"widthCode,omitempty"` - AlignInheritance Inheritance `protobuf:"varint,4,opt,name=alignInheritance,proto3,enum=Inheritance" json:"alignInheritance,omitempty"` - Align *ProtoBoxedHorizontalAlignment `protobuf:"bytes,5,opt,name=align,proto3" json:"align,omitempty"` - AlignCode string `protobuf:"bytes,6,opt,name=alignCode,proto3" json:"alignCode,omitempty"` - ValignInheritance Inheritance `protobuf:"varint,7,opt,name=valignInheritance,proto3,enum=Inheritance" json:"valignInheritance,omitempty"` - Valign *ProtoBoxedVerticalAlignment `protobuf:"bytes,8,opt,name=valign,proto3" json:"valign,omitempty"` - ValignCode string `protobuf:"bytes,9,opt,name=valignCode,proto3" json:"valignCode,omitempty"` - BackgroundColorInheritance Inheritance `protobuf:"varint,10,opt,name=backgroundColorInheritance,proto3,enum=Inheritance" json:"backgroundColorInheritance,omitempty"` - BackgroundColor []*ProtoColor `protobuf:"bytes,11,rep,name=backgroundColor,proto3" json:"backgroundColor,omitempty"` - BackgroundColorCode string `protobuf:"bytes,12,opt,name=backgroundColorCode,proto3" json:"backgroundColorCode,omitempty"` - PaddingTopInheritance Inheritance `protobuf:"varint,13,opt,name=paddingTopInheritance,proto3,enum=Inheritance" json:"paddingTopInheritance,omitempty"` - PaddingTop *ProtoMeasure `protobuf:"bytes,14,opt,name=paddingTop,proto3" json:"paddingTop,omitempty"` - PaddingTopCode string `protobuf:"bytes,15,opt,name=paddingTopCode,proto3" json:"paddingTopCode,omitempty"` - PaddingRightInheritance Inheritance `protobuf:"varint,16,opt,name=paddingRightInheritance,proto3,enum=Inheritance" json:"paddingRightInheritance,omitempty"` - PaddingRight *ProtoMeasure `protobuf:"bytes,17,opt,name=paddingRight,proto3" json:"paddingRight,omitempty"` - PaddingRightCode string `protobuf:"bytes,18,opt,name=paddingRightCode,proto3" json:"paddingRightCode,omitempty"` - PaddingBottomInheritance Inheritance `protobuf:"varint,19,opt,name=paddingBottomInheritance,proto3,enum=Inheritance" json:"paddingBottomInheritance,omitempty"` - PaddingBottom *ProtoMeasure `protobuf:"bytes,20,opt,name=paddingBottom,proto3" json:"paddingBottom,omitempty"` - PaddingBottomCode string `protobuf:"bytes,21,opt,name=paddingBottomCode,proto3" json:"paddingBottomCode,omitempty"` - PaddingLeftInheritance Inheritance `protobuf:"varint,22,opt,name=paddingLeftInheritance,proto3,enum=Inheritance" json:"paddingLeftInheritance,omitempty"` - PaddingLeft *ProtoMeasure `protobuf:"bytes,23,opt,name=paddingLeft,proto3" json:"paddingLeft,omitempty"` - PaddingLeftCode string `protobuf:"bytes,24,opt,name=paddingLeftCode,proto3" json:"paddingLeftCode,omitempty"` - BorderTopColorInheritance Inheritance `protobuf:"varint,25,opt,name=borderTopColorInheritance,proto3,enum=Inheritance" json:"borderTopColorInheritance,omitempty"` - BorderTopColor *ProtoColor `protobuf:"bytes,26,opt,name=borderTopColor,proto3" json:"borderTopColor,omitempty"` - BorderTopColorCode string `protobuf:"bytes,27,opt,name=borderTopColorCode,proto3" json:"borderTopColorCode,omitempty"` - BorderTopWeightInheritance Inheritance `protobuf:"varint,28,opt,name=borderTopWeightInheritance,proto3,enum=Inheritance" json:"borderTopWeightInheritance,omitempty"` - BorderTopWeight *ProtoMeasure `protobuf:"bytes,29,opt,name=borderTopWeight,proto3" json:"borderTopWeight,omitempty"` - BorderTopWeightCode string `protobuf:"bytes,30,opt,name=borderTopWeightCode,proto3" json:"borderTopWeightCode,omitempty"` - BorderRightColorInheritance Inheritance `protobuf:"varint,31,opt,name=borderRightColorInheritance,proto3,enum=Inheritance" json:"borderRightColorInheritance,omitempty"` - BorderRightColor *ProtoColor `protobuf:"bytes,32,opt,name=borderRightColor,proto3" json:"borderRightColor,omitempty"` - BorderRightColorCode string `protobuf:"bytes,33,opt,name=borderRightColorCode,proto3" json:"borderRightColorCode,omitempty"` - BorderRightWeightInheritance Inheritance `protobuf:"varint,34,opt,name=borderRightWeightInheritance,proto3,enum=Inheritance" json:"borderRightWeightInheritance,omitempty"` - BorderRightWeight *ProtoMeasure `protobuf:"bytes,35,opt,name=borderRightWeight,proto3" json:"borderRightWeight,omitempty"` - BorderRightWeightCode string `protobuf:"bytes,36,opt,name=borderRightWeightCode,proto3" json:"borderRightWeightCode,omitempty"` - BorderBottomColorInheritance Inheritance `protobuf:"varint,37,opt,name=borderBottomColorInheritance,proto3,enum=Inheritance" json:"borderBottomColorInheritance,omitempty"` - BorderBottomColor *ProtoColor `protobuf:"bytes,38,opt,name=borderBottomColor,proto3" json:"borderBottomColor,omitempty"` - BorderBottomColorCode string `protobuf:"bytes,39,opt,name=borderBottomColorCode,proto3" json:"borderBottomColorCode,omitempty"` - BorderBottomWeightInheritance Inheritance `protobuf:"varint,40,opt,name=borderBottomWeightInheritance,proto3,enum=Inheritance" json:"borderBottomWeightInheritance,omitempty"` - BorderBottomWeight *ProtoMeasure `protobuf:"bytes,41,opt,name=borderBottomWeight,proto3" json:"borderBottomWeight,omitempty"` - BorderBottomWeightCode string `protobuf:"bytes,42,opt,name=borderBottomWeightCode,proto3" json:"borderBottomWeightCode,omitempty"` - BorderLeftColorInheritance Inheritance `protobuf:"varint,43,opt,name=borderLeftColorInheritance,proto3,enum=Inheritance" json:"borderLeftColorInheritance,omitempty"` - BorderLeftColor *ProtoColor `protobuf:"bytes,44,opt,name=borderLeftColor,proto3" json:"borderLeftColor,omitempty"` - BorderLeftColorCode string `protobuf:"bytes,45,opt,name=borderLeftColorCode,proto3" json:"borderLeftColorCode,omitempty"` - BorderLeftWeightInheritance Inheritance `protobuf:"varint,46,opt,name=borderLeftWeightInheritance,proto3,enum=Inheritance" json:"borderLeftWeightInheritance,omitempty"` - BorderLeftWeight *ProtoMeasure `protobuf:"bytes,47,opt,name=borderLeftWeight,proto3" json:"borderLeftWeight,omitempty"` - BorderLeftWeightCode string `protobuf:"bytes,48,opt,name=borderLeftWeightCode,proto3" json:"borderLeftWeightCode,omitempty"` - MarginTopInheritance Inheritance `protobuf:"varint,49,opt,name=marginTopInheritance,proto3,enum=Inheritance" json:"marginTopInheritance,omitempty"` - MarginTop *ProtoMeasure `protobuf:"bytes,50,opt,name=marginTop,proto3" json:"marginTop,omitempty"` - MarginTopCode string `protobuf:"bytes,51,opt,name=marginTopCode,proto3" json:"marginTopCode,omitempty"` - MarginRightInheritance Inheritance `protobuf:"varint,52,opt,name=marginRightInheritance,proto3,enum=Inheritance" json:"marginRightInheritance,omitempty"` - MarginRight *ProtoMeasure `protobuf:"bytes,53,opt,name=marginRight,proto3" json:"marginRight,omitempty"` - MarginRightCode string `protobuf:"bytes,54,opt,name=marginRightCode,proto3" json:"marginRightCode,omitempty"` - MarginBottomInheritance Inheritance `protobuf:"varint,55,opt,name=marginBottomInheritance,proto3,enum=Inheritance" json:"marginBottomInheritance,omitempty"` - MarginBottom *ProtoMeasure `protobuf:"bytes,56,opt,name=marginBottom,proto3" json:"marginBottom,omitempty"` - MarginBottomCode string `protobuf:"bytes,57,opt,name=marginBottomCode,proto3" json:"marginBottomCode,omitempty"` - MarginLeftInheritance Inheritance `protobuf:"varint,58,opt,name=marginLeftInheritance,proto3,enum=Inheritance" json:"marginLeftInheritance,omitempty"` - MarginLeft *ProtoMeasure `protobuf:"bytes,59,opt,name=marginLeft,proto3" json:"marginLeft,omitempty"` - MarginLeftCode string `protobuf:"bytes,60,opt,name=marginLeftCode,proto3" json:"marginLeftCode,omitempty"` - RotationInheritance Inheritance `protobuf:"varint,61,opt,name=rotationInheritance,proto3,enum=Inheritance" json:"rotationInheritance,omitempty"` - Rotation *ProtoBoxedDouble `protobuf:"bytes,62,opt,name=rotation,proto3" json:"rotation,omitempty"` - RotationCode string `protobuf:"bytes,63,opt,name=rotationCode,proto3" json:"rotationCode,omitempty"` - DefaultParagraphFormatUUIDInheritance Inheritance `protobuf:"varint,64,opt,name=defaultParagraphFormatUUIDInheritance,proto3,enum=Inheritance" json:"defaultParagraphFormatUUIDInheritance,omitempty"` - DefaultParagraphFormatUUID *ProtoBoxedString `protobuf:"bytes,65,opt,name=defaultParagraphFormatUUID,proto3" json:"defaultParagraphFormatUUID,omitempty"` - DefaultParagraphFormatUUIDCode string `protobuf:"bytes,66,opt,name=defaultParagraphFormatUUIDCode,proto3" json:"defaultParagraphFormatUUIDCode,omitempty"` - TableContentGroupTypeInheritance Inheritance `protobuf:"varint,67,opt,name=tableContentGroupTypeInheritance,proto3,enum=Inheritance" json:"tableContentGroupTypeInheritance,omitempty"` - TableContentGroupType *ProtoBoxedTableContentGroupType `protobuf:"bytes,68,opt,name=tableContentGroupType,proto3" json:"tableContentGroupType,omitempty"` - TableContentGroupTypeCode string `protobuf:"bytes,69,opt,name=tableContentGroupTypeCode,proto3" json:"tableContentGroupTypeCode,omitempty"` - CellTypeInheritance Inheritance `protobuf:"varint,70,opt,name=cellTypeInheritance,proto3,enum=Inheritance" json:"cellTypeInheritance,omitempty"` - CellType *ProtoBoxedTableCellType `protobuf:"bytes,71,opt,name=cellType,proto3" json:"cellType,omitempty"` - CellTypeCode string `protobuf:"bytes,72,opt,name=cellTypeCode,proto3" json:"cellTypeCode,omitempty"` - MinRowHeightInheritance Inheritance `protobuf:"varint,73,opt,name=minRowHeightInheritance,proto3,enum=Inheritance" json:"minRowHeightInheritance,omitempty"` - MinRowHeight *ProtoMeasure `protobuf:"bytes,74,opt,name=minRowHeight,proto3" json:"minRowHeight,omitempty"` - MinRowHeightCode string `protobuf:"bytes,75,opt,name=minRowHeightCode,proto3" json:"minRowHeightCode,omitempty"` - WsInheritance Inheritance `protobuf:"varint,76,opt,name=wsInheritance,proto3,enum=Inheritance" json:"wsInheritance,omitempty"` - Ws *ProtoTableWS `protobuf:"bytes,77,opt,name=ws,proto3" json:"ws,omitempty"` - WsCode string `protobuf:"bytes,78,opt,name=wsCode,proto3" json:"wsCode,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTableElementProperties) Reset() { - *x = ProtoTableElementProperties{} - mi := &file_build_docframe_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTableElementProperties) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTableElementProperties) ProtoMessage() {} - -func (x *ProtoTableElementProperties) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[68] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTableElementProperties.ProtoReflect.Descriptor instead. -func (*ProtoTableElementProperties) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{68} -} - -func (x *ProtoTableElementProperties) GetWidthInheritance() Inheritance { - if x != nil { - return x.WidthInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetWidth() *ProtoMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoTableElementProperties) GetWidthCode() string { - if x != nil { - return x.WidthCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetAlignInheritance() Inheritance { - if x != nil { - return x.AlignInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetAlign() *ProtoBoxedHorizontalAlignment { - if x != nil { - return x.Align - } - return nil -} - -func (x *ProtoTableElementProperties) GetAlignCode() string { - if x != nil { - return x.AlignCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetValignInheritance() Inheritance { - if x != nil { - return x.ValignInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetValign() *ProtoBoxedVerticalAlignment { - if x != nil { - return x.Valign - } - return nil -} - -func (x *ProtoTableElementProperties) GetValignCode() string { - if x != nil { - return x.ValignCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBackgroundColorInheritance() Inheritance { - if x != nil { - return x.BackgroundColorInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBackgroundColor() []*ProtoColor { - if x != nil { - return x.BackgroundColor - } - return nil -} - -func (x *ProtoTableElementProperties) GetBackgroundColorCode() string { - if x != nil { - return x.BackgroundColorCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetPaddingTopInheritance() Inheritance { - if x != nil { - return x.PaddingTopInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetPaddingTop() *ProtoMeasure { - if x != nil { - return x.PaddingTop - } - return nil -} - -func (x *ProtoTableElementProperties) GetPaddingTopCode() string { - if x != nil { - return x.PaddingTopCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetPaddingRightInheritance() Inheritance { - if x != nil { - return x.PaddingRightInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetPaddingRight() *ProtoMeasure { - if x != nil { - return x.PaddingRight - } - return nil -} - -func (x *ProtoTableElementProperties) GetPaddingRightCode() string { - if x != nil { - return x.PaddingRightCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetPaddingBottomInheritance() Inheritance { - if x != nil { - return x.PaddingBottomInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetPaddingBottom() *ProtoMeasure { - if x != nil { - return x.PaddingBottom - } - return nil -} - -func (x *ProtoTableElementProperties) GetPaddingBottomCode() string { - if x != nil { - return x.PaddingBottomCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetPaddingLeftInheritance() Inheritance { - if x != nil { - return x.PaddingLeftInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetPaddingLeft() *ProtoMeasure { - if x != nil { - return x.PaddingLeft - } - return nil -} - -func (x *ProtoTableElementProperties) GetPaddingLeftCode() string { - if x != nil { - return x.PaddingLeftCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBorderTopColorInheritance() Inheritance { - if x != nil { - return x.BorderTopColorInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBorderTopColor() *ProtoColor { - if x != nil { - return x.BorderTopColor - } - return nil -} - -func (x *ProtoTableElementProperties) GetBorderTopColorCode() string { - if x != nil { - return x.BorderTopColorCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBorderTopWeightInheritance() Inheritance { - if x != nil { - return x.BorderTopWeightInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBorderTopWeight() *ProtoMeasure { - if x != nil { - return x.BorderTopWeight - } - return nil -} - -func (x *ProtoTableElementProperties) GetBorderTopWeightCode() string { - if x != nil { - return x.BorderTopWeightCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBorderRightColorInheritance() Inheritance { - if x != nil { - return x.BorderRightColorInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBorderRightColor() *ProtoColor { - if x != nil { - return x.BorderRightColor - } - return nil -} - -func (x *ProtoTableElementProperties) GetBorderRightColorCode() string { - if x != nil { - return x.BorderRightColorCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBorderRightWeightInheritance() Inheritance { - if x != nil { - return x.BorderRightWeightInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBorderRightWeight() *ProtoMeasure { - if x != nil { - return x.BorderRightWeight - } - return nil -} - -func (x *ProtoTableElementProperties) GetBorderRightWeightCode() string { - if x != nil { - return x.BorderRightWeightCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBorderBottomColorInheritance() Inheritance { - if x != nil { - return x.BorderBottomColorInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBorderBottomColor() *ProtoColor { - if x != nil { - return x.BorderBottomColor - } - return nil -} - -func (x *ProtoTableElementProperties) GetBorderBottomColorCode() string { - if x != nil { - return x.BorderBottomColorCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBorderBottomWeightInheritance() Inheritance { - if x != nil { - return x.BorderBottomWeightInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBorderBottomWeight() *ProtoMeasure { - if x != nil { - return x.BorderBottomWeight - } - return nil -} - -func (x *ProtoTableElementProperties) GetBorderBottomWeightCode() string { - if x != nil { - return x.BorderBottomWeightCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBorderLeftColorInheritance() Inheritance { - if x != nil { - return x.BorderLeftColorInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBorderLeftColor() *ProtoColor { - if x != nil { - return x.BorderLeftColor - } - return nil -} - -func (x *ProtoTableElementProperties) GetBorderLeftColorCode() string { - if x != nil { - return x.BorderLeftColorCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetBorderLeftWeightInheritance() Inheritance { - if x != nil { - return x.BorderLeftWeightInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetBorderLeftWeight() *ProtoMeasure { - if x != nil { - return x.BorderLeftWeight - } - return nil -} - -func (x *ProtoTableElementProperties) GetBorderLeftWeightCode() string { - if x != nil { - return x.BorderLeftWeightCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetMarginTopInheritance() Inheritance { - if x != nil { - return x.MarginTopInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetMarginTop() *ProtoMeasure { - if x != nil { - return x.MarginTop - } - return nil -} - -func (x *ProtoTableElementProperties) GetMarginTopCode() string { - if x != nil { - return x.MarginTopCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetMarginRightInheritance() Inheritance { - if x != nil { - return x.MarginRightInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetMarginRight() *ProtoMeasure { - if x != nil { - return x.MarginRight - } - return nil -} - -func (x *ProtoTableElementProperties) GetMarginRightCode() string { - if x != nil { - return x.MarginRightCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetMarginBottomInheritance() Inheritance { - if x != nil { - return x.MarginBottomInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetMarginBottom() *ProtoMeasure { - if x != nil { - return x.MarginBottom - } - return nil -} - -func (x *ProtoTableElementProperties) GetMarginBottomCode() string { - if x != nil { - return x.MarginBottomCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetMarginLeftInheritance() Inheritance { - if x != nil { - return x.MarginLeftInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetMarginLeft() *ProtoMeasure { - if x != nil { - return x.MarginLeft - } - return nil -} - -func (x *ProtoTableElementProperties) GetMarginLeftCode() string { - if x != nil { - return x.MarginLeftCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetRotationInheritance() Inheritance { - if x != nil { - return x.RotationInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetRotation() *ProtoBoxedDouble { - if x != nil { - return x.Rotation - } - return nil -} - -func (x *ProtoTableElementProperties) GetRotationCode() string { - if x != nil { - return x.RotationCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetDefaultParagraphFormatUUIDInheritance() Inheritance { - if x != nil { - return x.DefaultParagraphFormatUUIDInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetDefaultParagraphFormatUUID() *ProtoBoxedString { - if x != nil { - return x.DefaultParagraphFormatUUID - } - return nil -} - -func (x *ProtoTableElementProperties) GetDefaultParagraphFormatUUIDCode() string { - if x != nil { - return x.DefaultParagraphFormatUUIDCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetTableContentGroupTypeInheritance() Inheritance { - if x != nil { - return x.TableContentGroupTypeInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetTableContentGroupType() *ProtoBoxedTableContentGroupType { - if x != nil { - return x.TableContentGroupType - } - return nil -} - -func (x *ProtoTableElementProperties) GetTableContentGroupTypeCode() string { - if x != nil { - return x.TableContentGroupTypeCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetCellTypeInheritance() Inheritance { - if x != nil { - return x.CellTypeInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetCellType() *ProtoBoxedTableCellType { - if x != nil { - return x.CellType - } - return nil -} - -func (x *ProtoTableElementProperties) GetCellTypeCode() string { - if x != nil { - return x.CellTypeCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetMinRowHeightInheritance() Inheritance { - if x != nil { - return x.MinRowHeightInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetMinRowHeight() *ProtoMeasure { - if x != nil { - return x.MinRowHeight - } - return nil -} - -func (x *ProtoTableElementProperties) GetMinRowHeightCode() string { - if x != nil { - return x.MinRowHeightCode - } - return "" -} - -func (x *ProtoTableElementProperties) GetWsInheritance() Inheritance { - if x != nil { - return x.WsInheritance - } - return Inheritance_INHERITANCE_INHERIT -} - -func (x *ProtoTableElementProperties) GetWs() *ProtoTableWS { - if x != nil { - return x.Ws - } - return nil -} - -func (x *ProtoTableElementProperties) GetWsCode() string { - if x != nil { - return x.WsCode - } - return "" -} - -type ProtoText struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,3,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoText) Reset() { - *x = ProtoText{} - mi := &file_build_docframe_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoText) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoText) ProtoMessage() {} - -func (x *ProtoText) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[69] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoText.ProtoReflect.Descriptor instead. -func (*ProtoText) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{69} -} - -func (x *ProtoText) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoText) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *ProtoText) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoBarcode struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type ProtoBarcodeType `protobuf:"varint,1,opt,name=type,proto3,enum=ProtoBarcodeType" json:"type,omitempty"` - X *ProtoMeasure `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"` - Y *ProtoMeasure `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"` - ReferencePoint ProtoImageReferencePoint `protobuf:"varint,4,opt,name=referencePoint,proto3,enum=ProtoImageReferencePoint" json:"referencePoint,omitempty"` - Rotation float32 `protobuf:"fixed32,5,opt,name=rotation,proto3" json:"rotation,omitempty"` - Width *ProtoMeasure `protobuf:"bytes,6,opt,name=width,proto3" json:"width,omitempty"` - Height *ProtoMeasure `protobuf:"bytes,7,opt,name=height,proto3" json:"height,omitempty"` - Padding *ProtoMeasure `protobuf:"bytes,8,opt,name=padding,proto3" json:"padding,omitempty"` - Data string `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"` - PositionAbsolute bool `protobuf:"varint,10,opt,name=positionAbsolute,proto3" json:"positionAbsolute,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,11,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - Uuid string `protobuf:"bytes,12,opt,name=uuid,proto3" json:"uuid,omitempty"` - Code string `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` - SwissQRData *ProtoSwissQRData `protobuf:"bytes,14,opt,name=swissQRData,proto3" json:"swissQRData,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBarcode) Reset() { - *x = ProtoBarcode{} - mi := &file_build_docframe_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBarcode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBarcode) ProtoMessage() {} - -func (x *ProtoBarcode) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[70] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBarcode.ProtoReflect.Descriptor instead. -func (*ProtoBarcode) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{70} -} - -func (x *ProtoBarcode) GetType() ProtoBarcodeType { - if x != nil { - return x.Type - } - return ProtoBarcodeType_PDF417 -} - -func (x *ProtoBarcode) GetX() *ProtoMeasure { - if x != nil { - return x.X - } - return nil -} - -func (x *ProtoBarcode) GetY() *ProtoMeasure { - if x != nil { - return x.Y - } - return nil -} - -func (x *ProtoBarcode) GetReferencePoint() ProtoImageReferencePoint { - if x != nil { - return x.ReferencePoint - } - return ProtoImageReferencePoint_REF_POINT_DO_NOT_USE_AT_ALL -} - -func (x *ProtoBarcode) GetRotation() float32 { - if x != nil { - return x.Rotation - } - return 0 -} - -func (x *ProtoBarcode) GetWidth() *ProtoMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoBarcode) GetHeight() *ProtoMeasure { - if x != nil { - return x.Height - } - return nil -} - -func (x *ProtoBarcode) GetPadding() *ProtoMeasure { - if x != nil { - return x.Padding - } - return nil -} - -func (x *ProtoBarcode) GetData() string { - if x != nil { - return x.Data - } - return "" -} - -func (x *ProtoBarcode) GetPositionAbsolute() bool { - if x != nil { - return x.PositionAbsolute - } - return false -} - -func (x *ProtoBarcode) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoBarcode) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoBarcode) GetCode() string { - if x != nil { - return x.Code - } - return "" -} - -func (x *ProtoBarcode) GetSwissQRData() *ProtoSwissQRData { - if x != nil { - return x.SwissQRData - } - return nil -} - -type ProtoBrickReference struct { - state protoimpl.MessageState `protogen:"open.v1"` - InternName string `protobuf:"bytes,1,opt,name=internName,proto3" json:"internName,omitempty"` - Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,3,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBrickReference) Reset() { - *x = ProtoBrickReference{} - mi := &file_build_docframe_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBrickReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBrickReference) ProtoMessage() {} - -func (x *ProtoBrickReference) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[71] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBrickReference.ProtoReflect.Descriptor instead. -func (*ProtoBrickReference) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{71} -} - -func (x *ProtoBrickReference) GetInternName() string { - if x != nil { - return x.InternName - } - return "" -} - -func (x *ProtoBrickReference) GetVersion() uint32 { - if x != nil { - return x.Version - } - return 0 -} - -func (x *ProtoBrickReference) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoBrick 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"` - Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` - InternName string `protobuf:"bytes,4,opt,name=internName,proto3" json:"internName,omitempty"` - Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` - Editable bool `protobuf:"varint,6,opt,name=editable,proto3" json:"editable,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,7,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoBrick) Reset() { - *x = ProtoBrick{} - mi := &file_build_docframe_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoBrick) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoBrick) ProtoMessage() {} - -func (x *ProtoBrick) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[72] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoBrick.ProtoReflect.Descriptor instead. -func (*ProtoBrick) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{72} -} - -func (x *ProtoBrick) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoBrick) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoBrick) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *ProtoBrick) GetInternName() string { - if x != nil { - return x.InternName - } - return "" -} - -func (x *ProtoBrick) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoBrick) GetEditable() bool { - if x != nil { - return x.Editable - } - return false -} - -func (x *ProtoBrick) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoBrick) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type ProtoTemplate 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"` - ColumnBalancing ColumnBalancing `protobuf:"varint,5,opt,name=columnBalancing,proto3,enum=ColumnBalancing" json:"columnBalancing,omitempty"` - SemanticType ProtoSemanticType `protobuf:"varint,6,opt,name=semanticType,proto3,enum=ProtoSemanticType" json:"semanticType,omitempty"` - TemplateUuid string `protobuf:"bytes,7,opt,name=templateUuid,proto3" json:"templateUuid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTemplate) Reset() { - *x = ProtoTemplate{} - mi := &file_build_docframe_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTemplate) ProtoMessage() {} - -func (x *ProtoTemplate) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[73] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTemplate.ProtoReflect.Descriptor instead. -func (*ProtoTemplate) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{73} -} - -func (x *ProtoTemplate) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoTemplate) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTemplate) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoTemplate) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoTemplate) GetColumnBalancing() ColumnBalancing { - if x != nil { - return x.ColumnBalancing - } - return ColumnBalancing_NO_BALANCING -} - -func (x *ProtoTemplate) GetSemanticType() ProtoSemanticType { - if x != nil { - return x.SemanticType - } - return ProtoSemanticType_SEMANTIC_TYPE_NONE -} - -func (x *ProtoTemplate) GetTemplateUuid() string { - if x != nil { - return x.TemplateUuid - } - return "" -} - -type ProtoHeader 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - Mode ProtoHeaderMode `protobuf:"varint,5,opt,name=mode,proto3,enum=ProtoHeaderMode" json:"mode,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoHeader) Reset() { - *x = ProtoHeader{} - mi := &file_build_docframe_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoHeader) ProtoMessage() {} - -func (x *ProtoHeader) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[74] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoHeader.ProtoReflect.Descriptor instead. -func (*ProtoHeader) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{74} -} - -func (x *ProtoHeader) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoHeader) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoHeader) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoHeader) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoHeader) GetMode() ProtoHeaderMode { - if x != nil { - return x.Mode - } - return ProtoHeaderMode_HEADER_MODE_APPEND_INITIAL -} - -type ProtoFooter 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - Mode ProtoFooterMode `protobuf:"varint,5,opt,name=mode,proto3,enum=ProtoFooterMode" json:"mode,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoFooter) Reset() { - *x = ProtoFooter{} - mi := &file_build_docframe_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoFooter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoFooter) ProtoMessage() {} - -func (x *ProtoFooter) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[75] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoFooter.ProtoReflect.Descriptor instead. -func (*ProtoFooter) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{75} -} - -func (x *ProtoFooter) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoFooter) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoFooter) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoFooter) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoFooter) GetMode() ProtoFooterMode { - if x != nil { - return x.Mode - } - return ProtoFooterMode_FOOTER_MODE_APPEND_INITIAL -} - -type Node struct { - state protoimpl.MessageState `protogen:"open.v1"` - Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"` - // Types that are valid to be assigned to Object: - // - // *Node_ListSetting - // *Node_ColorDef - // *Node_Brick - // *Node_Template - // *Node_Formatted - // *Node_Image - // *Node_ParagraphFormat - // *Node_TextBrick - // *Node_Text - // *Node_Linebreak - // *Node_SpaceVertically - // *Node_Footer - // *Node_Header - // *Node_Table - // *Node_TableRow - // *Node_TableCell - // *Node_CDef - // *Node_PDef - // *Node_ApplyCDef - // *Node_ApplyPDef - // *Node_ApplyPtConfig - // *Node_ApplyUlConfig - // *Node_PtConfig - // *Node_UlConfig - // *Node_NewPage - // *Node_Variable - // *Node_NamedString - // *Node_Paragraph - // *Node_Section - // *Node_Span - // *Node_Link - // *Node_Directory - // *Node_TableContentGroup - // *Node_TableConfig - // *Node_TableCellConfig - // *Node_TableRowConfig - // *Node_TableContentGroupConfig - // *Node_BrickReference - // *Node_Indentation - // *Node_Barcode - // *Node_WsArea - // *Node_CarryOver - // *Node_SubTotal - // *Node_Loop - // *Node_LoopEntry - // *Node_Rule - // *Node_Layout - // *Node_AdvancedIllustrationArea - // *Node_AdjustHorizontally - // *Node_DoctypeScript - // *Node_DmScript - // *Node_DynamicTemplate - // *Node_Selection - // *Node_SelectionEntry - // *Node_Condition - // *Node_PageCondition - // *Node_Locale - // *Node_Tag - // *Node_ParagraphSetDefault - // *Node_InputFieldText - // *Node_InputFieldDate - // *Node_InputFieldCheckbox - // *Node_InputFieldLabel - // *Node_InputFieldDropdown - Object isNode_Object `protobuf_oneof:"object"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Node) Reset() { - *x = Node{} - mi := &file_build_docframe_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Node) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Node) ProtoMessage() {} - -func (x *Node) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[76] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Node.ProtoReflect.Descriptor instead. -func (*Node) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{76} -} - -func (x *Node) GetChildren() []*Node { - if x != nil { - return x.Children - } - return nil -} - -func (x *Node) GetObject() isNode_Object { - if x != nil { - return x.Object - } - return nil -} - -func (x *Node) GetListSetting() *ProtoListSetting { - if x != nil { - if x, ok := x.Object.(*Node_ListSetting); ok { - return x.ListSetting - } - } - return nil -} - -func (x *Node) GetColorDef() *ProtoColorDef { - if x != nil { - if x, ok := x.Object.(*Node_ColorDef); ok { - return x.ColorDef - } - } - return nil -} - -func (x *Node) GetBrick() *ProtoBrick { - if x != nil { - if x, ok := x.Object.(*Node_Brick); ok { - return x.Brick - } - } - return nil -} - -func (x *Node) GetTemplate() *ProtoTemplate { - if x != nil { - if x, ok := x.Object.(*Node_Template); ok { - return x.Template - } - } - return nil -} - -func (x *Node) GetFormatted() *ProtoFormatted { - if x != nil { - if x, ok := x.Object.(*Node_Formatted); ok { - return x.Formatted - } - } - return nil -} - -func (x *Node) GetImage() *ProtoImage { - if x != nil { - if x, ok := x.Object.(*Node_Image); ok { - return x.Image - } - } - return nil -} - -func (x *Node) GetParagraphFormat() *ProtoParagraphFormat { - if x != nil { - if x, ok := x.Object.(*Node_ParagraphFormat); ok { - return x.ParagraphFormat - } - } - return nil -} - -func (x *Node) GetTextBrick() *ProtoTextBrick { - if x != nil { - if x, ok := x.Object.(*Node_TextBrick); ok { - return x.TextBrick - } - } - return nil -} - -func (x *Node) GetText() *ProtoText { - if x != nil { - if x, ok := x.Object.(*Node_Text); ok { - return x.Text - } - } - return nil -} - -func (x *Node) GetLinebreak() *ProtoLinebreak { - if x != nil { - if x, ok := x.Object.(*Node_Linebreak); ok { - return x.Linebreak - } - } - return nil -} - -func (x *Node) GetSpaceVertically() *ProtoSpaceVertically { - if x != nil { - if x, ok := x.Object.(*Node_SpaceVertically); ok { - return x.SpaceVertically - } - } - return nil -} - -func (x *Node) GetFooter() *ProtoFooter { - if x != nil { - if x, ok := x.Object.(*Node_Footer); ok { - return x.Footer - } - } - return nil -} - -func (x *Node) GetHeader() *ProtoHeader { - if x != nil { - if x, ok := x.Object.(*Node_Header); ok { - return x.Header - } - } - return nil -} - -func (x *Node) GetTable() *ProtoTable { - if x != nil { - if x, ok := x.Object.(*Node_Table); ok { - return x.Table - } - } - return nil -} - -func (x *Node) GetTableRow() *ProtoTableRow { - if x != nil { - if x, ok := x.Object.(*Node_TableRow); ok { - return x.TableRow - } - } - return nil -} - -func (x *Node) GetTableCell() *ProtoTableCell { - if x != nil { - if x, ok := x.Object.(*Node_TableCell); ok { - return x.TableCell - } - } - return nil -} - -func (x *Node) GetCDef() *ProtoCDef { - if x != nil { - if x, ok := x.Object.(*Node_CDef); ok { - return x.CDef - } - } - return nil -} - -func (x *Node) GetPDef() *ProtoPDef { - if x != nil { - if x, ok := x.Object.(*Node_PDef); ok { - return x.PDef - } - } - return nil -} - -func (x *Node) GetApplyCDef() *ProtoApplyProtoCDef { - if x != nil { - if x, ok := x.Object.(*Node_ApplyCDef); ok { - return x.ApplyCDef - } - } - return nil -} - -func (x *Node) GetApplyPDef() *ProtoApplyProtoPDef { - if x != nil { - if x, ok := x.Object.(*Node_ApplyPDef); ok { - return x.ApplyPDef - } - } - return nil -} - -func (x *Node) GetApplyPtConfig() *ProtoApplyPtConfig { - if x != nil { - if x, ok := x.Object.(*Node_ApplyPtConfig); ok { - return x.ApplyPtConfig - } - } - return nil -} - -func (x *Node) GetApplyUlConfig() *ProtoApplyUlConfig { - if x != nil { - if x, ok := x.Object.(*Node_ApplyUlConfig); ok { - return x.ApplyUlConfig - } - } - return nil -} - -func (x *Node) GetPtConfig() *ProtoPtConfig { - if x != nil { - if x, ok := x.Object.(*Node_PtConfig); ok { - return x.PtConfig - } - } - return nil -} - -func (x *Node) GetUlConfig() *ProtoUlConfig { - if x != nil { - if x, ok := x.Object.(*Node_UlConfig); ok { - return x.UlConfig - } - } - return nil -} - -func (x *Node) GetNewPage() *ProtoNewPage { - if x != nil { - if x, ok := x.Object.(*Node_NewPage); ok { - return x.NewPage - } - } - return nil -} - -func (x *Node) GetVariable() *ProtoVariable { - if x != nil { - if x, ok := x.Object.(*Node_Variable); ok { - return x.Variable - } - } - return nil -} - -func (x *Node) GetNamedString() *ProtoNamedString { - if x != nil { - if x, ok := x.Object.(*Node_NamedString); ok { - return x.NamedString - } - } - return nil -} - -func (x *Node) GetParagraph() *ProtoParagraph { - if x != nil { - if x, ok := x.Object.(*Node_Paragraph); ok { - return x.Paragraph - } - } - return nil -} - -func (x *Node) GetSection() *ProtoSection { - if x != nil { - if x, ok := x.Object.(*Node_Section); ok { - return x.Section - } - } - return nil -} - -func (x *Node) GetSpan() *ProtoSpan { - if x != nil { - if x, ok := x.Object.(*Node_Span); ok { - return x.Span - } - } - return nil -} - -func (x *Node) GetLink() *ProtoLink { - if x != nil { - if x, ok := x.Object.(*Node_Link); ok { - return x.Link - } - } - return nil -} - -func (x *Node) GetDirectory() *ProtoDirectory { - if x != nil { - if x, ok := x.Object.(*Node_Directory); ok { - return x.Directory - } - } - return nil -} - -func (x *Node) GetTableContentGroup() *ProtoTableContentGroup { - if x != nil { - if x, ok := x.Object.(*Node_TableContentGroup); ok { - return x.TableContentGroup - } - } - return nil -} - -func (x *Node) GetTableConfig() *ProtoTableConfig { - if x != nil { - if x, ok := x.Object.(*Node_TableConfig); ok { - return x.TableConfig - } - } - return nil -} - -func (x *Node) GetTableCellConfig() *ProtoTableCellConfig { - if x != nil { - if x, ok := x.Object.(*Node_TableCellConfig); ok { - return x.TableCellConfig - } - } - return nil -} - -func (x *Node) GetTableRowConfig() *ProtoTableRowConfig { - if x != nil { - if x, ok := x.Object.(*Node_TableRowConfig); ok { - return x.TableRowConfig - } - } - return nil -} - -func (x *Node) GetTableContentGroupConfig() *ProtoTableContentGroupConfig { - if x != nil { - if x, ok := x.Object.(*Node_TableContentGroupConfig); ok { - return x.TableContentGroupConfig - } - } - return nil -} - -func (x *Node) GetBrickReference() *ProtoBrickReference { - if x != nil { - if x, ok := x.Object.(*Node_BrickReference); ok { - return x.BrickReference - } - } - return nil -} - -func (x *Node) GetIndentation() *ProtoIndentation { - if x != nil { - if x, ok := x.Object.(*Node_Indentation); ok { - return x.Indentation - } - } - return nil -} - -func (x *Node) GetBarcode() *ProtoBarcode { - if x != nil { - if x, ok := x.Object.(*Node_Barcode); ok { - return x.Barcode - } - } - return nil -} - -func (x *Node) GetWsArea() *ProtoWsArea { - if x != nil { - if x, ok := x.Object.(*Node_WsArea); ok { - return x.WsArea - } - } - return nil -} - -func (x *Node) GetCarryOver() *ProtoCarryOver { - if x != nil { - if x, ok := x.Object.(*Node_CarryOver); ok { - return x.CarryOver - } - } - return nil -} - -func (x *Node) GetSubTotal() *ProtoSubTotal { - if x != nil { - if x, ok := x.Object.(*Node_SubTotal); ok { - return x.SubTotal - } - } - return nil -} - -func (x *Node) GetLoop() *ProtoLoop { - if x != nil { - if x, ok := x.Object.(*Node_Loop); ok { - return x.Loop - } - } - return nil -} - -func (x *Node) GetLoopEntry() *ProtoLoopEntry { - if x != nil { - if x, ok := x.Object.(*Node_LoopEntry); ok { - return x.LoopEntry - } - } - return nil -} - -func (x *Node) GetRule() *ProtoRule { - if x != nil { - if x, ok := x.Object.(*Node_Rule); ok { - return x.Rule - } - } - return nil -} - -func (x *Node) GetLayout() *ProtoLayout { - if x != nil { - if x, ok := x.Object.(*Node_Layout); ok { - return x.Layout - } - } - return nil -} - -func (x *Node) GetAdvancedIllustrationArea() *ProtoAdvancedIllustrationArea { - if x != nil { - if x, ok := x.Object.(*Node_AdvancedIllustrationArea); ok { - return x.AdvancedIllustrationArea - } - } - return nil -} - -func (x *Node) GetAdjustHorizontally() *ProtoAdjustHorizontally { - if x != nil { - if x, ok := x.Object.(*Node_AdjustHorizontally); ok { - return x.AdjustHorizontally - } - } - return nil -} - -func (x *Node) GetDoctypeScript() *ProtoDoctypeScript { - if x != nil { - if x, ok := x.Object.(*Node_DoctypeScript); ok { - return x.DoctypeScript - } - } - return nil -} - -func (x *Node) GetDmScript() *ProtoDmScript { - if x != nil { - if x, ok := x.Object.(*Node_DmScript); ok { - return x.DmScript - } - } - return nil -} - -func (x *Node) GetDynamicTemplate() *ProtoDynamicTemplate { - if x != nil { - if x, ok := x.Object.(*Node_DynamicTemplate); ok { - return x.DynamicTemplate - } - } - return nil -} - -func (x *Node) GetSelection() *ProtoSelection { - if x != nil { - if x, ok := x.Object.(*Node_Selection); ok { - return x.Selection - } - } - return nil -} - -func (x *Node) GetSelectionEntry() *ProtoSelectionEntry { - if x != nil { - if x, ok := x.Object.(*Node_SelectionEntry); ok { - return x.SelectionEntry - } - } - return nil -} - -func (x *Node) GetCondition() *ProtoCondition { - if x != nil { - if x, ok := x.Object.(*Node_Condition); ok { - return x.Condition - } - } - return nil -} - -func (x *Node) GetPageCondition() *ProtoPageCondition { - if x != nil { - if x, ok := x.Object.(*Node_PageCondition); ok { - return x.PageCondition - } - } - return nil -} - -func (x *Node) GetLocale() *ProtoLocale { - if x != nil { - if x, ok := x.Object.(*Node_Locale); ok { - return x.Locale - } - } - return nil -} - -func (x *Node) GetTag() *ProtoTag { - if x != nil { - if x, ok := x.Object.(*Node_Tag); ok { - return x.Tag - } - } - return nil -} - -func (x *Node) GetParagraphSetDefault() *ProtoParagraphSetDefault { - if x != nil { - if x, ok := x.Object.(*Node_ParagraphSetDefault); ok { - return x.ParagraphSetDefault - } - } - return nil -} - -func (x *Node) GetInputFieldText() *ProtoInputFieldText { - if x != nil { - if x, ok := x.Object.(*Node_InputFieldText); ok { - return x.InputFieldText - } - } - return nil -} - -func (x *Node) GetInputFieldDate() *ProtoInputFieldDate { - if x != nil { - if x, ok := x.Object.(*Node_InputFieldDate); ok { - return x.InputFieldDate - } - } - return nil -} - -func (x *Node) GetInputFieldCheckbox() *ProtoInputFieldCheckbox { - if x != nil { - if x, ok := x.Object.(*Node_InputFieldCheckbox); ok { - return x.InputFieldCheckbox - } - } - return nil -} - -func (x *Node) GetInputFieldLabel() *ProtoInputFieldLabel { - if x != nil { - if x, ok := x.Object.(*Node_InputFieldLabel); ok { - return x.InputFieldLabel - } - } - return nil -} - -func (x *Node) GetInputFieldDropdown() *ProtoInputFieldDropdown { - if x != nil { - if x, ok := x.Object.(*Node_InputFieldDropdown); ok { - return x.InputFieldDropdown - } - } - return nil -} - -type isNode_Object interface { - isNode_Object() -} - -type Node_ListSetting struct { - ListSetting *ProtoListSetting `protobuf:"bytes,2,opt,name=list_setting,json=listSetting,proto3,oneof"` -} - -type Node_ColorDef struct { - ColorDef *ProtoColorDef `protobuf:"bytes,3,opt,name=colorDef,proto3,oneof"` -} - -type Node_Brick struct { - Brick *ProtoBrick `protobuf:"bytes,4,opt,name=brick,proto3,oneof"` -} - -type Node_Template struct { - Template *ProtoTemplate `protobuf:"bytes,5,opt,name=template,proto3,oneof"` -} - -type Node_Formatted struct { - Formatted *ProtoFormatted `protobuf:"bytes,6,opt,name=formatted,proto3,oneof"` -} - -type Node_Image struct { - Image *ProtoImage `protobuf:"bytes,7,opt,name=image,proto3,oneof"` -} - -type Node_ParagraphFormat struct { - ParagraphFormat *ProtoParagraphFormat `protobuf:"bytes,8,opt,name=paragraph_format,json=paragraphFormat,proto3,oneof"` -} - -type Node_TextBrick struct { - TextBrick *ProtoTextBrick `protobuf:"bytes,9,opt,name=text_brick,json=textBrick,proto3,oneof"` -} - -type Node_Text struct { - Text *ProtoText `protobuf:"bytes,10,opt,name=text,proto3,oneof"` -} - -type Node_Linebreak struct { - Linebreak *ProtoLinebreak `protobuf:"bytes,11,opt,name=linebreak,proto3,oneof"` -} - -type Node_SpaceVertically struct { - SpaceVertically *ProtoSpaceVertically `protobuf:"bytes,12,opt,name=space_vertically,json=spaceVertically,proto3,oneof"` -} - -type Node_Footer struct { - Footer *ProtoFooter `protobuf:"bytes,13,opt,name=footer,proto3,oneof"` -} - -type Node_Header struct { - Header *ProtoHeader `protobuf:"bytes,14,opt,name=header,proto3,oneof"` -} - -type Node_Table struct { - Table *ProtoTable `protobuf:"bytes,15,opt,name=table,proto3,oneof"` -} - -type Node_TableRow struct { - TableRow *ProtoTableRow `protobuf:"bytes,16,opt,name=table_row,json=tableRow,proto3,oneof"` -} - -type Node_TableCell struct { - TableCell *ProtoTableCell `protobuf:"bytes,17,opt,name=table_cell,json=tableCell,proto3,oneof"` -} - -type Node_CDef struct { - CDef *ProtoCDef `protobuf:"bytes,18,opt,name=c_def,json=cDef,proto3,oneof"` -} - -type Node_PDef struct { - PDef *ProtoPDef `protobuf:"bytes,19,opt,name=p_def,json=pDef,proto3,oneof"` -} - -type Node_ApplyCDef struct { - ApplyCDef *ProtoApplyProtoCDef `protobuf:"bytes,20,opt,name=apply_c_def,json=applyCDef,proto3,oneof"` -} - -type Node_ApplyPDef struct { - ApplyPDef *ProtoApplyProtoPDef `protobuf:"bytes,21,opt,name=apply_p_def,json=applyPDef,proto3,oneof"` -} - -type Node_ApplyPtConfig struct { - ApplyPtConfig *ProtoApplyPtConfig `protobuf:"bytes,22,opt,name=apply_pt_config,json=applyPtConfig,proto3,oneof"` -} - -type Node_ApplyUlConfig struct { - ApplyUlConfig *ProtoApplyUlConfig `protobuf:"bytes,23,opt,name=apply_ul_config,json=applyUlConfig,proto3,oneof"` -} - -type Node_PtConfig struct { - PtConfig *ProtoPtConfig `protobuf:"bytes,24,opt,name=pt_config,json=ptConfig,proto3,oneof"` -} - -type Node_UlConfig struct { - UlConfig *ProtoUlConfig `protobuf:"bytes,25,opt,name=ul_config,json=ulConfig,proto3,oneof"` -} - -type Node_NewPage struct { - NewPage *ProtoNewPage `protobuf:"bytes,26,opt,name=new_page,json=newPage,proto3,oneof"` -} - -type Node_Variable struct { - Variable *ProtoVariable `protobuf:"bytes,27,opt,name=variable,proto3,oneof"` -} - -type Node_NamedString struct { - NamedString *ProtoNamedString `protobuf:"bytes,28,opt,name=named_string,json=namedString,proto3,oneof"` -} - -type Node_Paragraph struct { - Paragraph *ProtoParagraph `protobuf:"bytes,30,opt,name=paragraph,proto3,oneof"` -} - -type Node_Section struct { - Section *ProtoSection `protobuf:"bytes,31,opt,name=section,proto3,oneof"` -} - -type Node_Span struct { - Span *ProtoSpan `protobuf:"bytes,32,opt,name=span,proto3,oneof"` -} - -type Node_Link struct { - Link *ProtoLink `protobuf:"bytes,33,opt,name=link,proto3,oneof"` -} - -type Node_Directory struct { - Directory *ProtoDirectory `protobuf:"bytes,34,opt,name=directory,proto3,oneof"` -} - -type Node_TableContentGroup struct { - TableContentGroup *ProtoTableContentGroup `protobuf:"bytes,35,opt,name=table_content_group,json=tableContentGroup,proto3,oneof"` -} - -type Node_TableConfig struct { - TableConfig *ProtoTableConfig `protobuf:"bytes,36,opt,name=table_config,json=tableConfig,proto3,oneof"` -} - -type Node_TableCellConfig struct { - TableCellConfig *ProtoTableCellConfig `protobuf:"bytes,37,opt,name=table_cell_config,json=tableCellConfig,proto3,oneof"` -} - -type Node_TableRowConfig struct { - TableRowConfig *ProtoTableRowConfig `protobuf:"bytes,38,opt,name=table_row_config,json=tableRowConfig,proto3,oneof"` -} - -type Node_TableContentGroupConfig struct { - TableContentGroupConfig *ProtoTableContentGroupConfig `protobuf:"bytes,39,opt,name=table_content_group_config,json=tableContentGroupConfig,proto3,oneof"` -} - -type Node_BrickReference struct { - BrickReference *ProtoBrickReference `protobuf:"bytes,40,opt,name=brick_reference,json=brickReference,proto3,oneof"` -} - -type Node_Indentation struct { - Indentation *ProtoIndentation `protobuf:"bytes,55,opt,name=indentation,proto3,oneof"` -} - -type Node_Barcode struct { - Barcode *ProtoBarcode `protobuf:"bytes,56,opt,name=barcode,proto3,oneof"` -} - -type Node_WsArea struct { - WsArea *ProtoWsArea `protobuf:"bytes,57,opt,name=ws_area,json=wsArea,proto3,oneof"` -} - -type Node_CarryOver struct { - CarryOver *ProtoCarryOver `protobuf:"bytes,58,opt,name=carry_over,json=carryOver,proto3,oneof"` -} - -type Node_SubTotal struct { - SubTotal *ProtoSubTotal `protobuf:"bytes,59,opt,name=sub_total,json=subTotal,proto3,oneof"` -} - -type Node_Loop struct { - Loop *ProtoLoop `protobuf:"bytes,60,opt,name=loop,proto3,oneof"` -} - -type Node_LoopEntry struct { - LoopEntry *ProtoLoopEntry `protobuf:"bytes,61,opt,name=loop_entry,json=loopEntry,proto3,oneof"` -} - -type Node_Rule struct { - Rule *ProtoRule `protobuf:"bytes,62,opt,name=rule,proto3,oneof"` -} - -type Node_Layout struct { - Layout *ProtoLayout `protobuf:"bytes,63,opt,name=layout,proto3,oneof"` -} - -type Node_AdvancedIllustrationArea struct { - AdvancedIllustrationArea *ProtoAdvancedIllustrationArea `protobuf:"bytes,64,opt,name=advanced_illustration_area,json=advancedIllustrationArea,proto3,oneof"` -} - -type Node_AdjustHorizontally struct { - AdjustHorizontally *ProtoAdjustHorizontally `protobuf:"bytes,65,opt,name=adjust_horizontally,json=adjustHorizontally,proto3,oneof"` -} - -type Node_DoctypeScript struct { - DoctypeScript *ProtoDoctypeScript `protobuf:"bytes,66,opt,name=doctypeScript,proto3,oneof"` -} - -type Node_DmScript struct { - DmScript *ProtoDmScript `protobuf:"bytes,67,opt,name=dmScript,proto3,oneof"` -} - -type Node_DynamicTemplate struct { - DynamicTemplate *ProtoDynamicTemplate `protobuf:"bytes,68,opt,name=dynamic_template,json=dynamicTemplate,proto3,oneof"` -} - -type Node_Selection struct { - Selection *ProtoSelection `protobuf:"bytes,69,opt,name=selection,proto3,oneof"` -} - -type Node_SelectionEntry struct { - SelectionEntry *ProtoSelectionEntry `protobuf:"bytes,70,opt,name=selection_entry,json=selectionEntry,proto3,oneof"` -} - -type Node_Condition struct { - Condition *ProtoCondition `protobuf:"bytes,71,opt,name=condition,proto3,oneof"` -} - -type Node_PageCondition struct { - PageCondition *ProtoPageCondition `protobuf:"bytes,72,opt,name=page_condition,json=pageCondition,proto3,oneof"` -} - -type Node_Locale struct { - Locale *ProtoLocale `protobuf:"bytes,73,opt,name=locale,proto3,oneof"` -} - -type Node_Tag struct { - Tag *ProtoTag `protobuf:"bytes,74,opt,name=tag,proto3,oneof"` -} - -type Node_ParagraphSetDefault struct { - ParagraphSetDefault *ProtoParagraphSetDefault `protobuf:"bytes,75,opt,name=paragraph_set_default,json=paragraphSetDefault,proto3,oneof"` -} - -type Node_InputFieldText struct { - InputFieldText *ProtoInputFieldText `protobuf:"bytes,76,opt,name=input_field_text,json=inputFieldText,proto3,oneof"` -} - -type Node_InputFieldDate struct { - InputFieldDate *ProtoInputFieldDate `protobuf:"bytes,77,opt,name=input_field_date,json=inputFieldDate,proto3,oneof"` -} - -type Node_InputFieldCheckbox struct { - InputFieldCheckbox *ProtoInputFieldCheckbox `protobuf:"bytes,78,opt,name=input_field_checkbox,json=inputFieldCheckbox,proto3,oneof"` -} - -type Node_InputFieldLabel struct { - InputFieldLabel *ProtoInputFieldLabel `protobuf:"bytes,79,opt,name=input_field_label,json=inputFieldLabel,proto3,oneof"` -} - -type Node_InputFieldDropdown struct { - InputFieldDropdown *ProtoInputFieldDropdown `protobuf:"bytes,80,opt,name=input_field_dropdown,json=inputFieldDropdown,proto3,oneof"` -} - -func (*Node_ListSetting) isNode_Object() {} - -func (*Node_ColorDef) isNode_Object() {} - -func (*Node_Brick) isNode_Object() {} - -func (*Node_Template) isNode_Object() {} - -func (*Node_Formatted) isNode_Object() {} - -func (*Node_Image) isNode_Object() {} - -func (*Node_ParagraphFormat) isNode_Object() {} - -func (*Node_TextBrick) isNode_Object() {} - -func (*Node_Text) isNode_Object() {} - -func (*Node_Linebreak) isNode_Object() {} - -func (*Node_SpaceVertically) isNode_Object() {} - -func (*Node_Footer) isNode_Object() {} - -func (*Node_Header) isNode_Object() {} - -func (*Node_Table) isNode_Object() {} - -func (*Node_TableRow) isNode_Object() {} - -func (*Node_TableCell) isNode_Object() {} - -func (*Node_CDef) isNode_Object() {} - -func (*Node_PDef) isNode_Object() {} - -func (*Node_ApplyCDef) isNode_Object() {} - -func (*Node_ApplyPDef) isNode_Object() {} - -func (*Node_ApplyPtConfig) isNode_Object() {} - -func (*Node_ApplyUlConfig) isNode_Object() {} - -func (*Node_PtConfig) isNode_Object() {} - -func (*Node_UlConfig) isNode_Object() {} - -func (*Node_NewPage) isNode_Object() {} - -func (*Node_Variable) isNode_Object() {} - -func (*Node_NamedString) isNode_Object() {} - -func (*Node_Paragraph) isNode_Object() {} - -func (*Node_Section) isNode_Object() {} - -func (*Node_Span) isNode_Object() {} - -func (*Node_Link) isNode_Object() {} - -func (*Node_Directory) isNode_Object() {} - -func (*Node_TableContentGroup) isNode_Object() {} - -func (*Node_TableConfig) isNode_Object() {} - -func (*Node_TableCellConfig) isNode_Object() {} - -func (*Node_TableRowConfig) isNode_Object() {} - -func (*Node_TableContentGroupConfig) isNode_Object() {} - -func (*Node_BrickReference) isNode_Object() {} - -func (*Node_Indentation) isNode_Object() {} - -func (*Node_Barcode) isNode_Object() {} - -func (*Node_WsArea) isNode_Object() {} - -func (*Node_CarryOver) isNode_Object() {} - -func (*Node_SubTotal) isNode_Object() {} - -func (*Node_Loop) isNode_Object() {} - -func (*Node_LoopEntry) isNode_Object() {} - -func (*Node_Rule) isNode_Object() {} - -func (*Node_Layout) isNode_Object() {} - -func (*Node_AdvancedIllustrationArea) isNode_Object() {} - -func (*Node_AdjustHorizontally) isNode_Object() {} - -func (*Node_DoctypeScript) isNode_Object() {} - -func (*Node_DmScript) isNode_Object() {} - -func (*Node_DynamicTemplate) isNode_Object() {} - -func (*Node_Selection) isNode_Object() {} - -func (*Node_SelectionEntry) isNode_Object() {} - -func (*Node_Condition) isNode_Object() {} - -func (*Node_PageCondition) isNode_Object() {} - -func (*Node_Locale) isNode_Object() {} - -func (*Node_Tag) isNode_Object() {} - -func (*Node_ParagraphSetDefault) isNode_Object() {} - -func (*Node_InputFieldText) isNode_Object() {} - -func (*Node_InputFieldDate) isNode_Object() {} - -func (*Node_InputFieldCheckbox) isNode_Object() {} - -func (*Node_InputFieldLabel) isNode_Object() {} - -func (*Node_InputFieldDropdown) isNode_Object() {} - -type ProtoImage struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Alt string `protobuf:"bytes,2,opt,name=alt,proto3" json:"alt,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Src string `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` - Filename string `protobuf:"bytes,5,opt,name=filename,proto3" json:"filename,omitempty"` - Scale *ProtoBoxedDouble `protobuf:"bytes,6,opt,name=scale,proto3" json:"scale,omitempty"` - ColumnScale *ProtoBoxedDouble `protobuf:"bytes,7,opt,name=columnScale,proto3" json:"columnScale,omitempty"` - Width *ProtoBoxedMeasure `protobuf:"bytes,8,opt,name=width,proto3" json:"width,omitempty"` - Height *ProtoBoxedMeasure `protobuf:"bytes,9,opt,name=height,proto3" json:"height,omitempty"` - X *ProtoBoxedMeasure `protobuf:"bytes,10,opt,name=x,proto3" json:"x,omitempty"` - Y *ProtoBoxedMeasure `protobuf:"bytes,11,opt,name=y,proto3" json:"y,omitempty"` - PositionAbsolute *ProtoBoxedBool `protobuf:"bytes,12,opt,name=positionAbsolute,proto3" json:"positionAbsolute,omitempty"` - Rotation float64 `protobuf:"fixed64,13,opt,name=rotation,proto3" json:"rotation,omitempty"` - FlipSettings *ProtoFlipSettings `protobuf:"bytes,14,opt,name=flipSettings,proto3" json:"flipSettings,omitempty"` - CropSettings *ProtoCropSettings `protobuf:"bytes,15,opt,name=cropSettings,proto3" json:"cropSettings,omitempty"` - Aia *ProtoAdvancedIllustrationAreaImageSettings `protobuf:"bytes,16,opt,name=aia,proto3" json:"aia,omitempty"` - Uuid string `protobuf:"bytes,17,opt,name=uuid,proto3" json:"uuid,omitempty"` - ReferencePoint ProtoImageReferencePoint `protobuf:"varint,18,opt,name=referencePoint,proto3,enum=ProtoImageReferencePoint" json:"referencePoint,omitempty"` - Hyperlink string `protobuf:"bytes,19,opt,name=hyperlink,proto3" json:"hyperlink,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,20,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - ImageContentType ProtoImageContentType `protobuf:"varint,21,opt,name=imageContentType,proto3,enum=ProtoImageContentType" json:"imageContentType,omitempty"` - ImageContent string `protobuf:"bytes,22,opt,name=imageContent,proto3" json:"imageContent,omitempty"` - ScaleType ProtoImageScaleType `protobuf:"varint,23,opt,name=scaleType,proto3,enum=ProtoImageScaleType" json:"scaleType,omitempty"` - UaMode ProtoImageUAMode `protobuf:"varint,24,opt,name=uaMode,proto3,enum=ProtoImageUAMode" json:"uaMode,omitempty"` - UaDescription string `protobuf:"bytes,25,opt,name=uaDescription,proto3" json:"uaDescription,omitempty"` - LeftBorderIsLeftMeasure *ProtoBoxedBool `protobuf:"bytes,26,opt,name=leftBorderIsLeftMeasure,proto3" json:"leftBorderIsLeftMeasure,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoImage) Reset() { - *x = ProtoImage{} - mi := &file_build_docframe_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoImage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoImage) ProtoMessage() {} - -func (x *ProtoImage) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[77] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoImage.ProtoReflect.Descriptor instead. -func (*ProtoImage) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{77} -} - -func (x *ProtoImage) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoImage) GetAlt() string { - if x != nil { - return x.Alt - } - return "" -} - -func (x *ProtoImage) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoImage) GetSrc() string { - if x != nil { - return x.Src - } - return "" -} - -func (x *ProtoImage) GetFilename() string { - if x != nil { - return x.Filename - } - return "" -} - -func (x *ProtoImage) GetScale() *ProtoBoxedDouble { - if x != nil { - return x.Scale - } - return nil -} - -func (x *ProtoImage) GetColumnScale() *ProtoBoxedDouble { - if x != nil { - return x.ColumnScale - } - return nil -} - -func (x *ProtoImage) GetWidth() *ProtoBoxedMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoImage) GetHeight() *ProtoBoxedMeasure { - if x != nil { - return x.Height - } - return nil -} - -func (x *ProtoImage) GetX() *ProtoBoxedMeasure { - if x != nil { - return x.X - } - return nil -} - -func (x *ProtoImage) GetY() *ProtoBoxedMeasure { - if x != nil { - return x.Y - } - return nil -} - -func (x *ProtoImage) GetPositionAbsolute() *ProtoBoxedBool { - if x != nil { - return x.PositionAbsolute - } - return nil -} - -func (x *ProtoImage) GetRotation() float64 { - if x != nil { - return x.Rotation - } - return 0 -} - -func (x *ProtoImage) GetFlipSettings() *ProtoFlipSettings { - if x != nil { - return x.FlipSettings - } - return nil -} - -func (x *ProtoImage) GetCropSettings() *ProtoCropSettings { - if x != nil { - return x.CropSettings - } - return nil -} - -func (x *ProtoImage) GetAia() *ProtoAdvancedIllustrationAreaImageSettings { - if x != nil { - return x.Aia - } - return nil -} - -func (x *ProtoImage) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoImage) GetReferencePoint() ProtoImageReferencePoint { - if x != nil { - return x.ReferencePoint - } - return ProtoImageReferencePoint_REF_POINT_DO_NOT_USE_AT_ALL -} - -func (x *ProtoImage) GetHyperlink() string { - if x != nil { - return x.Hyperlink - } - return "" -} - -func (x *ProtoImage) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoImage) GetImageContentType() ProtoImageContentType { - if x != nil { - return x.ImageContentType - } - return ProtoImageContentType_IMAGE_CONTENT_UUID_REFERENCE_INLINE -} - -func (x *ProtoImage) GetImageContent() string { - if x != nil { - return x.ImageContent - } - return "" -} - -func (x *ProtoImage) GetScaleType() ProtoImageScaleType { - if x != nil { - return x.ScaleType - } - return ProtoImageScaleType_IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL -} - -func (x *ProtoImage) GetUaMode() ProtoImageUAMode { - if x != nil { - return x.UaMode - } - return ProtoImageUAMode_IMAGE_UA_MODE_DO_NOT_USE_AT_ALL -} - -func (x *ProtoImage) GetUaDescription() string { - if x != nil { - return x.UaDescription - } - return "" -} - -func (x *ProtoImage) GetLeftBorderIsLeftMeasure() *ProtoBoxedBool { - if x != nil { - return x.LeftBorderIsLeftMeasure - } - return nil -} - -type ProtoDirectory 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - SemanticType ProtoSemanticType `protobuf:"varint,5,opt,name=semanticType,proto3,enum=ProtoSemanticType" json:"semanticType,omitempty"` - Editable bool `protobuf:"varint,6,opt,name=editable,proto3" json:"editable,omitempty"` - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoDirectory) Reset() { - *x = ProtoDirectory{} - mi := &file_build_docframe_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoDirectory) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoDirectory) ProtoMessage() {} - -func (x *ProtoDirectory) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[78] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoDirectory.ProtoReflect.Descriptor instead. -func (*ProtoDirectory) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{78} -} - -func (x *ProtoDirectory) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoDirectory) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoDirectory) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoDirectory) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoDirectory) GetSemanticType() ProtoSemanticType { - if x != nil { - return x.SemanticType - } - return ProtoSemanticType_SEMANTIC_TYPE_NONE -} - -func (x *ProtoDirectory) GetEditable() bool { - if x != nil { - return x.Editable - } - return false -} - -func (x *ProtoDirectory) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type ProtoTextBrick 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - Id uint64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - Editable bool `protobuf:"varint,6,opt,name=editable,proto3" json:"editable,omitempty"` - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTextBrick) Reset() { - *x = ProtoTextBrick{} - mi := &file_build_docframe_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTextBrick) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTextBrick) ProtoMessage() {} - -func (x *ProtoTextBrick) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[79] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTextBrick.ProtoReflect.Descriptor instead. -func (*ProtoTextBrick) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{79} -} - -func (x *ProtoTextBrick) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoTextBrick) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTextBrick) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoTextBrick) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *ProtoTextBrick) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoTextBrick) GetEditable() bool { - if x != nil { - return x.Editable - } - return false -} - -func (x *ProtoTextBrick) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type ProtoVariable struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // Should this be optional or "empty string" - FormatUuid string `protobuf:"bytes,4,opt,name=formatUuid,proto3" json:"formatUuid,omitempty"` - SpecialType ProtoVariableSpecialType `protobuf:"varint,5,opt,name=specialType,proto3,enum=ProtoVariableSpecialType" json:"specialType,omitempty"` - Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,7,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoVariable) Reset() { - *x = ProtoVariable{} - mi := &file_build_docframe_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoVariable) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoVariable) ProtoMessage() {} - -func (x *ProtoVariable) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[80] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoVariable.ProtoReflect.Descriptor instead. -func (*ProtoVariable) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{80} -} - -func (x *ProtoVariable) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoVariable) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -func (x *ProtoVariable) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *ProtoVariable) GetFormatUuid() string { - if x != nil { - return x.FormatUuid - } - return "" -} - -func (x *ProtoVariable) GetSpecialType() ProtoVariableSpecialType { - if x != nil { - return x.SpecialType - } - return ProtoVariableSpecialType_NOT_SPECIAL -} - -func (x *ProtoVariable) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoVariable) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoFormatted struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - DteditorSyntax bool `protobuf:"varint,2,opt,name=dteditorSyntax,proto3" json:"dteditorSyntax,omitempty"` - DoctypeContent string `protobuf:"bytes,3,opt,name=doctypeContent,proto3" json:"doctypeContent,omitempty"` - DoctypeCode string `protobuf:"bytes,4,opt,name=doctypeCode,proto3" json:"doctypeCode,omitempty"` - HtmlContent string `protobuf:"bytes,5,opt,name=htmlContent,proto3" json:"htmlContent,omitempty"` - HtmlCode string `protobuf:"bytes,6,opt,name=htmlCode,proto3" json:"htmlCode,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoFormatted) Reset() { - *x = ProtoFormatted{} - mi := &file_build_docframe_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoFormatted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoFormatted) ProtoMessage() {} - -func (x *ProtoFormatted) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[81] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoFormatted.ProtoReflect.Descriptor instead. -func (*ProtoFormatted) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{81} -} - -func (x *ProtoFormatted) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoFormatted) GetDteditorSyntax() bool { - if x != nil { - return x.DteditorSyntax - } - return false -} - -func (x *ProtoFormatted) GetDoctypeContent() string { - if x != nil { - return x.DoctypeContent - } - return "" -} - -func (x *ProtoFormatted) GetDoctypeCode() string { - if x != nil { - return x.DoctypeCode - } - return "" -} - -func (x *ProtoFormatted) GetHtmlContent() string { - if x != nil { - return x.HtmlContent - } - return "" -} - -func (x *ProtoFormatted) GetHtmlCode() string { - if x != nil { - return x.HtmlCode - } - return "" -} - -func (x *ProtoFormatted) GetTextContent() string { - if x != nil { - return x.TextContent - } - return "" -} - -func (x *ProtoFormatted) GetTextCode() string { - if x != nil { - return x.TextCode - } - return "" -} - -func (x *ProtoFormatted) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoApplyProtoCDef) Reset() { - *x = ProtoApplyProtoCDef{} - mi := &file_build_docframe_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoApplyProtoCDef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoApplyProtoCDef) ProtoMessage() {} - -func (x *ProtoApplyProtoCDef) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[82] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoApplyProtoCDef.ProtoReflect.Descriptor instead. -func (*ProtoApplyProtoCDef) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{82} -} - -func (x *ProtoApplyProtoCDef) GetCDefUuid() string { - if x != nil { - return x.CDefUuid - } - return "" -} - -func (x *ProtoApplyProtoCDef) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoApplyProtoPDef) Reset() { - *x = ProtoApplyProtoPDef{} - mi := &file_build_docframe_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoApplyProtoPDef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoApplyProtoPDef) ProtoMessage() {} - -func (x *ProtoApplyProtoPDef) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[83] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoApplyProtoPDef.ProtoReflect.Descriptor instead. -func (*ProtoApplyProtoPDef) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{83} -} - -func (x *ProtoApplyProtoPDef) GetPDefUuid() string { - if x != nil { - return x.PDefUuid - } - return "" -} - -func (x *ProtoApplyProtoPDef) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoApplyPtConfig) Reset() { - *x = ProtoApplyPtConfig{} - mi := &file_build_docframe_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoApplyPtConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoApplyPtConfig) ProtoMessage() {} - -func (x *ProtoApplyPtConfig) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[84] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoApplyPtConfig.ProtoReflect.Descriptor instead. -func (*ProtoApplyPtConfig) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{84} -} - -func (x *ProtoApplyPtConfig) GetPtConfigUuid() string { - if x != nil { - return x.PtConfigUuid - } - return "" -} - -func (x *ProtoApplyPtConfig) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoApplyUlConfig) Reset() { - *x = ProtoApplyUlConfig{} - mi := &file_build_docframe_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoApplyUlConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoApplyUlConfig) ProtoMessage() {} - -func (x *ProtoApplyUlConfig) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[85] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoApplyUlConfig.ProtoReflect.Descriptor instead. -func (*ProtoApplyUlConfig) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{85} -} - -func (x *ProtoApplyUlConfig) GetUlConfigUuid() string { - if x != nil { - return x.UlConfigUuid - } - return "" -} - -func (x *ProtoApplyUlConfig) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoCDef struct { - state protoimpl.MessageState `protogen:"open.v1"` - ColumSettings *ProtoColumnSettings `protobuf:"bytes,1,opt,name=columSettings,proto3" json:"columSettings,omitempty"` - ApplyToHeaderFooter *ProtoBoxedBool `protobuf:"bytes,2,opt,name=applyToHeaderFooter,proto3" json:"applyToHeaderFooter,omitempty"` - ApplyImmediate *ProtoBoxedBool `protobuf:"bytes,3,opt,name=applyImmediate,proto3" json:"applyImmediate,omitempty"` - Uuid string `protobuf:"bytes,4,opt,name=Uuid,proto3" json:"Uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoCDef) Reset() { - *x = ProtoCDef{} - mi := &file_build_docframe_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoCDef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoCDef) ProtoMessage() {} - -func (x *ProtoCDef) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[86] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoCDef.ProtoReflect.Descriptor instead. -func (*ProtoCDef) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{86} -} - -func (x *ProtoCDef) GetColumSettings() *ProtoColumnSettings { - if x != nil { - return x.ColumSettings - } - return nil -} - -func (x *ProtoCDef) GetApplyToHeaderFooter() *ProtoBoxedBool { - if x != nil { - return x.ApplyToHeaderFooter - } - return nil -} - -func (x *ProtoCDef) GetApplyImmediate() *ProtoBoxedBool { - if x != nil { - return x.ApplyImmediate - } - return nil -} - -func (x *ProtoCDef) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoCDef) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoPDef struct { - state protoimpl.MessageState `protogen:"open.v1"` - PageWidth *ProtoBoxedMeasure `protobuf:"bytes,1,opt,name=pageWidth,proto3" json:"pageWidth,omitempty"` - PageDepth *ProtoBoxedMeasure `protobuf:"bytes,2,opt,name=pageDepth,proto3" json:"pageDepth,omitempty"` - Uuid string `protobuf:"bytes,3,opt,name=Uuid,proto3" json:"Uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoPDef) Reset() { - *x = ProtoPDef{} - mi := &file_build_docframe_proto_msgTypes[87] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoPDef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoPDef) ProtoMessage() {} - -func (x *ProtoPDef) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[87] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoPDef.ProtoReflect.Descriptor instead. -func (*ProtoPDef) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{87} -} - -func (x *ProtoPDef) GetPageWidth() *ProtoBoxedMeasure { - if x != nil { - return x.PageWidth - } - return nil -} - -func (x *ProtoPDef) GetPageDepth() *ProtoBoxedMeasure { - if x != nil { - return x.PageDepth - } - return nil -} - -func (x *ProtoPDef) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoPDef) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoPtConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - Height *ProtoBoxedMeasure `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` - LineFeed *ProtoBoxedMeasure `protobuf:"bytes,2,opt,name=lineFeed,proto3" json:"lineFeed,omitempty"` - CharacterWidth *ProtoBoxedMeasure `protobuf:"bytes,3,opt,name=characterWidth,proto3" json:"characterWidth,omitempty"` - SpaceWidth *ProtoBoxedMeasure `protobuf:"bytes,4,opt,name=spaceWidth,proto3" json:"spaceWidth,omitempty"` - Uuid string `protobuf:"bytes,5,opt,name=Uuid,proto3" json:"Uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,6,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoPtConfig) Reset() { - *x = ProtoPtConfig{} - mi := &file_build_docframe_proto_msgTypes[88] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoPtConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoPtConfig) ProtoMessage() {} - -func (x *ProtoPtConfig) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[88] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoPtConfig.ProtoReflect.Descriptor instead. -func (*ProtoPtConfig) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{88} -} - -func (x *ProtoPtConfig) GetHeight() *ProtoBoxedMeasure { - if x != nil { - return x.Height - } - return nil -} - -func (x *ProtoPtConfig) GetLineFeed() *ProtoBoxedMeasure { - if x != nil { - return x.LineFeed - } - return nil -} - -func (x *ProtoPtConfig) GetCharacterWidth() *ProtoBoxedMeasure { - if x != nil { - return x.CharacterWidth - } - return nil -} - -func (x *ProtoPtConfig) GetSpaceWidth() *ProtoBoxedMeasure { - if x != nil { - return x.SpaceWidth - } - return nil -} - -func (x *ProtoPtConfig) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoPtConfig) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoUlConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - Mode ProtoUnderlineMode `protobuf:"varint,1,opt,name=mode,proto3,enum=ProtoUnderlineMode" json:"mode,omitempty"` - Uuid string `protobuf:"bytes,2,opt,name=Uuid,proto3" json:"Uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,3,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoUlConfig) Reset() { - *x = ProtoUlConfig{} - mi := &file_build_docframe_proto_msgTypes[89] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoUlConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoUlConfig) ProtoMessage() {} - -func (x *ProtoUlConfig) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[89] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoUlConfig.ProtoReflect.Descriptor instead. -func (*ProtoUlConfig) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{89} -} - -func (x *ProtoUlConfig) GetMode() ProtoUnderlineMode { - if x != nil { - return x.Mode - } - return ProtoUnderlineMode_DUMMY_UNDERLINE_MODE -} - -func (x *ProtoUlConfig) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoUlConfig) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoNewPage struct { - state protoimpl.MessageState `protogen:"open.v1"` - Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - PaperTrayUuid string `protobuf:"bytes,2,opt,name=paperTrayUuid,proto3" json:"paperTrayUuid,omitempty"` - PaperTrayNumber uint32 `protobuf:"varint,3,opt,name=paperTrayNumber,proto3" json:"paperTrayNumber,omitempty"` - PaperCount uint32 `protobuf:"varint,4,opt,name=paperCount,proto3" json:"paperCount,omitempty"` - PageMode ProtoPageMode `protobuf:"varint,5,opt,name=pageMode,proto3,enum=ProtoPageMode" json:"pageMode,omitempty"` - PageOrientation ProtoPageOrientation `protobuf:"varint,6,opt,name=pageOrientation,proto3,enum=ProtoPageOrientation" json:"pageOrientation,omitempty"` - PDefUuid string `protobuf:"bytes,7,opt,name=pDefUuid,proto3" json:"pDefUuid,omitempty"` - CDefUuid string `protobuf:"bytes,8,opt,name=cDefUuid,proto3" json:"cDefUuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,9,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoNewPage) Reset() { - *x = ProtoNewPage{} - mi := &file_build_docframe_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoNewPage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoNewPage) ProtoMessage() {} - -func (x *ProtoNewPage) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[90] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoNewPage.ProtoReflect.Descriptor instead. -func (*ProtoNewPage) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{90} -} - -func (x *ProtoNewPage) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoNewPage) GetPaperTrayUuid() string { - if x != nil { - return x.PaperTrayUuid - } - return "" -} - -func (x *ProtoNewPage) GetPaperTrayNumber() uint32 { - if x != nil { - return x.PaperTrayNumber - } - return 0 -} - -func (x *ProtoNewPage) GetPaperCount() uint32 { - if x != nil { - return x.PaperCount - } - return 0 -} - -func (x *ProtoNewPage) GetPageMode() ProtoPageMode { - if x != nil { - return x.PageMode - } - return ProtoPageMode_NEXT_PAGE -} - -func (x *ProtoNewPage) GetPageOrientation() ProtoPageOrientation { - if x != nil { - return x.PageOrientation - } - return ProtoPageOrientation_UNSET -} - -func (x *ProtoNewPage) GetPDefUuid() string { - if x != nil { - return x.PDefUuid - } - return "" -} - -func (x *ProtoNewPage) GetCDefUuid() string { - if x != nil { - return x.CDefUuid - } - return "" -} - -func (x *ProtoNewPage) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoIndentation 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"` - Left *ProtoBoxedMeasure `protobuf:"bytes,3,opt,name=left,proto3" json:"left,omitempty"` - Right *ProtoBoxedMeasure `protobuf:"bytes,4,opt,name=right,proto3" json:"right,omitempty"` - Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,6,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoIndentation) Reset() { - *x = ProtoIndentation{} - mi := &file_build_docframe_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoIndentation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoIndentation) ProtoMessage() {} - -func (x *ProtoIndentation) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[91] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoIndentation.ProtoReflect.Descriptor instead. -func (*ProtoIndentation) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{91} -} - -func (x *ProtoIndentation) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoIndentation) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoIndentation) GetLeft() *ProtoBoxedMeasure { - if x != nil { - return x.Left - } - return nil -} - -func (x *ProtoIndentation) GetRight() *ProtoBoxedMeasure { - if x != nil { - return x.Right - } - return nil -} - -func (x *ProtoIndentation) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoIndentation) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoCarryOver 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoCarryOver) Reset() { - *x = ProtoCarryOver{} - mi := &file_build_docframe_proto_msgTypes[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoCarryOver) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoCarryOver) ProtoMessage() {} - -func (x *ProtoCarryOver) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[92] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoCarryOver.ProtoReflect.Descriptor instead. -func (*ProtoCarryOver) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{92} -} - -func (x *ProtoCarryOver) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoCarryOver) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoCarryOver) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoLoopEntry 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"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - Index uint64 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` - Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,6,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoLoopEntry) Reset() { - *x = ProtoLoopEntry{} - mi := &file_build_docframe_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoLoopEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoLoopEntry) ProtoMessage() {} - -func (x *ProtoLoopEntry) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[93] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoLoopEntry.ProtoReflect.Descriptor instead. -func (*ProtoLoopEntry) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{93} -} - -func (x *ProtoLoopEntry) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoLoopEntry) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoLoopEntry) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -func (x *ProtoLoopEntry) GetIndex() uint64 { - if x != nil { - return x.Index - } - return 0 -} - -func (x *ProtoLoopEntry) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoLoopEntry) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoLoop 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"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoLoop) Reset() { - *x = ProtoLoop{} - mi := &file_build_docframe_proto_msgTypes[94] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoLoop) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoLoop) ProtoMessage() {} - -func (x *ProtoLoop) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[94] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoLoop.ProtoReflect.Descriptor instead. -func (*ProtoLoop) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{94} -} - -func (x *ProtoLoop) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoLoop) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoLoop) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -func (x *ProtoLoop) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoLoop) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoSubTotal 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"` - ApplyImmediate bool `protobuf:"varint,3,opt,name=apply_immediate,json=applyImmediate,proto3" json:"apply_immediate,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSubTotal) Reset() { - *x = ProtoSubTotal{} - mi := &file_build_docframe_proto_msgTypes[95] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSubTotal) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSubTotal) ProtoMessage() {} - -func (x *ProtoSubTotal) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[95] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSubTotal.ProtoReflect.Descriptor instead. -func (*ProtoSubTotal) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{95} -} - -func (x *ProtoSubTotal) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoSubTotal) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoSubTotal) GetApplyImmediate() bool { - if x != nil { - return x.ApplyImmediate - } - return false -} - -func (x *ProtoSubTotal) GetPosition() ProtoSubTotalPosition { - if x != nil { - return x.Position - } - return ProtoSubTotalPosition_POSITION_ABOVE_FOOTER -} - -func (x *ProtoSubTotal) GetHeight() *ProtoMeasure { - if x != nil { - return x.Height - } - return nil -} - -func (x *ProtoSubTotal) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoWsArea) Reset() { - *x = ProtoWsArea{} - mi := &file_build_docframe_proto_msgTypes[96] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoWsArea) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoWsArea) ProtoMessage() {} - -func (x *ProtoWsArea) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[96] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoWsArea.ProtoReflect.Descriptor instead. -func (*ProtoWsArea) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{96} -} - -func (x *ProtoWsArea) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoWsArea) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoWsArea) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - XOffset *ProtoMeasure `protobuf:"bytes,1,opt,name=xOffset,proto3" json:"xOffset,omitempty"` - YOffset *ProtoMeasure `protobuf:"bytes,2,opt,name=yOffset,proto3" json:"yOffset,omitempty"` - Width *ProtoMeasure `protobuf:"bytes,3,opt,name=width,proto3" json:"width,omitempty"` - Thickness *ProtoMeasure `protobuf:"bytes,4,opt,name=thickness,proto3" json:"thickness,omitempty"` - Rotation float64 `protobuf:"fixed64,5,opt,name=rotation,proto3" json:"rotation,omitempty"` - Color *ProtoColor `protobuf:"bytes,6,opt,name=color,proto3" json:"color,omitempty"` - Style ProtoRuleStyle `protobuf:"varint,7,opt,name=style,proto3,enum=ProtoRuleStyle" json:"style,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoRule) Reset() { - *x = ProtoRule{} - mi := &file_build_docframe_proto_msgTypes[97] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoRule) ProtoMessage() {} - -func (x *ProtoRule) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[97] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoRule.ProtoReflect.Descriptor instead. -func (*ProtoRule) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{97} -} - -func (x *ProtoRule) GetXOffset() *ProtoMeasure { - if x != nil { - return x.XOffset - } - return nil -} - -func (x *ProtoRule) GetYOffset() *ProtoMeasure { - if x != nil { - return x.YOffset - } - return nil -} - -func (x *ProtoRule) GetWidth() *ProtoMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoRule) GetThickness() *ProtoMeasure { - if x != nil { - return x.Thickness - } - return nil -} - -func (x *ProtoRule) GetRotation() float64 { - if x != nil { - return x.Rotation - } - return 0 -} - -func (x *ProtoRule) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoRule) GetStyle() ProtoRuleStyle { - if x != nil { - return x.Style - } - return ProtoRuleStyle_DUMMY_RULE_STYLE -} - -func (x *ProtoRule) GetMode() ProtoRuleMode { - if x != nil { - return x.Mode - } - return ProtoRuleMode_NORMAL -} - -func (x *ProtoRule) GetBoundaries() *ProtoRuleBoundaries { - if x != nil { - return x.Boundaries - } - return nil -} - -func (x *ProtoRule) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoRuleBoundaries struct { - state protoimpl.MessageState `protogen:"open.v1"` - Start *ProtoMeasure `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *ProtoMeasure `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoRuleBoundaries) Reset() { - *x = ProtoRuleBoundaries{} - mi := &file_build_docframe_proto_msgTypes[98] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoRuleBoundaries) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoRuleBoundaries) ProtoMessage() {} - -func (x *ProtoRuleBoundaries) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[98] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoRuleBoundaries.ProtoReflect.Descriptor instead. -func (*ProtoRuleBoundaries) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{98} -} - -func (x *ProtoRuleBoundaries) GetStart() *ProtoMeasure { - if x != nil { - return x.Start - } - return nil -} - -func (x *ProtoRuleBoundaries) GetEnd() *ProtoMeasure { - if x != nil { - return x.End - } - return nil -} - -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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoColorDef) Reset() { - *x = ProtoColorDef{} - mi := &file_build_docframe_proto_msgTypes[99] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoColorDef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoColorDef) ProtoMessage() {} - -func (x *ProtoColorDef) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[99] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoColorDef.ProtoReflect.Descriptor instead. -func (*ProtoColorDef) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{99} -} - -func (x *ProtoColorDef) GetColor() *ProtoColor { - if x != nil { - return x.Color - } - return nil -} - -func (x *ProtoColorDef) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoLayout) Reset() { - *x = ProtoLayout{} - mi := &file_build_docframe_proto_msgTypes[100] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoLayout) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoLayout) ProtoMessage() {} - -func (x *ProtoLayout) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[100] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoLayout.ProtoReflect.Descriptor instead. -func (*ProtoLayout) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{100} -} - -func (x *ProtoLayout) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoLayout) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoLayout) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoAdvancedIllustrationArea 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - Absolute bool `protobuf:"varint,4,opt,name=absolute,proto3" json:"absolute,omitempty"` - Width *ProtoMeasure `protobuf:"bytes,5,opt,name=width,proto3" json:"width,omitempty"` - Height *ProtoMeasure `protobuf:"bytes,6,opt,name=height,proto3" json:"height,omitempty"` - X *ProtoMeasure `protobuf:"bytes,7,opt,name=x,proto3" json:"x,omitempty"` - Y *ProtoMeasure `protobuf:"bytes,8,opt,name=y,proto3" json:"y,omitempty"` - TextFlow ProtoAdvancedIllustrationAreaTextFlowType `protobuf:"varint,9,opt,name=textFlow,proto3,enum=ProtoAdvancedIllustrationAreaTextFlowType" json:"textFlow,omitempty"` - Rotation float32 `protobuf:"fixed32,10,opt,name=rotation,proto3" json:"rotation,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,11,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoAdvancedIllustrationArea) Reset() { - *x = ProtoAdvancedIllustrationArea{} - mi := &file_build_docframe_proto_msgTypes[101] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoAdvancedIllustrationArea) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoAdvancedIllustrationArea) ProtoMessage() {} - -func (x *ProtoAdvancedIllustrationArea) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[101] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoAdvancedIllustrationArea.ProtoReflect.Descriptor instead. -func (*ProtoAdvancedIllustrationArea) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{101} -} - -func (x *ProtoAdvancedIllustrationArea) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoAdvancedIllustrationArea) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoAdvancedIllustrationArea) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoAdvancedIllustrationArea) GetAbsolute() bool { - if x != nil { - return x.Absolute - } - return false -} - -func (x *ProtoAdvancedIllustrationArea) GetWidth() *ProtoMeasure { - if x != nil { - return x.Width - } - return nil -} - -func (x *ProtoAdvancedIllustrationArea) GetHeight() *ProtoMeasure { - if x != nil { - return x.Height - } - return nil -} - -func (x *ProtoAdvancedIllustrationArea) GetX() *ProtoMeasure { - if x != nil { - return x.X - } - return nil -} - -func (x *ProtoAdvancedIllustrationArea) GetY() *ProtoMeasure { - if x != nil { - return x.Y - } - return nil -} - -func (x *ProtoAdvancedIllustrationArea) GetTextFlow() ProtoAdvancedIllustrationAreaTextFlowType { - if x != nil { - return x.TextFlow - } - return ProtoAdvancedIllustrationAreaTextFlowType_DO_NOT_USE_AT_ALL -} - -func (x *ProtoAdvancedIllustrationArea) GetRotation() float32 { - if x != nil { - return x.Rotation - } - return 0 -} - -func (x *ProtoAdvancedIllustrationArea) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoAdjustHorizontally 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"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoAdjustHorizontally) Reset() { - *x = ProtoAdjustHorizontally{} - mi := &file_build_docframe_proto_msgTypes[102] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoAdjustHorizontally) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoAdjustHorizontally) ProtoMessage() {} - -func (x *ProtoAdjustHorizontally) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[102] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoAdjustHorizontally.ProtoReflect.Descriptor instead. -func (*ProtoAdjustHorizontally) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{102} -} - -func (x *ProtoAdjustHorizontally) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoAdjustHorizontally) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoAdjustHorizontally) GetMinFontSize() *ProtoMeasure { - if x != nil { - return x.MinFontSize - } - return nil -} - -func (x *ProtoAdjustHorizontally) GetMaxFontSize() *ProtoMeasure { - if x != nil { - return x.MaxFontSize - } - return nil -} - -func (x *ProtoAdjustHorizontally) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoDoctypeScript struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - OutputMode ProtoDoctypeOutputMode `protobuf:"varint,3,opt,name=outputMode,proto3,enum=ProtoDoctypeOutputMode" json:"outputMode,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 -} - -func (x *ProtoDoctypeScript) Reset() { - *x = ProtoDoctypeScript{} - mi := &file_build_docframe_proto_msgTypes[103] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoDoctypeScript) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoDoctypeScript) ProtoMessage() {} - -func (x *ProtoDoctypeScript) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[103] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoDoctypeScript.ProtoReflect.Descriptor instead. -func (*ProtoDoctypeScript) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{103} -} - -func (x *ProtoDoctypeScript) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoDoctypeScript) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *ProtoDoctypeScript) GetOutputMode() ProtoDoctypeOutputMode { - if x != nil { - return x.OutputMode - } - return ProtoDoctypeOutputMode_DOCTYPE_OUTPUT_MODE_NOT_SET -} - -func (x *ProtoDoctypeScript) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoDoctypeScript) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type ProtoDmScript struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,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 -} - -func (x *ProtoDmScript) Reset() { - *x = ProtoDmScript{} - mi := &file_build_docframe_proto_msgTypes[104] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoDmScript) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoDmScript) ProtoMessage() {} - -func (x *ProtoDmScript) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[104] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoDmScript.ProtoReflect.Descriptor instead. -func (*ProtoDmScript) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{104} -} - -func (x *ProtoDmScript) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoDmScript) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *ProtoDmScript) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoDmScript) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type ProtoDynamicTemplate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` - Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoDynamicTemplate) Reset() { - *x = ProtoDynamicTemplate{} - mi := &file_build_docframe_proto_msgTypes[105] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoDynamicTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoDynamicTemplate) ProtoMessage() {} - -func (x *ProtoDynamicTemplate) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[105] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoDynamicTemplate.ProtoReflect.Descriptor instead. -func (*ProtoDynamicTemplate) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{105} -} - -func (x *ProtoDynamicTemplate) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoDynamicTemplate) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoDynamicTemplate) GetScript() string { - if x != nil { - return x.Script - } - return "" -} - -func (x *ProtoDynamicTemplate) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoSelection 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - InternalName string `protobuf:"bytes,5,opt,name=internalName,proto3" json:"internalName,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - Multi bool `protobuf:"varint,7,opt,name=multi,proto3" json:"multi,omitempty"` - Min uint64 `protobuf:"varint,8,opt,name=min,proto3" json:"min,omitempty"` - Max uint64 `protobuf:"varint,9,opt,name=max,proto3" json:"max,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSelection) Reset() { - *x = ProtoSelection{} - mi := &file_build_docframe_proto_msgTypes[106] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSelection) ProtoMessage() {} - -func (x *ProtoSelection) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[106] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSelection.ProtoReflect.Descriptor instead. -func (*ProtoSelection) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{106} -} - -func (x *ProtoSelection) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoSelection) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoSelection) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoSelection) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoSelection) GetInternalName() string { - if x != nil { - return x.InternalName - } - return "" -} - -func (x *ProtoSelection) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoSelection) GetMulti() bool { - if x != nil { - return x.Multi - } - return false -} - -func (x *ProtoSelection) GetMin() uint64 { - if x != nil { - return x.Min - } - return 0 -} - -func (x *ProtoSelection) GetMax() uint64 { - if x != nil { - return x.Max - } - return 0 -} - -type ProtoSelectionEntry 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - InternalName string `protobuf:"bytes,5,opt,name=internalName,proto3" json:"internalName,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - Selected bool `protobuf:"varint,7,opt,name=selected,proto3" json:"selected,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoSelectionEntry) Reset() { - *x = ProtoSelectionEntry{} - mi := &file_build_docframe_proto_msgTypes[107] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoSelectionEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoSelectionEntry) ProtoMessage() {} - -func (x *ProtoSelectionEntry) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[107] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoSelectionEntry.ProtoReflect.Descriptor instead. -func (*ProtoSelectionEntry) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{107} -} - -func (x *ProtoSelectionEntry) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoSelectionEntry) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoSelectionEntry) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoSelectionEntry) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoSelectionEntry) GetInternalName() string { - if x != nil { - return x.InternalName - } - return "" -} - -func (x *ProtoSelectionEntry) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoSelectionEntry) GetSelected() bool { - if x != nil { - return x.Selected - } - return false -} - -type ProtoCondition 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` - Result bool `protobuf:"varint,6,opt,name=result,proto3" json:"result,omitempty"` - Regenerate bool `protobuf:"varint,7,opt,name=regenerate,proto3" json:"regenerate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoCondition) Reset() { - *x = ProtoCondition{} - mi := &file_build_docframe_proto_msgTypes[108] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoCondition) ProtoMessage() {} - -func (x *ProtoCondition) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[108] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoCondition.ProtoReflect.Descriptor instead. -func (*ProtoCondition) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{108} -} - -func (x *ProtoCondition) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoCondition) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoCondition) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoCondition) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoCondition) GetCode() string { - if x != nil { - return x.Code - } - return "" -} - -func (x *ProtoCondition) GetResult() bool { - if x != nil { - return x.Result - } - return false -} - -func (x *ProtoCondition) GetRegenerate() bool { - if x != nil { - return x.Regenerate - } - return false -} - -type ProtoPageCondition 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoPageCondition) Reset() { - *x = ProtoPageCondition{} - mi := &file_build_docframe_proto_msgTypes[109] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoPageCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoPageCondition) ProtoMessage() {} - -func (x *ProtoPageCondition) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[109] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoPageCondition.ProtoReflect.Descriptor instead. -func (*ProtoPageCondition) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{109} -} - -func (x *ProtoPageCondition) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoPageCondition) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoPageCondition) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoPageCondition) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoPageCondition) GetCode() string { - if x != nil { - return x.Code - } - return "" -} - -type ProtoLocale 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"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,4,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - LanguageUUIDs []string `protobuf:"bytes,5,rep,name=languageUUIDs,proto3" json:"languageUUIDs,omitempty"` - RegionUUIDs []string `protobuf:"bytes,6,rep,name=regionUUIDs,proto3" json:"regionUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoLocale) Reset() { - *x = ProtoLocale{} - mi := &file_build_docframe_proto_msgTypes[110] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoLocale) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoLocale) ProtoMessage() {} - -func (x *ProtoLocale) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[110] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoLocale.ProtoReflect.Descriptor instead. -func (*ProtoLocale) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{110} -} - -func (x *ProtoLocale) GetXChildren() []*ProtoDocumentElement { - if x != nil { - return x.XChildren - } - return nil -} - -func (x *ProtoLocale) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoLocale) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoLocale) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoLocale) GetLanguageUUIDs() []string { - if x != nil { - return x.LanguageUUIDs - } - return nil -} - -func (x *ProtoLocale) GetRegionUUIDs() []string { - if x != nil { - return x.RegionUUIDs - } - return nil -} - -type ProtoTag 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"` - Params []string `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty"` - NameCode string `protobuf:"bytes,6,opt,name=nameCode,proto3" json:"nameCode,omitempty"` - CodeMode bool `protobuf:"varint,7,opt,name=codeMode,proto3" json:"codeMode,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoTag) Reset() { - *x = ProtoTag{} - mi := &file_build_docframe_proto_msgTypes[111] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoTag) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoTag) ProtoMessage() {} - -func (x *ProtoTag) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[111] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoTag.ProtoReflect.Descriptor instead. -func (*ProtoTag) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{111} -} - -func (x *ProtoTag) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoTag) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoTag) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoTag) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoTag) GetParams() []string { - if x != nil { - return x.Params - } - return nil -} - -func (x *ProtoTag) GetNameCode() string { - if x != nil { - return x.NameCode - } - return "" -} - -func (x *ProtoTag) GetCodeMode() bool { - if x != nil { - return x.CodeMode - } - return false -} - -type ProtoParagraphSetDefault 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"` - ParagraphFormatUUID string `protobuf:"bytes,3,opt,name=paragraphFormatUUID,proto3" json:"paragraphFormatUUID,omitempty"` - Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` - ComChannelUUIDs []string `protobuf:"bytes,5,rep,name=comChannelUUIDs,proto3" json:"comChannelUUIDs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtoParagraphSetDefault) Reset() { - *x = ProtoParagraphSetDefault{} - mi := &file_build_docframe_proto_msgTypes[112] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoParagraphSetDefault) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoParagraphSetDefault) ProtoMessage() {} - -func (x *ProtoParagraphSetDefault) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[112] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoParagraphSetDefault.ProtoReflect.Descriptor instead. -func (*ProtoParagraphSetDefault) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{112} -} - -func (x *ProtoParagraphSetDefault) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoParagraphSetDefault) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProtoParagraphSetDefault) GetParagraphFormatUUID() string { - if x != nil { - return x.ParagraphFormatUUID - } - return "" -} - -func (x *ProtoParagraphSetDefault) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -func (x *ProtoParagraphSetDefault) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -type ProtoInputFieldText struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Base *ProtoBaseInputField `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` - PdfPrintingBehavior PDFPrintingBehavior `protobuf:"varint,3,opt,name=pdf_printing_behavior,json=pdfPrintingBehavior,proto3,enum=PDFPrintingBehavior" json:"pdf_printing_behavior,omitempty"` - PdfSize *ProtoBoxedMeasure `protobuf:"bytes,4,opt,name=pdf_size,json=pdfSize,proto3" json:"pdf_size,omitempty"` - PdfFormName string `protobuf:"bytes,5,opt,name=pdf_form_name,json=pdfFormName,proto3" json:"pdf_form_name,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 -} - -func (x *ProtoInputFieldText) Reset() { - *x = ProtoInputFieldText{} - mi := &file_build_docframe_proto_msgTypes[113] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoInputFieldText) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoInputFieldText) ProtoMessage() {} - -func (x *ProtoInputFieldText) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[113] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoInputFieldText.ProtoReflect.Descriptor instead. -func (*ProtoInputFieldText) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{113} -} - -func (x *ProtoInputFieldText) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoInputFieldText) GetBase() *ProtoBaseInputField { - if x != nil { - return x.Base - } - return nil -} - -func (x *ProtoInputFieldText) GetPdfPrintingBehavior() PDFPrintingBehavior { - if x != nil { - return x.PdfPrintingBehavior - } - return PDFPrintingBehavior_PDF_PRINTING_BEHAVIOR_INPUT -} - -func (x *ProtoInputFieldText) GetPdfSize() *ProtoBoxedMeasure { - if x != nil { - return x.PdfSize - } - return nil -} - -func (x *ProtoInputFieldText) GetPdfFormName() string { - if x != nil { - return x.PdfFormName - } - return "" -} - -func (x *ProtoInputFieldText) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoInputFieldText) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type ProtoInputFieldDate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Base *ProtoBaseInputField `protobuf:"bytes,2,opt,name=base,proto3" json:"base,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 -} - -func (x *ProtoInputFieldDate) Reset() { - *x = ProtoInputFieldDate{} - mi := &file_build_docframe_proto_msgTypes[114] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoInputFieldDate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoInputFieldDate) ProtoMessage() {} - -func (x *ProtoInputFieldDate) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[114] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoInputFieldDate.ProtoReflect.Descriptor instead. -func (*ProtoInputFieldDate) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{114} -} - -func (x *ProtoInputFieldDate) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoInputFieldDate) GetBase() *ProtoBaseInputField { - if x != nil { - return x.Base - } - return nil -} - -func (x *ProtoInputFieldDate) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoInputFieldDate) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type ProtoInputFieldCheckbox struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Base *ProtoBaseInputField `protobuf:"bytes,2,opt,name=base,proto3" json:"base,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 -} - -func (x *ProtoInputFieldCheckbox) Reset() { - *x = ProtoInputFieldCheckbox{} - mi := &file_build_docframe_proto_msgTypes[115] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoInputFieldCheckbox) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoInputFieldCheckbox) ProtoMessage() {} - -func (x *ProtoInputFieldCheckbox) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[115] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoInputFieldCheckbox.ProtoReflect.Descriptor instead. -func (*ProtoInputFieldCheckbox) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{115} -} - -func (x *ProtoInputFieldCheckbox) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoInputFieldCheckbox) GetBase() *ProtoBaseInputField { - if x != nil { - return x.Base - } - return nil -} - -func (x *ProtoInputFieldCheckbox) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoInputFieldCheckbox) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type ProtoInputFieldLabel struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Base *ProtoBaseInputField `protobuf:"bytes,2,opt,name=base,proto3" json:"base,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 -} - -func (x *ProtoInputFieldLabel) Reset() { - *x = ProtoInputFieldLabel{} - mi := &file_build_docframe_proto_msgTypes[116] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoInputFieldLabel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoInputFieldLabel) ProtoMessage() {} - -func (x *ProtoInputFieldLabel) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[116] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoInputFieldLabel.ProtoReflect.Descriptor instead. -func (*ProtoInputFieldLabel) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{116} -} - -func (x *ProtoInputFieldLabel) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoInputFieldLabel) GetBase() *ProtoBaseInputField { - if x != nil { - return x.Base - } - return nil -} - -func (x *ProtoInputFieldLabel) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoInputFieldLabel) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type ProtoInputFieldDropdown struct { - state protoimpl.MessageState `protogen:"open.v1"` - Parent *ProtoDocumentElement `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Base *ProtoBaseInputField `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` - Options []*ProtoOption `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` - BindOptionsCode bool `protobuf:"varint,4,opt,name=bindOptionsCode,proto3" json:"bindOptionsCode,omitempty"` - OptionsCode string `protobuf:"bytes,5,opt,name=optionsCode,proto3" json:"optionsCode,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 -} - -func (x *ProtoInputFieldDropdown) Reset() { - *x = ProtoInputFieldDropdown{} - mi := &file_build_docframe_proto_msgTypes[117] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtoInputFieldDropdown) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtoInputFieldDropdown) ProtoMessage() {} - -func (x *ProtoInputFieldDropdown) ProtoReflect() protoreflect.Message { - mi := &file_build_docframe_proto_msgTypes[117] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtoInputFieldDropdown.ProtoReflect.Descriptor instead. -func (*ProtoInputFieldDropdown) Descriptor() ([]byte, []int) { - return file_build_docframe_proto_rawDescGZIP(), []int{117} -} - -func (x *ProtoInputFieldDropdown) GetParent() *ProtoDocumentElement { - if x != nil { - return x.Parent - } - return nil -} - -func (x *ProtoInputFieldDropdown) GetBase() *ProtoBaseInputField { - if x != nil { - return x.Base - } - return nil -} - -func (x *ProtoInputFieldDropdown) GetOptions() []*ProtoOption { - if x != nil { - return x.Options - } - return nil -} - -func (x *ProtoInputFieldDropdown) GetBindOptionsCode() bool { - if x != nil { - return x.BindOptionsCode - } - return false -} - -func (x *ProtoInputFieldDropdown) GetOptionsCode() string { - if x != nil { - return x.OptionsCode - } - return "" -} - -func (x *ProtoInputFieldDropdown) GetComChannelUUIDs() []string { - if x != nil { - return x.ComChannelUUIDs - } - return nil -} - -func (x *ProtoInputFieldDropdown) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -var File_build_docframe_proto protoreflect.FileDescriptor - -const file_build_docframe_proto_rawDesc = "" + - "\n" + - "\x14build/docframe.proto\">\n" + - "\x0eProtoBoxedBool\x12\x14\n" + - "\x05value\x18\x01 \x01(\bR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"@\n" + - "\x10ProtoBoxedDouble\x12\x14\n" + - "\x05value\x18\x01 \x01(\x01R\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"?\n" + - "\x0fProtoBoxedInt32\x12\x14\n" + - "\x05value\x18\x01 \x01(\x05R\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"@\n" + - "\x10ProtoBoxedUint32\x12\x14\n" + - "\x05value\x18\x01 \x01(\rR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"@\n" + - "\x10ProtoBoxedString\x12\x14\n" + - "\x05value\x18\x01 \x01(\tR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"P\n" + - "\x11ProtoBoxedSPBMode\x12#\n" + - "\x05value\x18\x01 \x01(\x0e2\r.ProtoSPBModeR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xce\x01\n" + - "\x16ProtoStrikethroughSpec\x12%\n" + - "\x06weight\x18\x01 \x01(\v2\r.ProtoMeasureR\x06weight\x12'\n" + - "\x04mode\x18\x02 \x01(\x0e2\x13.ProtoUnderlineModeR\x04mode\x12!\n" + - "\x05color\x18\x03 \x01(\v2\v.ProtoColorR\x05color\x12\x1a\n" + - "\boffsetEm\x18\x04 \x01(\x05R\boffsetEm\x12%\n" + - "\x05style\x18\x05 \x01(\x0e2\x0f.ProtoRuleStyleR\x05style\"d\n" + - "\x1bProtoBoxedStrikethroughSpec\x12-\n" + - "\x05value\x18\x01 \x01(\v2\x17.ProtoStrikethroughSpecR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"M\n" + - "\fProtoMeasure\x12\x14\n" + - "\x05value\x18\x01 \x01(\x01R\x05value\x12'\n" + - "\x05mtype\x18\x02 \x01(\x0e2\x11.ProtoMeasureTypeR\x05mtype\"P\n" + - "\x11ProtoBoxedMeasure\x12#\n" + - "\x05value\x18\x01 \x01(\v2\r.ProtoMeasureR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xa3\x01\n" + - "\x11ProtoSideMeasures\x12\x1f\n" + - "\x03top\x18\x01 \x01(\v2\r.ProtoMeasureR\x03top\x12#\n" + - "\x05right\x18\x02 \x01(\v2\r.ProtoMeasureR\x05right\x12%\n" + - "\x06bottom\x18\x03 \x01(\v2\r.ProtoMeasureR\x06bottom\x12!\n" + - "\x04left\x18\x04 \x01(\v2\r.ProtoMeasureR\x04left\"\x8a\x01\n" + - ".ProtoBoxedAdvancedIllustrationAreaTextFlowType\x12@\n" + - "\x05value\x18\x01 \x01(\x0e2*.ProtoAdvancedIllustrationAreaTextFlowTypeR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xa5\x01\n" + - "*ProtoAdvancedIllustrationAreaImageSettings\x12K\n" + - "\btextFlow\x18\x01 \x01(\v2/.ProtoBoxedAdvancedIllustrationAreaTextFlowTypeR\btextFlow\x12*\n" + - "\x06margin\x18\x02 \x01(\v2\x12.ProtoSideMeasuresR\x06margin\"/\n" + - "\tProtoFont\x12\x0e\n" + - "\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" + - "\x04name\x18\x02 \x01(\tR\x04name\"J\n" + - "\x0eProtoBoxedFont\x12 \n" + - "\x05value\x18\x01 \x01(\v2\n" + - ".ProtoFontR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xba\x01\n" + - "\n" + - "ProtoColor\x12%\n" + - "\x04name\x18\x01 \x01(\v2\x11.ProtoBoxedStringR\x04name\x12#\n" + - "\x04type\x18\x02 \x01(\x0e2\x0f.ProtoColorTypeR\x04type\x12\f\n" + - "\x01r\x18\x03 \x01(\x05R\x01r\x12\f\n" + - "\x01g\x18\x04 \x01(\x05R\x01g\x12\f\n" + - "\x01b\x18\x05 \x01(\x05R\x01b\x12\f\n" + - "\x01c\x18\x06 \x01(\x02R\x01c\x12\f\n" + - "\x01m\x18\a \x01(\x02R\x01m\x12\f\n" + - "\x01y\x18\b \x01(\x02R\x01y\x12\f\n" + - "\x01k\x18\t \x01(\x02R\x01k\"L\n" + - "\x0fProtoBoxedColor\x12!\n" + - "\x05value\x18\x01 \x01(\v2\v.ProtoColorR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\x85\x01\n" + - "\rProtoRGBColor\x12%\n" + - "\x04name\x18\x01 \x01(\v2\x11.ProtoBoxedStringR\x04name\x12#\n" + - "\x04type\x18\x02 \x01(\x0e2\x0f.ProtoColorTypeR\x04type\x12\f\n" + - "\x01r\x18\x03 \x01(\x05R\x01r\x12\f\n" + - "\x01g\x18\x04 \x01(\x05R\x01g\x12\f\n" + - "\x01b\x18\x05 \x01(\x05R\x01b\"\x94\x01\n" + - "\x0eProtoCMYKColor\x12%\n" + - "\x04name\x18\x01 \x01(\v2\x11.ProtoBoxedStringR\x04name\x12#\n" + - "\x04type\x18\x02 \x01(\x0e2\x0f.ProtoColorTypeR\x04type\x12\f\n" + - "\x01c\x18\x03 \x01(\x02R\x01c\x12\f\n" + - "\x01m\x18\x04 \x01(\x02R\x01m\x12\f\n" + - "\x01y\x18\x05 \x01(\x02R\x01y\x12\f\n" + - "\x01k\x18\x06 \x01(\x02R\x01k\"h\n" + - "\x1dProtoBoxedHorizontalAlignment\x12/\n" + - "\x05value\x18\x01 \x01(\x0e2\x19.ProtoHorizontalAlignmentR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"d\n" + - "\x1bProtoBoxedVerticalAlignment\x12-\n" + - "\x05value\x18\x01 \x01(\x0e2\x17.ProtoVerticalAlignmentR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xda\x02\n" + - "\x14ProtoSwissQRCreditor\x12 \n" + - "\vaddressType\x18\x01 \x01(\tR\vaddressType\x12\x12\n" + - "\x04name\x18\x02 \x01(\tR\x04name\x12\x1e\n" + - "\n" + - "postalCode\x18\x03 \x01(\tR\n" + - "postalCode\x12\x12\n" + - "\x04town\x18\x04 \x01(\tR\x04town\x12\x18\n" + - "\acountry\x18\x05 \x01(\tR\acountry\x122\n" + - "\x14streetOrAddressLine1\x18\x06 \x01(\tR\x14streetOrAddressLine1\x12B\n" + - "\x1cbuildingNumberOrAddressLine2\x18\a \x01(\tR\x1cbuildingNumberOrAddressLine2\x12\x12\n" + - "\x04iban\x18\b \x01(\tR\x04iban\x12\x16\n" + - "\x06amount\x18\t \x01(\tR\x06amount\x12\x1a\n" + - "\bcurrency\x18\n" + - " \x01(\tR\bcurrency\"\xd1\x03\n" + - "\x13ProtoSwissQRDebitor\x12 \n" + - "\vaddressType\x18\x01 \x01(\tR\vaddressType\x12\x12\n" + - "\x04name\x18\x02 \x01(\tR\x04name\x12\x1e\n" + - "\n" + - "postalCode\x18\x03 \x01(\tR\n" + - "postalCode\x12\x12\n" + - "\x04town\x18\x04 \x01(\tR\x04town\x12\x18\n" + - "\acountry\x18\x05 \x01(\tR\acountry\x122\n" + - "\x14streetOrAddressLine1\x18\x06 \x01(\tR\x14streetOrAddressLine1\x12B\n" + - "\x1cbuildingNumberOrAddressLine2\x18\a \x01(\tR\x1cbuildingNumberOrAddressLine2\x122\n" + - "\x14paymentReferenceType\x18\b \x01(\tR\x14paymentReferenceType\x12*\n" + - "\x10paymentReference\x18\t \x01(\tR\x10paymentReference\x124\n" + - "\x15unstructuredReference\x18\n" + - " \x01(\tR\x15unstructuredReference\x12(\n" + - "\x0fbillInformation\x18\v \x01(\tR\x0fbillInformation\"u\n" + - "\x10ProtoSwissQRData\x121\n" + - "\bcreditor\x18\x01 \x01(\v2\x15.ProtoSwissQRCreditorR\bcreditor\x12.\n" + - "\adebitor\x18\x02 \x01(\v2\x14.ProtoSwissQRDebitorR\adebitor\"\xa6\x01\n" + - "\x0eProtoLinebreak\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\x03 \x01(\tR\x04uuid\x12'\n" + - "\x05count\x18\x04 \x01(\v2\x11.ProtoBoxedUint32R\x05count\"W\n" + - "\vProtoBorder\x12%\n" + - "\x06weight\x18\x01 \x01(\v2\r.ProtoMeasureR\x06weight\x12!\n" + - "\x05color\x18\x02 \x01(\v2\v.ProtoColorR\x05color\"\x9e\x01\n" + - "\x10ProtoSideBorders\x12\x1e\n" + - "\x03top\x18\x01 \x01(\v2\f.ProtoBorderR\x03top\x12\"\n" + - "\x05right\x18\x02 \x01(\v2\f.ProtoBorderR\x05right\x12$\n" + - "\x06bottom\x18\x03 \x01(\v2\f.ProtoBorderR\x06bottom\x12 \n" + - "\x04left\x18\x04 \x01(\v2\f.ProtoBorderR\x04left\"Z\n" + - "\x16ProtoBoxedPositionMode\x12(\n" + - "\x05value\x18\x01 \x01(\x0e2\x12.ProtoPositionModeR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xad\x02\n" + - "\x13ProtoColumnSettings\x12(\n" + - "\x05width\x18\x01 \x01(\v2\x12.ProtoBoxedMeasureR\x05width\x12>\n" + - "\x10interColumnSpace\x18\x02 \x01(\v2\x12.ProtoBoxedMeasureR\x10interColumnSpace\x12:\n" + - "\x0epositionOffset\x18\x03 \x01(\v2\x12.ProtoBoxedMeasureR\x0epositionOffset\x126\n" + - "\fpositionMode\x18\x04 \x01(\x0e2\x12.ProtoPositionModeR\fpositionMode\x128\n" + - "\routsideMargin\x18\x05 \x01(\v2\x12.ProtoBoxedMeasureR\routsideMargin\"\xd6\x02\n" + - "\x11ProtoGraphicState\x12#\n" + - "\x04bold\x18\x01 \x01(\v2\x0f.ProtoBoxedBoolR\x04bold\x12'\n" + - "\x06italic\x18\x02 \x01(\v2\x0f.ProtoBoxedBoolR\x06italic\x12+\n" + - "\n" + - "colorStack\x18\x03 \x03(\v2\v.ProtoColorR\n" + - "colorStack\x12-\n" + - "\tsubscript\x18\x04 \x01(\v2\x0f.ProtoBoxedBoolR\tsubscript\x121\n" + - "\vsuperscript\x18\x05 \x01(\v2\x0f.ProtoBoxedBoolR\vsuperscript\x12-\n" + - "\tunderline\x18\x06 \x01(\v2\x0f.ProtoBoxedBoolR\tunderline\x125\n" + - "\rstrikethrough\x18\a \x01(\v2\x0f.ProtoBoxedBoolR\rstrikethrough\"\x11\n" + - "\x0fProtoHtmlParser\"\xca\x01\n" + - "\x12ProtoUnderlineSpec\x12%\n" + - "\x06weight\x18\x01 \x01(\v2\r.ProtoMeasureR\x06weight\x12'\n" + - "\x04mode\x18\x02 \x01(\x0e2\x13.ProtoUnderlineModeR\x04mode\x12!\n" + - "\x05color\x18\x03 \x01(\v2\v.ProtoColorR\x05color\x12\x1a\n" + - "\boffsetEm\x18\x04 \x01(\x05R\boffsetEm\x12%\n" + - "\x05style\x18\x05 \x01(\x0e2\x0f.ProtoRuleStyleR\x05style\"\\\n" + - "\x17ProtoBoxedUnderlineSpec\x12)\n" + - "\x05value\x18\x01 \x01(\v2\x13.ProtoUnderlineSpecR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xad\x01\n" + - "\x11ProtoCropSettings\x12 \n" + - "\x01x\x18\x01 \x01(\v2\x12.ProtoBoxedMeasureR\x01x\x12 \n" + - "\x01y\x18\x02 \x01(\v2\x12.ProtoBoxedMeasureR\x01y\x12(\n" + - "\x05width\x18\x03 \x01(\v2\x12.ProtoBoxedMeasureR\x05width\x12*\n" + - "\x06height\x18\x04 \x01(\v2\x12.ProtoBoxedMeasureR\x06height\"/\n" + - "\x11ProtoFlipSettings\x12\f\n" + - "\x01x\x18\x01 \x01(\bR\x01x\x12\f\n" + - "\x01y\x18\x02 \x01(\bR\x01y\"5\n" + - "\vProtoOption\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value\"\xe4\x02\n" + - "\x13ProtoBaseInputField\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" + - "\x04meta\x18\x02 \x01(\bR\x04meta\x12'\n" + - "\x05value\x18\x03 \x01(\v2\x11.ProtoBoxedStringR\x05value\x12\x1e\n" + - "\n" + - "formatUUID\x18\x04 \x01(\tR\n" + - "formatUUID\x12\"\n" + - "\fdataTypeUUID\x18\x05 \x01(\tR\fdataTypeUUID\x12\"\n" + - "\fonChangeCode\x18\x06 \x01(\tR\fonChangeCode\x12 \n" + - "\vplaceholder\x18\a \x01(\tR\vplaceholder\x12*\n" + - "\x10bindDefaultValue\x18\b \x01(\bR\x10bindDefaultValue\x12*\n" + - "\x10defaultValueCode\x18\t \x01(\tR\x10defaultValueCode\x12\x1a\n" + - "\breadonly\x18\n" + - " \x01(\bR\breadonly\"o\n" + - "\x14ProtoDocumentElement\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"\xa9\x01\n" + - "\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\"{\n" + - "\tProtoLink\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12\x10\n" + - "\x03url\x18\x02 \x01(\tR\x03url\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\x83\x05\n" + - "\x15ProtoListLevelSetting\x12(\n" + - "\x0flistSettingName\x18\x01 \x01(\tR\x0flistSettingName\x12-\n" + - "\bfontSize\x18\x02 \x01(\v2\x11.ProtoBoxedUint32R\bfontSize\x12.\n" + - "\x04type\x18\x03 \x01(\x0e2\x1a.ProtoListLevelSettingTypeR\x04type\x12\x14\n" + - "\x05level\x18\x04 \x01(\x05R\x05level\x12\x16\n" + - "\x06prefix\x18\x05 \x01(\tR\x06prefix\x12\x16\n" + - "\x06suffix\x18\x06 \x01(\tR\x06suffix\x120\n" + - "\rfixFontFamily\x18\a \x01(\v2\n" + - ".ProtoFontR\rfixFontFamily\x12\x18\n" + - "\afixBold\x18\b \x01(\bR\afixBold\x12\x1c\n" + - "\tfixItalic\x18\t \x01(\bR\tfixItalic\x12&\n" + - "\x0eindentionWidth\x18\n" + - " \x01(\x05R\x0eindentionWidth\x12!\n" + - "\x05color\x18\v \x01(\v2\v.ProtoColorR\x05color\x12\x1c\n" + - "\timageName\x18\f \x01(\tR\timageName\x12*\n" + - "\n" + - "fontFamily\x18\r \x01(\v2\n" + - ".ProtoFontR\n" + - "fontFamily\x12#\n" + - "\x04bold\x18\x0e \x01(\v2\x0f.ProtoBoxedBoolR\x04bold\x12'\n" + - "\x06italic\x18\x0f \x01(\v2\x0f.ProtoBoxedBoolR\x06italic\x120\n" + - "\n" + - "numberType\x18\x10 \x01(\x0e2\x10.ProtoNumberTypeR\n" + - "numberType\x12\x1c\n" + - "\tcharacter\x18\x11 \x01(\tR\tcharacter\"\xbe\x03\n" + - "\x1aProtoImageListLevelSetting\x12(\n" + - "\x0flistSettingName\x18\x01 \x01(\tR\x0flistSettingName\x12-\n" + - "\bfontSize\x18\x02 \x01(\v2\x11.ProtoBoxedUint32R\bfontSize\x12.\n" + - "\x04type\x18\x03 \x01(\x0e2\x1a.ProtoListLevelSettingTypeR\x04type\x12\x14\n" + - "\x05level\x18\x04 \x01(\x05R\x05level\x12\x16\n" + - "\x06prefix\x18\x05 \x01(\tR\x06prefix\x12\x16\n" + - "\x06suffix\x18\x06 \x01(\tR\x06suffix\x120\n" + - "\rfixFontFamily\x18\a \x01(\v2\n" + - ".ProtoFontR\rfixFontFamily\x12\x18\n" + - "\afixBold\x18\b \x01(\bR\afixBold\x12\x1c\n" + - "\tfixItalic\x18\t \x01(\bR\tfixItalic\x12&\n" + - "\x0eindentionWidth\x18\n" + - " \x01(\x05R\x0eindentionWidth\x12!\n" + - "\x05color\x18\v \x01(\v2\v.ProtoColorR\x05color\x12\x1c\n" + - "\timageName\x18\f \x01(\tR\timageName\"\x99\x04\n" + - "\x19ProtoTextListLevelSetting\x12(\n" + - "\x0flistSettingName\x18\x01 \x01(\tR\x0flistSettingName\x12-\n" + - "\bfontSize\x18\x02 \x01(\v2\x11.ProtoBoxedUint32R\bfontSize\x12.\n" + - "\x04type\x18\x03 \x01(\x0e2\x1a.ProtoListLevelSettingTypeR\x04type\x12\x14\n" + - "\x05level\x18\x04 \x01(\x05R\x05level\x12\x16\n" + - "\x06prefix\x18\x05 \x01(\tR\x06prefix\x12\x16\n" + - "\x06suffix\x18\x06 \x01(\tR\x06suffix\x120\n" + - "\rfixFontFamily\x18\a \x01(\v2\n" + - ".ProtoFontR\rfixFontFamily\x12\x18\n" + - "\afixBold\x18\b \x01(\bR\afixBold\x12\x1c\n" + - "\tfixItalic\x18\t \x01(\bR\tfixItalic\x12&\n" + - "\x0eindentionWidth\x18\n" + - " \x01(\x05R\x0eindentionWidth\x12!\n" + - "\x05color\x18\v \x01(\v2\v.ProtoColorR\x05color\x12*\n" + - "\n" + - "fontFamily\x18\f \x01(\v2\n" + - ".ProtoFontR\n" + - "fontFamily\x12#\n" + - "\x04bold\x18\r \x01(\v2\x0f.ProtoBoxedBoolR\x04bold\x12'\n" + - "\x06italic\x18\x0e \x01(\v2\x0f.ProtoBoxedBoolR\x06italic\"\xcd\x04\n" + - "\x1bProtoNumberListLevelSetting\x12(\n" + - "\x0flistSettingName\x18\x01 \x01(\tR\x0flistSettingName\x12-\n" + - "\bfontSize\x18\x02 \x01(\v2\x11.ProtoBoxedUint32R\bfontSize\x12.\n" + - "\x04type\x18\x03 \x01(\x0e2\x1a.ProtoListLevelSettingTypeR\x04type\x12\x14\n" + - "\x05level\x18\x04 \x01(\x05R\x05level\x12\x16\n" + - "\x06prefix\x18\x05 \x01(\tR\x06prefix\x12\x16\n" + - "\x06suffix\x18\x06 \x01(\tR\x06suffix\x120\n" + - "\rfixFontFamily\x18\a \x01(\v2\n" + - ".ProtoFontR\rfixFontFamily\x12\x18\n" + - "\afixBold\x18\b \x01(\bR\afixBold\x12\x1c\n" + - "\tfixItalic\x18\t \x01(\bR\tfixItalic\x12&\n" + - "\x0eindentionWidth\x18\n" + - " \x01(\x05R\x0eindentionWidth\x12!\n" + - "\x05color\x18\v \x01(\v2\v.ProtoColorR\x05color\x12*\n" + - "\n" + - "fontFamily\x18\f \x01(\v2\n" + - ".ProtoFontR\n" + - "fontFamily\x12#\n" + - "\x04bold\x18\r \x01(\v2\x0f.ProtoBoxedBoolR\x04bold\x12'\n" + - "\x06italic\x18\x0e \x01(\v2\x0f.ProtoBoxedBoolR\x06italic\x120\n" + - "\n" + - "numberType\x18\x0f \x01(\x0e2\x10.ProtoNumberTypeR\n" + - "numberType\"\xbd\x04\n" + - "\x1fProtoUnnumberedListLevelSetting\x12(\n" + - "\x0flistSettingName\x18\x01 \x01(\tR\x0flistSettingName\x12-\n" + - "\bfontSize\x18\x02 \x01(\v2\x11.ProtoBoxedUint32R\bfontSize\x12.\n" + - "\x04type\x18\x03 \x01(\x0e2\x1a.ProtoListLevelSettingTypeR\x04type\x12\x14\n" + - "\x05level\x18\x04 \x01(\x05R\x05level\x12\x16\n" + - "\x06prefix\x18\x05 \x01(\tR\x06prefix\x12\x16\n" + - "\x06suffix\x18\x06 \x01(\tR\x06suffix\x120\n" + - "\rfixFontFamily\x18\a \x01(\v2\n" + - ".ProtoFontR\rfixFontFamily\x12\x18\n" + - "\afixBold\x18\b \x01(\bR\afixBold\x12\x1c\n" + - "\tfixItalic\x18\t \x01(\bR\tfixItalic\x12&\n" + - "\x0eindentionWidth\x18\n" + - " \x01(\x05R\x0eindentionWidth\x12!\n" + - "\x05color\x18\v \x01(\v2\v.ProtoColorR\x05color\x12*\n" + - "\n" + - "fontFamily\x18\f \x01(\v2\n" + - ".ProtoFontR\n" + - "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" + - "\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" + - "\x15ProtoBoxedListSetting\x12'\n" + - "\x05value\x18\x01 \x01(\v2\x11.ProtoListSettingR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xa1\x02\n" + - "\x10ProtoNamedString\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + - "\x04name\x18\x03 \x01(\tR\x04name\x12(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\x05 \x01(\tR\x04uuid\x12 \n" + - "\vdescription\x18\x06 \x01(\tR\vdescription\x12\x1a\n" + - "\bnameCode\x18\a \x01(\tR\bnameCode\x12\x1a\n" + - "\bcodeMode\x18\b \x01(\bR\bcodeMode\"\xc7\x02\n" + - "\x0eProtoParagraph\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12-\n" + - "\x06format\x18\x03 \x01(\v2\x15.ProtoParagraphFormatR\x06format\x123\n" + - "\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" + - "\x14ProtoParagraphFormat\x125\n" + - "\n" + - "baseFormat\x18\x01 \x01(\v2\x15.ProtoParagraphFormatR\n" + - "baseFormat\x12%\n" + - "\x04name\x18\x02 \x01(\v2\x11.ProtoBoxedStringR\x04name\x12)\n" + - "\adefault\x18\x03 \x01(\v2\x0f.ProtoBoxedBoolR\adefault\x12#\n" + - "\x04font\x18\x04 \x01(\v2\x0f.ProtoBoxedFontR\x04font\x12#\n" + - "\x04bold\x18\x05 \x01(\v2\x0f.ProtoBoxedBoolR\x04bold\x12'\n" + - "\x06italic\x18\x06 \x01(\v2\x0f.ProtoBoxedBoolR\x06italic\x12.\n" + - "\tfontColor\x18\a \x01(\v2\x10.ProtoBoxedColorR\tfontColor\x126\n" + - "\tunderline\x18\b \x01(\v2\x18.ProtoBoxedUnderlineSpecR\tunderline\x12.\n" + - "\bfontSize\x18\t \x01(\v2\x12.ProtoBoxedMeasureR\bfontSize\x12:\n" + - "\x0echaracterWidth\x18\n" + - " \x01(\v2\x12.ProtoBoxedMeasureR\x0echaracterWidth\x12>\n" + - "\x10characterSpacing\x18\v \x01(\v2\x12.ProtoBoxedMeasureR\x10characterSpacing\x12.\n" + - "\blineFeed\x18\f \x01(\v2\x12.ProtoBoxedMeasureR\blineFeed\x12<\n" + - "\talignment\x18\r \x01(\v2\x1e.ProtoBoxedHorizontalAlignmentR\talignment\x12:\n" + - "\x0eindentionWidth\x18\x0e \x01(\v2\x12.ProtoBoxedMeasureR\x0eindentionWidth\x128\n" + - "\x0eindentionLevel\x18\x0f \x01(\v2\x10.ProtoBoxedInt32R\x0eindentionLevel\x122\n" + - "\n" + - "spaceAbove\x18\x10 \x01(\v2\x12.ProtoBoxedMeasureR\n" + - "spaceAbove\x122\n" + - "\n" + - "spaceBelow\x18\x11 \x01(\v2\x12.ProtoBoxedMeasureR\n" + - "spaceBelow\x124\n" + - "\fwidowSetting\x18\x12 \x01(\v2\x10.ProtoBoxedInt32R\fwidowSetting\x126\n" + - "\rorphanSetting\x18\x13 \x01(\v2\x10.ProtoBoxedInt32R\rorphanSetting\x126\n" + - "\rwidowPriority\x18\x14 \x01(\v2\x10.ProtoBoxedInt32R\rwidowPriority\x12B\n" + - "\rstrikethrough\x18\x15 \x01(\v2\x1c.ProtoBoxedStrikethroughSpecR\rstrikethrough\x12F\n" + - "\x14superscriptSubscript\x18\x16 \x01(\v2\x12.ProtoBoxedSPBModeR\x14superscriptSubscript\x12:\n" + - "\x0fbackgroundColor\x18\x17 \x01(\v2\x10.ProtoBoxedColorR\x0fbackgroundColor\x128\n" + - "\vlistSetting\x18\x18 \x01(\v2\x16.ProtoBoxedListSettingR\vlistSetting\x121\n" + - "\vhyphenation\x18\x19 \x01(\v2\x0f.ProtoBoxedBoolR\vhyphenation\x129\n" + - "\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" + - "\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" + - "\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" + - "\tProtoSpan\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12#\n" + - "\x04bold\x18\x03 \x01(\v2\x0f.ProtoBoxedBoolR\x04bold\x12'\n" + - "\x06italic\x18\x04 \x01(\v2\x0f.ProtoBoxedBoolR\x06italic\x12!\n" + - "\x05color\x18\x05 \x01(\v2\v.ProtoColorR\x05color\x12-\n" + - "\tsubscript\x18\x06 \x01(\v2\x0f.ProtoBoxedBoolR\tsubscript\x121\n" + - "\vsuperscript\x18\a \x01(\v2\x0f.ProtoBoxedBoolR\vsuperscript\x12-\n" + - "\tunderline\x18\b \x01(\v2\x0f.ProtoBoxedBoolR\tunderline\x125\n" + - "\rstrikethrough\x18\t \x01(\v2\x0f.ProtoBoxedBoolR\rstrikethrough\x12(\n" + - "\x0fcomChannelUUIDs\x18\n" + - " \x03(\tR\x0fcomChannelUUIDs\"\xfe\x02\n" + - "\n" + - "ProtoTable\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12/\n" + - "\bsettings\x18\x03 \x01(\v2\x13.ProtoTableSettingsR\bsettings\x12\x1e\n" + - "\n" + - "configName\x18\x04 \x01(\tR\n" + - "configName\x12#\n" + - "\tcarryOver\x18\x05 \x01(\v2\x05.NodeR\tcarryOver\x12!\n" + - "\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\"\xbc\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\x01\n" + - "\x12ProtoTableSettings\x12'\n" + - "\axOffset\x18\x01 \x01(\v2\r.ProtoMeasureR\axOffset\x121\n" + - "\vleftMeasure\x18\x02 \x01(\v2\x0f.ProtoBoxedBoolR\vleftMeasure\x12#\n" + - "\x05width\x18\x03 \x01(\v2\r.ProtoMeasureR\x05width\x125\n" + - "\frepeatHeader\x18\x04 \x01(\v2\x11.ProtoBoxedUint32R\frepeatHeader\x12\x1d\n" + - "\x02ws\x18\x05 \x01(\v2\r.ProtoTableWSR\x02ws\"l\n" + - "\x1fProtoBoxedTableContentGroupType\x121\n" + - "\x05value\x18\x01 \x01(\x0e2\x1b.ProtoTableContentGroupTypeR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\xae\x02\n" + - "\x16ProtoTableContentGroup\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12;\n" + - "\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\"\xd4\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" + - "\x1eProtoTableContentGroupSettings\x12L\n" + - "\x10contentGroupType\x18\x01 \x01(\v2 .ProtoBoxedTableContentGroupTypeR\x10contentGroupType\x127\n" + - "\x10backgroundColors\x18\x02 \x03(\v2\v.ProtoColorR\x10backgroundColors\x12\x1d\n" + - "\x02ws\x18\x03 \x01(\v2\r.ProtoTableWSR\x02ws\"\xd9\x02\n" + - "\rProtoTableRow\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x122\n" + - "\bsettings\x18\x03 \x01(\v2\x16.ProtoTableRowSettingsR\bsettings\x12;\n" + - "\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\"\xfe\x01\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" + - "\n" + - "configName\x18\x03 \x01(\tR\n" + - "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" + - "\x15ProtoTableRowSettings\x12+\n" + - "\tminHeight\x18\x01 \x01(\v2\r.ProtoMeasureR\tminHeight\x12\x1d\n" + - "\x02ws\x18\x02 \x01(\v2\r.ProtoTableWSR\x02ws\"\\\n" + - "\x17ProtoBoxedTableCellType\x12)\n" + - "\x05value\x18\x01 \x01(\x0e2\x13.ProtoTableCellTypeR\x05value\x12\x16\n" + - "\x06isNull\x18\x02 \x01(\bR\x06isNull\"\x99\x03\n" + - "\x0eProtoTableCell\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x123\n" + - "\bsettings\x18\x03 \x01(\v2\x17.ProtoTableCellSettingsR\bsettings\x12=\n" + - "\x10cellConfigNumber\x18\x04 \x01(\v2\x11.ProtoBoxedUint32R\x10cellConfigNumber\x12\x1e\n" + - "\n" + - "mergedLeft\x18\x05 \x01(\bR\n" + - "mergedLeft\x12\x1a\n" + - "\bmergedUp\x18\x06 \x01(\bR\bmergedUp\x12(\n" + - "\x0fcomChannelUUIDs\x18\a \x03(\tR\x0fcomChannelUUIDs\x12J\n" + - "\x11elementProperties\x18\b \x01(\v2\x1c.ProtoTableElementPropertiesR\x11elementProperties\"\xfa\x01\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" + - "\n" + - "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" + - "\x16ProtoTableCellSettings\x12#\n" + - "\x05width\x18\x01 \x01(\v2\r.ProtoMeasureR\x05width\x124\n" + - "\x05align\x18\x02 \x01(\v2\x1e.ProtoBoxedHorizontalAlignmentR\x05align\x124\n" + - "\x06valign\x18\x03 \x01(\v2\x1c.ProtoBoxedVerticalAlignmentR\x06valign\x125\n" + - "\x0fbackgroundColor\x18\x04 \x01(\v2\v.ProtoColorR\x0fbackgroundColor\x12,\n" + - "\apadding\x18\x05 \x01(\v2\x12.ProtoSideMeasuresR\apadding\x12)\n" + - "\x06border\x18\x06 \x01(\v2\x11.ProtoSideBordersR\x06border\x12*\n" + - "\x06margin\x18\a \x01(\v2\x12.ProtoSideMeasuresR\x06margin\x12-\n" + - "\brotation\x18\b \x01(\v2\x11.ProtoBoxedDoubleR\brotation\x12I\n" + - "\x16defaultParagraphFormat\x18\t \x01(\v2\x11.ProtoBoxedStringR\x16defaultParagraphFormat\"x\n" + - "\fProtoTableWS\x12&\n" + - "\x0eminLinesBefore\x18\x01 \x01(\rR\x0eminLinesBefore\x12$\n" + - "\rminLinesAfter\x18\x02 \x01(\rR\rminLinesAfter\x12\x1a\n" + - "\bpriority\x18\x03 \x01(\rR\bpriority\"\x97#\n" + - "\x1bProtoTableElementProperties\x128\n" + - "\x10widthInheritance\x18\x01 \x01(\x0e2\f.InheritanceR\x10widthInheritance\x12#\n" + - "\x05width\x18\x02 \x01(\v2\r.ProtoMeasureR\x05width\x12\x1c\n" + - "\twidthCode\x18\x03 \x01(\tR\twidthCode\x128\n" + - "\x10alignInheritance\x18\x04 \x01(\x0e2\f.InheritanceR\x10alignInheritance\x124\n" + - "\x05align\x18\x05 \x01(\v2\x1e.ProtoBoxedHorizontalAlignmentR\x05align\x12\x1c\n" + - "\talignCode\x18\x06 \x01(\tR\talignCode\x12:\n" + - "\x11valignInheritance\x18\a \x01(\x0e2\f.InheritanceR\x11valignInheritance\x124\n" + - "\x06valign\x18\b \x01(\v2\x1c.ProtoBoxedVerticalAlignmentR\x06valign\x12\x1e\n" + - "\n" + - "valignCode\x18\t \x01(\tR\n" + - "valignCode\x12L\n" + - "\x1abackgroundColorInheritance\x18\n" + - " \x01(\x0e2\f.InheritanceR\x1abackgroundColorInheritance\x125\n" + - "\x0fbackgroundColor\x18\v \x03(\v2\v.ProtoColorR\x0fbackgroundColor\x120\n" + - "\x13backgroundColorCode\x18\f \x01(\tR\x13backgroundColorCode\x12B\n" + - "\x15paddingTopInheritance\x18\r \x01(\x0e2\f.InheritanceR\x15paddingTopInheritance\x12-\n" + - "\n" + - "paddingTop\x18\x0e \x01(\v2\r.ProtoMeasureR\n" + - "paddingTop\x12&\n" + - "\x0epaddingTopCode\x18\x0f \x01(\tR\x0epaddingTopCode\x12F\n" + - "\x17paddingRightInheritance\x18\x10 \x01(\x0e2\f.InheritanceR\x17paddingRightInheritance\x121\n" + - "\fpaddingRight\x18\x11 \x01(\v2\r.ProtoMeasureR\fpaddingRight\x12*\n" + - "\x10paddingRightCode\x18\x12 \x01(\tR\x10paddingRightCode\x12H\n" + - "\x18paddingBottomInheritance\x18\x13 \x01(\x0e2\f.InheritanceR\x18paddingBottomInheritance\x123\n" + - "\rpaddingBottom\x18\x14 \x01(\v2\r.ProtoMeasureR\rpaddingBottom\x12,\n" + - "\x11paddingBottomCode\x18\x15 \x01(\tR\x11paddingBottomCode\x12D\n" + - "\x16paddingLeftInheritance\x18\x16 \x01(\x0e2\f.InheritanceR\x16paddingLeftInheritance\x12/\n" + - "\vpaddingLeft\x18\x17 \x01(\v2\r.ProtoMeasureR\vpaddingLeft\x12(\n" + - "\x0fpaddingLeftCode\x18\x18 \x01(\tR\x0fpaddingLeftCode\x12J\n" + - "\x19borderTopColorInheritance\x18\x19 \x01(\x0e2\f.InheritanceR\x19borderTopColorInheritance\x123\n" + - "\x0eborderTopColor\x18\x1a \x01(\v2\v.ProtoColorR\x0eborderTopColor\x12.\n" + - "\x12borderTopColorCode\x18\x1b \x01(\tR\x12borderTopColorCode\x12L\n" + - "\x1aborderTopWeightInheritance\x18\x1c \x01(\x0e2\f.InheritanceR\x1aborderTopWeightInheritance\x127\n" + - "\x0fborderTopWeight\x18\x1d \x01(\v2\r.ProtoMeasureR\x0fborderTopWeight\x120\n" + - "\x13borderTopWeightCode\x18\x1e \x01(\tR\x13borderTopWeightCode\x12N\n" + - "\x1bborderRightColorInheritance\x18\x1f \x01(\x0e2\f.InheritanceR\x1bborderRightColorInheritance\x127\n" + - "\x10borderRightColor\x18 \x01(\v2\v.ProtoColorR\x10borderRightColor\x122\n" + - "\x14borderRightColorCode\x18! \x01(\tR\x14borderRightColorCode\x12P\n" + - "\x1cborderRightWeightInheritance\x18\" \x01(\x0e2\f.InheritanceR\x1cborderRightWeightInheritance\x12;\n" + - "\x11borderRightWeight\x18# \x01(\v2\r.ProtoMeasureR\x11borderRightWeight\x124\n" + - "\x15borderRightWeightCode\x18$ \x01(\tR\x15borderRightWeightCode\x12P\n" + - "\x1cborderBottomColorInheritance\x18% \x01(\x0e2\f.InheritanceR\x1cborderBottomColorInheritance\x129\n" + - "\x11borderBottomColor\x18& \x01(\v2\v.ProtoColorR\x11borderBottomColor\x124\n" + - "\x15borderBottomColorCode\x18' \x01(\tR\x15borderBottomColorCode\x12R\n" + - "\x1dborderBottomWeightInheritance\x18( \x01(\x0e2\f.InheritanceR\x1dborderBottomWeightInheritance\x12=\n" + - "\x12borderBottomWeight\x18) \x01(\v2\r.ProtoMeasureR\x12borderBottomWeight\x126\n" + - "\x16borderBottomWeightCode\x18* \x01(\tR\x16borderBottomWeightCode\x12L\n" + - "\x1aborderLeftColorInheritance\x18+ \x01(\x0e2\f.InheritanceR\x1aborderLeftColorInheritance\x125\n" + - "\x0fborderLeftColor\x18, \x01(\v2\v.ProtoColorR\x0fborderLeftColor\x120\n" + - "\x13borderLeftColorCode\x18- \x01(\tR\x13borderLeftColorCode\x12N\n" + - "\x1bborderLeftWeightInheritance\x18. \x01(\x0e2\f.InheritanceR\x1bborderLeftWeightInheritance\x129\n" + - "\x10borderLeftWeight\x18/ \x01(\v2\r.ProtoMeasureR\x10borderLeftWeight\x122\n" + - "\x14borderLeftWeightCode\x180 \x01(\tR\x14borderLeftWeightCode\x12@\n" + - "\x14marginTopInheritance\x181 \x01(\x0e2\f.InheritanceR\x14marginTopInheritance\x12+\n" + - "\tmarginTop\x182 \x01(\v2\r.ProtoMeasureR\tmarginTop\x12$\n" + - "\rmarginTopCode\x183 \x01(\tR\rmarginTopCode\x12D\n" + - "\x16marginRightInheritance\x184 \x01(\x0e2\f.InheritanceR\x16marginRightInheritance\x12/\n" + - "\vmarginRight\x185 \x01(\v2\r.ProtoMeasureR\vmarginRight\x12(\n" + - "\x0fmarginRightCode\x186 \x01(\tR\x0fmarginRightCode\x12F\n" + - "\x17marginBottomInheritance\x187 \x01(\x0e2\f.InheritanceR\x17marginBottomInheritance\x121\n" + - "\fmarginBottom\x188 \x01(\v2\r.ProtoMeasureR\fmarginBottom\x12*\n" + - "\x10marginBottomCode\x189 \x01(\tR\x10marginBottomCode\x12B\n" + - "\x15marginLeftInheritance\x18: \x01(\x0e2\f.InheritanceR\x15marginLeftInheritance\x12-\n" + - "\n" + - "marginLeft\x18; \x01(\v2\r.ProtoMeasureR\n" + - "marginLeft\x12&\n" + - "\x0emarginLeftCode\x18< \x01(\tR\x0emarginLeftCode\x12>\n" + - "\x13rotationInheritance\x18= \x01(\x0e2\f.InheritanceR\x13rotationInheritance\x12-\n" + - "\brotation\x18> \x01(\v2\x11.ProtoBoxedDoubleR\brotation\x12\"\n" + - "\frotationCode\x18? \x01(\tR\frotationCode\x12b\n" + - "%defaultParagraphFormatUUIDInheritance\x18@ \x01(\x0e2\f.InheritanceR%defaultParagraphFormatUUIDInheritance\x12Q\n" + - "\x1adefaultParagraphFormatUUID\x18A \x01(\v2\x11.ProtoBoxedStringR\x1adefaultParagraphFormatUUID\x12F\n" + - "\x1edefaultParagraphFormatUUIDCode\x18B \x01(\tR\x1edefaultParagraphFormatUUIDCode\x12X\n" + - " tableContentGroupTypeInheritance\x18C \x01(\x0e2\f.InheritanceR tableContentGroupTypeInheritance\x12V\n" + - "\x15tableContentGroupType\x18D \x01(\v2 .ProtoBoxedTableContentGroupTypeR\x15tableContentGroupType\x12<\n" + - "\x19tableContentGroupTypeCode\x18E \x01(\tR\x19tableContentGroupTypeCode\x12>\n" + - "\x13cellTypeInheritance\x18F \x01(\x0e2\f.InheritanceR\x13cellTypeInheritance\x124\n" + - "\bcellType\x18G \x01(\v2\x18.ProtoBoxedTableCellTypeR\bcellType\x12\"\n" + - "\fcellTypeCode\x18H \x01(\tR\fcellTypeCode\x12F\n" + - "\x17minRowHeightInheritance\x18I \x01(\x0e2\f.InheritanceR\x17minRowHeightInheritance\x121\n" + - "\fminRowHeight\x18J \x01(\v2\r.ProtoMeasureR\fminRowHeight\x12*\n" + - "\x10minRowHeightCode\x18K \x01(\tR\x10minRowHeightCode\x122\n" + - "\rwsInheritance\x18L \x01(\x0e2\f.InheritanceR\rwsInheritance\x12\x1d\n" + - "\x02ws\x18M \x01(\v2\r.ProtoTableWSR\x02ws\x12\x16\n" + - "\x06wsCode\x18N \x01(\tR\x06wsCode\"~\n" + - "\tProtoText\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x18\n" + - "\acontent\x18\x02 \x01(\tR\acontent\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\x8a\x04\n" + - "\fProtoBarcode\x12%\n" + - "\x04type\x18\x01 \x01(\x0e2\x11.ProtoBarcodeTypeR\x04type\x12\x1b\n" + - "\x01x\x18\x02 \x01(\v2\r.ProtoMeasureR\x01x\x12\x1b\n" + - "\x01y\x18\x03 \x01(\v2\r.ProtoMeasureR\x01y\x12A\n" + - "\x0ereferencePoint\x18\x04 \x01(\x0e2\x19.ProtoImageReferencePointR\x0ereferencePoint\x12\x1a\n" + - "\brotation\x18\x05 \x01(\x02R\brotation\x12#\n" + - "\x05width\x18\x06 \x01(\v2\r.ProtoMeasureR\x05width\x12%\n" + - "\x06height\x18\a \x01(\v2\r.ProtoMeasureR\x06height\x12'\n" + - "\apadding\x18\b \x01(\v2\r.ProtoMeasureR\apadding\x12\x12\n" + - "\x04data\x18\t \x01(\tR\x04data\x12*\n" + - "\x10positionAbsolute\x18\n" + - " \x01(\bR\x10positionAbsolute\x12(\n" + - "\x0fcomChannelUUIDs\x18\v \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\f \x01(\tR\x04uuid\x12\x12\n" + - "\x04code\x18\r \x01(\tR\x04code\x123\n" + - "\vswissQRData\x18\x0e \x01(\v2\x11.ProtoSwissQRDataR\vswissQRData\"y\n" + - "\x13ProtoBrickReference\x12\x1e\n" + - "\n" + - "internName\x18\x01 \x01(\tR\n" + - "internName\x12\x18\n" + - "\aversion\x18\x02 \x01(\rR\aversion\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\x8d\x02\n" + - "\n" + - "ProtoBrick\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x0e\n" + - "\x02id\x18\x03 \x01(\x04R\x02id\x12\x1e\n" + - "\n" + - "internName\x18\x04 \x01(\tR\n" + - "internName\x12\x12\n" + - "\x04uuid\x18\x05 \x01(\tR\x04uuid\x12\x1a\n" + - "\beditable\x18\x06 \x01(\bR\beditable\x12(\n" + - "\x0fcomChannelUUIDs\x18\a \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04name\x18\b \x01(\tR\x04name\"\xc8\x02\n" + - "\rProtoTemplate\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\x12\x12\n" + - "\x04uuid\x18\x04 \x01(\tR\x04uuid\x12:\n" + - "\x0fcolumnBalancing\x18\x05 \x01(\x0e2\x10.ColumnBalancingR\x0fcolumnBalancing\x126\n" + - "\fsemanticType\x18\x06 \x01(\x0e2\x12.ProtoSemanticTypeR\fsemanticType\x12\"\n" + - "\ftemplateUuid\x18\a \x01(\tR\ftemplateUuid\"\xd4\x01\n" + - "\vProtoHeader\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(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12$\n" + - "\x04mode\x18\x05 \x01(\x0e2\x10.ProtoHeaderModeR\x04mode\"\xd4\x01\n" + - "\vProtoFooter\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(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12$\n" + - "\x04mode\x18\x05 \x01(\x0e2\x10.ProtoFooterModeR\x04mode\"\x87\x1b\n" + - "\x04Node\x12!\n" + - "\bchildren\x18\x01 \x03(\v2\x05.NodeR\bchildren\x126\n" + - "\flist_setting\x18\x02 \x01(\v2\x11.ProtoListSettingH\x00R\vlistSetting\x12,\n" + - "\bcolorDef\x18\x03 \x01(\v2\x0e.ProtoColorDefH\x00R\bcolorDef\x12#\n" + - "\x05brick\x18\x04 \x01(\v2\v.ProtoBrickH\x00R\x05brick\x12,\n" + - "\btemplate\x18\x05 \x01(\v2\x0e.ProtoTemplateH\x00R\btemplate\x12/\n" + - "\tformatted\x18\x06 \x01(\v2\x0f.ProtoFormattedH\x00R\tformatted\x12#\n" + - "\x05image\x18\a \x01(\v2\v.ProtoImageH\x00R\x05image\x12B\n" + - "\x10paragraph_format\x18\b \x01(\v2\x15.ProtoParagraphFormatH\x00R\x0fparagraphFormat\x120\n" + - "\n" + - "text_brick\x18\t \x01(\v2\x0f.ProtoTextBrickH\x00R\ttextBrick\x12 \n" + - "\x04text\x18\n" + - " \x01(\v2\n" + - ".ProtoTextH\x00R\x04text\x12/\n" + - "\tlinebreak\x18\v \x01(\v2\x0f.ProtoLinebreakH\x00R\tlinebreak\x12B\n" + - "\x10space_vertically\x18\f \x01(\v2\x15.ProtoSpaceVerticallyH\x00R\x0fspaceVertically\x12&\n" + - "\x06footer\x18\r \x01(\v2\f.ProtoFooterH\x00R\x06footer\x12&\n" + - "\x06header\x18\x0e \x01(\v2\f.ProtoHeaderH\x00R\x06header\x12#\n" + - "\x05table\x18\x0f \x01(\v2\v.ProtoTableH\x00R\x05table\x12-\n" + - "\ttable_row\x18\x10 \x01(\v2\x0e.ProtoTableRowH\x00R\btableRow\x120\n" + - "\n" + - "table_cell\x18\x11 \x01(\v2\x0f.ProtoTableCellH\x00R\ttableCell\x12!\n" + - "\x05c_def\x18\x12 \x01(\v2\n" + - ".ProtoCDefH\x00R\x04cDef\x12!\n" + - "\x05p_def\x18\x13 \x01(\v2\n" + - ".ProtoPDefH\x00R\x04pDef\x126\n" + - "\vapply_c_def\x18\x14 \x01(\v2\x14.ProtoApplyProtoCDefH\x00R\tapplyCDef\x126\n" + - "\vapply_p_def\x18\x15 \x01(\v2\x14.ProtoApplyProtoPDefH\x00R\tapplyPDef\x12=\n" + - "\x0fapply_pt_config\x18\x16 \x01(\v2\x13.ProtoApplyPtConfigH\x00R\rapplyPtConfig\x12=\n" + - "\x0fapply_ul_config\x18\x17 \x01(\v2\x13.ProtoApplyUlConfigH\x00R\rapplyUlConfig\x12-\n" + - "\tpt_config\x18\x18 \x01(\v2\x0e.ProtoPtConfigH\x00R\bptConfig\x12-\n" + - "\tul_config\x18\x19 \x01(\v2\x0e.ProtoUlConfigH\x00R\bulConfig\x12*\n" + - "\bnew_page\x18\x1a \x01(\v2\r.ProtoNewPageH\x00R\anewPage\x12,\n" + - "\bvariable\x18\x1b \x01(\v2\x0e.ProtoVariableH\x00R\bvariable\x126\n" + - "\fnamed_string\x18\x1c \x01(\v2\x11.ProtoNamedStringH\x00R\vnamedString\x12/\n" + - "\tparagraph\x18\x1e \x01(\v2\x0f.ProtoParagraphH\x00R\tparagraph\x12)\n" + - "\asection\x18\x1f \x01(\v2\r.ProtoSectionH\x00R\asection\x12 \n" + - "\x04span\x18 \x01(\v2\n" + - ".ProtoSpanH\x00R\x04span\x12 \n" + - "\x04link\x18! \x01(\v2\n" + - ".ProtoLinkH\x00R\x04link\x12/\n" + - "\tdirectory\x18\" \x01(\v2\x0f.ProtoDirectoryH\x00R\tdirectory\x12I\n" + - "\x13table_content_group\x18# \x01(\v2\x17.ProtoTableContentGroupH\x00R\x11tableContentGroup\x126\n" + - "\ftable_config\x18$ \x01(\v2\x11.ProtoTableConfigH\x00R\vtableConfig\x12C\n" + - "\x11table_cell_config\x18% \x01(\v2\x15.ProtoTableCellConfigH\x00R\x0ftableCellConfig\x12@\n" + - "\x10table_row_config\x18& \x01(\v2\x14.ProtoTableRowConfigH\x00R\x0etableRowConfig\x12\\\n" + - "\x1atable_content_group_config\x18' \x01(\v2\x1d.ProtoTableContentGroupConfigH\x00R\x17tableContentGroupConfig\x12?\n" + - "\x0fbrick_reference\x18( \x01(\v2\x14.ProtoBrickReferenceH\x00R\x0ebrickReference\x125\n" + - "\vindentation\x187 \x01(\v2\x11.ProtoIndentationH\x00R\vindentation\x12)\n" + - "\abarcode\x188 \x01(\v2\r.ProtoBarcodeH\x00R\abarcode\x12'\n" + - "\aws_area\x189 \x01(\v2\f.ProtoWsAreaH\x00R\x06wsArea\x120\n" + - "\n" + - "carry_over\x18: \x01(\v2\x0f.ProtoCarryOverH\x00R\tcarryOver\x12-\n" + - "\tsub_total\x18; \x01(\v2\x0e.ProtoSubTotalH\x00R\bsubTotal\x12 \n" + - "\x04loop\x18< \x01(\v2\n" + - ".ProtoLoopH\x00R\x04loop\x120\n" + - "\n" + - "loop_entry\x18= \x01(\v2\x0f.ProtoLoopEntryH\x00R\tloopEntry\x12 \n" + - "\x04rule\x18> \x01(\v2\n" + - ".ProtoRuleH\x00R\x04rule\x12&\n" + - "\x06layout\x18? \x01(\v2\f.ProtoLayoutH\x00R\x06layout\x12^\n" + - "\x1aadvanced_illustration_area\x18@ \x01(\v2\x1e.ProtoAdvancedIllustrationAreaH\x00R\x18advancedIllustrationArea\x12K\n" + - "\x13adjust_horizontally\x18A \x01(\v2\x18.ProtoAdjustHorizontallyH\x00R\x12adjustHorizontally\x12;\n" + - "\rdoctypeScript\x18B \x01(\v2\x13.ProtoDoctypeScriptH\x00R\rdoctypeScript\x12,\n" + - "\bdmScript\x18C \x01(\v2\x0e.ProtoDmScriptH\x00R\bdmScript\x12B\n" + - "\x10dynamic_template\x18D \x01(\v2\x15.ProtoDynamicTemplateH\x00R\x0fdynamicTemplate\x12/\n" + - "\tselection\x18E \x01(\v2\x0f.ProtoSelectionH\x00R\tselection\x12?\n" + - "\x0fselection_entry\x18F \x01(\v2\x14.ProtoSelectionEntryH\x00R\x0eselectionEntry\x12/\n" + - "\tcondition\x18G \x01(\v2\x0f.ProtoConditionH\x00R\tcondition\x12<\n" + - "\x0epage_condition\x18H \x01(\v2\x13.ProtoPageConditionH\x00R\rpageCondition\x12&\n" + - "\x06locale\x18I \x01(\v2\f.ProtoLocaleH\x00R\x06locale\x12\x1d\n" + - "\x03tag\x18J \x01(\v2\t.ProtoTagH\x00R\x03tag\x12O\n" + - "\x15paragraph_set_default\x18K \x01(\v2\x19.ProtoParagraphSetDefaultH\x00R\x13paragraphSetDefault\x12@\n" + - "\x10input_field_text\x18L \x01(\v2\x14.ProtoInputFieldTextH\x00R\x0einputFieldText\x12@\n" + - "\x10input_field_date\x18M \x01(\v2\x14.ProtoInputFieldDateH\x00R\x0einputFieldDate\x12L\n" + - "\x14input_field_checkbox\x18N \x01(\v2\x18.ProtoInputFieldCheckboxH\x00R\x12inputFieldCheckbox\x12C\n" + - "\x11input_field_label\x18O \x01(\v2\x15.ProtoInputFieldLabelH\x00R\x0finputFieldLabel\x12L\n" + - "\x14input_field_dropdown\x18P \x01(\v2\x18.ProtoInputFieldDropdownH\x00R\x12inputFieldDropdownB\b\n" + - "\x06object\"\xe6\b\n" + - "\n" + - "ProtoImage\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x10\n" + - "\x03alt\x18\x02 \x01(\tR\x03alt\x12\x12\n" + - "\x04name\x18\x03 \x01(\tR\x04name\x12\x10\n" + - "\x03src\x18\x04 \x01(\tR\x03src\x12\x1a\n" + - "\bfilename\x18\x05 \x01(\tR\bfilename\x12'\n" + - "\x05scale\x18\x06 \x01(\v2\x11.ProtoBoxedDoubleR\x05scale\x123\n" + - "\vcolumnScale\x18\a \x01(\v2\x11.ProtoBoxedDoubleR\vcolumnScale\x12(\n" + - "\x05width\x18\b \x01(\v2\x12.ProtoBoxedMeasureR\x05width\x12*\n" + - "\x06height\x18\t \x01(\v2\x12.ProtoBoxedMeasureR\x06height\x12 \n" + - "\x01x\x18\n" + - " \x01(\v2\x12.ProtoBoxedMeasureR\x01x\x12 \n" + - "\x01y\x18\v \x01(\v2\x12.ProtoBoxedMeasureR\x01y\x12;\n" + - "\x10positionAbsolute\x18\f \x01(\v2\x0f.ProtoBoxedBoolR\x10positionAbsolute\x12\x1a\n" + - "\brotation\x18\r \x01(\x01R\brotation\x126\n" + - "\fflipSettings\x18\x0e \x01(\v2\x12.ProtoFlipSettingsR\fflipSettings\x126\n" + - "\fcropSettings\x18\x0f \x01(\v2\x12.ProtoCropSettingsR\fcropSettings\x12=\n" + - "\x03aia\x18\x10 \x01(\v2+.ProtoAdvancedIllustrationAreaImageSettingsR\x03aia\x12\x12\n" + - "\x04uuid\x18\x11 \x01(\tR\x04uuid\x12A\n" + - "\x0ereferencePoint\x18\x12 \x01(\x0e2\x19.ProtoImageReferencePointR\x0ereferencePoint\x12\x1c\n" + - "\thyperlink\x18\x13 \x01(\tR\thyperlink\x12(\n" + - "\x0fcomChannelUUIDs\x18\x14 \x03(\tR\x0fcomChannelUUIDs\x12B\n" + - "\x10imageContentType\x18\x15 \x01(\x0e2\x16.ProtoImageContentTypeR\x10imageContentType\x12\"\n" + - "\fimageContent\x18\x16 \x01(\tR\fimageContent\x122\n" + - "\tscaleType\x18\x17 \x01(\x0e2\x14.ProtoImageScaleTypeR\tscaleType\x12)\n" + - "\x06uaMode\x18\x18 \x01(\x0e2\x11.ProtoImageUAModeR\x06uaMode\x12$\n" + - "\ruaDescription\x18\x19 \x01(\tR\ruaDescription\x12I\n" + - "\x17leftBorderIsLeftMeasure\x18\x1a \x01(\v2\x0f.ProtoBoxedBoolR\x17leftBorderIsLeftMeasure\"\x99\x02\n" + - "\x0eProtoDirectory\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(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x126\n" + - "\fsemanticType\x18\x05 \x01(\x0e2\x12.ProtoSemanticTypeR\fsemanticType\x12\x1a\n" + - "\beditable\x18\x06 \x01(\bR\beditable\x12\x12\n" + - "\x04name\x18\a \x01(\tR\x04name\"\xf1\x01\n" + - "\x0eProtoTextBrick\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\x0e\n" + - "\x02id\x18\x04 \x01(\x04R\x02id\x12(\n" + - "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\x12\x1a\n" + - "\beditable\x18\x06 \x01(\bR\beditable\x12\x12\n" + - "\x04name\x18\a \x01(\tR\x04name\"\x87\x02\n" + - "\rProtoVariable\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + - "\x04path\x18\x02 \x01(\tR\x04path\x12\x18\n" + - "\acontent\x18\x03 \x01(\tR\acontent\x12\x1e\n" + - "\n" + - "formatUuid\x18\x04 \x01(\tR\n" + - "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" + - "\x0eProtoFormatted\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12&\n" + - "\x0edteditorSyntax\x18\x02 \x01(\bR\x0edteditorSyntax\x12&\n" + - "\x0edoctypeContent\x18\x03 \x01(\tR\x0edoctypeContent\x12 \n" + - "\vdoctypeCode\x18\x04 \x01(\tR\vdoctypeCode\x12 \n" + - "\vhtmlContent\x18\x05 \x01(\tR\vhtmlContent\x12\x1a\n" + - "\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" + - "\x13ProtoApplyProtoCDef\x12\x1a\n" + - "\bcDefUuid\x18\x01 \x01(\tR\bcDefUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"[\n" + - "\x13ProtoApplyProtoPDef\x12\x1a\n" + - "\bpDefUuid\x18\x01 \x01(\tR\bpDefUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"b\n" + - "\x12ProtoApplyPtConfig\x12\"\n" + - "\fptConfigUuid\x18\x01 \x01(\tR\fptConfigUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"b\n" + - "\x12ProtoApplyUlConfig\x12\"\n" + - "\fulConfigUuid\x18\x01 \x01(\tR\fulConfigUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"\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" + - "\x0eapplyImmediate\x18\x03 \x01(\v2\x0f.ProtoBoxedBoolR\x0eapplyImmediate\x12\x12\n" + - "\x04Uuid\x18\x04 \x01(\tR\x04Uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"\xad\x01\n" + - "\tProtoPDef\x120\n" + - "\tpageWidth\x18\x01 \x01(\v2\x12.ProtoBoxedMeasureR\tpageWidth\x120\n" + - "\tpageDepth\x18\x02 \x01(\v2\x12.ProtoBoxedMeasureR\tpageDepth\x12\x12\n" + - "\x04Uuid\x18\x03 \x01(\tR\x04Uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\"\x99\x02\n" + - "\rProtoPtConfig\x12*\n" + - "\x06height\x18\x01 \x01(\v2\x12.ProtoBoxedMeasureR\x06height\x12.\n" + - "\blineFeed\x18\x02 \x01(\v2\x12.ProtoBoxedMeasureR\blineFeed\x12:\n" + - "\x0echaracterWidth\x18\x03 \x01(\v2\x12.ProtoBoxedMeasureR\x0echaracterWidth\x122\n" + - "\n" + - "spaceWidth\x18\x04 \x01(\v2\x12.ProtoBoxedMeasureR\n" + - "spaceWidth\x12\x12\n" + - "\x04Uuid\x18\x05 \x01(\tR\x04Uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\"v\n" + - "\rProtoUlConfig\x12'\n" + - "\x04mode\x18\x01 \x01(\x0e2\x13.ProtoUnderlineModeR\x04mode\x12\x12\n" + - "\x04Uuid\x18\x02 \x01(\tR\x04Uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\"\xe1\x02\n" + - "\fProtoNewPage\x12\x12\n" + - "\x04uuid\x18\x01 \x01(\tR\x04uuid\x12$\n" + - "\rpaperTrayUuid\x18\x02 \x01(\tR\rpaperTrayUuid\x12(\n" + - "\x0fpaperTrayNumber\x18\x03 \x01(\rR\x0fpaperTrayNumber\x12\x1e\n" + - "\n" + - "paperCount\x18\x04 \x01(\rR\n" + - "paperCount\x12*\n" + - "\bpageMode\x18\x05 \x01(\x0e2\x0e.ProtoPageModeR\bpageMode\x12?\n" + - "\x0fpageOrientation\x18\x06 \x01(\x0e2\x15.ProtoPageOrientationR\x0fpageOrientation\x12\x1a\n" + - "\bpDefUuid\x18\a \x01(\tR\bpDefUuid\x12\x1a\n" + - "\bcDefUuid\x18\b \x01(\tR\bcDefUuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\t \x03(\tR\x0fcomChannelUUIDs\"\x85\x02\n" + - "\x10ProtoIndentation\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\x06parent\x18\x02 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12&\n" + - "\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" + - "\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" + - "\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" + - "\x04path\x18\x03 \x01(\tR\x04path\x12\x14\n" + - "\x05index\x18\x04 \x01(\x04R\x05index\x12\x12\n" + - "\x04uuid\x18\x05 \x01(\tR\x04uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\"\xc0\x01\n" + - "\tProtoLoop\x122\n" + - "\t_children\x18\x01 \x03(\v2\x15.ProtoDocumentElementR\bChildren\x12-\n" + - "\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" + - "\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" + - "\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" + - "\tProtoRule\x12'\n" + - "\axOffset\x18\x01 \x01(\v2\r.ProtoMeasureR\axOffset\x12'\n" + - "\ayOffset\x18\x02 \x01(\v2\r.ProtoMeasureR\ayOffset\x12#\n" + - "\x05width\x18\x03 \x01(\v2\r.ProtoMeasureR\x05width\x12+\n" + - "\tthickness\x18\x04 \x01(\v2\r.ProtoMeasureR\tthickness\x12\x1a\n" + - "\brotation\x18\x05 \x01(\x01R\brotation\x12!\n" + - "\x05color\x18\x06 \x01(\v2\v.ProtoColorR\x05color\x12%\n" + - "\x05style\x18\a \x01(\x0e2\x0f.ProtoRuleStyleR\x05style\x12\"\n" + - "\x04mode\x18\b \x01(\x0e2\x0e.ProtoRuleModeR\x04mode\x124\n" + - "\n" + - "boundaries\x18\t \x01(\v2\x14.ProtoRuleBoundariesR\n" + - "boundaries\x12(\n" + - "\x0fcomChannelUUIDs\x18\n" + - " \x03(\tR\x0fcomChannelUUIDs\"[\n" + - "\x13ProtoRuleBoundaries\x12#\n" + - "\x05start\x18\x01 \x01(\v2\r.ProtoMeasureR\x05start\x12\x1f\n" + - "\x03end\x18\x02 \x01(\v2\r.ProtoMeasureR\x03end\"\\\n" + - "\rProtoColorDef\x12!\n" + - "\x05color\x18\x01 \x01(\v2\v.ProtoColorR\x05color\x12(\n" + - "\x0fcomChannelUUIDs\x18\x02 \x03(\tR\x0fcomChannelUUIDs\"z\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" + - "\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" + - "\x04uuid\x18\x03 \x01(\tR\x04uuid\x12\x1a\n" + - "\babsolute\x18\x04 \x01(\bR\babsolute\x12#\n" + - "\x05width\x18\x05 \x01(\v2\r.ProtoMeasureR\x05width\x12%\n" + - "\x06height\x18\x06 \x01(\v2\r.ProtoMeasureR\x06height\x12\x1b\n" + - "\x01x\x18\a \x01(\v2\r.ProtoMeasureR\x01x\x12\x1b\n" + - "\x01y\x18\b \x01(\v2\r.ProtoMeasureR\x01y\x12F\n" + - "\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" + - "\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" + - "\x12ProtoDoctypeScript\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x18\n" + - "\acontent\x18\x02 \x01(\tR\acontent\x127\n" + - "\n" + - "outputMode\x18\x03 \x01(\x0e2\x17.ProtoDoctypeOutputModeR\n" + - "outputMode\x12(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\x05 \x01(\tR\x04uuid\"\x96\x01\n" + - "\rProtoDmScript\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x18\n" + - "\acontent\x18\x02 \x01(\tR\acontent\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\x04 \x01(\tR\x04uuid\"\x9b\x01\n" + - "\x14ProtoDynamicTemplate\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + - "\x04uuid\x18\x02 \x01(\tR\x04uuid\x12\x16\n" + - "\x06script\x18\x03 \x01(\tR\x06script\x12(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\"\xa3\x02\n" + - "\x0eProtoSelection\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(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12\"\n" + - "\finternalName\x18\x05 \x01(\tR\finternalName\x12\x12\n" + - "\x04name\x18\x06 \x01(\tR\x04name\x12\x14\n" + - "\x05multi\x18\a \x01(\bR\x05multi\x12\x10\n" + - "\x03min\x18\b \x01(\x04R\x03min\x12\x10\n" + - "\x03max\x18\t \x01(\x04R\x03max\"\x8a\x02\n" + - "\x13ProtoSelectionEntry\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(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12\"\n" + - "\finternalName\x18\x05 \x01(\tR\finternalName\x12\x12\n" + - "\x04name\x18\x06 \x01(\tR\x04name\x12\x1a\n" + - "\bselected\x18\a \x01(\bR\bselected\"\xfd\x01\n" + - "\x0eProtoCondition\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(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04code\x18\x05 \x01(\tR\x04code\x12\x16\n" + - "\x06result\x18\x06 \x01(\bR\x06result\x12\x1e\n" + - "\n" + - "regenerate\x18\a \x01(\bR\n" + - "regenerate\"\xc9\x01\n" + - "\x12ProtoPageCondition\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(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04code\x18\x05 \x01(\tR\x04code\"\xf6\x01\n" + - "\vProtoLocale\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(\n" + - "\x0fcomChannelUUIDs\x18\x04 \x03(\tR\x0fcomChannelUUIDs\x12$\n" + - "\rlanguageUUIDs\x18\x05 \x03(\tR\rlanguageUUIDs\x12 \n" + - "\vregionUUIDs\x18\x06 \x03(\tR\vregionUUIDs\"\xdb\x01\n" + - "\bProtoTag\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\x12\x12\n" + - "\x04uuid\x18\x04 \x01(\tR\x04uuid\x12\x16\n" + - "\x06params\x18\x05 \x03(\tR\x06params\x12\x1a\n" + - "\bnameCode\x18\x06 \x01(\tR\bnameCode\x12\x1a\n" + - "\bcodeMode\x18\a \x01(\bR\bcodeMode\"\xcd\x01\n" + - "\x18ProtoParagraphSetDefault\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12\x12\n" + - "\x04name\x18\x02 \x01(\tR\x04name\x120\n" + - "\x13paragraphFormatUUID\x18\x03 \x01(\tR\x13paragraphFormatUUID\x12\x12\n" + - "\x04uuid\x18\x04 \x01(\tR\x04uuid\x12(\n" + - "\x0fcomChannelUUIDs\x18\x05 \x03(\tR\x0fcomChannelUUIDs\"\xc9\x02\n" + - "\x13ProtoInputFieldText\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x04base\x18\x02 \x01(\v2\x14.ProtoBaseInputFieldR\x04base\x12H\n" + - "\x15pdf_printing_behavior\x18\x03 \x01(\x0e2\x14.PDFPrintingBehaviorR\x13pdfPrintingBehavior\x12-\n" + - "\bpdf_size\x18\x04 \x01(\v2\x12.ProtoBoxedMeasureR\apdfSize\x12\"\n" + - "\rpdf_form_name\x18\x05 \x01(\tR\vpdfFormName\x12(\n" + - "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\a \x01(\tR\x04uuid\"\xac\x01\n" + - "\x13ProtoInputFieldDate\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x04base\x18\x02 \x01(\v2\x14.ProtoBaseInputFieldR\x04base\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\x04 \x01(\tR\x04uuid\"\xb0\x01\n" + - "\x17ProtoInputFieldCheckbox\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x04base\x18\x02 \x01(\v2\x14.ProtoBaseInputFieldR\x04base\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\x04 \x01(\tR\x04uuid\"\xad\x01\n" + - "\x14ProtoInputFieldLabel\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x04base\x18\x02 \x01(\v2\x14.ProtoBaseInputFieldR\x04base\x12(\n" + - "\x0fcomChannelUUIDs\x18\x03 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\x04 \x01(\tR\x04uuid\"\xa4\x02\n" + - "\x17ProtoInputFieldDropdown\x12-\n" + - "\x06parent\x18\x01 \x01(\v2\x15.ProtoDocumentElementR\x06parent\x12(\n" + - "\x04base\x18\x02 \x01(\v2\x14.ProtoBaseInputFieldR\x04base\x12&\n" + - "\aoptions\x18\x03 \x03(\v2\f.ProtoOptionR\aoptions\x12(\n" + - "\x0fbindOptionsCode\x18\x04 \x01(\bR\x0fbindOptionsCode\x12 \n" + - "\voptionsCode\x18\x05 \x01(\tR\voptionsCode\x12(\n" + - "\x0fcomChannelUUIDs\x18\x06 \x03(\tR\x0fcomChannelUUIDs\x12\x12\n" + - "\x04uuid\x18\a \x01(\tR\x04uuid*8\n" + - "\fProtoSPBMode\x12\b\n" + - "\x04NONE\x10\x00\x12\x0f\n" + - "\vSUPERSCRIPT\x10\x01\x12\r\n" + - "\tSUBSCRIPT\x10\x02*\xf9\x01\n" + - "\x0eProtoRuleStyle\x12\x14\n" + - "\x10DUMMY_RULE_STYLE\x10\x00\x12\t\n" + - "\x05SOLID\x10\x01\x12\x12\n" + - "\x0eSPARSE_SHADING\x10\x02\x12\x12\n" + - "\x0eMEDIUM_SHADING\x10\x03\x12\x11\n" + - "\rDENSE_SHADING\x10\x04\x12\x10\n" + - "\fLIGHT_DOTTED\x10\x05\x12\x11\n" + - "\rMEDIUM_DOTTED\x10\x06\x12\x10\n" + - "\fHEAVY_DOTTED\x10\a\x12\x10\n" + - "\fLIGHT_DASHED\x10\b\x12\x11\n" + - "\rMEDIUM_DASHED\x10\t\x12\x10\n" + - "\fHEAVY_DASHED\x10\n" + - "\x12\x10\n" + - "\fDASH_PATTERN\x10\v\x12\v\n" + - "\x06DOUBLE\x10\xfe\x01*G\n" + - "\x10ProtoMeasureType\x12\x06\n" + - "\x02PT\x10\x00\x12\x06\n" + - "\x02CM\x10\x01\x12\x06\n" + - "\x02MM\x10\x02\x12\x06\n" + - "\x02IN\x10\x03\x12\v\n" + - "\aPERCENT\x10\x04\x12\x06\n" + - "\x02PX\x10\x05*{\n" + - ")ProtoAdvancedIllustrationAreaTextFlowType\x12\x15\n" + - "\x11DO_NOT_USE_AT_ALL\x10\x00\x12\n" + - "\n" + - "\x06AROUND\x10\x01\x12\v\n" + - "\aNO_FLOW\x10\x02\x12\x0e\n" + - "\n" + - "FOREGROUND\x10\x03\x12\x0e\n" + - "\n" + - "BACKGROUND\x10\x04*9\n" + - "\x0eProtoColorType\x12\x14\n" + - "\x10DUMMY_COLOR_TYPE\x10\x00\x12\a\n" + - "\x03RGB\x10\x03\x12\b\n" + - "\x04CMYK\x10\x04*\x92\x01\n" + - "\x18ProtoHorizontalAlignment\x12\x0e\n" + - "\n" + - "ALIGN_LEFT\x10\x00\x12\x10\n" + - "\fALIGN_CENTER\x10\x01\x12\x0f\n" + - "\vALIGN_RIGHT\x10\x02\x12\x11\n" + - "\rALIGN_JUSTIFY\x10\x03\x12\x16\n" + - "\x12ALIGN_FULL_JUSTIFY\x10\x04\x12\x18\n" + - "\x14ALIGN_CENTER_ON_PAGE\x10\x05*9\n" + - "\x16ProtoVerticalAlignment\x12\a\n" + - "\x03TOP\x10\x00\x12\n" + - "\n" + - "\x06MIDDLE\x10\x01\x12\n" + - "\n" + - "\x06BOTTOM\x10\x02*\x83\x01\n" + - "\x10ProtoBarcodeType\x12\n" + - "\n" + - "\x06PDF417\x10\x00\x12\x0e\n" + - "\n" + - "DATAMATRIX\x10\x01\x12\t\n" + - "\x05BC128\x10\x02\x12\x06\n" + - "\x02QR\x10\x03\x12\a\n" + - "\x03ITF\x10\x04\x12\b\n" + - "\x04EAN8\x10\x05\x12\t\n" + - "\x05EAN13\x10\x06\x12\n" + - "\n" + - "\x06CODE39\x10\a\x12\v\n" + - "\aSWISSQR\x10\b\x12\t\n" + - "\x05AZTEC\x10\t*R\n" + - "\x11ProtoPositionMode\x12\n" + - "\n" + - "\x06CENTER\x10\x00\x12\b\n" + - "\x04LEFT\x10\x01\x12\t\n" + - "\x05FOLIO\x10\x02\x12\t\n" + - "\x05RIGHT\x10\x03\x12\x11\n" + - "\rREVERSE_FOLIO\x10\x04*\x8e\x01\n" + - "\x12ProtoUnderlineMode\x12\x18\n" + - "\x14DUMMY_UNDERLINE_MODE\x10\x00\x12\x13\n" + - "\x0fWORDS_NO_BLANKS\x10\x01\x12\x14\n" + - "\x10WORDS_AND_BLANKS\x10\x02\x12\x18\n" + - "\x14CHARACTERS_NO_BLANKS\x10\x03\x12\x19\n" + - "\x15CHARACTERS_AND_BLANKS\x10\x04*\xb9\x01\n" + - "\x18ProtoImageReferencePoint\x12\x1f\n" + - "\x1bREF_POINT_DO_NOT_USE_AT_ALL\x10\x00\x12\x19\n" + - "\x15REF_POINT_BOTTOM_LEFT\x10\x01\x12\x16\n" + - "\x12REF_POINT_TOP_LEFT\x10\x02\x12\x14\n" + - "\x10REF_POINT_CENTER\x10\x03\x12\x1a\n" + - "\x16REF_POINT_BOTTOM_RIGHT\x10\x04\x12\x17\n" + - "\x13REF_POINT_TOP_RIGHT\x10\x05*\x89\x01\n" + - "\x11ProtoSemanticType\x12\x16\n" + - "\x12SEMANTIC_TYPE_NONE\x10\x00\x12\x16\n" + - "\x12SEMANTIC_TYPE_PART\x10\x01\x12\x15\n" + - "\x11SEMANTIC_TYPE_ART\x10\x02\x12\x16\n" + - "\x12SEMANTIC_TYPE_SECT\x10\x03\x12\x15\n" + - "\x11SEMANTIC_TYPE_DIV\x10\x04*y\n" + - "\x13PDFPrintingBehavior\x12\x1f\n" + - "\x1bPDF_PRINTING_BEHAVIOR_INPUT\x10\x00\x12\x1e\n" + - "\x1aPDF_PRINTING_BEHAVIOR_TEXT\x10\x01\x12!\n" + - "\x1dPDF_PRINTING_BEHAVIOR_INHERIT\x10\x02*\x86\x01\n" + - "\vInheritance\x12\x17\n" + - "\x13INHERITANCE_INHERIT\x10\x00\x12\x14\n" + - "\x10INHERITANCE_CODE\x10\x01\x12\x19\n" + - "\x15INHERITANCE_BIND_CODE\x10\x02\x12\x16\n" + - "\x12INHERITANCE_STATIC\x10\x03\x12\x15\n" + - "\x11INHERITANCE_RESET\x10\x04*o\n" + - "\x0fProtoNumberType\x12\n" + - "\n" + - "\x06ARABIC\x10\x00\x12\x11\n" + - "\rROM_UPPERCASE\x10\x01\x12\x11\n" + - "\rROM_LOWERCASE\x10\x02\x12\x14\n" + - "\x10LETTER_UPPERCASE\x10\x03\x12\x14\n" + - "\x10LETTER_LOWERCASE\x10\x04*C\n" + - "\x19ProtoListLevelSettingType\x12\x0e\n" + - "\n" + - "UNNUMBERED\x10\x00\x12\v\n" + - "\aNUMERIC\x10\x01\x12\t\n" + - "\x05IMAGE\x10\x02*N\n" + - "\x1aProtoTableContentGroupType\x12\n" + - "\n" + - "\x06HEADER\x10\x00\x12\b\n" + - "\x04BODY\x10\x01\x12\n" + - "\n" + - "\x06FOOTER\x10\x02\x12\x0e\n" + - "\n" + - "SUB_HEADER\x10\x03*_\n" + - "\x12ProtoTableCellType\x12\x13\n" + - "\x0fTABLE_CELL_BODY\x10\x00\x12\x19\n" + - "\x15TABLE_CELL_ROW_HEADER\x10\x01\x12\x19\n" + - "\x15TABLE_CELL_ROW_FOOTER\x10\x02*2\n" + - "\x0fColumnBalancing\x12\x10\n" + - "\fNO_BALANCING\x10\x00\x12\r\n" + - "\tBALANCING\x10\x01*z\n" + - "\x0fProtoHeaderMode\x12\x1e\n" + - "\x1aHEADER_MODE_APPEND_INITIAL\x10\x00\x12\x16\n" + - "\x12HEADER_MODE_APPEND\x10\x01\x12\x16\n" + - "\x12HEADER_MODE_EXTEND\x10\x02\x12\x17\n" + - "\x13HEADER_MODE_REPLACE\x10\x03*z\n" + - "\x0fProtoFooterMode\x12\x1e\n" + - "\x1aFOOTER_MODE_APPEND_INITIAL\x10\x00\x12\x16\n" + - "\x12FOOTER_MODE_APPEND\x10\x01\x12\x16\n" + - "\x12FOOTER_MODE_EXTEND\x10\x02\x12\x17\n" + - "\x13FOOTER_MODE_REPLACE\x10\x03*\x87\x12\n" + - "\bNodeType\x12,\n" + - "(DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT\x10\x00\x12$\n" + - " DOCUMENT_ELEMENT_BRICK_REFERENCE\x10\x01\x12\x1a\n" + - "\x16DOCUMENT_ELEMENT_BRICK\x10\x02\x12%\n" + - "!DOCUMENT_ELEMENT_DOCUMENT_ELEMENT\x10\x03\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_LINEBREAK\x10\x04\x12!\n" + - "\x1dDOCUMENT_ELEMENT_LIST_SETTING\x10\x06\x12%\n" + - "!DOCUMENT_ELEMENT_PARAGRAPH_FORMAT\x10\a\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_PARAGRAPH\x10\b\x12\x1c\n" + - "\x18DOCUMENT_ELEMENT_SECTION\x10\t\x12\x19\n" + - "\x15DOCUMENT_ELEMENT_SPAN\x10\n" + - "\x12\x1a\n" + - "\x16DOCUMENT_ELEMENT_TABLE\x10\v\x12\x1f\n" + - "\x1bDOCUMENT_ELEMENT_TABLE_CELL\x10\f\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_TABLE_ROW\x10\r\x12\x1d\n" + - "\x19DOCUMENT_ELEMENT_TEMPLATE\x10\x0f\x12\x19\n" + - "\x15DOCUMENT_ELEMENT_TEXT\x10\x10\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_COLOR_DEF\x10\x13\x12\x1a\n" + - "\x16DOCUMENT_ELEMENT_IMAGE\x10\x1e\x12!\n" + - "\x1dDOCUMENT_ELEMENT_NAMED_STRING\x10\"\x12(\n" + - "$DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP\x10#\x12!\n" + - "\x1dDOCUMENT_ELEMENT_TABLE_CONFIG\x10$\x12&\n" + - "\"DOCUMENT_ELEMENT_TABLE_CELL_CONFIG\x10%\x12%\n" + - "!DOCUMENT_ELEMENT_TABLE_ROW_CONFIG\x10&\x12/\n" + - "+DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG\x10'\x12\x19\n" + - "\x15DOCUMENT_ELEMENT_LINK\x10(\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_DIRECTORY\x10)\x12\x1f\n" + - "\x1bDOCUMENT_ELEMENT_TEXT_BRICK\x10*\x12\x1d\n" + - "\x19DOCUMENT_ELEMENT_VARIABLE\x10,\x12%\n" + - "!DOCUMENT_ELEMENT_SPACE_VERTICALLY\x10-\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_FORMATTED\x10.\x12 \n" + - "\x1cDOCUMENT_ELEMENT_APPLY_C_DEF\x10/\x12 \n" + - "\x1cDOCUMENT_ELEMENT_APPLY_P_DEF\x100\x12$\n" + - " DOCUMENT_ELEMENT_APPLY_PT_CONFIG\x101\x12$\n" + - " DOCUMENT_ELEMENT_APPLY_UL_CONFIG\x102\x12\x1a\n" + - "\x16DOCUMENT_ELEMENT_C_DEF\x103\x12\x1a\n" + - "\x16DOCUMENT_ELEMENT_P_DEF\x104\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_PT_CONFIG\x105\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_UL_CONFIG\x106\x12\x1d\n" + - "\x19DOCUMENT_ELEMENT_NEW_PAGE\x107\x12\x1b\n" + - "\x17DOCUMENT_ELEMENT_HEADER\x108\x12\x1b\n" + - "\x17DOCUMENT_ELEMENT_FOOTER\x109\x12 \n" + - "\x1cDOCUMENT_ELEMENT_INDENTATION\x10<\x12\x1c\n" + - "\x18DOCUMENT_ELEMENT_BARCODE\x10=\x12\x1c\n" + - "\x18DOCUMENT_ELEMENT_WS_AREA\x10>\x12\x1f\n" + - "\x1bDOCUMENT_ELEMENT_CARRY_OVER\x10?\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_SUB_TOTAL\x10@\x12\x19\n" + - "\x15DOCUMENT_ELEMENT_LOOP\x10A\x12\x1f\n" + - "\x1bDOCUMENT_ELEMENT_LOOP_ENTRY\x10B\x12\x19\n" + - "\x15DOCUMENT_ELEMENT_RULE\x10C\x12'\n" + - "#DOCUMENT_ELEMENT_LIST_LEVEL_SETTING\x10D\x12\x1b\n" + - "\x17DOCUMENT_ELEMENT_LAYOUT\x10E\x12/\n" + - "+DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA\x10F\x12(\n" + - "$DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY\x10G\x12#\n" + - "\x1fDOCUMENT_ELEMENT_DOCTYPE_SCRIPT\x10H\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_DM_SCRIPT\x10I\x12%\n" + - "!DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE\x10J\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_SELECTION\x10K\x12$\n" + - " DOCUMENT_ELEMENT_SELECTION_ENTRY\x10L\x12\x1e\n" + - "\x1aDOCUMENT_ELEMENT_CONDITION\x10M\x12#\n" + - "\x1fDOCUMENT_ELEMENT_PAGE_CONDITION\x10N\x12\x1b\n" + - "\x17DOCUMENT_ELEMENT_LOCALE\x10O\x12\x18\n" + - "\x14DOCUMENT_ELEMENT_TAG\x10P\x12*\n" + - "&DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT\x10Q\x12%\n" + - "!DOCUMENT_ELEMENT_INPUT_FIELD_TEXT\x10R\x12%\n" + - "!DOCUMENT_ELEMENT_INPUT_FIELD_DATE\x10S\x12)\n" + - "%DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX\x10T\x12&\n" + - "\"DOCUMENT_ELEMENT_INPUT_FIELD_LABEL\x10U\x12)\n" + - "%DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN\x10V*\xa4\x01\n" + - "\x13ProtoImageScaleType\x12&\n" + - "\"IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL\x10\x00\x12\x1d\n" + - "\x19IMAGE_SCALE_TYPE_RELATIVE\x10\x01\x12\x1d\n" + - "\x19IMAGE_SCALE_TYPE_ABSOLUTE\x10\x02\x12'\n" + - "#IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN\x10\x03*\x8a\x01\n" + - "\x10ProtoImageUAMode\x12#\n" + - "\x1fIMAGE_UA_MODE_DO_NOT_USE_AT_ALL\x10\x00\x12\x1b\n" + - "\x17IMAGE_UA_MODE_INHERITED\x10\x01\x12\x18\n" + - "\x14IMAGE_UA_MODE_SIMPLE\x10\x02\x12\x1a\n" + - "\x16IMAGE_UA_MODE_ADVANCED\x10\x03*\xcb\x01\n" + - "\x15ProtoImageContentType\x12'\n" + - "#IMAGE_CONTENT_UUID_REFERENCE_INLINE\x10\x00\x12&\n" + - "\"IMAGE_CONTENT_UUID_REFERENCE_LOCAL\x10\x01\x12'\n" + - "#IMAGE_CONTENT_UUID_REFERENCE_GLOBAL\x10\x02\x12\x1a\n" + - "\x16IMAGE_CONTENT_DMSCRIPT\x10\x03\x12\x1c\n" + - "\x18IMAGE_CONTENT_IMAGE_DATA\x10\x04*\xc4\x01\n" + - "\x18ProtoVariableSpecialType\x12\x0f\n" + - "\vNOT_SPECIAL\x10\x00\x12\x10\n" + - "\fTABLE_NUMBER\x10\x01\x12\x12\n" + - "\x0eDOC_PAGE_COUNT\x10\x02\x12\x10\n" + - "\fDOC_CUR_PAGE\x10\x03\x12\f\n" + - "\bCUR_PAGE\x10\x04\x12\x0e\n" + - "\n" + - "PAGE_COUNT\x10\x05\x12\r\n" + - "\tPREV_PAGE\x10\x06\x12\x10\n" + - "\fSECTION_PAGE\x10\a\x12\x0e\n" + - "\n" + - "UPDATED_AT\x10\b\x12\x10\n" + - "\fGENERATED_AT\x10\t*H\n" + - "\rProtoPageMode\x12\r\n" + - "\tNEXT_PAGE\x10\x00\x12\x13\n" + - "\x0fNEXT_RECTO_PAGE\x10\x01\x12\x13\n" + - "\x0fNEXT_VERSO_PAGE\x10\x02*k\n" + - "\x14ProtoPageOrientation\x12\t\n" + - "\x05UNSET\x10\x00\x12\f\n" + - "\bPORTRAIT\x10\x01\x12\r\n" + - "\tLANDSCAPE\x10\x02\x12\x14\n" + - "\x10INVERSE_PORTRAIT\x10\x03\x12\x15\n" + - "\x11INVERSE_LANDSCAPE\x10\x04*N\n" + - "\x15ProtoSubTotalPosition\x12\x19\n" + - "\x15POSITION_ABOVE_FOOTER\x10\x00\x12\x1a\n" + - "\x16POSITION_BELOW_CONTENT\x10\x01*)\n" + - "\rProtoRuleMode\x12\n" + - "\n" + - "\x06NORMAL\x10\x00\x12\f\n" + - "\bBOUNDARY\x10\x01*P\n" + - "\x16ProtoDoctypeOutputMode\x12\x1f\n" + - "\x1bDOCTYPE_OUTPUT_MODE_NOT_SET\x10\x00\x12\v\n" + - "\aDOCTYPE\x10\x01\x12\b\n" + - "\x04JSON\x10\x02B\v\xaa\x02\bDocframeb\x06proto3" - -var ( - file_build_docframe_proto_rawDescOnce sync.Once - file_build_docframe_proto_rawDescData []byte -) - -func file_build_docframe_proto_rawDescGZIP() []byte { - file_build_docframe_proto_rawDescOnce.Do(func() { - file_build_docframe_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_build_docframe_proto_rawDesc), len(file_build_docframe_proto_rawDesc))) - }) - return file_build_docframe_proto_rawDescData -} - -var file_build_docframe_proto_enumTypes = make([]protoimpl.EnumInfo, 31) -var file_build_docframe_proto_msgTypes = make([]protoimpl.MessageInfo, 118) -var file_build_docframe_proto_goTypes = []any{ - (ProtoSPBMode)(0), // 0: ProtoSPBMode - (ProtoRuleStyle)(0), // 1: ProtoRuleStyle - (ProtoMeasureType)(0), // 2: ProtoMeasureType - (ProtoAdvancedIllustrationAreaTextFlowType)(0), // 3: ProtoAdvancedIllustrationAreaTextFlowType - (ProtoColorType)(0), // 4: ProtoColorType - (ProtoHorizontalAlignment)(0), // 5: ProtoHorizontalAlignment - (ProtoVerticalAlignment)(0), // 6: ProtoVerticalAlignment - (ProtoBarcodeType)(0), // 7: ProtoBarcodeType - (ProtoPositionMode)(0), // 8: ProtoPositionMode - (ProtoUnderlineMode)(0), // 9: ProtoUnderlineMode - (ProtoImageReferencePoint)(0), // 10: ProtoImageReferencePoint - (ProtoSemanticType)(0), // 11: ProtoSemanticType - (PDFPrintingBehavior)(0), // 12: PDFPrintingBehavior - (Inheritance)(0), // 13: Inheritance - (ProtoNumberType)(0), // 14: ProtoNumberType - (ProtoListLevelSettingType)(0), // 15: ProtoListLevelSettingType - (ProtoTableContentGroupType)(0), // 16: ProtoTableContentGroupType - (ProtoTableCellType)(0), // 17: ProtoTableCellType - (ColumnBalancing)(0), // 18: ColumnBalancing - (ProtoHeaderMode)(0), // 19: ProtoHeaderMode - (ProtoFooterMode)(0), // 20: ProtoFooterMode - (NodeType)(0), // 21: NodeType - (ProtoImageScaleType)(0), // 22: ProtoImageScaleType - (ProtoImageUAMode)(0), // 23: ProtoImageUAMode - (ProtoImageContentType)(0), // 24: ProtoImageContentType - (ProtoVariableSpecialType)(0), // 25: ProtoVariableSpecialType - (ProtoPageMode)(0), // 26: ProtoPageMode - (ProtoPageOrientation)(0), // 27: ProtoPageOrientation - (ProtoSubTotalPosition)(0), // 28: ProtoSubTotalPosition - (ProtoRuleMode)(0), // 29: ProtoRuleMode - (ProtoDoctypeOutputMode)(0), // 30: ProtoDoctypeOutputMode - (*ProtoBoxedBool)(nil), // 31: ProtoBoxedBool - (*ProtoBoxedDouble)(nil), // 32: ProtoBoxedDouble - (*ProtoBoxedInt32)(nil), // 33: ProtoBoxedInt32 - (*ProtoBoxedUint32)(nil), // 34: ProtoBoxedUint32 - (*ProtoBoxedString)(nil), // 35: ProtoBoxedString - (*ProtoBoxedSPBMode)(nil), // 36: ProtoBoxedSPBMode - (*ProtoStrikethroughSpec)(nil), // 37: ProtoStrikethroughSpec - (*ProtoBoxedStrikethroughSpec)(nil), // 38: ProtoBoxedStrikethroughSpec - (*ProtoMeasure)(nil), // 39: ProtoMeasure - (*ProtoBoxedMeasure)(nil), // 40: ProtoBoxedMeasure - (*ProtoSideMeasures)(nil), // 41: ProtoSideMeasures - (*ProtoBoxedAdvancedIllustrationAreaTextFlowType)(nil), // 42: ProtoBoxedAdvancedIllustrationAreaTextFlowType - (*ProtoAdvancedIllustrationAreaImageSettings)(nil), // 43: ProtoAdvancedIllustrationAreaImageSettings - (*ProtoFont)(nil), // 44: ProtoFont - (*ProtoBoxedFont)(nil), // 45: ProtoBoxedFont - (*ProtoColor)(nil), // 46: ProtoColor - (*ProtoBoxedColor)(nil), // 47: ProtoBoxedColor - (*ProtoRGBColor)(nil), // 48: ProtoRGBColor - (*ProtoCMYKColor)(nil), // 49: ProtoCMYKColor - (*ProtoBoxedHorizontalAlignment)(nil), // 50: ProtoBoxedHorizontalAlignment - (*ProtoBoxedVerticalAlignment)(nil), // 51: ProtoBoxedVerticalAlignment - (*ProtoSwissQRCreditor)(nil), // 52: ProtoSwissQRCreditor - (*ProtoSwissQRDebitor)(nil), // 53: ProtoSwissQRDebitor - (*ProtoSwissQRData)(nil), // 54: ProtoSwissQRData - (*ProtoLinebreak)(nil), // 55: ProtoLinebreak - (*ProtoBorder)(nil), // 56: ProtoBorder - (*ProtoSideBorders)(nil), // 57: ProtoSideBorders - (*ProtoBoxedPositionMode)(nil), // 58: ProtoBoxedPositionMode - (*ProtoColumnSettings)(nil), // 59: ProtoColumnSettings - (*ProtoGraphicState)(nil), // 60: ProtoGraphicState - (*ProtoHtmlParser)(nil), // 61: ProtoHtmlParser - (*ProtoUnderlineSpec)(nil), // 62: ProtoUnderlineSpec - (*ProtoBoxedUnderlineSpec)(nil), // 63: ProtoBoxedUnderlineSpec - (*ProtoCropSettings)(nil), // 64: ProtoCropSettings - (*ProtoFlipSettings)(nil), // 65: ProtoFlipSettings - (*ProtoOption)(nil), // 66: ProtoOption - (*ProtoBaseInputField)(nil), // 67: ProtoBaseInputField - (*ProtoDocumentElement)(nil), // 68: ProtoDocumentElement - (*ProtoBranchDocumentElement)(nil), // 69: ProtoBranchDocumentElement - (*ProtoLink)(nil), // 70: ProtoLink - (*ProtoListLevelSetting)(nil), // 71: ProtoListLevelSetting - (*ProtoImageListLevelSetting)(nil), // 72: ProtoImageListLevelSetting - (*ProtoTextListLevelSetting)(nil), // 73: ProtoTextListLevelSetting - (*ProtoNumberListLevelSetting)(nil), // 74: ProtoNumberListLevelSetting - (*ProtoUnnumberedListLevelSetting)(nil), // 75: ProtoUnnumberedListLevelSetting - (*ProtoListSetting)(nil), // 76: ProtoListSetting - (*ProtoBoxedListSetting)(nil), // 77: ProtoBoxedListSetting - (*ProtoNamedString)(nil), // 78: ProtoNamedString - (*ProtoParagraph)(nil), // 79: ProtoParagraph - (*ProtoParagraphFormat)(nil), // 80: ProtoParagraphFormat - (*ProtoSection)(nil), // 81: ProtoSection - (*ProtoSpaceVertically)(nil), // 82: ProtoSpaceVertically - (*ProtoSpan)(nil), // 83: ProtoSpan - (*ProtoTable)(nil), // 84: ProtoTable - (*ProtoTableConfig)(nil), // 85: ProtoTableConfig - (*ProtoTableSettings)(nil), // 86: ProtoTableSettings - (*ProtoBoxedTableContentGroupType)(nil), // 87: ProtoBoxedTableContentGroupType - (*ProtoTableContentGroup)(nil), // 88: ProtoTableContentGroup - (*ProtoTableContentGroupConfig)(nil), // 89: ProtoTableContentGroupConfig - (*ProtoTableContentGroupSettings)(nil), // 90: ProtoTableContentGroupSettings - (*ProtoTableRow)(nil), // 91: ProtoTableRow - (*ProtoTableRowConfig)(nil), // 92: ProtoTableRowConfig - (*ProtoTableRowSettings)(nil), // 93: ProtoTableRowSettings - (*ProtoBoxedTableCellType)(nil), // 94: ProtoBoxedTableCellType - (*ProtoTableCell)(nil), // 95: ProtoTableCell - (*ProtoTableCellConfig)(nil), // 96: ProtoTableCellConfig - (*ProtoTableCellSettings)(nil), // 97: ProtoTableCellSettings - (*ProtoTableWS)(nil), // 98: ProtoTableWS - (*ProtoTableElementProperties)(nil), // 99: ProtoTableElementProperties - (*ProtoText)(nil), // 100: ProtoText - (*ProtoBarcode)(nil), // 101: ProtoBarcode - (*ProtoBrickReference)(nil), // 102: ProtoBrickReference - (*ProtoBrick)(nil), // 103: ProtoBrick - (*ProtoTemplate)(nil), // 104: ProtoTemplate - (*ProtoHeader)(nil), // 105: ProtoHeader - (*ProtoFooter)(nil), // 106: ProtoFooter - (*Node)(nil), // 107: Node - (*ProtoImage)(nil), // 108: ProtoImage - (*ProtoDirectory)(nil), // 109: ProtoDirectory - (*ProtoTextBrick)(nil), // 110: ProtoTextBrick - (*ProtoVariable)(nil), // 111: ProtoVariable - (*ProtoFormatted)(nil), // 112: ProtoFormatted - (*ProtoApplyProtoCDef)(nil), // 113: ProtoApplyProtoCDef - (*ProtoApplyProtoPDef)(nil), // 114: ProtoApplyProtoPDef - (*ProtoApplyPtConfig)(nil), // 115: ProtoApplyPtConfig - (*ProtoApplyUlConfig)(nil), // 116: ProtoApplyUlConfig - (*ProtoCDef)(nil), // 117: ProtoCDef - (*ProtoPDef)(nil), // 118: ProtoPDef - (*ProtoPtConfig)(nil), // 119: ProtoPtConfig - (*ProtoUlConfig)(nil), // 120: ProtoUlConfig - (*ProtoNewPage)(nil), // 121: ProtoNewPage - (*ProtoIndentation)(nil), // 122: ProtoIndentation - (*ProtoCarryOver)(nil), // 123: ProtoCarryOver - (*ProtoLoopEntry)(nil), // 124: ProtoLoopEntry - (*ProtoLoop)(nil), // 125: ProtoLoop - (*ProtoSubTotal)(nil), // 126: ProtoSubTotal - (*ProtoWsArea)(nil), // 127: ProtoWsArea - (*ProtoRule)(nil), // 128: ProtoRule - (*ProtoRuleBoundaries)(nil), // 129: ProtoRuleBoundaries - (*ProtoColorDef)(nil), // 130: ProtoColorDef - (*ProtoLayout)(nil), // 131: ProtoLayout - (*ProtoAdvancedIllustrationArea)(nil), // 132: ProtoAdvancedIllustrationArea - (*ProtoAdjustHorizontally)(nil), // 133: ProtoAdjustHorizontally - (*ProtoDoctypeScript)(nil), // 134: ProtoDoctypeScript - (*ProtoDmScript)(nil), // 135: ProtoDmScript - (*ProtoDynamicTemplate)(nil), // 136: ProtoDynamicTemplate - (*ProtoSelection)(nil), // 137: ProtoSelection - (*ProtoSelectionEntry)(nil), // 138: ProtoSelectionEntry - (*ProtoCondition)(nil), // 139: ProtoCondition - (*ProtoPageCondition)(nil), // 140: ProtoPageCondition - (*ProtoLocale)(nil), // 141: ProtoLocale - (*ProtoTag)(nil), // 142: ProtoTag - (*ProtoParagraphSetDefault)(nil), // 143: ProtoParagraphSetDefault - (*ProtoInputFieldText)(nil), // 144: ProtoInputFieldText - (*ProtoInputFieldDate)(nil), // 145: ProtoInputFieldDate - (*ProtoInputFieldCheckbox)(nil), // 146: ProtoInputFieldCheckbox - (*ProtoInputFieldLabel)(nil), // 147: ProtoInputFieldLabel - (*ProtoInputFieldDropdown)(nil), // 148: ProtoInputFieldDropdown -} -var file_build_docframe_proto_depIdxs = []int32{ - 0, // 0: ProtoBoxedSPBMode.value:type_name -> ProtoSPBMode - 39, // 1: ProtoStrikethroughSpec.weight:type_name -> ProtoMeasure - 9, // 2: ProtoStrikethroughSpec.mode:type_name -> ProtoUnderlineMode - 46, // 3: ProtoStrikethroughSpec.color:type_name -> ProtoColor - 1, // 4: ProtoStrikethroughSpec.style:type_name -> ProtoRuleStyle - 37, // 5: ProtoBoxedStrikethroughSpec.value:type_name -> ProtoStrikethroughSpec - 2, // 6: ProtoMeasure.mtype:type_name -> ProtoMeasureType - 39, // 7: ProtoBoxedMeasure.value:type_name -> ProtoMeasure - 39, // 8: ProtoSideMeasures.top:type_name -> ProtoMeasure - 39, // 9: ProtoSideMeasures.right:type_name -> ProtoMeasure - 39, // 10: ProtoSideMeasures.bottom:type_name -> ProtoMeasure - 39, // 11: ProtoSideMeasures.left:type_name -> ProtoMeasure - 3, // 12: ProtoBoxedAdvancedIllustrationAreaTextFlowType.value:type_name -> ProtoAdvancedIllustrationAreaTextFlowType - 42, // 13: ProtoAdvancedIllustrationAreaImageSettings.textFlow:type_name -> ProtoBoxedAdvancedIllustrationAreaTextFlowType - 41, // 14: ProtoAdvancedIllustrationAreaImageSettings.margin:type_name -> ProtoSideMeasures - 44, // 15: ProtoBoxedFont.value:type_name -> ProtoFont - 35, // 16: ProtoColor.name:type_name -> ProtoBoxedString - 4, // 17: ProtoColor.type:type_name -> ProtoColorType - 46, // 18: ProtoBoxedColor.value:type_name -> ProtoColor - 35, // 19: ProtoRGBColor.name:type_name -> ProtoBoxedString - 4, // 20: ProtoRGBColor.type:type_name -> ProtoColorType - 35, // 21: ProtoCMYKColor.name:type_name -> ProtoBoxedString - 4, // 22: ProtoCMYKColor.type:type_name -> ProtoColorType - 5, // 23: ProtoBoxedHorizontalAlignment.value:type_name -> ProtoHorizontalAlignment - 6, // 24: ProtoBoxedVerticalAlignment.value:type_name -> ProtoVerticalAlignment - 52, // 25: ProtoSwissQRData.creditor:type_name -> ProtoSwissQRCreditor - 53, // 26: ProtoSwissQRData.debitor:type_name -> ProtoSwissQRDebitor - 68, // 27: ProtoLinebreak.parent:type_name -> ProtoDocumentElement - 34, // 28: ProtoLinebreak.count:type_name -> ProtoBoxedUint32 - 39, // 29: ProtoBorder.weight:type_name -> ProtoMeasure - 46, // 30: ProtoBorder.color:type_name -> ProtoColor - 56, // 31: ProtoSideBorders.top:type_name -> ProtoBorder - 56, // 32: ProtoSideBorders.right:type_name -> ProtoBorder - 56, // 33: ProtoSideBorders.bottom:type_name -> ProtoBorder - 56, // 34: ProtoSideBorders.left:type_name -> ProtoBorder - 8, // 35: ProtoBoxedPositionMode.value:type_name -> ProtoPositionMode - 40, // 36: ProtoColumnSettings.width:type_name -> ProtoBoxedMeasure - 40, // 37: ProtoColumnSettings.interColumnSpace:type_name -> ProtoBoxedMeasure - 40, // 38: ProtoColumnSettings.positionOffset:type_name -> ProtoBoxedMeasure - 8, // 39: ProtoColumnSettings.positionMode:type_name -> ProtoPositionMode - 40, // 40: ProtoColumnSettings.outsideMargin:type_name -> ProtoBoxedMeasure - 31, // 41: ProtoGraphicState.bold:type_name -> ProtoBoxedBool - 31, // 42: ProtoGraphicState.italic:type_name -> ProtoBoxedBool - 46, // 43: ProtoGraphicState.colorStack:type_name -> ProtoColor - 31, // 44: ProtoGraphicState.subscript:type_name -> ProtoBoxedBool - 31, // 45: ProtoGraphicState.superscript:type_name -> ProtoBoxedBool - 31, // 46: ProtoGraphicState.underline:type_name -> ProtoBoxedBool - 31, // 47: ProtoGraphicState.strikethrough:type_name -> ProtoBoxedBool - 39, // 48: ProtoUnderlineSpec.weight:type_name -> ProtoMeasure - 9, // 49: ProtoUnderlineSpec.mode:type_name -> ProtoUnderlineMode - 46, // 50: ProtoUnderlineSpec.color:type_name -> ProtoColor - 1, // 51: ProtoUnderlineSpec.style:type_name -> ProtoRuleStyle - 62, // 52: ProtoBoxedUnderlineSpec.value:type_name -> ProtoUnderlineSpec - 40, // 53: ProtoCropSettings.x:type_name -> ProtoBoxedMeasure - 40, // 54: ProtoCropSettings.y:type_name -> ProtoBoxedMeasure - 40, // 55: ProtoCropSettings.width:type_name -> ProtoBoxedMeasure - 40, // 56: ProtoCropSettings.height:type_name -> ProtoBoxedMeasure - 35, // 57: ProtoBaseInputField.value:type_name -> ProtoBoxedString - 68, // 58: ProtoDocumentElement.parent:type_name -> ProtoDocumentElement - 68, // 59: ProtoBranchDocumentElement._children:type_name -> ProtoDocumentElement - 68, // 60: ProtoBranchDocumentElement.parent:type_name -> ProtoDocumentElement - 68, // 61: ProtoLink._children:type_name -> ProtoDocumentElement - 34, // 62: ProtoListLevelSetting.fontSize:type_name -> ProtoBoxedUint32 - 15, // 63: ProtoListLevelSetting.type:type_name -> ProtoListLevelSettingType - 44, // 64: ProtoListLevelSetting.fixFontFamily:type_name -> ProtoFont - 46, // 65: ProtoListLevelSetting.color:type_name -> ProtoColor - 44, // 66: ProtoListLevelSetting.fontFamily:type_name -> ProtoFont - 31, // 67: ProtoListLevelSetting.bold:type_name -> ProtoBoxedBool - 31, // 68: ProtoListLevelSetting.italic:type_name -> ProtoBoxedBool - 14, // 69: ProtoListLevelSetting.numberType:type_name -> ProtoNumberType - 34, // 70: ProtoImageListLevelSetting.fontSize:type_name -> ProtoBoxedUint32 - 15, // 71: ProtoImageListLevelSetting.type:type_name -> ProtoListLevelSettingType - 44, // 72: ProtoImageListLevelSetting.fixFontFamily:type_name -> ProtoFont - 46, // 73: ProtoImageListLevelSetting.color:type_name -> ProtoColor - 34, // 74: ProtoTextListLevelSetting.fontSize:type_name -> ProtoBoxedUint32 - 15, // 75: ProtoTextListLevelSetting.type:type_name -> ProtoListLevelSettingType - 44, // 76: ProtoTextListLevelSetting.fixFontFamily:type_name -> ProtoFont - 46, // 77: ProtoTextListLevelSetting.color:type_name -> ProtoColor - 44, // 78: ProtoTextListLevelSetting.fontFamily:type_name -> ProtoFont - 31, // 79: ProtoTextListLevelSetting.bold:type_name -> ProtoBoxedBool - 31, // 80: ProtoTextListLevelSetting.italic:type_name -> ProtoBoxedBool - 34, // 81: ProtoNumberListLevelSetting.fontSize:type_name -> ProtoBoxedUint32 - 15, // 82: ProtoNumberListLevelSetting.type:type_name -> ProtoListLevelSettingType - 44, // 83: ProtoNumberListLevelSetting.fixFontFamily:type_name -> ProtoFont - 46, // 84: ProtoNumberListLevelSetting.color:type_name -> ProtoColor - 44, // 85: ProtoNumberListLevelSetting.fontFamily:type_name -> ProtoFont - 31, // 86: ProtoNumberListLevelSetting.bold:type_name -> ProtoBoxedBool - 31, // 87: ProtoNumberListLevelSetting.italic:type_name -> ProtoBoxedBool - 14, // 88: ProtoNumberListLevelSetting.numberType:type_name -> ProtoNumberType - 34, // 89: ProtoUnnumberedListLevelSetting.fontSize:type_name -> ProtoBoxedUint32 - 15, // 90: ProtoUnnumberedListLevelSetting.type:type_name -> ProtoListLevelSettingType - 44, // 91: ProtoUnnumberedListLevelSetting.fixFontFamily:type_name -> ProtoFont - 46, // 92: ProtoUnnumberedListLevelSetting.color:type_name -> ProtoColor - 44, // 93: ProtoUnnumberedListLevelSetting.fontFamily:type_name -> ProtoFont - 31, // 94: ProtoUnnumberedListLevelSetting.bold:type_name -> ProtoBoxedBool - 31, // 95: ProtoUnnumberedListLevelSetting.italic:type_name -> ProtoBoxedBool - 68, // 96: ProtoListSetting.parent:type_name -> ProtoDocumentElement - 71, // 97: ProtoListSetting.listLevelSettings:type_name -> ProtoListLevelSetting - 71, // 98: ProtoListSetting.defaultListLevelSetting:type_name -> ProtoListLevelSetting - 76, // 99: ProtoBoxedListSetting.value:type_name -> ProtoListSetting - 68, // 100: ProtoNamedString._children:type_name -> ProtoDocumentElement - 68, // 101: ProtoNamedString.parent:type_name -> ProtoDocumentElement - 68, // 102: ProtoParagraph._children:type_name -> ProtoDocumentElement - 68, // 103: ProtoParagraph.parent:type_name -> ProtoDocumentElement - 80, // 104: ProtoParagraph.format:type_name -> ProtoParagraphFormat - 80, // 105: ProtoParagraph.overwrite:type_name -> ProtoParagraphFormat - 80, // 106: ProtoParagraphFormat.baseFormat:type_name -> ProtoParagraphFormat - 35, // 107: ProtoParagraphFormat.name:type_name -> ProtoBoxedString - 31, // 108: ProtoParagraphFormat.default:type_name -> ProtoBoxedBool - 45, // 109: ProtoParagraphFormat.font:type_name -> ProtoBoxedFont - 31, // 110: ProtoParagraphFormat.bold:type_name -> ProtoBoxedBool - 31, // 111: ProtoParagraphFormat.italic:type_name -> ProtoBoxedBool - 47, // 112: ProtoParagraphFormat.fontColor:type_name -> ProtoBoxedColor - 63, // 113: ProtoParagraphFormat.underline:type_name -> ProtoBoxedUnderlineSpec - 40, // 114: ProtoParagraphFormat.fontSize:type_name -> ProtoBoxedMeasure - 40, // 115: ProtoParagraphFormat.characterWidth:type_name -> ProtoBoxedMeasure - 40, // 116: ProtoParagraphFormat.characterSpacing:type_name -> ProtoBoxedMeasure - 40, // 117: ProtoParagraphFormat.lineFeed:type_name -> ProtoBoxedMeasure - 50, // 118: ProtoParagraphFormat.alignment:type_name -> ProtoBoxedHorizontalAlignment - 40, // 119: ProtoParagraphFormat.indentionWidth:type_name -> ProtoBoxedMeasure - 33, // 120: ProtoParagraphFormat.indentionLevel:type_name -> ProtoBoxedInt32 - 40, // 121: ProtoParagraphFormat.spaceAbove:type_name -> ProtoBoxedMeasure - 40, // 122: ProtoParagraphFormat.spaceBelow:type_name -> ProtoBoxedMeasure - 33, // 123: ProtoParagraphFormat.widowSetting:type_name -> ProtoBoxedInt32 - 33, // 124: ProtoParagraphFormat.orphanSetting:type_name -> ProtoBoxedInt32 - 33, // 125: ProtoParagraphFormat.widowPriority:type_name -> ProtoBoxedInt32 - 38, // 126: ProtoParagraphFormat.strikethrough:type_name -> ProtoBoxedStrikethroughSpec - 36, // 127: ProtoParagraphFormat.superscriptSubscript:type_name -> ProtoBoxedSPBMode - 47, // 128: ProtoParagraphFormat.backgroundColor:type_name -> ProtoBoxedColor - 77, // 129: ProtoParagraphFormat.listSetting:type_name -> ProtoBoxedListSetting - 31, // 130: ProtoParagraphFormat.hyphenation:type_name -> ProtoBoxedBool - 35, // 131: ProtoParagraphFormat.preNamedString:type_name -> ProtoBoxedString - 35, // 132: ProtoParagraphFormat.postNamedString:type_name -> ProtoBoxedString - 35, // 133: ProtoParagraphFormat.semanticType:type_name -> ProtoBoxedString - 68, // 134: ProtoSection._children:type_name -> ProtoDocumentElement - 68, // 135: ProtoSection.parent:type_name -> ProtoDocumentElement - 68, // 136: ProtoSpaceVertically.parent:type_name -> ProtoDocumentElement - 39, // 137: ProtoSpaceVertically.space:type_name -> ProtoMeasure - 68, // 138: ProtoSpan._children:type_name -> ProtoDocumentElement - 68, // 139: ProtoSpan.parent:type_name -> ProtoDocumentElement - 31, // 140: ProtoSpan.bold:type_name -> ProtoBoxedBool - 31, // 141: ProtoSpan.italic:type_name -> ProtoBoxedBool - 46, // 142: ProtoSpan.color:type_name -> ProtoColor - 31, // 143: ProtoSpan.subscript:type_name -> ProtoBoxedBool - 31, // 144: ProtoSpan.superscript:type_name -> ProtoBoxedBool - 31, // 145: ProtoSpan.underline:type_name -> ProtoBoxedBool - 31, // 146: ProtoSpan.strikethrough:type_name -> ProtoBoxedBool - 68, // 147: ProtoTable._children:type_name -> ProtoDocumentElement - 68, // 148: ProtoTable.parent:type_name -> ProtoDocumentElement - 86, // 149: ProtoTable.settings:type_name -> ProtoTableSettings - 107, // 150: ProtoTable.carryOver:type_name -> Node - 107, // 151: ProtoTable.subTotal:type_name -> Node - 99, // 152: ProtoTable.elementProperties:type_name -> ProtoTableElementProperties - 68, // 153: ProtoTableConfig.parent:type_name -> ProtoDocumentElement - 86, // 154: ProtoTableConfig.settings:type_name -> ProtoTableSettings - 39, // 155: ProtoTableSettings.xOffset:type_name -> ProtoMeasure - 31, // 156: ProtoTableSettings.leftMeasure:type_name -> ProtoBoxedBool - 39, // 157: ProtoTableSettings.width:type_name -> ProtoMeasure - 34, // 158: ProtoTableSettings.repeatHeader:type_name -> ProtoBoxedUint32 - 98, // 159: ProtoTableSettings.ws:type_name -> ProtoTableWS - 16, // 160: ProtoBoxedTableContentGroupType.value:type_name -> ProtoTableContentGroupType - 68, // 161: ProtoTableContentGroup._children:type_name -> ProtoDocumentElement - 68, // 162: ProtoTableContentGroup.parent:type_name -> ProtoDocumentElement - 90, // 163: ProtoTableContentGroup.settings:type_name -> ProtoTableContentGroupSettings - 99, // 164: ProtoTableContentGroup.elementProperties:type_name -> ProtoTableElementProperties - 68, // 165: ProtoTableContentGroupConfig.parent:type_name -> ProtoDocumentElement - 90, // 166: ProtoTableContentGroupConfig.settings:type_name -> ProtoTableContentGroupSettings - 87, // 167: ProtoTableContentGroupSettings.contentGroupType:type_name -> ProtoBoxedTableContentGroupType - 46, // 168: ProtoTableContentGroupSettings.backgroundColors:type_name -> ProtoColor - 98, // 169: ProtoTableContentGroupSettings.ws:type_name -> ProtoTableWS - 68, // 170: ProtoTableRow._children:type_name -> ProtoDocumentElement - 68, // 171: ProtoTableRow.parent:type_name -> ProtoDocumentElement - 93, // 172: ProtoTableRow.settings:type_name -> ProtoTableRowSettings - 34, // 173: ProtoTableRow.rowConfigNumber:type_name -> ProtoBoxedUint32 - 99, // 174: ProtoTableRow.elementProperties:type_name -> ProtoTableElementProperties - 68, // 175: ProtoTableRowConfig.parent:type_name -> ProtoDocumentElement - 93, // 176: ProtoTableRowConfig.settings:type_name -> ProtoTableRowSettings - 39, // 177: ProtoTableRowSettings.minHeight:type_name -> ProtoMeasure - 98, // 178: ProtoTableRowSettings.ws:type_name -> ProtoTableWS - 17, // 179: ProtoBoxedTableCellType.value:type_name -> ProtoTableCellType - 68, // 180: ProtoTableCell._children:type_name -> ProtoDocumentElement - 68, // 181: ProtoTableCell.parent:type_name -> ProtoDocumentElement - 97, // 182: ProtoTableCell.settings:type_name -> ProtoTableCellSettings - 34, // 183: ProtoTableCell.cellConfigNumber:type_name -> ProtoBoxedUint32 - 99, // 184: ProtoTableCell.elementProperties:type_name -> ProtoTableElementProperties - 68, // 185: ProtoTableCellConfig.parent:type_name -> ProtoDocumentElement - 97, // 186: ProtoTableCellConfig.settings:type_name -> ProtoTableCellSettings - 94, // 187: ProtoTableCellConfig.cellType:type_name -> ProtoBoxedTableCellType - 39, // 188: ProtoTableCellSettings.width:type_name -> ProtoMeasure - 50, // 189: ProtoTableCellSettings.align:type_name -> ProtoBoxedHorizontalAlignment - 51, // 190: ProtoTableCellSettings.valign:type_name -> ProtoBoxedVerticalAlignment - 46, // 191: ProtoTableCellSettings.backgroundColor:type_name -> ProtoColor - 41, // 192: ProtoTableCellSettings.padding:type_name -> ProtoSideMeasures - 57, // 193: ProtoTableCellSettings.border:type_name -> ProtoSideBorders - 41, // 194: ProtoTableCellSettings.margin:type_name -> ProtoSideMeasures - 32, // 195: ProtoTableCellSettings.rotation:type_name -> ProtoBoxedDouble - 35, // 196: ProtoTableCellSettings.defaultParagraphFormat:type_name -> ProtoBoxedString - 13, // 197: ProtoTableElementProperties.widthInheritance:type_name -> Inheritance - 39, // 198: ProtoTableElementProperties.width:type_name -> ProtoMeasure - 13, // 199: ProtoTableElementProperties.alignInheritance:type_name -> Inheritance - 50, // 200: ProtoTableElementProperties.align:type_name -> ProtoBoxedHorizontalAlignment - 13, // 201: ProtoTableElementProperties.valignInheritance:type_name -> Inheritance - 51, // 202: ProtoTableElementProperties.valign:type_name -> ProtoBoxedVerticalAlignment - 13, // 203: ProtoTableElementProperties.backgroundColorInheritance:type_name -> Inheritance - 46, // 204: ProtoTableElementProperties.backgroundColor:type_name -> ProtoColor - 13, // 205: ProtoTableElementProperties.paddingTopInheritance:type_name -> Inheritance - 39, // 206: ProtoTableElementProperties.paddingTop:type_name -> ProtoMeasure - 13, // 207: ProtoTableElementProperties.paddingRightInheritance:type_name -> Inheritance - 39, // 208: ProtoTableElementProperties.paddingRight:type_name -> ProtoMeasure - 13, // 209: ProtoTableElementProperties.paddingBottomInheritance:type_name -> Inheritance - 39, // 210: ProtoTableElementProperties.paddingBottom:type_name -> ProtoMeasure - 13, // 211: ProtoTableElementProperties.paddingLeftInheritance:type_name -> Inheritance - 39, // 212: ProtoTableElementProperties.paddingLeft:type_name -> ProtoMeasure - 13, // 213: ProtoTableElementProperties.borderTopColorInheritance:type_name -> Inheritance - 46, // 214: ProtoTableElementProperties.borderTopColor:type_name -> ProtoColor - 13, // 215: ProtoTableElementProperties.borderTopWeightInheritance:type_name -> Inheritance - 39, // 216: ProtoTableElementProperties.borderTopWeight:type_name -> ProtoMeasure - 13, // 217: ProtoTableElementProperties.borderRightColorInheritance:type_name -> Inheritance - 46, // 218: ProtoTableElementProperties.borderRightColor:type_name -> ProtoColor - 13, // 219: ProtoTableElementProperties.borderRightWeightInheritance:type_name -> Inheritance - 39, // 220: ProtoTableElementProperties.borderRightWeight:type_name -> ProtoMeasure - 13, // 221: ProtoTableElementProperties.borderBottomColorInheritance:type_name -> Inheritance - 46, // 222: ProtoTableElementProperties.borderBottomColor:type_name -> ProtoColor - 13, // 223: ProtoTableElementProperties.borderBottomWeightInheritance:type_name -> Inheritance - 39, // 224: ProtoTableElementProperties.borderBottomWeight:type_name -> ProtoMeasure - 13, // 225: ProtoTableElementProperties.borderLeftColorInheritance:type_name -> Inheritance - 46, // 226: ProtoTableElementProperties.borderLeftColor:type_name -> ProtoColor - 13, // 227: ProtoTableElementProperties.borderLeftWeightInheritance:type_name -> Inheritance - 39, // 228: ProtoTableElementProperties.borderLeftWeight:type_name -> ProtoMeasure - 13, // 229: ProtoTableElementProperties.marginTopInheritance:type_name -> Inheritance - 39, // 230: ProtoTableElementProperties.marginTop:type_name -> ProtoMeasure - 13, // 231: ProtoTableElementProperties.marginRightInheritance:type_name -> Inheritance - 39, // 232: ProtoTableElementProperties.marginRight:type_name -> ProtoMeasure - 13, // 233: ProtoTableElementProperties.marginBottomInheritance:type_name -> Inheritance - 39, // 234: ProtoTableElementProperties.marginBottom:type_name -> ProtoMeasure - 13, // 235: ProtoTableElementProperties.marginLeftInheritance:type_name -> Inheritance - 39, // 236: ProtoTableElementProperties.marginLeft:type_name -> ProtoMeasure - 13, // 237: ProtoTableElementProperties.rotationInheritance:type_name -> Inheritance - 32, // 238: ProtoTableElementProperties.rotation:type_name -> ProtoBoxedDouble - 13, // 239: ProtoTableElementProperties.defaultParagraphFormatUUIDInheritance:type_name -> Inheritance - 35, // 240: ProtoTableElementProperties.defaultParagraphFormatUUID:type_name -> ProtoBoxedString - 13, // 241: ProtoTableElementProperties.tableContentGroupTypeInheritance:type_name -> Inheritance - 87, // 242: ProtoTableElementProperties.tableContentGroupType:type_name -> ProtoBoxedTableContentGroupType - 13, // 243: ProtoTableElementProperties.cellTypeInheritance:type_name -> Inheritance - 94, // 244: ProtoTableElementProperties.cellType:type_name -> ProtoBoxedTableCellType - 13, // 245: ProtoTableElementProperties.minRowHeightInheritance:type_name -> Inheritance - 39, // 246: ProtoTableElementProperties.minRowHeight:type_name -> ProtoMeasure - 13, // 247: ProtoTableElementProperties.wsInheritance:type_name -> Inheritance - 98, // 248: ProtoTableElementProperties.ws:type_name -> ProtoTableWS - 68, // 249: ProtoText.parent:type_name -> ProtoDocumentElement - 7, // 250: ProtoBarcode.type:type_name -> ProtoBarcodeType - 39, // 251: ProtoBarcode.x:type_name -> ProtoMeasure - 39, // 252: ProtoBarcode.y:type_name -> ProtoMeasure - 10, // 253: ProtoBarcode.referencePoint:type_name -> ProtoImageReferencePoint - 39, // 254: ProtoBarcode.width:type_name -> ProtoMeasure - 39, // 255: ProtoBarcode.height:type_name -> ProtoMeasure - 39, // 256: ProtoBarcode.padding:type_name -> ProtoMeasure - 54, // 257: ProtoBarcode.swissQRData:type_name -> ProtoSwissQRData - 68, // 258: ProtoBrick._children:type_name -> ProtoDocumentElement - 68, // 259: ProtoBrick.parent:type_name -> ProtoDocumentElement - 68, // 260: ProtoTemplate._children:type_name -> ProtoDocumentElement - 68, // 261: ProtoTemplate.parent:type_name -> ProtoDocumentElement - 18, // 262: ProtoTemplate.columnBalancing:type_name -> ColumnBalancing - 11, // 263: ProtoTemplate.semanticType:type_name -> ProtoSemanticType - 68, // 264: ProtoHeader._children:type_name -> ProtoDocumentElement - 68, // 265: ProtoHeader.parent:type_name -> ProtoDocumentElement - 19, // 266: ProtoHeader.mode:type_name -> ProtoHeaderMode - 68, // 267: ProtoFooter._children:type_name -> ProtoDocumentElement - 68, // 268: ProtoFooter.parent:type_name -> ProtoDocumentElement - 20, // 269: ProtoFooter.mode:type_name -> ProtoFooterMode - 107, // 270: Node.children:type_name -> Node - 76, // 271: Node.list_setting:type_name -> ProtoListSetting - 130, // 272: Node.colorDef:type_name -> ProtoColorDef - 103, // 273: Node.brick:type_name -> ProtoBrick - 104, // 274: Node.template:type_name -> ProtoTemplate - 112, // 275: Node.formatted:type_name -> ProtoFormatted - 108, // 276: Node.image:type_name -> ProtoImage - 80, // 277: Node.paragraph_format:type_name -> ProtoParagraphFormat - 110, // 278: Node.text_brick:type_name -> ProtoTextBrick - 100, // 279: Node.text:type_name -> ProtoText - 55, // 280: Node.linebreak:type_name -> ProtoLinebreak - 82, // 281: Node.space_vertically:type_name -> ProtoSpaceVertically - 106, // 282: Node.footer:type_name -> ProtoFooter - 105, // 283: Node.header:type_name -> ProtoHeader - 84, // 284: Node.table:type_name -> ProtoTable - 91, // 285: Node.table_row:type_name -> ProtoTableRow - 95, // 286: Node.table_cell:type_name -> ProtoTableCell - 117, // 287: Node.c_def:type_name -> ProtoCDef - 118, // 288: Node.p_def:type_name -> ProtoPDef - 113, // 289: Node.apply_c_def:type_name -> ProtoApplyProtoCDef - 114, // 290: Node.apply_p_def:type_name -> ProtoApplyProtoPDef - 115, // 291: Node.apply_pt_config:type_name -> ProtoApplyPtConfig - 116, // 292: Node.apply_ul_config:type_name -> ProtoApplyUlConfig - 119, // 293: Node.pt_config:type_name -> ProtoPtConfig - 120, // 294: Node.ul_config:type_name -> ProtoUlConfig - 121, // 295: Node.new_page:type_name -> ProtoNewPage - 111, // 296: Node.variable:type_name -> ProtoVariable - 78, // 297: Node.named_string:type_name -> ProtoNamedString - 79, // 298: Node.paragraph:type_name -> ProtoParagraph - 81, // 299: Node.section:type_name -> ProtoSection - 83, // 300: Node.span:type_name -> ProtoSpan - 70, // 301: Node.link:type_name -> ProtoLink - 109, // 302: Node.directory:type_name -> ProtoDirectory - 88, // 303: Node.table_content_group:type_name -> ProtoTableContentGroup - 85, // 304: Node.table_config:type_name -> ProtoTableConfig - 96, // 305: Node.table_cell_config:type_name -> ProtoTableCellConfig - 92, // 306: Node.table_row_config:type_name -> ProtoTableRowConfig - 89, // 307: Node.table_content_group_config:type_name -> ProtoTableContentGroupConfig - 102, // 308: Node.brick_reference:type_name -> ProtoBrickReference - 122, // 309: Node.indentation:type_name -> ProtoIndentation - 101, // 310: Node.barcode:type_name -> ProtoBarcode - 127, // 311: Node.ws_area:type_name -> ProtoWsArea - 123, // 312: Node.carry_over:type_name -> ProtoCarryOver - 126, // 313: Node.sub_total:type_name -> ProtoSubTotal - 125, // 314: Node.loop:type_name -> ProtoLoop - 124, // 315: Node.loop_entry:type_name -> ProtoLoopEntry - 128, // 316: Node.rule:type_name -> ProtoRule - 131, // 317: Node.layout:type_name -> ProtoLayout - 132, // 318: Node.advanced_illustration_area:type_name -> ProtoAdvancedIllustrationArea - 133, // 319: Node.adjust_horizontally:type_name -> ProtoAdjustHorizontally - 134, // 320: Node.doctypeScript:type_name -> ProtoDoctypeScript - 135, // 321: Node.dmScript:type_name -> ProtoDmScript - 136, // 322: Node.dynamic_template:type_name -> ProtoDynamicTemplate - 137, // 323: Node.selection:type_name -> ProtoSelection - 138, // 324: Node.selection_entry:type_name -> ProtoSelectionEntry - 139, // 325: Node.condition:type_name -> ProtoCondition - 140, // 326: Node.page_condition:type_name -> ProtoPageCondition - 141, // 327: Node.locale:type_name -> ProtoLocale - 142, // 328: Node.tag:type_name -> ProtoTag - 143, // 329: Node.paragraph_set_default:type_name -> ProtoParagraphSetDefault - 144, // 330: Node.input_field_text:type_name -> ProtoInputFieldText - 145, // 331: Node.input_field_date:type_name -> ProtoInputFieldDate - 146, // 332: Node.input_field_checkbox:type_name -> ProtoInputFieldCheckbox - 147, // 333: Node.input_field_label:type_name -> ProtoInputFieldLabel - 148, // 334: Node.input_field_dropdown:type_name -> ProtoInputFieldDropdown - 68, // 335: ProtoImage.parent:type_name -> ProtoDocumentElement - 32, // 336: ProtoImage.scale:type_name -> ProtoBoxedDouble - 32, // 337: ProtoImage.columnScale:type_name -> ProtoBoxedDouble - 40, // 338: ProtoImage.width:type_name -> ProtoBoxedMeasure - 40, // 339: ProtoImage.height:type_name -> ProtoBoxedMeasure - 40, // 340: ProtoImage.x:type_name -> ProtoBoxedMeasure - 40, // 341: ProtoImage.y:type_name -> ProtoBoxedMeasure - 31, // 342: ProtoImage.positionAbsolute:type_name -> ProtoBoxedBool - 65, // 343: ProtoImage.flipSettings:type_name -> ProtoFlipSettings - 64, // 344: ProtoImage.cropSettings:type_name -> ProtoCropSettings - 43, // 345: ProtoImage.aia:type_name -> ProtoAdvancedIllustrationAreaImageSettings - 10, // 346: ProtoImage.referencePoint:type_name -> ProtoImageReferencePoint - 24, // 347: ProtoImage.imageContentType:type_name -> ProtoImageContentType - 22, // 348: ProtoImage.scaleType:type_name -> ProtoImageScaleType - 23, // 349: ProtoImage.uaMode:type_name -> ProtoImageUAMode - 31, // 350: ProtoImage.leftBorderIsLeftMeasure:type_name -> ProtoBoxedBool - 68, // 351: ProtoDirectory._children:type_name -> ProtoDocumentElement - 68, // 352: ProtoDirectory.parent:type_name -> ProtoDocumentElement - 11, // 353: ProtoDirectory.semanticType:type_name -> ProtoSemanticType - 68, // 354: ProtoTextBrick._children:type_name -> ProtoDocumentElement - 68, // 355: ProtoTextBrick.parent:type_name -> ProtoDocumentElement - 68, // 356: ProtoVariable.parent:type_name -> ProtoDocumentElement - 25, // 357: ProtoVariable.specialType:type_name -> ProtoVariableSpecialType - 68, // 358: ProtoFormatted.parent:type_name -> ProtoDocumentElement - 59, // 359: ProtoCDef.columSettings:type_name -> ProtoColumnSettings - 31, // 360: ProtoCDef.applyToHeaderFooter:type_name -> ProtoBoxedBool - 31, // 361: ProtoCDef.applyImmediate:type_name -> ProtoBoxedBool - 40, // 362: ProtoPDef.pageWidth:type_name -> ProtoBoxedMeasure - 40, // 363: ProtoPDef.pageDepth:type_name -> ProtoBoxedMeasure - 40, // 364: ProtoPtConfig.height:type_name -> ProtoBoxedMeasure - 40, // 365: ProtoPtConfig.lineFeed:type_name -> ProtoBoxedMeasure - 40, // 366: ProtoPtConfig.characterWidth:type_name -> ProtoBoxedMeasure - 40, // 367: ProtoPtConfig.spaceWidth:type_name -> ProtoBoxedMeasure - 9, // 368: ProtoUlConfig.mode:type_name -> ProtoUnderlineMode - 26, // 369: ProtoNewPage.pageMode:type_name -> ProtoPageMode - 27, // 370: ProtoNewPage.pageOrientation:type_name -> ProtoPageOrientation - 68, // 371: ProtoIndentation._children:type_name -> ProtoDocumentElement - 68, // 372: ProtoIndentation.parent:type_name -> ProtoDocumentElement - 40, // 373: ProtoIndentation.left:type_name -> ProtoBoxedMeasure - 40, // 374: ProtoIndentation.right:type_name -> ProtoBoxedMeasure - 68, // 375: ProtoCarryOver._children:type_name -> ProtoDocumentElement - 68, // 376: ProtoCarryOver.parent:type_name -> ProtoDocumentElement - 68, // 377: ProtoLoopEntry._children:type_name -> ProtoDocumentElement - 68, // 378: ProtoLoopEntry.parent:type_name -> ProtoDocumentElement - 68, // 379: ProtoLoop._children:type_name -> ProtoDocumentElement - 68, // 380: ProtoLoop.parent:type_name -> ProtoDocumentElement - 68, // 381: ProtoSubTotal._children:type_name -> ProtoDocumentElement - 68, // 382: ProtoSubTotal.parent:type_name -> ProtoDocumentElement - 28, // 383: ProtoSubTotal.position:type_name -> ProtoSubTotalPosition - 39, // 384: ProtoSubTotal.height:type_name -> ProtoMeasure - 68, // 385: ProtoWsArea._children:type_name -> ProtoDocumentElement - 68, // 386: ProtoWsArea.parent:type_name -> ProtoDocumentElement - 39, // 387: ProtoRule.xOffset:type_name -> ProtoMeasure - 39, // 388: ProtoRule.yOffset:type_name -> ProtoMeasure - 39, // 389: ProtoRule.width:type_name -> ProtoMeasure - 39, // 390: ProtoRule.thickness:type_name -> ProtoMeasure - 46, // 391: ProtoRule.color:type_name -> ProtoColor - 1, // 392: ProtoRule.style:type_name -> ProtoRuleStyle - 29, // 393: ProtoRule.mode:type_name -> ProtoRuleMode - 129, // 394: ProtoRule.boundaries:type_name -> ProtoRuleBoundaries - 39, // 395: ProtoRuleBoundaries.start:type_name -> ProtoMeasure - 39, // 396: ProtoRuleBoundaries.end:type_name -> ProtoMeasure - 46, // 397: ProtoColorDef.color:type_name -> ProtoColor - 68, // 398: ProtoLayout.parent:type_name -> ProtoDocumentElement - 68, // 399: ProtoAdvancedIllustrationArea._children:type_name -> ProtoDocumentElement - 68, // 400: ProtoAdvancedIllustrationArea.parent:type_name -> ProtoDocumentElement - 39, // 401: ProtoAdvancedIllustrationArea.width:type_name -> ProtoMeasure - 39, // 402: ProtoAdvancedIllustrationArea.height:type_name -> ProtoMeasure - 39, // 403: ProtoAdvancedIllustrationArea.x:type_name -> ProtoMeasure - 39, // 404: ProtoAdvancedIllustrationArea.y:type_name -> ProtoMeasure - 3, // 405: ProtoAdvancedIllustrationArea.textFlow:type_name -> ProtoAdvancedIllustrationAreaTextFlowType - 68, // 406: ProtoAdjustHorizontally._children:type_name -> ProtoDocumentElement - 68, // 407: ProtoAdjustHorizontally.parent:type_name -> ProtoDocumentElement - 39, // 408: ProtoAdjustHorizontally.minFontSize:type_name -> ProtoMeasure - 39, // 409: ProtoAdjustHorizontally.maxFontSize:type_name -> ProtoMeasure - 68, // 410: ProtoDoctypeScript.parent:type_name -> ProtoDocumentElement - 30, // 411: ProtoDoctypeScript.outputMode:type_name -> ProtoDoctypeOutputMode - 68, // 412: ProtoDmScript.parent:type_name -> ProtoDocumentElement - 68, // 413: ProtoDynamicTemplate.parent:type_name -> ProtoDocumentElement - 68, // 414: ProtoSelection._children:type_name -> ProtoDocumentElement - 68, // 415: ProtoSelection.parent:type_name -> ProtoDocumentElement - 68, // 416: ProtoSelectionEntry._children:type_name -> ProtoDocumentElement - 68, // 417: ProtoSelectionEntry.parent:type_name -> ProtoDocumentElement - 68, // 418: ProtoCondition._children:type_name -> ProtoDocumentElement - 68, // 419: ProtoCondition.parent:type_name -> ProtoDocumentElement - 68, // 420: ProtoPageCondition._children:type_name -> ProtoDocumentElement - 68, // 421: ProtoPageCondition.parent:type_name -> ProtoDocumentElement - 68, // 422: ProtoLocale._children:type_name -> ProtoDocumentElement - 68, // 423: ProtoLocale.parent:type_name -> ProtoDocumentElement - 68, // 424: ProtoTag.parent:type_name -> ProtoDocumentElement - 68, // 425: ProtoParagraphSetDefault.parent:type_name -> ProtoDocumentElement - 68, // 426: ProtoInputFieldText.parent:type_name -> ProtoDocumentElement - 67, // 427: ProtoInputFieldText.base:type_name -> ProtoBaseInputField - 12, // 428: ProtoInputFieldText.pdf_printing_behavior:type_name -> PDFPrintingBehavior - 40, // 429: ProtoInputFieldText.pdf_size:type_name -> ProtoBoxedMeasure - 68, // 430: ProtoInputFieldDate.parent:type_name -> ProtoDocumentElement - 67, // 431: ProtoInputFieldDate.base:type_name -> ProtoBaseInputField - 68, // 432: ProtoInputFieldCheckbox.parent:type_name -> ProtoDocumentElement - 67, // 433: ProtoInputFieldCheckbox.base:type_name -> ProtoBaseInputField - 68, // 434: ProtoInputFieldLabel.parent:type_name -> ProtoDocumentElement - 67, // 435: ProtoInputFieldLabel.base:type_name -> ProtoBaseInputField - 68, // 436: ProtoInputFieldDropdown.parent:type_name -> ProtoDocumentElement - 67, // 437: ProtoInputFieldDropdown.base:type_name -> ProtoBaseInputField - 66, // 438: ProtoInputFieldDropdown.options:type_name -> ProtoOption - 439, // [439:439] is the sub-list for method output_type - 439, // [439:439] is the sub-list for method input_type - 439, // [439:439] is the sub-list for extension type_name - 439, // [439:439] is the sub-list for extension extendee - 0, // [0:439] is the sub-list for field type_name -} - -func init() { file_build_docframe_proto_init() } -func file_build_docframe_proto_init() { - if File_build_docframe_proto != nil { - return - } - file_build_docframe_proto_msgTypes[76].OneofWrappers = []any{ - (*Node_ListSetting)(nil), - (*Node_ColorDef)(nil), - (*Node_Brick)(nil), - (*Node_Template)(nil), - (*Node_Formatted)(nil), - (*Node_Image)(nil), - (*Node_ParagraphFormat)(nil), - (*Node_TextBrick)(nil), - (*Node_Text)(nil), - (*Node_Linebreak)(nil), - (*Node_SpaceVertically)(nil), - (*Node_Footer)(nil), - (*Node_Header)(nil), - (*Node_Table)(nil), - (*Node_TableRow)(nil), - (*Node_TableCell)(nil), - (*Node_CDef)(nil), - (*Node_PDef)(nil), - (*Node_ApplyCDef)(nil), - (*Node_ApplyPDef)(nil), - (*Node_ApplyPtConfig)(nil), - (*Node_ApplyUlConfig)(nil), - (*Node_PtConfig)(nil), - (*Node_UlConfig)(nil), - (*Node_NewPage)(nil), - (*Node_Variable)(nil), - (*Node_NamedString)(nil), - (*Node_Paragraph)(nil), - (*Node_Section)(nil), - (*Node_Span)(nil), - (*Node_Link)(nil), - (*Node_Directory)(nil), - (*Node_TableContentGroup)(nil), - (*Node_TableConfig)(nil), - (*Node_TableCellConfig)(nil), - (*Node_TableRowConfig)(nil), - (*Node_TableContentGroupConfig)(nil), - (*Node_BrickReference)(nil), - (*Node_Indentation)(nil), - (*Node_Barcode)(nil), - (*Node_WsArea)(nil), - (*Node_CarryOver)(nil), - (*Node_SubTotal)(nil), - (*Node_Loop)(nil), - (*Node_LoopEntry)(nil), - (*Node_Rule)(nil), - (*Node_Layout)(nil), - (*Node_AdvancedIllustrationArea)(nil), - (*Node_AdjustHorizontally)(nil), - (*Node_DoctypeScript)(nil), - (*Node_DmScript)(nil), - (*Node_DynamicTemplate)(nil), - (*Node_Selection)(nil), - (*Node_SelectionEntry)(nil), - (*Node_Condition)(nil), - (*Node_PageCondition)(nil), - (*Node_Locale)(nil), - (*Node_Tag)(nil), - (*Node_ParagraphSetDefault)(nil), - (*Node_InputFieldText)(nil), - (*Node_InputFieldDate)(nil), - (*Node_InputFieldCheckbox)(nil), - (*Node_InputFieldLabel)(nil), - (*Node_InputFieldDropdown)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_build_docframe_proto_rawDesc), len(file_build_docframe_proto_rawDesc)), - NumEnums: 31, - NumMessages: 118, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_build_docframe_proto_goTypes, - DependencyIndexes: file_build_docframe_proto_depIdxs, - EnumInfos: file_build_docframe_proto_enumTypes, - MessageInfos: file_build_docframe_proto_msgTypes, - }.Build() - File_build_docframe_proto = out.File - file_build_docframe_proto_goTypes = nil - file_build_docframe_proto_depIdxs = nil -} diff --git a/docframepb/documentelements.adjust_horizontally_generated.go b/docframepb/documentelements.adjust_horizontally_generated.go deleted file mode 100644 index e12c379..0000000 --- a/docframepb/documentelements.adjust_horizontally_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (adjustHorizontally *ProtoAdjustHorizontally) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_AdjustHorizontally{ - AdjustHorizontally: adjustHorizontally, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.advanced_illustration_area_generated.go b/docframepb/documentelements.advanced_illustration_area_generated.go deleted file mode 100644 index 95775fb..0000000 --- a/docframepb/documentelements.advanced_illustration_area_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (advancedIllustrationArea *ProtoAdvancedIllustrationArea) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_AdvancedIllustrationArea{ - AdvancedIllustrationArea: advancedIllustrationArea, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.apply_cdef_generated.go b/docframepb/documentelements.apply_cdef_generated.go deleted file mode 100644 index 563fe7d..0000000 --- a/docframepb/documentelements.apply_cdef_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (applyCdef *ProtoApplyProtoCDef) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_ApplyCDef{ - ApplyCDef: applyCdef, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.apply_pdef_generated.go b/docframepb/documentelements.apply_pdef_generated.go deleted file mode 100644 index 9d59c41..0000000 --- a/docframepb/documentelements.apply_pdef_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (applyPdef *ProtoApplyProtoPDef) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_ApplyPDef{ - ApplyPDef: applyPdef, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.apply_pt_config_generated.go b/docframepb/documentelements.apply_pt_config_generated.go deleted file mode 100644 index 0ea58c3..0000000 --- a/docframepb/documentelements.apply_pt_config_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (applyPtConfig *ProtoApplyPtConfig) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_ApplyPtConfig{ - ApplyPtConfig: applyPtConfig, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.apply_ul_config_generated.go b/docframepb/documentelements.apply_ul_config_generated.go deleted file mode 100644 index d371c9b..0000000 --- a/docframepb/documentelements.apply_ul_config_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (applyUlConfig *ProtoApplyUlConfig) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_ApplyUlConfig{ - ApplyUlConfig: applyUlConfig, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.barcode_generated.go b/docframepb/documentelements.barcode_generated.go deleted file mode 100644 index b768ed2..0000000 --- a/docframepb/documentelements.barcode_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (barcode *ProtoBarcode) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Barcode{ - Barcode: barcode, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.brick_generated.go b/docframepb/documentelements.brick_generated.go deleted file mode 100644 index c11e7be..0000000 --- a/docframepb/documentelements.brick_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (brick *ProtoBrick) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Brick{ - Brick: brick, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.brick_reference_generated.go b/docframepb/documentelements.brick_reference_generated.go deleted file mode 100644 index 3220514..0000000 --- a/docframepb/documentelements.brick_reference_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (brickReference *ProtoBrickReference) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_BrickReference{ - BrickReference: brickReference, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.carry_over_generated.go b/docframepb/documentelements.carry_over_generated.go deleted file mode 100644 index c65015d..0000000 --- a/docframepb/documentelements.carry_over_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (carryOver *ProtoCarryOver) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_CarryOver{ - CarryOver: carryOver, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.cdef_generated.go b/docframepb/documentelements.cdef_generated.go deleted file mode 100644 index 5106f7e..0000000 --- a/docframepb/documentelements.cdef_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (cdef *ProtoCDef) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_CDef{ - CDef: cdef, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.color_def_generated.go b/docframepb/documentelements.color_def_generated.go deleted file mode 100644 index a47bf36..0000000 --- a/docframepb/documentelements.color_def_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (colorDef *ProtoColorDef) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_ColorDef{ - ColorDef: colorDef, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.condition_generated.go b/docframepb/documentelements.condition_generated.go deleted file mode 100644 index 51faf8e..0000000 --- a/docframepb/documentelements.condition_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (condition *ProtoCondition) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Condition{ - Condition: condition, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.directory_generated.go b/docframepb/documentelements.directory_generated.go deleted file mode 100644 index c003393..0000000 --- a/docframepb/documentelements.directory_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (directory *ProtoDirectory) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Directory{ - Directory: directory, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.dmscript_generated.go b/docframepb/documentelements.dmscript_generated.go deleted file mode 100644 index 0bca57c..0000000 --- a/docframepb/documentelements.dmscript_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (dmScript *ProtoDmScript) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_DmScript{ - DmScript: dmScript, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.doctype_script_generated.go b/docframepb/documentelements.doctype_script_generated.go deleted file mode 100644 index 0925e61..0000000 --- a/docframepb/documentelements.doctype_script_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (doctypeScript *ProtoDoctypeScript) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_DoctypeScript{ - DoctypeScript: doctypeScript, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.dynamic_template_generated.go b/docframepb/documentelements.dynamic_template_generated.go deleted file mode 100644 index 662409d..0000000 --- a/docframepb/documentelements.dynamic_template_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (dynamicTemplate *ProtoDynamicTemplate) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_DynamicTemplate{ - DynamicTemplate: dynamicTemplate, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.footer_generated.go b/docframepb/documentelements.footer_generated.go deleted file mode 100644 index 70323b9..0000000 --- a/docframepb/documentelements.footer_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (footer *ProtoFooter) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Footer{ - Footer: footer, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.formatted_generated.go b/docframepb/documentelements.formatted_generated.go deleted file mode 100644 index 4bd4957..0000000 --- a/docframepb/documentelements.formatted_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (formatted *ProtoFormatted) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Formatted{ - Formatted: formatted, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.header_generated.go b/docframepb/documentelements.header_generated.go deleted file mode 100644 index 182c8d9..0000000 --- a/docframepb/documentelements.header_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (header *ProtoHeader) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Header{ - Header: header, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.image_generated.go b/docframepb/documentelements.image_generated.go deleted file mode 100644 index cf6ea8e..0000000 --- a/docframepb/documentelements.image_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (image *ProtoImage) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Image{ - Image: image, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.indentation_generated.go b/docframepb/documentelements.indentation_generated.go deleted file mode 100644 index eb72df1..0000000 --- a/docframepb/documentelements.indentation_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (indentation *ProtoIndentation) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Indentation{ - Indentation: indentation, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.input_field_generated.go b/docframepb/documentelements.input_field_generated.go deleted file mode 100644 index c9bac2a..0000000 --- a/docframepb/documentelements.input_field_generated.go +++ /dev/null @@ -1,85 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (inputFieldText *ProtoInputFieldText) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_InputFieldText{ - InputFieldText: inputFieldText, - }, - Children: nodeChildren, - } - - return node -} - -func (inputFieldDate *ProtoInputFieldDate) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_InputFieldDate{ - InputFieldDate: inputFieldDate, - }, - Children: nodeChildren, - } - - return node -} - -func (inputFieldCheckbox *ProtoInputFieldCheckbox) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_InputFieldCheckbox{ - InputFieldCheckbox: inputFieldCheckbox, - }, - Children: nodeChildren, - } - - return node -} - -func (inputFieldLabel *ProtoInputFieldLabel) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_InputFieldLabel{ - InputFieldLabel: inputFieldLabel, - }, - Children: nodeChildren, - } - - return node -} - -func (inputFieldDropdown *ProtoInputFieldDropdown) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_InputFieldDropdown{ - InputFieldDropdown: inputFieldDropdown, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.layout_generated.go b/docframepb/documentelements.layout_generated.go deleted file mode 100644 index 174c297..0000000 --- a/docframepb/documentelements.layout_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (layout *ProtoLayout) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Layout{ - Layout: layout, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.linebreak_generated.go b/docframepb/documentelements.linebreak_generated.go deleted file mode 100644 index 9e4f6ea..0000000 --- a/docframepb/documentelements.linebreak_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (linebreak *ProtoLinebreak) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Linebreak{ - Linebreak: linebreak, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.link_generated.go b/docframepb/documentelements.link_generated.go deleted file mode 100644 index 038875b..0000000 --- a/docframepb/documentelements.link_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (link *ProtoLink) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Link{ - Link: link, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.list_setting_generated.go b/docframepb/documentelements.list_setting_generated.go deleted file mode 100644 index c5a71e8..0000000 --- a/docframepb/documentelements.list_setting_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (listSetting *ProtoListSetting) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_ListSetting{ - ListSetting: listSetting, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.locale_generated.go b/docframepb/documentelements.locale_generated.go deleted file mode 100644 index 96e2066..0000000 --- a/docframepb/documentelements.locale_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (locale *ProtoLocale) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Locale{ - Locale: locale, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.loop_entry_generated.go b/docframepb/documentelements.loop_entry_generated.go deleted file mode 100644 index a1a6ae9..0000000 --- a/docframepb/documentelements.loop_entry_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (loopEntry *ProtoLoopEntry) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_LoopEntry{ - LoopEntry: loopEntry, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.loop_generated.go b/docframepb/documentelements.loop_generated.go deleted file mode 100644 index 5aac7c3..0000000 --- a/docframepb/documentelements.loop_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (loop *ProtoLoop) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Loop{ - Loop: loop, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.named_string_generated.go b/docframepb/documentelements.named_string_generated.go deleted file mode 100644 index 670219e..0000000 --- a/docframepb/documentelements.named_string_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (namedString *ProtoNamedString) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_NamedString{ - NamedString: namedString, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.new_page_generated.go b/docframepb/documentelements.new_page_generated.go deleted file mode 100644 index 041a73f..0000000 --- a/docframepb/documentelements.new_page_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (newPage *ProtoNewPage) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_NewPage{ - NewPage: newPage, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.page_condition_generated.go b/docframepb/documentelements.page_condition_generated.go deleted file mode 100644 index 85eec6e..0000000 --- a/docframepb/documentelements.page_condition_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (pageCondition *ProtoPageCondition) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_PageCondition{ - PageCondition: pageCondition, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.paragraph_format_generated.go b/docframepb/documentelements.paragraph_format_generated.go deleted file mode 100644 index 5a39bb5..0000000 --- a/docframepb/documentelements.paragraph_format_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (paragraphFormat *ProtoParagraphFormat) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_ParagraphFormat{ - ParagraphFormat: paragraphFormat, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.paragraph_generated.go b/docframepb/documentelements.paragraph_generated.go deleted file mode 100644 index 43615bc..0000000 --- a/docframepb/documentelements.paragraph_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (paragraph *ProtoParagraph) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Paragraph{ - Paragraph: paragraph, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.paragraph_set_default_generated.go b/docframepb/documentelements.paragraph_set_default_generated.go deleted file mode 100644 index ba40eb5..0000000 --- a/docframepb/documentelements.paragraph_set_default_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (paragraphSetDefault *ProtoParagraphSetDefault) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_ParagraphSetDefault{ - ParagraphSetDefault: paragraphSetDefault, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.pdef_generated.go b/docframepb/documentelements.pdef_generated.go deleted file mode 100644 index ce16e8d..0000000 --- a/docframepb/documentelements.pdef_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (pdef *ProtoPDef) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_PDef{ - PDef: pdef, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.pt_config_generated.go b/docframepb/documentelements.pt_config_generated.go deleted file mode 100644 index 8ab5367..0000000 --- a/docframepb/documentelements.pt_config_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (ptConfig *ProtoPtConfig) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_PtConfig{ - PtConfig: ptConfig, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.rule_generated.go b/docframepb/documentelements.rule_generated.go deleted file mode 100644 index e6964bf..0000000 --- a/docframepb/documentelements.rule_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (rule *ProtoRule) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Rule{ - Rule: rule, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.section_generated.go b/docframepb/documentelements.section_generated.go deleted file mode 100644 index f72caf2..0000000 --- a/docframepb/documentelements.section_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (section *ProtoSection) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Section{ - Section: section, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.selection_entry_generated.go b/docframepb/documentelements.selection_entry_generated.go deleted file mode 100644 index 97273d9..0000000 --- a/docframepb/documentelements.selection_entry_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (selectionEntry *ProtoSelectionEntry) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_SelectionEntry{ - SelectionEntry: selectionEntry, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.selection_generated.go b/docframepb/documentelements.selection_generated.go deleted file mode 100644 index e3da63e..0000000 --- a/docframepb/documentelements.selection_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (selection *ProtoSelection) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Selection{ - Selection: selection, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.space_vertically_generated.go b/docframepb/documentelements.space_vertically_generated.go deleted file mode 100644 index 8b3fa20..0000000 --- a/docframepb/documentelements.space_vertically_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (spaceVertically *ProtoSpaceVertically) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_SpaceVertically{ - SpaceVertically: spaceVertically, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.span_generated.go b/docframepb/documentelements.span_generated.go deleted file mode 100644 index f09b7ab..0000000 --- a/docframepb/documentelements.span_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (span *ProtoSpan) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Span{ - Span: span, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.sub_total_generated.go b/docframepb/documentelements.sub_total_generated.go deleted file mode 100644 index a3c78eb..0000000 --- a/docframepb/documentelements.sub_total_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (subTotal *ProtoSubTotal) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_SubTotal{ - SubTotal: subTotal, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.table_generated.go b/docframepb/documentelements.table_generated.go deleted file mode 100644 index d28cb85..0000000 --- a/docframepb/documentelements.table_generated.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (table *ProtoTable) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Table{ - Table: table, - }, - Children: nodeChildren, - } - - return node -} - -func (tableConfig *ProtoTableConfig) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_TableConfig{ - TableConfig: tableConfig, - }, - Children: nodeChildren, - } - - return node -} - -func (tableContentGroup *ProtoTableContentGroup) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_TableContentGroup{ - TableContentGroup: tableContentGroup, - }, - Children: nodeChildren, - } - - return node -} - -func (tableContentGroupConfig *ProtoTableContentGroupConfig) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_TableContentGroupConfig{ - TableContentGroupConfig: tableContentGroupConfig, - }, - Children: nodeChildren, - } - - return node -} - -func (tableRow *ProtoTableRow) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_TableRow{ - TableRow: tableRow, - }, - Children: nodeChildren, - } - - return node -} - -func (tableRowConfig *ProtoTableRowConfig) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_TableRowConfig{ - TableRowConfig: tableRowConfig, - }, - Children: nodeChildren, - } - - return node -} - -func (tableCell *ProtoTableCell) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_TableCell{ - TableCell: tableCell, - }, - Children: nodeChildren, - } - - return node -} - -func (tableCellConfig *ProtoTableCellConfig) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_TableCellConfig{ - TableCellConfig: tableCellConfig, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.tag_generated.go b/docframepb/documentelements.tag_generated.go deleted file mode 100644 index 30358fc..0000000 --- a/docframepb/documentelements.tag_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (tag *ProtoTag) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Tag{ - Tag: tag, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.template_generated.go b/docframepb/documentelements.template_generated.go deleted file mode 100644 index 0a094da..0000000 --- a/docframepb/documentelements.template_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (template *ProtoTemplate) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Template{ - Template: template, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.text_generated.go b/docframepb/documentelements.text_generated.go deleted file mode 100644 index f99cb17..0000000 --- a/docframepb/documentelements.text_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (text *ProtoText) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Text{ - Text: text, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.textbrick_generated.go b/docframepb/documentelements.textbrick_generated.go deleted file mode 100644 index eb80d6f..0000000 --- a/docframepb/documentelements.textbrick_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (textBrick *ProtoTextBrick) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_TextBrick{ - TextBrick: textBrick, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.ul_config_generated.go b/docframepb/documentelements.ul_config_generated.go deleted file mode 100644 index 4e97c96..0000000 --- a/docframepb/documentelements.ul_config_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (ulConfig *ProtoUlConfig) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_UlConfig{ - UlConfig: ulConfig, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.variable_generated.go b/docframepb/documentelements.variable_generated.go deleted file mode 100644 index 136aa07..0000000 --- a/docframepb/documentelements.variable_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (variable *ProtoVariable) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_Variable{ - Variable: variable, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/documentelements.ws_area_generated.go b/docframepb/documentelements.ws_area_generated.go deleted file mode 100644 index 1918e4b..0000000 --- a/docframepb/documentelements.ws_area_generated.go +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by go generate; DO NOT EDIT. -// This file was generated by docframe document element generator -package docframepb - - -func (wsArea *ProtoWsArea) ToNode(children ...Message) *Node { - nodeChildren := make([]*Node, len(children)) - for i, c := range children { - nodeChildren[i] = c.ToNode() - } - - node := &Node{ - Object: &Node_WsArea{ - WsArea: wsArea, - }, - Children: nodeChildren, - } - - return node -} - diff --git a/docframepb/proto_to_node_converter.go b/docframepb/proto_to_node_converter.go deleted file mode 100644 index 7e83552..0000000 --- a/docframepb/proto_to_node_converter.go +++ /dev/null @@ -1,40 +0,0 @@ -package docframepb - -import ( - "fmt" - - "google.golang.org/protobuf/proto" -) - -//go:generate go run ../tools/proto_node_generator/proto_node_generator.go -proto-document-element-dir ../src/DocumentElements -proto-util-dir ../src/Util -destination-dir . - -type Message interface { - proto.Message - - ToNode(children ...Message) *Node -} - -func (n *Node) ToNode(...Message) *Node { - return n -} - -type Protos []Message - -func (protos Protos) ToProtoBytes() ([]byte, error) { - rootNode := &Node{} - - var err error - - rootNode.Children = make([]*Node, len(protos)) - - for i, p := range protos { - rootNode.Children[i] = p.ToNode() - } - - data, err := proto.Marshal(rootNode) - if err != nil { - return nil, fmt.Errorf("error marshalling root node: %w", err) - } - - return data, nil -} diff --git a/go.mod b/go.mod index 329a906..3831bd0 100644 --- a/go.mod +++ b/go.mod @@ -8,4 +8,4 @@ require ( google.golang.org/protobuf v1.36.8 ) -require golang.org/x/sys v0.35.0 // indirect +require golang.org/x/sys v0.36.0 // indirect diff --git a/go.sum b/go.sum index e1a82d8..90a288b 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI= -golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k= +golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.36.8 h1:xHScyCOEuuwZEc6UtSOvPbAT4zRh0xcNRYekJwfqyMc= diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 575b62b..0000000 --- a/package-lock.json +++ /dev/null @@ -1,1537 +0,0 @@ -{ - "name": "docframe-types", - "version": "0.7.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "docframe-types", - "version": "0.7.0", - "license": "MIT", - "dependencies": { - "long": "^5.2.1", - "protobufjs": "^7.2.1" - }, - "devDependencies": { - "protobufjs-cli": "^1.1.0" - }, - "engines": { - "node": ">= 8.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz", - "integrity": "sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jsdoc/salty": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.5.tgz", - "integrity": "sha512-TfRP53RqunNe2HBobVBJ0VLhK1HbfvBYeTC1ahnN64PWvyYyGebmMiPkuwvD9fpw2ZbkoPb8Q7mwy0aR8Z9rvw==", - "dev": true, - "dependencies": { - "lodash": "^4.17.21" - }, - "engines": { - "node": ">=v12.0.0" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" - }, - "node_modules/@types/linkify-it": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.2.tgz", - "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==", - "dev": true - }, - "node_modules/@types/markdown-it": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-12.2.3.tgz", - "integrity": "sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==", - "dev": true, - "dependencies": { - "@types/linkify-it": "*", - "@types/mdurl": "*" - } - }, - "node_modules/@types/mdurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.2.tgz", - "integrity": "sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==", - "dev": true - }, - "node_modules/@types/node": { - "version": "20.3.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.3.1.tgz", - "integrity": "sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==" - }, - "node_modules/acorn": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", - "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "dev": true - }, - "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/catharsis": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", - "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", - "dev": true, - "dependencies": { - "lodash": "^4.17.15" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/entities": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", - "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", - "dev": true, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/escodegen": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", - "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", - "dev": true, - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=4.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/escodegen/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/espree": { - "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", - "dev": true, - "dependencies": { - "acorn": "^8.8.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/js2xmlparser": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", - "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", - "dev": true, - "dependencies": { - "xmlcreate": "^2.0.4" - } - }, - "node_modules/jsdoc": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.2.tgz", - "integrity": "sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.20.15", - "@jsdoc/salty": "^0.2.1", - "@types/markdown-it": "^12.2.3", - "bluebird": "^3.7.2", - "catharsis": "^0.9.0", - "escape-string-regexp": "^2.0.0", - "js2xmlparser": "^4.0.2", - "klaw": "^3.0.0", - "markdown-it": "^12.3.2", - "markdown-it-anchor": "^8.4.1", - "marked": "^4.0.10", - "mkdirp": "^1.0.4", - "requizzle": "^0.2.3", - "strip-json-comments": "^3.1.0", - "underscore": "~1.13.2" - }, - "bin": { - "jsdoc": "jsdoc.js" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/klaw": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", - "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.9" - } - }, - "node_modules/levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", - "dev": true, - "dependencies": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/linkify-it": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", - "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", - "dev": true, - "dependencies": { - "uc.micro": "^1.0.1" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/markdown-it": { - "version": "12.3.2", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", - "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1", - "entities": "~2.1.0", - "linkify-it": "^3.0.1", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" - }, - "bin": { - "markdown-it": "bin/markdown-it.js" - } - }, - "node_modules/markdown-it-anchor": { - "version": "8.6.7", - "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz", - "integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==", - "dev": true, - "peerDependencies": { - "@types/markdown-it": "*", - "markdown-it": "*" - } - }, - "node_modules/marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", - "dev": true, - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", - "dev": true - }, - "node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "dev": true, - "dependencies": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/protobufjs": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.3.tgz", - "integrity": "sha512-TtpvOqwB5Gdz/PQmOjgsrGH1nHjAQVCN7JG4A6r1sXRWESL5rNMAiRcBQlCAdKxZcAbstExQePYG8xof/JVRgg==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/protobufjs-cli": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/protobufjs-cli/-/protobufjs-cli-1.1.1.tgz", - "integrity": "sha512-VPWMgIcRNyQwWUv8OLPyGQ/0lQY/QTQAVN5fh+XzfDwsVw1FZ2L3DM/bcBf8WPiRz2tNpaov9lPZfNcmNo6LXA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "escodegen": "^1.13.0", - "espree": "^9.0.0", - "estraverse": "^5.1.0", - "glob": "^8.0.0", - "jsdoc": "^4.0.0", - "minimist": "^1.2.0", - "semver": "^7.1.2", - "tmp": "^0.2.1", - "uglify-js": "^3.7.7" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - }, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "protobufjs": "^7.0.0" - } - }, - "node_modules/requizzle": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.4.tgz", - "integrity": "sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw==", - "dev": true, - "dependencies": { - "lodash": "^4.17.21" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/semver": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", - "integrity": "sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/tmp": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", - "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "dev": true, - "dependencies": { - "rimraf": "^3.0.0" - }, - "engines": { - "node": ">=8.17.0" - } - }, - "node_modules/type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", - "dev": true, - "dependencies": { - "prelude-ls": "~1.1.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/uc.micro": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", - "dev": true - }, - "node_modules/uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", - "dev": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/underscore": { - "version": "1.13.6", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", - "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", - "dev": true - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "node_modules/xmlcreate": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", - "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", - "dev": true - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - } - }, - "dependencies": { - "@babel/parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz", - "integrity": "sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==", - "dev": true - }, - "@jsdoc/salty": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.5.tgz", - "integrity": "sha512-TfRP53RqunNe2HBobVBJ0VLhK1HbfvBYeTC1ahnN64PWvyYyGebmMiPkuwvD9fpw2ZbkoPb8Q7mwy0aR8Z9rvw==", - "dev": true, - "requires": { - "lodash": "^4.17.21" - } - }, - "@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" - }, - "@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" - }, - "@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", - "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" - }, - "@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" - }, - "@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" - }, - "@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" - }, - "@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" - }, - "@types/linkify-it": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.2.tgz", - "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==", - "dev": true - }, - "@types/markdown-it": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-12.2.3.tgz", - "integrity": "sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==", - "dev": true, - "requires": { - "@types/linkify-it": "*", - "@types/mdurl": "*" - } - }, - "@types/mdurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.2.tgz", - "integrity": "sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==", - "dev": true - }, - "@types/node": { - "version": "20.3.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.3.1.tgz", - "integrity": "sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==" - }, - "acorn": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", - "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", - "dev": true - }, - "acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "requires": {} - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "dev": true - }, - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "catharsis": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", - "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", - "dev": true, - "requires": { - "lodash": "^4.17.15" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "entities": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", - "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", - "dev": true - }, - "escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true - }, - "escodegen": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", - "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", - "dev": true, - "requires": { - "esprima": "^4.0.1", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" - }, - "dependencies": { - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - } - } - }, - "eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", - "dev": true - }, - "espree": { - "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", - "dev": true, - "requires": { - "acorn": "^8.8.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - } - }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true - }, - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - } - }, - "graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "js2xmlparser": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", - "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", - "dev": true, - "requires": { - "xmlcreate": "^2.0.4" - } - }, - "jsdoc": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.2.tgz", - "integrity": "sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg==", - "dev": true, - "requires": { - "@babel/parser": "^7.20.15", - "@jsdoc/salty": "^0.2.1", - "@types/markdown-it": "^12.2.3", - "bluebird": "^3.7.2", - "catharsis": "^0.9.0", - "escape-string-regexp": "^2.0.0", - "js2xmlparser": "^4.0.2", - "klaw": "^3.0.0", - "markdown-it": "^12.3.2", - "markdown-it-anchor": "^8.4.1", - "marked": "^4.0.10", - "mkdirp": "^1.0.4", - "requizzle": "^0.2.3", - "strip-json-comments": "^3.1.0", - "underscore": "~1.13.2" - } - }, - "klaw": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", - "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.9" - } - }, - "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", - "dev": true, - "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - } - }, - "linkify-it": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", - "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", - "dev": true, - "requires": { - "uc.micro": "^1.0.1" - } - }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "markdown-it": { - "version": "12.3.2", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", - "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", - "dev": true, - "requires": { - "argparse": "^2.0.1", - "entities": "~2.1.0", - "linkify-it": "^3.0.1", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" - } - }, - "markdown-it-anchor": { - "version": "8.6.7", - "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz", - "integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==", - "dev": true, - "requires": {} - }, - "marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", - "dev": true - }, - "mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", - "dev": true - }, - "minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - }, - "minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true - }, - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "dev": true, - "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - } - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true - }, - "prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", - "dev": true - }, - "protobufjs": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.3.tgz", - "integrity": "sha512-TtpvOqwB5Gdz/PQmOjgsrGH1nHjAQVCN7JG4A6r1sXRWESL5rNMAiRcBQlCAdKxZcAbstExQePYG8xof/JVRgg==", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - } - }, - "protobufjs-cli": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/protobufjs-cli/-/protobufjs-cli-1.1.1.tgz", - "integrity": "sha512-VPWMgIcRNyQwWUv8OLPyGQ/0lQY/QTQAVN5fh+XzfDwsVw1FZ2L3DM/bcBf8WPiRz2tNpaov9lPZfNcmNo6LXA==", - "dev": true, - "requires": { - "chalk": "^4.0.0", - "escodegen": "^1.13.0", - "espree": "^9.0.0", - "estraverse": "^5.1.0", - "glob": "^8.0.0", - "jsdoc": "^4.0.0", - "minimist": "^1.2.0", - "semver": "^7.1.2", - "tmp": "^0.2.1", - "uglify-js": "^3.7.7" - } - }, - "requizzle": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.4.tgz", - "integrity": "sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw==", - "dev": true, - "requires": { - "lodash": "^4.17.21" - } - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - }, - "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "semver": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", - "integrity": "sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true - }, - "strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - }, - "tmp": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", - "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "dev": true, - "requires": { - "rimraf": "^3.0.0" - } - }, - "type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", - "dev": true, - "requires": { - "prelude-ls": "~1.1.2" - } - }, - "uc.micro": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", - "dev": true - }, - "uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", - "dev": true - }, - "underscore": { - "version": "1.13.6", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", - "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", - "dev": true - }, - "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "xmlcreate": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", - "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", - "dev": true - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - } - } -} diff --git a/package.json b/package.json index 24ff7bf..d6fe17e 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docframe-types", - "version": "0.7.0", + "version": "1.0.0", "description": "docframe-types contains type definitions for creating documents (e. g. using Deuterium)", "keywords": [ "formatting", @@ -16,23 +16,27 @@ "type": "git", "url": "git+https://github.com/documatrix/docframe-types.git" }, - "engineStrict": true, - "engines": { - "node": ">= 8.9.0" - }, - "main": "build/Docframe.js", - "devDependencies": { - "protobufjs-cli": "^1.1.0" + "main": "gen/index.js", + "module": "gen/index.js", + "types": "gen/index.d.ts", + "exports": { + ".": { + "import": "./gen/index.js", + "types": "./gen/index.d.ts" + } }, "scripts": { "commit": "npm run-script build && npm version patch && npm publish && git push", - "build": "bash createDocframe.sh", + "build": "make", "prepublish": "npm run build" }, "author": "DocuMatrix ", "license": "MIT", - "dependencies": { - "long": "^5.2.1", - "protobufjs": "^7.2.1" + "peerDependencies": { + "@bufbuild/protobuf": "^2.7.0" + }, + "devDependencies": { + "barrelsby": "^2.8.1", + "typescript": "^5.9.2" } } diff --git a/proto/box/v1/bool.proto b/proto/box/v1/bool.proto new file mode 100644 index 0000000..059e2fd --- /dev/null +++ b/proto/box/v1/bool.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package box.v1; + +message ProtoBoxedBool { + bool value = 1; + bool is_null = 2; +} diff --git a/proto/box/v1/double.proto b/proto/box/v1/double.proto new file mode 100644 index 0000000..551e370 --- /dev/null +++ b/proto/box/v1/double.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package box.v1; + +message ProtoBoxedDouble { + double value = 1; + bool is_null = 2; +} diff --git a/proto/box/v1/int32.proto b/proto/box/v1/int32.proto new file mode 100644 index 0000000..e537f67 --- /dev/null +++ b/proto/box/v1/int32.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package box.v1; + +message ProtoBoxedInt32 { + int32 value = 1; + bool is_null = 2; +} diff --git a/proto/box/v1/string.proto b/proto/box/v1/string.proto new file mode 100644 index 0000000..205c66c --- /dev/null +++ b/proto/box/v1/string.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package box.v1; + +message ProtoBoxedString { + string value = 1; + bool is_null = 2; +} diff --git a/proto/box/v1/uint32.proto b/proto/box/v1/uint32.proto new file mode 100644 index 0000000..75bcba2 --- /dev/null +++ b/proto/box/v1/uint32.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package box.v1; + +message ProtoBoxedUint32 { + uint32 value = 1; + bool is_null = 2; +} diff --git a/proto/buf.yaml b/proto/buf.yaml new file mode 100644 index 0000000..b96bf2b --- /dev/null +++ b/proto/buf.yaml @@ -0,0 +1,9 @@ +version: v2 +breaking: + use: + - FILE +lint: + use: + - STANDARD + except: + - ENUM_ZERO_VALUE_SUFFIX \ No newline at end of file diff --git a/proto/document_element/v1/adjust_horizontally.proto b/proto/document_element/v1/adjust_horizontally.proto new file mode 100644 index 0000000..8a37efa --- /dev/null +++ b/proto/document_element/v1/adjust_horizontally.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; + +message ProtoAdjustHorizontally { + // BranchDocumentElement + util.v1.ProtoMeasure min_font_size = 3; + util.v1.ProtoMeasure max_font_size = 4; + repeated string com_channel_uuids = 5; +} diff --git a/proto/document_element/v1/advanced_illustration_area.proto b/proto/document_element/v1/advanced_illustration_area.proto new file mode 100644 index 0000000..0549bca --- /dev/null +++ b/proto/document_element/v1/advanced_illustration_area.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; +import "util/v1/advanced_illustration_area_image_settings.proto"; + +message ProtoAdvancedIllustrationArea { + // BranchDocumentElement + string uuid = 3; + bool absolute = 4; + util.v1.ProtoMeasure width = 5; + util.v1.ProtoMeasure height = 6; + util.v1.ProtoMeasure x = 7; + util.v1.ProtoMeasure y = 8; + util.v1.ProtoAdvancedIllustrationAreaTextFlowType text_flow = 9; + float rotation = 10; + repeated string com_channel_uuids = 11; +} diff --git a/proto/document_element/v1/apply_cdef.proto b/proto/document_element/v1/apply_cdef.proto new file mode 100644 index 0000000..c399197 --- /dev/null +++ b/proto/document_element/v1/apply_cdef.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoApplyProtoCDef { + string c_def_uuid = 1; + repeated string com_channel_uuids = 2; +} diff --git a/proto/document_element/v1/apply_pdef.proto b/proto/document_element/v1/apply_pdef.proto new file mode 100644 index 0000000..72771b8 --- /dev/null +++ b/proto/document_element/v1/apply_pdef.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoApplyProtoPDef { + string p_def_uuid = 1; + repeated string com_channel_uuids = 2; +} diff --git a/proto/document_element/v1/apply_pt_config.proto b/proto/document_element/v1/apply_pt_config.proto new file mode 100644 index 0000000..f1a1aed --- /dev/null +++ b/proto/document_element/v1/apply_pt_config.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoApplyPtConfig { + string pt_config_uuid = 1; + repeated string com_channel_uuids = 2; +} diff --git a/proto/document_element/v1/apply_ul_config.proto b/proto/document_element/v1/apply_ul_config.proto new file mode 100644 index 0000000..e409dae --- /dev/null +++ b/proto/document_element/v1/apply_ul_config.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoApplyUlConfig { + string ul_config_uuid = 1; + repeated string com_channel_uuids = 2; +} diff --git a/proto/document_element/v1/barcode.proto b/proto/document_element/v1/barcode.proto new file mode 100644 index 0000000..ee705d1 --- /dev/null +++ b/proto/document_element/v1/barcode.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; +import "util/v1/barcode.proto"; +import "util/v1/image_settings.proto"; + +message ProtoBarcode { + util.v1.ProtoBarcodeType type = 1; + util.v1.ProtoMeasure x = 2; + util.v1.ProtoMeasure y = 3; + util.v1.ProtoImageReferencePoint reference_point = 4; + // Rotation in degrees, counter-clockwise + float rotation = 5; + util.v1.ProtoMeasure width = 6; + util.v1.ProtoMeasure height = 7; + util.v1.ProtoMeasure padding = 8; + // keeps the evaluated code + string data = 9; + bool position_absolute = 10; + repeated string com_channel_uuids = 11; + string uuid = 12; + // keeps the original code, which gives us the possibility to re-evaluate it and save it in data + // it will be empty if the barcode type is SwissQR + string code = 13; + // will only be set if the barcode type is SwissQR + util.v1.ProtoSwissQRData swiss_qr_data = 14; +} diff --git a/proto/document_element/v1/brick.proto b/proto/document_element/v1/brick.proto new file mode 100644 index 0000000..f29cd7e --- /dev/null +++ b/proto/document_element/v1/brick.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoBrick { + // BranchDocumentElement + uint64 id = 3; + string intern_name = 4; + string uuid = 5; + bool editable = 6; + repeated string com_channel_uuids = 7; + string name = 8; +} diff --git a/proto/document_element/v1/carry_over.proto b/proto/document_element/v1/carry_over.proto new file mode 100644 index 0000000..9197304 --- /dev/null +++ b/proto/document_element/v1/carry_over.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoCarryOver { + // BranchDocumentElement + repeated string com_channel_uuids = 3; +} diff --git a/proto/document_element/v1/cdef.proto b/proto/document_element/v1/cdef.proto new file mode 100644 index 0000000..ec366a3 --- /dev/null +++ b/proto/document_element/v1/cdef.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package document_element.v1; + +import "box/v1/bool.proto"; +import "util/v1/column_settings.proto"; + +message ProtoCDef { + util.v1.ProtoColumnSettings column_settings = 1; + box.v1.ProtoBoxedBool apply_to_header_footer = 2; + box.v1.ProtoBoxedBool apply_immediate = 3; + string uuid = 4; + repeated string com_channel_uuids = 5; +} diff --git a/proto/document_element/v1/color_def.proto b/proto/document_element/v1/color_def.proto new file mode 100644 index 0000000..d091d67 --- /dev/null +++ b/proto/document_element/v1/color_def.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/color.proto"; + +message ProtoColorDef { + util.v1.ProtoColor color = 1; + repeated string com_channel_uuids = 2; +} diff --git a/proto/document_element/v1/condition.proto b/proto/document_element/v1/condition.proto new file mode 100644 index 0000000..3e2b0d8 --- /dev/null +++ b/proto/document_element/v1/condition.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoCondition { + // BranchDocumentElement + string uuid = 3; + repeated string com_channel_uuids = 4; + string code = 5; + bool result = 6; + bool regenerate = 7; +} diff --git a/proto/document_element/v1/directory.proto b/proto/document_element/v1/directory.proto new file mode 100644 index 0000000..43c7cd0 --- /dev/null +++ b/proto/document_element/v1/directory.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/semantic_type.proto"; + +message ProtoDirectory { + // BranchDocumentElement + string uuid = 3; + repeated string com_channel_uuids = 4; + util.v1.ProtoSemanticType semantic_type = 5; + bool editable = 6; + string name = 7; +} diff --git a/proto/document_element/v1/dmscript.proto b/proto/document_element/v1/dmscript.proto new file mode 100644 index 0000000..963b0c7 --- /dev/null +++ b/proto/document_element/v1/dmscript.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoDmScript { + string content = 2; + repeated string com_channel_uuids = 3; + string uuid = 4; +} diff --git a/proto/document_element/v1/doctype_script.proto b/proto/document_element/v1/doctype_script.proto new file mode 100644 index 0000000..3e3ccba --- /dev/null +++ b/proto/document_element/v1/doctype_script.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package document_element.v1; + +enum ProtoDoctypeOutputMode { + PROTO_DOCTYPE_OUTPUT_MODE_NOT_SET = 0; + PROTO_DOCTYPE_OUTPUT_MODE_DOCTYPE = 1; + PROTO_DOCTYPE_OUTPUT_MODE_JSON = 2; +} + +// These elements are actually script snippets (usually dmSCRIPT), whichs result (String) is used +// as docTYPE code. +message ProtoDoctypeScript { + string content = 2; + ProtoDoctypeOutputMode output_mode = 3; + repeated string com_channel_uuids = 4; + string uuid = 5; +} diff --git a/proto/document_element/v1/dynamic_template.proto b/proto/document_element/v1/dynamic_template.proto new file mode 100644 index 0000000..41d9f2a --- /dev/null +++ b/proto/document_element/v1/dynamic_template.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoDynamicTemplate { + string uuid = 2; + string script = 3; + repeated string com_channel_uuids = 4; +} diff --git a/proto/document_element/v1/footer.proto b/proto/document_element/v1/footer.proto new file mode 100644 index 0000000..d152a8e --- /dev/null +++ b/proto/document_element/v1/footer.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + +package document_element.v1; + +enum ProtoFooterMode { + PROTO_FOOTER_MODE_APPEND_INITIAL = 0; + PROTO_FOOTER_MODE_APPEND = 1; + PROTO_FOOTER_MODE_EXTEND = 2; + PROTO_FOOTER_MODE_REPLACE = 3; +} + +message ProtoFooter { + // BranchDocumentElement + string uuid = 3; + repeated string com_channel_uuids = 4; + ProtoFooterMode mode = 5; +} diff --git a/proto/document_element/v1/formatted.proto b/proto/document_element/v1/formatted.proto new file mode 100644 index 0000000..949ae92 --- /dev/null +++ b/proto/document_element/v1/formatted.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoFormatted { + bool dteditor_syntax = 2; + string doctype_content = 3; + string doctype_code = 4; + string html_content = 5; + string html_code = 6; + string text_content = 7; + string text_code = 8; + repeated string com_channel_uuids = 9; +} diff --git a/proto/document_element/v1/header.proto b/proto/document_element/v1/header.proto new file mode 100644 index 0000000..58af79d --- /dev/null +++ b/proto/document_element/v1/header.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + +package document_element.v1; + +enum ProtoHeaderMode { + PROTO_HEADER_MODE_APPEND_INITIAL = 0; + PROTO_HEADER_MODE_APPEND = 1; + PROTO_HEADER_MODE_EXTEND = 2; + PROTO_HEADER_MODE_REPLACE = 3; +} + +message ProtoHeader { + // BranchDocumentElement + string uuid = 3; + repeated string com_channel_uuids = 4; + ProtoHeaderMode mode = 5; +} diff --git a/proto/document_element/v1/image.proto b/proto/document_element/v1/image.proto new file mode 100644 index 0000000..f908e7a --- /dev/null +++ b/proto/document_element/v1/image.proto @@ -0,0 +1,61 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; +import "box/v1/double.proto"; +import "box/v1/bool.proto"; +import "util/v1/image_settings.proto"; +import "util/v1/advanced_illustration_area_image_settings.proto"; + +enum ProtoImageScaleType { + PROTO_IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL = 0; + PROTO_IMAGE_SCALE_TYPE_RELATIVE = 1; + PROTO_IMAGE_SCALE_TYPE_ABSOLUTE = 2; + PROTO_IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN = 3; +} + +enum ProtoImageUAMode{ + PROTO_IMAGE_UA_MODE_DO_NOT_USE_AT_ALL = 0; + PROTO_IMAGE_UA_MODE_INHERITED = 1; + PROTO_IMAGE_UA_MODE_SIMPLE = 2; + PROTO_IMAGE_UA_MODE_ADVANCED = 3; + +} + +enum ProtoImageContentType{ + PROTO_IMAGE_CONTENT_TYPE_UUID_REFERENCE_INLINE = 0; + PROTO_IMAGE_CONTENT_TYPE_UUID_REFERENCE_LOCAL = 1; + PROTO_IMAGE_CONTENT_TYPE_UUID_REFERENCE_GLOBAL = 2; + PROTO_IMAGE_CONTENT_TYPE_DMSCRIPT = 3; + PROTO_IMAGE_CONTENT_TYPE_IMAGE_DATA = 4; +} + +message ProtoImage { + string alt = 2; + string name = 3; + string src = 4; + string filename = 5; + box.v1.ProtoBoxedDouble scale = 6; + box.v1.ProtoBoxedDouble column_scale = 7; + util.v1.ProtoBoxedMeasure width = 8; + util.v1.ProtoBoxedMeasure height = 9; + util.v1.ProtoBoxedMeasure x = 10; + util.v1.ProtoBoxedMeasure y = 11; + box.v1.ProtoBoxedBool position_absolute = 12; + double rotation = 13; + util.v1.ProtoFlipSettings flip_settings = 14; + util.v1.ProtoCropSettings crop_settings = 15; + util.v1.ProtoAdvancedIllustrationAreaImageSettings aia = 16; + string uuid = 17; + util.v1.ProtoImageReferencePoint reference_point = 18; + string hyperlink = 19; + repeated string com_channel_uuids = 20; + ProtoImageContentType image_content_type = 21; + string image_content = 22; + ProtoImageScaleType scale_type = 23; + ProtoImageUAMode ua_mode = 24; + string ua_description = 25; + box.v1.ProtoBoxedBool left_border_is_left_measure = 26; +} + diff --git a/proto/document_element/v1/indentation.proto b/proto/document_element/v1/indentation.proto new file mode 100644 index 0000000..01a8506 --- /dev/null +++ b/proto/document_element/v1/indentation.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; + +message ProtoIndentation { + // BranchDocumentElement + util.v1.ProtoBoxedMeasure left = 3; + util.v1.ProtoBoxedMeasure right = 4; + string uuid = 5; + repeated string com_channel_uuids = 6; +} diff --git a/proto/document_element/v1/input_field.proto b/proto/document_element/v1/input_field.proto new file mode 100644 index 0000000..daf552c --- /dev/null +++ b/proto/document_element/v1/input_field.proto @@ -0,0 +1,53 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/input_field.proto"; +import "util/v1/measure.proto"; + +message ProtoInputFieldText { + util.v1.ProtoBaseInputField base = 2; + util.v1.PDFPrintingBehavior pdf_printing_behavior = 3; + util.v1.ProtoBoxedMeasure pdf_size = 4; + string pdf_form_name = 5; + repeated string com_channel_uuids = 6; + string uuid = 7; +} + +message ProtoInputFieldDate { + util.v1.ProtoBaseInputField base = 2; + repeated string com_channel_uuids = 3; + string uuid = 4; +} + +message ProtoInputFieldCheckbox { + util.v1.ProtoBaseInputField base = 2; + repeated string com_channel_uuids = 3; + string uuid = 4; +} + +message ProtoInputFieldLabel { + util.v1.ProtoBaseInputField base = 2; + repeated string com_channel_uuids = 3; + string uuid = 4; +} + +message ProtoInputFieldDropdown { + util.v1.ProtoBaseInputField base = 2; + + repeated util.v1.ProtoOption options = 3; + + // If true, the result of the options_code evaluation will be written to the options field, and re-evaluated for every + // time the input field is rendered. + // if false, the options_code will be evaluated once and the result will be copied to the options field. + bool bind_options_code = 4; + + // Options code has to return one of the following types: + // - An array of Strings, containing the possible options + // - An array of Hashes with keys "key" (containing the "hidden" key) and "value" (containing the displayed value) + // - A hash with keys (containing the "hidden" key) and "value" (containing the displayed value) + string options_code = 5; + repeated string com_channel_uuids = 6; + string uuid = 7; +} + diff --git a/proto/document_element/v1/layout.proto b/proto/document_element/v1/layout.proto new file mode 100644 index 0000000..eb2f5c8 --- /dev/null +++ b/proto/document_element/v1/layout.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoLayout { + string name = 2; + repeated string com_channel_uuids = 3; +} diff --git a/proto/document_element/v1/linebreak.proto b/proto/document_element/v1/linebreak.proto new file mode 100644 index 0000000..4d3a5b6 --- /dev/null +++ b/proto/document_element/v1/linebreak.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +package document_element.v1; + +import "box/v1/uint32.proto"; + +message ProtoLinebreak { + repeated string com_channel_uuids = 2; + + string uuid = 3; + box.v1.ProtoBoxedUint32 count = 4; +} diff --git a/proto/document_element/v1/link.proto b/proto/document_element/v1/link.proto new file mode 100644 index 0000000..61424fd --- /dev/null +++ b/proto/document_element/v1/link.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoLink { + // BranchDocumentElement + string url = 2; + repeated string com_channel_uuids = 3; +} diff --git a/proto/document_element/v1/list_level_setting.proto b/proto/document_element/v1/list_level_setting.proto new file mode 100644 index 0000000..171c5bc --- /dev/null +++ b/proto/document_element/v1/list_level_setting.proto @@ -0,0 +1,131 @@ +syntax = "proto3"; + +package document_element.v1; + +import "box/v1/bool.proto"; +import "box/v1/uint32.proto"; +import "util/v1/color.proto"; +import "util/v1/font.proto"; + +enum ProtoNumberType { + PROTO_NUMBER_TYPE_ARABIC = 0; + PROTO_NUMBER_TYPE_ROM_UPPERCASE = 1; + PROTO_NUMBER_TYPE_ROM_LOWERCASE = 2; + PROTO_NUMBER_TYPE_LETTER_UPPERCASE = 3; + PROTO_NUMBER_TYPE_LETTER_LOWERCASE = 4; +} + +enum ProtoListLevelSettingType { + PROTO_LIST_LEVEL_SETTING_TYPE_UNNUMBERED = 0; + PROTO_LIST_LEVEL_SETTING_TYPE_NUMERIC = 1; + PROTO_LIST_LEVEL_SETTING_TYPE_IMAGE = 2; +} + +// go-gen:ignore +message ProtoListLevelSetting { + string list_setting_name = 1; + box.v1.ProtoBoxedUint32 font_size = 2; + ProtoListLevelSettingType type = 3; + int32 level = 4; + string prefix = 5; + string suffix = 6; + util.v1.ProtoFont fix_font_family = 7; + bool fix_bold = 8; + bool fix_italic = 9; + int32 indention_width = 10; + util.v1.ProtoColor color = 11; + + string image_name = 12; + + util.v1.ProtoFont font_family = 13; + box.v1.ProtoBoxedBool bold = 14; + box.v1.ProtoBoxedBool italic = 15; + + ProtoNumberType number_type = 16; + + string character = 17; +} + +// go-gen:ignore +message ProtoImageListLevelSetting { + // extends ListLevelSetting + string list_setting_name = 1; + box.v1.ProtoBoxedUint32 font_size = 2; + ProtoListLevelSettingType type = 3; + int32 level = 4; + string prefix = 5; + string suffix = 6; + util.v1.ProtoFont fix_font_family = 7; + bool fix_bold = 8; + bool fix_italic = 9; + int32 indention_width = 10; + util.v1.ProtoColor color = 11; + // extends ListLevelSetting + + string image_name = 12; +} + +// go-gen:ignore +message ProtoTextListLevelSetting { + // extends ListLevelSetting + string list_setting_name = 1; + box.v1.ProtoBoxedUint32 font_size = 2; + ProtoListLevelSettingType type = 3; + int32 level = 4; + string prefix = 5; + string suffix = 6; + util.v1.ProtoFont fix_font_family = 7; + bool fix_bold = 8; + bool fix_italic = 9; + int32 indention_width = 10; + util.v1.ProtoColor color = 11; + // extends ListLevelSetting + + util.v1.ProtoFont font_family = 12; + box.v1.ProtoBoxedBool bold = 13; + box.v1.ProtoBoxedBool italic = 14; +} + +// go-gen:ignore +message ProtoNumberListLevelSetting { + // extends TextListLevelSetting + string list_setting_name = 1; + box.v1.ProtoBoxedUint32 font_size = 2; + ProtoListLevelSettingType type = 3; + int32 level = 4; + string prefix = 5; + string suffix = 6; + util.v1.ProtoFont fix_font_family = 7; + bool fix_bold = 8; + bool fix_italic = 9; + int32 indention_width = 10; + util.v1.ProtoColor color = 11; + util.v1.ProtoFont font_family = 12; + box.v1.ProtoBoxedBool bold = 13; + box.v1.ProtoBoxedBool italic = 14; + // extends TextListLevelSetting + + ProtoNumberType number_type = 15; +} + +// go-gen:ignore +message ProtoUnnumberedListLevelSetting { + // extends TextListLevelSetting + string list_setting_name = 1; + box.v1.ProtoBoxedUint32 font_size = 2; + ProtoListLevelSettingType type = 3; + int32 level = 4; + string prefix = 5; + string suffix = 6; + util.v1.ProtoFont fix_font_family = 7; + bool fix_bold = 8; + bool fix_italic = 9; + int32 indention_width = 10; + util.v1.ProtoColor color = 11; + util.v1.ProtoFont font_family = 12; + box.v1.ProtoBoxedBool bold = 13; + box.v1.ProtoBoxedBool italic = 14; + // extends TextListLevelSetting + + string character = 15; +} diff --git a/proto/document_element/v1/list_setting.proto b/proto/document_element/v1/list_setting.proto new file mode 100644 index 0000000..3f2cdc9 --- /dev/null +++ b/proto/document_element/v1/list_setting.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package document_element.v1; + +import "document_element/v1/list_level_setting.proto"; + +message ProtoListSetting { + string name = 2; + repeated ProtoListLevelSetting list_level_settings = 3; + ProtoListLevelSetting default_list_level_setting = 4; + repeated string com_channel_uuids = 5; +} + +// go-gen:ignore +message ProtoBoxedListSetting { + ProtoListSetting value = 1; + bool is_null = 2; +} diff --git a/proto/document_element/v1/locale.proto b/proto/document_element/v1/locale.proto new file mode 100644 index 0000000..94a07c3 --- /dev/null +++ b/proto/document_element/v1/locale.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoLocale { + // BranchDocumentElement + string uuid = 3; + repeated string com_channel_uuids = 4; + repeated string language_uuids = 5; + repeated string region_uuids = 6; +} diff --git a/proto/document_element/v1/loop.proto b/proto/document_element/v1/loop.proto new file mode 100644 index 0000000..7a98eec --- /dev/null +++ b/proto/document_element/v1/loop.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoLoop { + // BranchDocumentElement + string path = 3; + string uuid = 4; + repeated string com_channel_uuids = 5; +} diff --git a/proto/document_element/v1/loop_entry.proto b/proto/document_element/v1/loop_entry.proto new file mode 100644 index 0000000..a1e5239 --- /dev/null +++ b/proto/document_element/v1/loop_entry.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoLoopEntry { + // BranchDocumentElement + string path = 3; + uint64 index = 4; + string uuid = 5; + repeated string com_channel_uuids = 6; +} diff --git a/proto/document_element/v1/named_string.proto b/proto/document_element/v1/named_string.proto new file mode 100644 index 0000000..720fafa --- /dev/null +++ b/proto/document_element/v1/named_string.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoNamedString { + // BranchDocumentElement + string name = 3; + repeated string com_channel_uuids = 4; + string uuid = 5; + string description = 6; + string name_code = 7; + bool code_mode = 8; +} diff --git a/proto/document_element/v1/new_page.proto b/proto/document_element/v1/new_page.proto new file mode 100644 index 0000000..9f83fcf --- /dev/null +++ b/proto/document_element/v1/new_page.proto @@ -0,0 +1,34 @@ +syntax = "proto3"; + +package document_element.v1; + +enum ProtoPageMode { + PROTO_PAGE_MODE_NEXT_PAGE = 0; + PROTO_PAGE_MODE_NEXT_RECTO_PAGE = 1; + PROTO_PAGE_MODE_NEXT_VERSO_PAGE = 2; +} + +enum ProtoPageOrientation { + PROTO_PAGE_ORIENTATION_UNSET = 0; + PROTO_PAGE_ORIENTATION_PORTRAIT = 1; + PROTO_PAGE_ORIENTATION_LANDSCAPE = 2; + PROTO_PAGE_ORIENTATION_INVERSE_PORTRAIT = 3; + PROTO_PAGE_ORIENTATION_INVERSE_LANDSCAPE = 4; +} + +message ProtoNewPage { + string uuid = 1; + // Identifies the paper tray to be used for the following page. + string paper_tray_uuid = 2; + // Inherited from the referenced tray itself, not set directly. + uint32 paper_tray_number = 3; + // Page count for the referenced tray. Might be set directly. + uint32 paper_count = 4; + ProtoPageMode page_mode = 5; + ProtoPageOrientation page_orientation = 6; + // An optional page definition to be used for the new page. + string p_def_uuid = 7; + // An optional column definition to be used for the new page. + string c_def_uuid = 8; + repeated string com_channel_uuids = 9; +} diff --git a/proto/document_element/v1/node.proto b/proto/document_element/v1/node.proto new file mode 100644 index 0000000..7ae0398 --- /dev/null +++ b/proto/document_element/v1/node.proto @@ -0,0 +1,195 @@ +syntax = "proto3"; + +package document_element.v1; + +import "document_element/v1/apply_cdef.proto"; +import "document_element/v1/apply_pdef.proto"; +import "document_element/v1/pt_config.proto"; +import "document_element/v1/apply_pt_config.proto"; +import "document_element/v1/ul_config.proto"; +import "document_element/v1/apply_ul_config.proto"; +import "document_element/v1/brick.proto"; +import "document_element/v1/color_def.proto"; +import "document_element/v1/cdef.proto"; +import "document_element/v1/dmscript.proto"; +import "document_element/v1/doctype_script.proto"; +import "document_element/v1/directory.proto"; +import "document_element/v1/footer.proto"; +import "document_element/v1/formatted.proto"; +import "document_element/v1/header.proto"; +import "document_element/v1/image.proto"; +import "document_element/v1/indentation.proto"; +import "document_element/v1/input_field.proto"; +import "document_element/v1/layout.proto"; +import "document_element/v1/linebreak.proto"; +import "document_element/v1/link.proto"; +import "document_element/v1/locale.proto"; +import "document_element/v1/loop.proto"; +import "document_element/v1/loop_entry.proto"; +import "document_element/v1/new_page.proto"; +import "document_element/v1/named_string.proto"; +import "document_element/v1/paragraph.proto"; +import "document_element/v1/paragraph_format.proto"; +import "document_element/v1/paragraph_set_default.proto"; +import "document_element/v1/pdef.proto"; +import "document_element/v1/rule.proto"; +import "document_element/v1/section.proto"; +import "document_element/v1/selection.proto"; +import "document_element/v1/selection_entry.proto"; +import "document_element/v1/span.proto"; +import "document_element/v1/space_vertically.proto"; +import "document_element/v1/sub_total.proto"; +import "document_element/v1/table.proto"; +import "document_element/v1/tag.proto"; +import "document_element/v1/text.proto"; +import "document_element/v1/textbrick.proto"; +import "document_element/v1/template.proto"; +import "document_element/v1/variable.proto"; +import "document_element/v1/ws_area.proto"; +import "document_element/v1/barcode.proto"; +import "document_element/v1/carry_over.proto"; +import "document_element/v1/advanced_illustration_area.proto"; +import "document_element/v1/adjust_horizontally.proto"; +import "document_element/v1/dynamic_template.proto"; +import "document_element/v1/condition.proto"; +import "document_element/v1/page_condition.proto"; +import "document_element/v1/list_setting.proto"; + +// go-gen:ignore +message Node { + repeated Node children = 1; + + oneof object { + document_element.v1.ProtoListSetting list_setting = 2; + document_element.v1.ProtoColorDef color_def = 3; + document_element.v1.ProtoBrick brick = 4; + document_element.v1.ProtoTemplate template = 5; + document_element.v1.ProtoFormatted formatted = 6; + document_element.v1.ProtoImage image = 7; + document_element.v1.ProtoParagraphFormat paragraph_format = 8; + document_element.v1.ProtoTextBrick text_brick = 9; + document_element.v1.ProtoText text = 10; + document_element.v1.ProtoLinebreak linebreak = 11; + document_element.v1.ProtoSpaceVertically space_vertically = 12; + document_element.v1.ProtoFooter footer = 13; + document_element.v1.ProtoHeader header = 14; + document_element.v1.ProtoTable table = 15; + document_element.v1.ProtoTableRow table_row = 16; + document_element.v1.ProtoTableCell table_cell = 17; + document_element.v1.ProtoCDef c_def = 18; + document_element.v1.ProtoPDef p_def = 19; + document_element.v1.ProtoApplyProtoCDef apply_c_def = 20; + document_element.v1.ProtoApplyProtoPDef apply_p_def = 21; + document_element.v1.ProtoApplyPtConfig apply_pt_config = 22; + document_element.v1.ProtoApplyUlConfig apply_ul_config = 23; + document_element.v1.ProtoPtConfig pt_config = 24; + document_element.v1.ProtoUlConfig ul_config = 25; + document_element.v1.ProtoNewPage new_page = 26; + document_element.v1.ProtoVariable variable = 27; + document_element.v1.ProtoNamedString named_string = 28; + document_element.v1.ProtoParagraph paragraph = 30; + document_element.v1.ProtoSection section = 31; + document_element.v1.ProtoSpan span = 32; + document_element.v1.ProtoLink link = 33; + document_element.v1.ProtoDirectory directory = 34; + document_element.v1.ProtoTableContentGroup table_content_group = 35; + document_element.v1.ProtoTableConfig table_config = 36; + document_element.v1.ProtoTableCellConfig table_cell_config = 37; + document_element.v1.ProtoTableRowConfig table_row_config = 38; + document_element.v1.ProtoTableContentGroupConfig table_content_group_config = 39; + document_element.v1.ProtoIndentation indentation = 55; + document_element.v1.ProtoBarcode barcode = 56; + document_element.v1.ProtoWsArea ws_area = 57; + document_element.v1.ProtoCarryOver carry_over = 58; + document_element.v1.ProtoSubTotal sub_total = 59; + document_element.v1.ProtoLoop loop = 60; + document_element.v1.ProtoLoopEntry loop_entry = 61; + document_element.v1.ProtoRule rule = 62; + document_element.v1.ProtoLayout layout = 63; + document_element.v1.ProtoAdvancedIllustrationArea advanced_illustration_area = 64; + document_element.v1.ProtoAdjustHorizontally adjust_horizontally = 65; + document_element.v1.ProtoDoctypeScript doctype_script = 66; + document_element.v1.ProtoDmScript dm_script = 67; + document_element.v1.ProtoDynamicTemplate dynamic_template = 68; + document_element.v1.ProtoSelection selection = 69; + document_element.v1.ProtoSelectionEntry selection_entry = 70; + document_element.v1.ProtoCondition condition = 71; + document_element.v1.ProtoPageCondition page_condition = 72; + document_element.v1.ProtoLocale locale = 73; + document_element.v1.ProtoTag tag = 74; + document_element.v1.ProtoParagraphSetDefault paragraph_set_default = 75; + document_element.v1.ProtoInputFieldText input_field_text = 76; + document_element.v1.ProtoInputFieldDate input_field_date = 77; + document_element.v1.ProtoInputFieldCheckbox input_field_checkbox = 78; + document_element.v1.ProtoInputFieldLabel input_field_label = 79; + document_element.v1.ProtoInputFieldDropdown input_field_dropdown = 80; + } +} + +enum NodeType { + NODE_TYPE_UNSPECIFIED = 0; + NODE_TYPE_BRICK = 2; + NODE_TYPE_LINEBREAK = 4; + NODE_TYPE_LIST_SETTING = 6; + NODE_TYPE_PARAGRAPH_FORMAT = 7; + NODE_TYPE_PARAGRAPH = 8; + NODE_TYPE_SECTION = 9; + NODE_TYPE_SPAN = 10; + NODE_TYPE_TABLE = 11; + NODE_TYPE_TABLE_CELL = 12; + NODE_TYPE_TABLE_ROW = 13; + NODE_TYPE_TEMPLATE = 15; + NODE_TYPE_TEXT = 16; + NODE_TYPE_COLOR_DEF = 19; + NODE_TYPE_IMAGE = 30; + NODE_TYPE_NAMED_STRING = 34; + NODE_TYPE_TABLE_CONTENT_GROUP = 35; + NODE_TYPE_TABLE_CONFIG = 36; + NODE_TYPE_TABLE_CELL_CONFIG = 37; + NODE_TYPE_TABLE_ROW_CONFIG = 38; + NODE_TYPE_TABLE_CONTENT_GROUP_CONFIG = 39; + NODE_TYPE_LINK = 40; + NODE_TYPE_DIRECTORY = 41; + NODE_TYPE_TEXT_BRICK = 42; + NODE_TYPE_VARIABLE = 44; + NODE_TYPE_SPACE_VERTICALLY = 45; + NODE_TYPE_FORMATTED = 46; + NODE_TYPE_APPLY_C_DEF = 47; + NODE_TYPE_APPLY_P_DEF = 48; + NODE_TYPE_APPLY_PT_CONFIG = 49; + NODE_TYPE_APPLY_UL_CONFIG = 50; + NODE_TYPE_C_DEF = 51; + NODE_TYPE_P_DEF = 52; + NODE_TYPE_PT_CONFIG = 53; + NODE_TYPE_UL_CONFIG = 54; + NODE_TYPE_NEW_PAGE = 55; + NODE_TYPE_HEADER = 56; + NODE_TYPE_FOOTER = 57; + NODE_TYPE_INDENTATION = 60; + NODE_TYPE_BARCODE = 61; + NODE_TYPE_WS_AREA = 62; + NODE_TYPE_CARRY_OVER = 63; + NODE_TYPE_SUB_TOTAL = 64; + NODE_TYPE_LOOP = 65; + NODE_TYPE_LOOP_ENTRY = 66; + NODE_TYPE_RULE = 67; + NODE_TYPE_LIST_LEVEL_SETTING = 68; + NODE_TYPE_LAYOUT = 69; + NODE_TYPE_ADVANCED_ILLUSTRATION_AREA = 70; + NODE_TYPE_ADJUST_HORIZONTALLY = 71; + NODE_TYPE_DOCTYPE_SCRIPT = 72; + NODE_TYPE_DM_SCRIPT = 73; + NODE_TYPE_DYNAMIC_TEMPLATE = 74; + NODE_TYPE_SELECTION = 75; + NODE_TYPE_SELECTION_ENTRY = 76; + NODE_TYPE_CONDITION = 77; + NODE_TYPE_PAGE_CONDITION = 78; + NODE_TYPE_LOCALE = 79; + NODE_TYPE_TAG = 80; + NODE_TYPE_PARAGRAPH_SET_DEFAULT = 81; + NODE_TYPE_INPUT_FIELD_TEXT = 82; + NODE_TYPE_INPUT_FIELD_DATE = 83; + NODE_TYPE_INPUT_FIELD_CHECKBOX = 84; + NODE_TYPE_INPUT_FIELD_LABEL = 85; + NODE_TYPE_INPUT_FIELD_DROPDOWN = 86; +} diff --git a/proto/document_element/v1/page_condition.proto b/proto/document_element/v1/page_condition.proto new file mode 100644 index 0000000..b1dd1ae --- /dev/null +++ b/proto/document_element/v1/page_condition.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoPageCondition { + // BranchDocumentElement + string uuid = 3; + repeated string com_channel_uuids = 4; + string code = 5; +} diff --git a/proto/document_element/v1/paragraph.proto b/proto/document_element/v1/paragraph.proto new file mode 100644 index 0000000..1061510 --- /dev/null +++ b/proto/document_element/v1/paragraph.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package document_element.v1; + +import "document_element/v1/paragraph_format.proto"; + +message ProtoParagraph { + // BranchDocumentElement + document_element.v1.ProtoParagraphFormat format = 3; + document_element.v1.ProtoParagraphFormat overwrite = 4; + repeated string com_channel_uuids = 5; + string paragraph_format_uuid = 6; + string uuid = 7; +} diff --git a/proto/document_element/v1/paragraph_format.proto b/proto/document_element/v1/paragraph_format.proto new file mode 100644 index 0000000..b2b00a0 --- /dev/null +++ b/proto/document_element/v1/paragraph_format.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; + +package document_element.v1; + +import "box/v1/bool.proto"; +import "box/v1/string.proto"; +import "box/v1/int32.proto"; +import "util/v1/color.proto"; +import "util/v1/font.proto"; +import "util/v1/measure.proto"; +import "util/v1/underline_spec.proto"; +import "util/v1/align.proto"; +import "util/v1/strikethrough_spec.proto"; +import "util/v1/spb_mode.proto"; +import "document_element/v1/list_setting.proto"; + +message ProtoParagraphFormat { + ProtoParagraphFormat base_format = 1; + box.v1.ProtoBoxedString name = 2; + box.v1.ProtoBoxedBool default = 3; + util.v1.ProtoBoxedFont font = 4; + box.v1.ProtoBoxedBool bold = 5; + box.v1.ProtoBoxedBool italic = 6; + util.v1.ProtoBoxedColor font_color = 7; + util.v1.ProtoBoxedUnderlineSpec underline = 8; + util.v1.ProtoBoxedMeasure font_size = 9; + util.v1.ProtoBoxedMeasure character_width = 10; + util.v1.ProtoBoxedMeasure character_spacing = 11; + util.v1.ProtoBoxedMeasure line_feed = 12; + util.v1.ProtoBoxedHorizontalAlignment alignment = 13; + util.v1.ProtoBoxedMeasure indention_width = 14; + box.v1.ProtoBoxedInt32 indention_level = 15; + util.v1.ProtoBoxedMeasure space_above = 16; + util.v1.ProtoBoxedMeasure space_below = 17; + box.v1.ProtoBoxedInt32 widow_setting = 18; + box.v1.ProtoBoxedInt32 orphan_setting = 19; + box.v1.ProtoBoxedInt32 widow_priority = 20; + util.v1.ProtoBoxedStrikethroughSpec strikethrough = 21; + util.v1.ProtoBoxedSPBMode superscript_subscript = 22; + util.v1.ProtoBoxedColor background_color = 23; + ProtoBoxedListSetting list_setting = 24; + box.v1.ProtoBoxedBool hyphenation = 25; + box.v1.ProtoBoxedString pre_named_string = 26; + box.v1.ProtoBoxedString post_named_string = 27; + box.v1.ProtoBoxedString semantic_type = 28; + repeated string com_channel_uuids = 29; +} diff --git a/proto/document_element/v1/paragraph_set_default.proto b/proto/document_element/v1/paragraph_set_default.proto new file mode 100644 index 0000000..35c2325 --- /dev/null +++ b/proto/document_element/v1/paragraph_set_default.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoParagraphSetDefault { + string name = 2; + string paragraph_format_uuid = 3; + string uuid = 4; + repeated string com_channel_uuids = 5; +} diff --git a/proto/document_element/v1/pdef.proto b/proto/document_element/v1/pdef.proto new file mode 100644 index 0000000..0e2eba3 --- /dev/null +++ b/proto/document_element/v1/pdef.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; + +message ProtoPDef { + util.v1.ProtoBoxedMeasure page_width = 1; + util.v1.ProtoBoxedMeasure page_depth = 2; + string uuid = 3; + repeated string com_channel_uuids = 4; +} diff --git a/proto/document_element/v1/pt_config.proto b/proto/document_element/v1/pt_config.proto new file mode 100644 index 0000000..4830710 --- /dev/null +++ b/proto/document_element/v1/pt_config.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; + +message ProtoPtConfig { + util.v1.ProtoBoxedMeasure height = 1; + util.v1.ProtoBoxedMeasure line_feed = 2; + util.v1.ProtoBoxedMeasure character_width = 3; + util.v1.ProtoBoxedMeasure space_width = 4; + string uuid = 5; + repeated string com_channel_uuids = 6; +} diff --git a/src/DocumentElements/documentelements.rule.proto b/proto/document_element/v1/rule.proto similarity index 59% rename from src/DocumentElements/documentelements.rule.proto rename to proto/document_element/v1/rule.proto index 7a5b3be..3f57ece 100644 --- a/src/DocumentElements/documentelements.rule.proto +++ b/proto/document_element/v1/rule.proto @@ -1,8 +1,16 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/color.proto"; +import "util/v1/measure.proto"; +import "util/v1/rule_style.proto"; + message ProtoRule { - ProtoMeasure xOffset = 1; - ProtoMeasure yOffset = 2; - ProtoMeasure width = 3; - ProtoMeasure thickness = 4; + util.v1.ProtoMeasure x_offset = 1; + util.v1.ProtoMeasure y_offset = 2; + util.v1.ProtoMeasure width = 3; + util.v1.ProtoMeasure thickness = 4; // Rotation of the rule is stored in degrees clockwise // Examples: // 0° = a horizontal rule to the right @@ -10,24 +18,24 @@ message ProtoRule { // 180° = a horizontal rule to the left // 270° = a vertical rule upwards double rotation = 5; - ProtoColor color = 6; - ProtoRuleStyle style = 7; + util.v1.ProtoColor color = 6; + util.v1.ProtoRuleStyle style = 7; // Toggles whether the rule is a normal rule or a boundary rule ProtoRuleMode mode = 8; // If the rule is a boundary rule, this field contains the boundaries where the rule starts and ends. // Both boundaries can be independently set to be either an absolute value e.g. PT or a relative value e.g. %. // If the rule is a normal rule, this field is ignored. ProtoRuleBoundaries boundaries = 9; - repeated string comChannelUUIDs = 10; + repeated string com_channel_uuids = 10; } enum ProtoRuleMode { - NORMAL = 0; - BOUNDARY = 1; + PROTO_RULE_MODE_NORMAL = 0; + PROTO_RULE_MODE_BOUNDARY = 1; } // go-gen:ignore message ProtoRuleBoundaries { - ProtoMeasure start = 1; - ProtoMeasure end = 2; + util.v1.ProtoMeasure start = 1; + util.v1.ProtoMeasure end = 2; } diff --git a/proto/document_element/v1/section.proto b/proto/document_element/v1/section.proto new file mode 100644 index 0000000..3bef1c3 --- /dev/null +++ b/proto/document_element/v1/section.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoSection { + // BranchDocumentElement + string uuid = 3; + string c_def_uuid = 4; + repeated string com_channel_uuids = 5; +} diff --git a/proto/document_element/v1/selection.proto b/proto/document_element/v1/selection.proto new file mode 100644 index 0000000..26ad266 --- /dev/null +++ b/proto/document_element/v1/selection.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoSelection { + // BranchDocumentElement + string uuid = 3; + repeated string com_channel_uuids = 4; + string internal_name = 5; + string name = 6; + bool multi = 7; + uint64 min = 8; + uint64 max = 9; +} diff --git a/proto/document_element/v1/selection_entry.proto b/proto/document_element/v1/selection_entry.proto new file mode 100644 index 0000000..553eb3d --- /dev/null +++ b/proto/document_element/v1/selection_entry.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoSelectionEntry { + // BranchDocumentElement + string uuid = 3; + repeated string com_channel_uuids = 4; + string internal_name = 5; + string name = 6; + bool selected = 7; +} diff --git a/proto/document_element/v1/space_vertically.proto b/proto/document_element/v1/space_vertically.proto new file mode 100644 index 0000000..f0bb58a --- /dev/null +++ b/proto/document_element/v1/space_vertically.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; + +message ProtoSpaceVertically { + util.v1.ProtoMeasure space = 2; + repeated string com_channel_uuids = 3; +} diff --git a/proto/document_element/v1/span.proto b/proto/document_element/v1/span.proto new file mode 100644 index 0000000..29b8ff6 --- /dev/null +++ b/proto/document_element/v1/span.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package document_element.v1; + +import "box/v1/bool.proto"; +import "util/v1/color.proto"; + +message ProtoSpan { + // BranchDocumentElement + box.v1.ProtoBoxedBool bold = 3; + box.v1.ProtoBoxedBool italic = 4; + util.v1.ProtoColor color = 5; + box.v1.ProtoBoxedBool subscript = 6; + box.v1.ProtoBoxedBool superscript = 7; + box.v1.ProtoBoxedBool underline = 8; + box.v1.ProtoBoxedBool strikethrough = 9; + repeated string com_channel_uuids = 10; +} diff --git a/proto/document_element/v1/sub_total.proto b/proto/document_element/v1/sub_total.proto new file mode 100644 index 0000000..e6bcc56 --- /dev/null +++ b/proto/document_element/v1/sub_total.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/measure.proto"; + +enum ProtoSubTotalPosition { + PROTO_SUB_TOTAL_POSITION_ABOVE_FOOTER = 0; + PROTO_SUB_TOTAL_POSITION_BELOW_CONTENT = 1; +} + +message ProtoSubTotal { + // BranchDocumentElement + bool apply_immediate = 3; + ProtoSubTotalPosition position = 4; + util.v1.ProtoMeasure height = 5; + repeated string com_channel_uuids = 6; +} + diff --git a/proto/document_element/v1/table.proto b/proto/document_element/v1/table.proto new file mode 100644 index 0000000..127e5f9 --- /dev/null +++ b/proto/document_element/v1/table.proto @@ -0,0 +1,257 @@ +syntax = "proto3"; + +package document_element.v1; + +import "document_element/v1/carry_over.proto"; +import "document_element/v1/sub_total.proto"; +import "util/v1/color.proto"; +import "util/v1/measure.proto"; +import "util/v1/align.proto"; +import "util/v1/inheritance.proto"; +import "util/v1/border.proto"; +import "box/v1/bool.proto"; +import "box/v1/uint32.proto"; +import "box/v1/double.proto"; +import "box/v1/string.proto"; + +message ProtoTable { + // BranchDocumentElement + ProtoTableSettings settings = 3; + string config_name = 4; + ProtoCarryOver carry_over = 5; + ProtoSubTotal sub_total = 6; + repeated string com_channel_uuids = 7; + ProtoTableElementProperties element_properties = 8; +} + +message ProtoTableConfig { + ProtoTableSettings settings = 2; + string config_name = 3; + repeated string com_channel_uuids = 4; +} + +// go-gen:ignore +message ProtoTableSettings { + util.v1.ProtoMeasure x_offset = 1; + box.v1.ProtoBoxedBool left_measure = 2; + util.v1.ProtoMeasure width = 3; + box.v1.ProtoBoxedUint32 repeat_header = 4; + ProtoTableWS ws = 5; +} + +enum ProtoTableContentGroupType { + PROTO_TABLE_CONTENT_GROUP_TYPE_HEADER = 0; + PROTO_TABLE_CONTENT_GROUP_TYPE_BODY = 1; + PROTO_TABLE_CONTENT_GROUP_TYPE_FOOTER = 2; + PROTO_TABLE_CONTENT_GROUP_TYPE_SUB_HEADER = 3; +} + +// go-gen:ignore +message ProtoBoxedTableContentGroupType { + ProtoTableContentGroupType value = 1; + bool is_null = 2; +} + +message ProtoTableContentGroup { + // BranchDocumentElement + ProtoTableContentGroupSettings settings = 3; + repeated string com_channel_uuids = 4; + ProtoTableElementProperties element_properties = 5; +} + +message ProtoTableContentGroupConfig { + ProtoTableContentGroupSettings settings = 2; + string config_name = 3; + repeated string com_channel_uuids = 4; +} + +// go-gen:ignore +message ProtoTableContentGroupSettings { + ProtoBoxedTableContentGroupType content_group_type = 1; + repeated util.v1.ProtoColor background_colors = 2; + ProtoTableWS ws = 3; +} + +message ProtoTableRow { + // BranchDocumentElement + ProtoTableRowSettings settings = 3; + box.v1.ProtoBoxedUint32 row_config_number = 4; + repeated string com_channel_uuids = 5; + ProtoTableElementProperties element_properties = 6; +} + +message ProtoTableRowConfig { + ProtoTableRowSettings settings = 2; + string config_name = 3; + string row_header = 4; + string row_footer = 5; + repeated string com_channel_uuids = 6; +} + +// go-gen:ignore +message ProtoTableRowSettings { + util.v1.ProtoMeasure min_height = 1; + ProtoTableWS ws = 2; +} + +enum ProtoTableCellType { + PROTO_TABLE_CELL_TYPE_BODY = 0; + PROTO_TABLE_CELL_TYPE_ROW_HEADER = 1; + PROTO_TABLE_CELL_TYPE_ROW_FOOTER = 2; +} + +// go-gen:ignore +message ProtoBoxedTableCellType { + ProtoTableCellType value = 1; + bool is_null = 2; +} + +message ProtoTableCell { + // BranchDocumentElement + ProtoTableCellSettings settings = 3; + box.v1.ProtoBoxedUint32 cell_config_number = 4; + // Indicates if this table cell should merged with the left table cell. + bool merged_left = 5; + // Indicates if this table cell should be merged with the cell above. + bool merged_up = 6; + repeated string com_channel_uuids = 7; + ProtoTableElementProperties element_properties = 8; +} + +message ProtoTableCellConfig { + ProtoTableCellSettings settings = 2; + string config_name = 3; + ProtoBoxedTableCellType cell_type = 4; + repeated string com_channel_uuids = 5; +} + +// go-gen:ignore +message ProtoTableCellSettings { + util.v1.ProtoMeasure width = 1; + util.v1.ProtoBoxedHorizontalAlignment align = 2; + util.v1.ProtoBoxedVerticalAlignment valign = 3; + util.v1.ProtoColor background_color = 4; + util.v1.ProtoSideMeasures padding = 5; + util.v1.ProtoSideBorders border = 6; + util.v1.ProtoSideMeasures margin = 7; + box.v1.ProtoBoxedDouble rotation = 8; + // If defaultParagraphFormat is not null, it contains the name of + // a paragraph format, which should be used as default paragraph format + // for content in a table cell using these settings. + box.v1.ProtoBoxedString default_paragraph_format = 9; +} + +// go-gen:ignore +message ProtoTableWS { + uint32 min_lines_before = 1; + uint32 min_lines_after = 2; + uint32 priority = 3; +} + +// go-gen:ignore +message ProtoTableElementProperties { + util.v1.ProtoInheritance width_inheritance = 1; + util.v1.ProtoMeasure width = 2; + string width_code = 3; + + util.v1.ProtoInheritance align_inheritance = 4; + util.v1.ProtoBoxedHorizontalAlignment align = 5; + string align_code = 6; + + util.v1.ProtoInheritance valign_inheritance = 7; + util.v1.ProtoBoxedVerticalAlignment valign = 8; + string valign_code = 9; + + util.v1.ProtoInheritance background_color_inheritance = 10; + repeated util.v1.ProtoColor background_color = 11; + string background_color_code = 12; + + util.v1.ProtoInheritance padding_top_inheritance = 13; + util.v1.ProtoMeasure padding_top = 14; + string padding_top_code = 15; + + util.v1.ProtoInheritance padding_right_inheritance = 16; + util.v1.ProtoMeasure padding_right = 17; + string padding_right_code = 18; + + util.v1.ProtoInheritance padding_bottom_inheritance = 19; + util.v1.ProtoMeasure padding_bottom = 20; + string padding_bottom_code = 21; + + util.v1.ProtoInheritance padding_left_inheritance = 22; + util.v1.ProtoMeasure padding_left = 23; + string padding_left_code = 24; + + util.v1.ProtoInheritance border_top_color_inheritance = 25; + util.v1.ProtoColor border_top_color = 26; + string border_top_color_code = 27; + + util.v1.ProtoInheritance border_top_weight_inheritance = 28; + util.v1.ProtoMeasure border_top_weight = 29; + string border_top_weight_code = 30; + + util.v1.ProtoInheritance border_right_color_inheritance = 31; + util.v1.ProtoColor border_right_color = 32; + string border_right_color_code = 33; + + util.v1.ProtoInheritance border_right_weight_inheritance = 34; + util.v1.ProtoMeasure border_right_weight = 35; + string border_right_weight_code = 36; + + util.v1.ProtoInheritance border_bottom_color_inheritance = 37; + util.v1.ProtoColor border_bottom_color = 38; + string border_bottom_color_code = 39; + + util.v1.ProtoInheritance border_bottom_weight_inheritance = 40; + util.v1.ProtoMeasure border_bottom_weight = 41; + string border_bottom_weight_code = 42; + + util.v1.ProtoInheritance border_left_color_inheritance = 43; + util.v1.ProtoColor border_left_color = 44; + string border_left_color_code = 45; + + util.v1.ProtoInheritance border_left_weight_inheritance = 46; + util.v1.ProtoMeasure border_left_weight = 47; + string border_left_weight_code = 48; + + util.v1.ProtoInheritance margin_top_inheritance = 49; + util.v1.ProtoMeasure margin_top = 50; + string margin_top_code = 51; + + util.v1.ProtoInheritance margin_right_inheritance = 52; + util.v1.ProtoMeasure margin_right = 53; + string margin_right_code = 54; + + util.v1.ProtoInheritance margin_bottom_inheritance = 55; + util.v1.ProtoMeasure margin_bottom = 56; + string margin_bottom_code = 57; + + util.v1.ProtoInheritance margin_left_inheritance = 58; + util.v1.ProtoMeasure margin_left = 59; + string margin_left_code = 60; + + util.v1.ProtoInheritance rotation_inheritance = 61; + box.v1.ProtoBoxedDouble rotation = 62; + string rotation_code = 63; + + util.v1.ProtoInheritance default_paragraph_format_uuid_inheritance = 64; + box.v1.ProtoBoxedString default_paragraph_format_uuid = 65; + string default_paragraph_format_uuid_code = 66; + + util.v1.ProtoInheritance table_content_group_type_inheritance = 67; + ProtoBoxedTableContentGroupType table_content_group_type = 68; + string table_content_group_type_code = 69; + + util.v1.ProtoInheritance cell_type_inheritance = 70; + ProtoBoxedTableCellType cell_type = 71; + string cell_type_code = 72; + + util.v1.ProtoInheritance min_row_height_inheritance = 73; + util.v1.ProtoMeasure min_row_height = 74; + string min_row_height_code = 75; + + util.v1.ProtoInheritance ws_inheritance = 76; + ProtoTableWS ws = 77; + string ws_code = 78; +} + diff --git a/proto/document_element/v1/tag.proto b/proto/document_element/v1/tag.proto new file mode 100644 index 0000000..d3d1444 --- /dev/null +++ b/proto/document_element/v1/tag.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoTag { + string name = 2; + repeated string com_channel_uuids = 3; + string uuid = 4; + repeated string params = 5; + string name_code = 6; + bool code_mode = 7; +} diff --git a/proto/document_element/v1/template.proto b/proto/document_element/v1/template.proto new file mode 100644 index 0000000..9d3317a --- /dev/null +++ b/proto/document_element/v1/template.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/semantic_type.proto"; + +message ProtoTemplate { + // BranchDocumentElement + repeated string com_channel_uuids = 3; + string uuid = 4; + ProtoColumnBalancing column_balancing = 5; + util.v1.ProtoSemanticType semantic_type = 6; + string template_uuid = 7; +} + +enum ProtoColumnBalancing { + PROTO_COLUMN_BALANCING_NO_BALANCING = 0; + PROTO_COLUMN_BALANCING_BALANCING = 1; +} diff --git a/proto/document_element/v1/text.proto b/proto/document_element/v1/text.proto new file mode 100644 index 0000000..14912c7 --- /dev/null +++ b/proto/document_element/v1/text.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoText { + string content = 2; + repeated string com_channel_uuids = 3; +} diff --git a/proto/document_element/v1/textbrick.proto b/proto/document_element/v1/textbrick.proto new file mode 100644 index 0000000..fe65654 --- /dev/null +++ b/proto/document_element/v1/textbrick.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoTextBrick { + // BranchDocumentElement + string uuid = 3; + uint64 id = 4; + repeated string com_channel_uuids = 5; + bool editable = 6; + string name = 7; +} diff --git a/proto/document_element/v1/ul_config.proto b/proto/document_element/v1/ul_config.proto new file mode 100644 index 0000000..4d6a046 --- /dev/null +++ b/proto/document_element/v1/ul_config.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package document_element.v1; + +import "util/v1/underline_spec.proto"; + +message ProtoUlConfig { + util.v1.ProtoUnderlineMode mode = 1; + string uuid = 2; + repeated string com_channel_uuids = 3; +} diff --git a/proto/document_element/v1/variable.proto b/proto/document_element/v1/variable.proto new file mode 100644 index 0000000..6996bac --- /dev/null +++ b/proto/document_element/v1/variable.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoVariable { + string path = 2; + string content = 3; // Should this be optional or "empty string" + string format_uuid = 4; + ProtoVariableSpecialType special_type = 5; + string uuid = 6; + repeated string com_channel_uuids = 7; +} + +enum ProtoVariableSpecialType { + PROTO_VARIABLE_SPECIAL_TYPE_NOT_SPECIAL = 0; + PROTO_VARIABLE_SPECIAL_TYPE_TABLE_NUMBER = 1; + PROTO_VARIABLE_SPECIAL_TYPE_DOC_PAGE_COUNT = 2; + PROTO_VARIABLE_SPECIAL_TYPE_DOC_CUR_PAGE = 3; + PROTO_VARIABLE_SPECIAL_TYPE_CUR_PAGE = 4; + PROTO_VARIABLE_SPECIAL_TYPE_PAGE_COUNT = 5; + PROTO_VARIABLE_SPECIAL_TYPE_PREV_PAGE = 6; + PROTO_VARIABLE_SPECIAL_TYPE_SECTION_PAGE = 7; + PROTO_VARIABLE_SPECIAL_TYPE_UPDATED_AT = 8; + PROTO_VARIABLE_SPECIAL_TYPE_GENERATED_AT = 9; +} diff --git a/proto/document_element/v1/ws_area.proto b/proto/document_element/v1/ws_area.proto new file mode 100644 index 0000000..02ee19c --- /dev/null +++ b/proto/document_element/v1/ws_area.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +package document_element.v1; + +message ProtoWsArea { + // BranchDocumentElement + repeated string com_channel_uuids = 3; +} diff --git a/proto/util/v1/advanced_illustration_area_image_settings.proto b/proto/util/v1/advanced_illustration_area_image_settings.proto new file mode 100644 index 0000000..9785eae --- /dev/null +++ b/proto/util/v1/advanced_illustration_area_image_settings.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + +package util.v1; + +import "util/v1/measure.proto"; + +enum ProtoAdvancedIllustrationAreaTextFlowType { + PROTO_ADVANCED_ILLUSTRATION_AREA_TEXT_FLOW_TYPE_DO_NOT_USE_AT_ALL = 0; + PROTO_ADVANCED_ILLUSTRATION_AREA_TEXT_FLOW_TYPE_AROUND = 1; + PROTO_ADVANCED_ILLUSTRATION_AREA_TEXT_FLOW_TYPE_NO_FLOW = 2; + PROTO_ADVANCED_ILLUSTRATION_AREA_TEXT_FLOW_TYPE_FOREGROUND = 3; + PROTO_ADVANCED_ILLUSTRATION_AREA_TEXT_FLOW_TYPE_BACKGROUND = 4; +} + +message ProtoBoxedAdvancedIllustrationAreaTextFlowType { + ProtoAdvancedIllustrationAreaTextFlowType value = 1; + bool is_null = 2; +} + +message ProtoAdvancedIllustrationAreaImageSettings { + ProtoBoxedAdvancedIllustrationAreaTextFlowType text_flow = 1; + ProtoSideMeasures margin = 2; +} diff --git a/proto/util/v1/align.proto b/proto/util/v1/align.proto new file mode 100644 index 0000000..68adef9 --- /dev/null +++ b/proto/util/v1/align.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; + +package util.v1; + +enum ProtoHorizontalAlignment { + PROTO_HORIZONTAL_ALIGNMENT_LEFT = 0; + PROTO_HORIZONTAL_ALIGNMENT_CENTER = 1; + PROTO_HORIZONTAL_ALIGNMENT_RIGHT = 2; + PROTO_HORIZONTAL_ALIGNMENT_JUSTIFY = 3; + PROTO_HORIZONTAL_ALIGNMENT_FULL_JUSTIFY = 4; + PROTO_HORIZONTAL_ALIGNMENT_CENTER_ON_PAGE = 5; +} + +enum ProtoVerticalAlignment { + PROTO_VERTICAL_ALIGNMENT_TOP = 0; + PROTO_VERTICAL_ALIGNMENT_MIDDLE = 1; + PROTO_VERTICAL_ALIGNMENT_BOTTOM = 2; +} + +message ProtoBoxedHorizontalAlignment { + ProtoHorizontalAlignment value = 1; + bool is_null = 2; +} + +message ProtoBoxedVerticalAlignment { + ProtoVerticalAlignment value = 1; + bool is_null = 2; +} diff --git a/proto/util/v1/barcode.proto b/proto/util/v1/barcode.proto new file mode 100644 index 0000000..12aa83a --- /dev/null +++ b/proto/util/v1/barcode.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; + +package util.v1; + +enum ProtoBarcodeType { + PROTO_BARCODE_TYPE_PDF417 = 0; + PROTO_BARCODE_TYPE_DATAMATRIX = 1; + PROTO_BARCODE_TYPE_BC128 = 2; + PROTO_BARCODE_TYPE_QR = 3; + PROTO_BARCODE_TYPE_ITF = 4; + PROTO_BARCODE_TYPE_EAN8 = 5; + PROTO_BARCODE_TYPE_EAN13 = 6; + PROTO_BARCODE_TYPE_CODE39 = 7; + PROTO_BARCODE_TYPE_SWISSQR = 8; + PROTO_BARCODE_TYPE_AZTEC = 9; +} + +message ProtoSwissQRCreditor { + string address_type = 1; + string name = 2; + string postal_code = 3; + string town = 4; + string country = 5; + string street_or_address_line1 = 6; + string building_number_or_address_line2 = 7; + string iban = 8; + string amount = 9; + string currency = 10; +} + +message ProtoSwissQRDebitor { + string address_type = 1; + string name = 2; + string postal_code = 3; + string town = 4; + string country = 5; + string street_or_address_line1 = 6; + string building_number_or_address_line2 = 7; + string payment_reference_type = 8; + string payment_reference = 9; + string unstructured_reference = 10; + string bill_information = 11; +} + +message ProtoSwissQRData { + ProtoSwissQRCreditor creditor = 1; + ProtoSwissQRDebitor debitor = 2; +} diff --git a/src/Util/util.border.proto b/proto/util/v1/border.proto similarity index 66% rename from src/Util/util.border.proto rename to proto/util/v1/border.proto index 97f342b..259b627 100644 --- a/src/Util/util.border.proto +++ b/proto/util/v1/border.proto @@ -1,3 +1,10 @@ +syntax = "proto3"; + +package util.v1; + +import "util/v1/color.proto"; +import "util/v1/measure.proto"; + message ProtoBorder { ProtoMeasure weight = 1; ProtoColor color = 2; diff --git a/src/Util/util.color.proto b/proto/util/v1/color.proto similarity index 78% rename from src/Util/util.color.proto rename to proto/util/v1/color.proto index 6a61c33..4b3e19b 100644 --- a/src/Util/util.color.proto +++ b/proto/util/v1/color.proto @@ -1,7 +1,13 @@ +syntax = "proto3"; + +package util.v1; + +import "box/v1/string.proto"; + enum ProtoColorType { - DUMMY_COLOR_TYPE = 0; // dummy is needed here, because otherwise protoc command produces error - RGB = 3; - CMYK = 4; + PROTO_COLOR_TYPE_DUMMY_COLOR_TYPE = 0; + PROTO_COLOR_TYPE_RGB = 3; + PROTO_COLOR_TYPE_CMYK = 4; } // ProtoColorType is not allowed to be not set => not boxed @@ -11,7 +17,7 @@ enum ProtoColorType { // supported by protobuf and this is the // easiest and fastest way found. message ProtoColor { - ProtoBoxedString name = 1; + box.v1.ProtoBoxedString name = 1; ProtoColorType type = 2; // set to RGB or CMYK // Stores a value between 0 and 255 int32 r = 3; @@ -31,12 +37,12 @@ message ProtoColor { message ProtoBoxedColor { ProtoColor value = 1; - bool isNull = 2; + bool is_null = 2; } message ProtoRGBColor { // extends Color - ProtoBoxedString name = 1; + box.v1.ProtoBoxedString name = 1; ProtoColorType type = 2; // set to RGB // extends Color @@ -47,7 +53,7 @@ message ProtoRGBColor { message ProtoCMYKColor { // extends Color - ProtoBoxedString name = 1; + box.v1.ProtoBoxedString name = 1; ProtoColorType type = 2; // set to CMYK // extends Color diff --git a/proto/util/v1/column_settings.proto b/proto/util/v1/column_settings.proto new file mode 100644 index 0000000..c93bcfa --- /dev/null +++ b/proto/util/v1/column_settings.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + +package util.v1; + +import "util/v1/measure.proto"; + +enum ProtoPositionMode { + PROTO_POSITION_MODE_CENTER = 0; + PROTO_POSITION_MODE_LEFT = 1; + PROTO_POSITION_MODE_FOLIO = 2; + PROTO_POSITION_MODE_RIGHT = 3; + PROTO_POSITION_MODE_REVERSE_FOLIO = 4; +} + +message ProtoBoxedPositionMode { + ProtoPositionMode value = 1; + bool is_null = 2; +} + +message ProtoColumnSettings { + ProtoBoxedMeasure width = 1; + ProtoBoxedMeasure inter_column_space = 2; + ProtoBoxedMeasure position_offset = 3; + ProtoPositionMode position_mode = 4; + ProtoBoxedMeasure outside_margin = 5; +} diff --git a/src/Util/util.font.proto b/proto/util/v1/font.proto similarity index 65% rename from src/Util/util.font.proto rename to proto/util/v1/font.proto index b90e91f..bea0b0b 100644 --- a/src/Util/util.font.proto +++ b/proto/util/v1/font.proto @@ -1,3 +1,7 @@ +syntax = "proto3"; + +package util.v1; + message ProtoFont { int32 id = 1; string name = 2; @@ -5,5 +9,5 @@ message ProtoFont { message ProtoBoxedFont { ProtoFont value = 1; - bool isNull = 2; + bool is_null = 2; } diff --git a/proto/util/v1/graphic_state.proto b/proto/util/v1/graphic_state.proto new file mode 100644 index 0000000..278724e --- /dev/null +++ b/proto/util/v1/graphic_state.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + +package util.v1; + +import "box/v1/bool.proto"; +import "util/v1/color.proto"; + +message ProtoGraphicState { + box.v1.ProtoBoxedBool bold = 1; + box.v1.ProtoBoxedBool italic = 2; + repeated ProtoColor color_stack = 3; + box.v1.ProtoBoxedBool subscript = 4; + box.v1.ProtoBoxedBool superscript = 5; + box.v1.ProtoBoxedBool underline = 6; + box.v1.ProtoBoxedBool strikethrough = 7; +} diff --git a/proto/util/v1/html_parser.proto b/proto/util/v1/html_parser.proto new file mode 100644 index 0000000..5266b72 --- /dev/null +++ b/proto/util/v1/html_parser.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + +package util.v1; + +message ProtoHtmlParser { + +} diff --git a/proto/util/v1/image_settings.proto b/proto/util/v1/image_settings.proto new file mode 100644 index 0000000..edeeb3d --- /dev/null +++ b/proto/util/v1/image_settings.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + +package util.v1; + +import "util/v1/measure.proto"; + +message ProtoCropSettings { + util.v1.ProtoBoxedMeasure x = 1; + util.v1.ProtoBoxedMeasure y = 2; + util.v1.ProtoBoxedMeasure width = 3; + util.v1.ProtoBoxedMeasure height = 4; +} + +message ProtoFlipSettings { + bool x = 1; + bool y = 2; +} + +enum ProtoImageReferencePoint { + PROTO_IMAGE_REFERENCE_POINT_DO_NOT_USE_AT_ALL = 0; + PROTO_IMAGE_REFERENCE_POINT_BOTTOM_LEFT = 1; + PROTO_IMAGE_REFERENCE_POINT_TOP_LEFT = 2; + PROTO_IMAGE_REFERENCE_POINT_CENTER = 3; + PROTO_IMAGE_REFERENCE_POINT_BOTTOM_RIGHT = 4; + PROTO_IMAGE_REFERENCE_POINT_TOP_RIGHT = 5; +} diff --git a/proto/util/v1/inheritance.proto b/proto/util/v1/inheritance.proto new file mode 100644 index 0000000..c8c404b --- /dev/null +++ b/proto/util/v1/inheritance.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + +package util.v1; + +enum ProtoInheritance { + // Inherit from parent element + PROTO_INHERITANCE_INHERIT = 0; + // Evaluate provided code once + PROTO_INHERITANCE_CODE = 1; + // Evaluate provided code every time + PROTO_INHERITANCE_BIND_CODE = 2; + // Use the static value + PROTO_INHERITANCE_STATIC = 3; + // Reset the value to "no value" -> default behaviour + PROTO_INHERITANCE_RESET = 4; +} diff --git a/src/Util/util.input_field.proto b/proto/util/v1/input_field.proto similarity index 74% rename from src/Util/util.input_field.proto rename to proto/util/v1/input_field.proto index 9cfef6c..51e13e5 100644 --- a/src/Util/util.input_field.proto +++ b/proto/util/v1/input_field.proto @@ -1,3 +1,9 @@ +syntax = "proto3"; + +package util.v1; + +import "box/v1/string.proto"; + message ProtoOption { string key = 1; string value = 2; @@ -15,18 +21,18 @@ message ProtoBaseInputField { // // If value is not null, the value of value should be used as field value. // - ProtoBoxedString value = 3; - string formatUUID = 4; - string dataTypeUUID = 5; - string onChangeCode = 6; + box.v1.ProtoBoxedString value = 3; + string format_uuid = 4; + string data_type_uuid = 5; + string on_change_code = 6; string placeholder = 7; // // if bindDefaultValue is true, the result of the defaultValueCode evaluation will not be copied to the value field, but re-evaluated for every // time the input field is rendered. // if bindDefaultValue is false, the defaultValueCode will be evaluated once and the result will be copied to the value field. // - bool bindDefaultValue = 8; - string defaultValueCode = 9; + bool bind_default_value = 8; + string default_value_code = 9; bool readonly = 10; } diff --git a/src/Util/util.measure.proto b/proto/util/v1/measure.proto similarity index 55% rename from src/Util/util.measure.proto rename to proto/util/v1/measure.proto index 14cf1fb..d6f6127 100644 --- a/src/Util/util.measure.proto +++ b/proto/util/v1/measure.proto @@ -1,12 +1,15 @@ +syntax = "proto3"; + +package util.v1; + enum ProtoMeasureType { - PT = 0; - CM = 1; - MM = 2; - IN = 3; - PERCENT = 4; - PX = 5; + PROTO_MEASURE_TYPE_PT = 0; + PROTO_MEASURE_TYPE_CM = 1; + PROTO_MEASURE_TYPE_MM = 2; + PROTO_MEASURE_TYPE_IN = 3; + PROTO_MEASURE_TYPE_PERCENT = 4; + PROTO_MEASURE_TYPE_PX = 5; } -// ProtoMeasureType is not allowed to be not set => not boxed message ProtoMeasure { double value = 1; @@ -15,7 +18,7 @@ message ProtoMeasure { message ProtoBoxedMeasure { ProtoMeasure value = 1; - bool isNull = 2; + bool is_null = 2; } message ProtoSideMeasures { diff --git a/proto/util/v1/rule_style.proto b/proto/util/v1/rule_style.proto new file mode 100644 index 0000000..188f35e --- /dev/null +++ b/proto/util/v1/rule_style.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package util.v1; + +enum ProtoRuleStyle { + PROTO_RULE_STYLE_DUMMY = 0; + PROTO_RULE_STYLE_SOLID = 1; + PROTO_RULE_STYLE_SPARSE_SHADING = 2; + PROTO_RULE_STYLE_MEDIUM_SHADING = 3; + PROTO_RULE_STYLE_DENSE_SHADING = 4; + PROTO_RULE_STYLE_LIGHT_DOTTED = 5; + PROTO_RULE_STYLE_MEDIUM_DOTTED = 6; + PROTO_RULE_STYLE_HEAVY_DOTTED = 7; + PROTO_RULE_STYLE_LIGHT_DASHED = 8; + PROTO_RULE_STYLE_MEDIUM_DASHED = 9; + PROTO_RULE_STYLE_HEAVY_DASHED = 10; + PROTO_RULE_STYLE_DASH_PATTERN = 11; + PROTO_RULE_STYLE_DOUBLE = 254; +} diff --git a/proto/util/v1/semantic_type.proto b/proto/util/v1/semantic_type.proto new file mode 100644 index 0000000..120289f --- /dev/null +++ b/proto/util/v1/semantic_type.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package util.v1; + +enum ProtoSemanticType { + PROTO_SEMANTIC_TYPE_NONE = 0; + PROTO_SEMANTIC_TYPE_PART = 1; + PROTO_SEMANTIC_TYPE_ART = 2; + PROTO_SEMANTIC_TYPE_SECT = 3; + PROTO_SEMANTIC_TYPE_DIV = 4; +} diff --git a/proto/util/v1/spb_mode.proto b/proto/util/v1/spb_mode.proto new file mode 100644 index 0000000..fe369c0 --- /dev/null +++ b/proto/util/v1/spb_mode.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package util.v1; + +enum ProtoSPBMode { + PROTO_SPB_MODE_NONE = 0; + PROTO_SPB_MODE_SUPERSCRIPT = 1; + PROTO_SPB_MODE_SUBSCRIPT = 2; +} + +message ProtoBoxedSPBMode { + ProtoSPBMode value = 1; + bool is_null = 2; +} diff --git a/src/Util/util.strikethrough_spec.proto b/proto/util/v1/strikethrough_spec.proto similarity index 56% rename from src/Util/util.strikethrough_spec.proto rename to proto/util/v1/strikethrough_spec.proto index e91a1a1..dfa132c 100644 --- a/src/Util/util.strikethrough_spec.proto +++ b/proto/util/v1/strikethrough_spec.proto @@ -1,10 +1,19 @@ +syntax = "proto3"; + +package util.v1; + +import "util/v1/color.proto"; +import "util/v1/measure.proto"; +import "util/v1/rule_style.proto"; +import "util/v1/underline_spec.proto"; + message ProtoStrikethroughSpec { // extends UnderlineSpec ProtoMeasure weight = 1; ProtoUnderlineMode mode = 2; ProtoColor color = 3; - int32 offsetEm = 4; + int32 offset_em = 4; ProtoRuleStyle style = 5; // extends UnderlineSpec @@ -12,5 +21,5 @@ message ProtoStrikethroughSpec { message ProtoBoxedStrikethroughSpec { ProtoStrikethroughSpec value = 1; - bool isNull = 2; + bool is_null = 2; } diff --git a/proto/util/v1/text.proto b/proto/util/v1/text.proto new file mode 100644 index 0000000..ce66c33 --- /dev/null +++ b/proto/util/v1/text.proto @@ -0,0 +1,3 @@ +syntax = "proto3"; + +package util.v1; diff --git a/proto/util/v1/underline_spec.proto b/proto/util/v1/underline_spec.proto new file mode 100644 index 0000000..c0b6932 --- /dev/null +++ b/proto/util/v1/underline_spec.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; + +package util.v1; + +import "util/v1/color.proto"; +import "util/v1/measure.proto"; +import "util/v1/rule_style.proto"; + +enum ProtoUnderlineMode { + PROTO_UNDERLINE_MODE_DUMMY_UNDERLINE_MODE = 0; + PROTO_UNDERLINE_MODE_WORDS_NO_BLANKS = 1; + PROTO_UNDERLINE_MODE_WORDS_AND_BLANKS = 2; + PROTO_UNDERLINE_MODE_CHARACTERS_NO_BLANKS = 3; + PROTO_UNDERLINE_MODE_CHARACTERS_AND_BLANKS = 4; +} + +message ProtoUnderlineSpec { + ProtoMeasure weight = 1; + ProtoUnderlineMode mode = 2; + ProtoColor color = 3; + int32 offset_em = 4; + ProtoRuleStyle style = 5; +} + +message ProtoBoxedUnderlineSpec { + ProtoUnderlineSpec value = 1; + bool is_null = 2; +} diff --git a/repair_pbjs.js b/repair_pbjs.js deleted file mode 100644 index 65f5d05..0000000 --- a/repair_pbjs.js +++ /dev/null @@ -1,17 +0,0 @@ -const readline = require('readline'); - -const rl = readline.createInterface({ - input: process.stdin, - output: process.stdout, - terminal: false -}); - -const regex = /^( *\* )@exports/; -rl.on('line', (line) => { - process.stdout.write(line.replace(regex, `$1@name`) + "\n"); -}); - -rl.once('close', () => { - // end of input - }); - diff --git a/src/Box/box.bool.proto b/src/Box/box.bool.proto deleted file mode 100644 index 725f02d..0000000 --- a/src/Box/box.bool.proto +++ /dev/null @@ -1,4 +0,0 @@ -message ProtoBoxedBool { - bool value = 1; - bool isNull = 2; -} diff --git a/src/Box/box.double.proto b/src/Box/box.double.proto deleted file mode 100644 index 5d241ef..0000000 --- a/src/Box/box.double.proto +++ /dev/null @@ -1,4 +0,0 @@ -message ProtoBoxedDouble { - double value = 1; - bool isNull = 2; -} diff --git a/src/Box/box.int32.proto b/src/Box/box.int32.proto deleted file mode 100644 index 8f671dd..0000000 --- a/src/Box/box.int32.proto +++ /dev/null @@ -1,4 +0,0 @@ -message ProtoBoxedInt32 { - int32 value = 1; - bool isNull = 2; -} diff --git a/src/Box/box.string.proto b/src/Box/box.string.proto deleted file mode 100644 index c6c2103..0000000 --- a/src/Box/box.string.proto +++ /dev/null @@ -1,4 +0,0 @@ -message ProtoBoxedString { - string value = 1; - bool isNull = 2; -} diff --git a/src/Box/box.uint32.proto b/src/Box/box.uint32.proto deleted file mode 100644 index d908812..0000000 --- a/src/Box/box.uint32.proto +++ /dev/null @@ -1,4 +0,0 @@ -message ProtoBoxedUint32 { - uint32 value = 1; - bool isNull = 2; -} diff --git a/src/DocumentElements/documentelements.adjust_horizontally.proto b/src/DocumentElements/documentelements.adjust_horizontally.proto deleted file mode 100644 index 7d2f000..0000000 --- a/src/DocumentElements/documentelements.adjust_horizontally.proto +++ /dev/null @@ -1,10 +0,0 @@ -message ProtoAdjustHorizontally { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - ProtoMeasure minFontSize = 3; - ProtoMeasure maxFontSize = 4; - repeated string comChannelUUIDs = 5; -} diff --git a/src/DocumentElements/documentelements.advanced_illustration_area.proto b/src/DocumentElements/documentelements.advanced_illustration_area.proto deleted file mode 100644 index 513a30b..0000000 --- a/src/DocumentElements/documentelements.advanced_illustration_area.proto +++ /dev/null @@ -1,16 +0,0 @@ -message ProtoAdvancedIllustrationArea { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string uuid = 3; - bool absolute = 4; - ProtoMeasure width = 5; - ProtoMeasure height = 6; - ProtoMeasure x = 7; - ProtoMeasure y = 8; - ProtoAdvancedIllustrationAreaTextFlowType textFlow = 9; - float rotation = 10; - repeated string comChannelUUIDs = 11; -} diff --git a/src/DocumentElements/documentelements.apply_cdef.proto b/src/DocumentElements/documentelements.apply_cdef.proto deleted file mode 100644 index 746f9c7..0000000 --- a/src/DocumentElements/documentelements.apply_cdef.proto +++ /dev/null @@ -1,5 +0,0 @@ - -message ProtoApplyProtoCDef { - string cDefUuid = 1; - repeated string comChannelUUIDs = 2; -} diff --git a/src/DocumentElements/documentelements.apply_pdef.proto b/src/DocumentElements/documentelements.apply_pdef.proto deleted file mode 100644 index 7a82e41..0000000 --- a/src/DocumentElements/documentelements.apply_pdef.proto +++ /dev/null @@ -1,5 +0,0 @@ - -message ProtoApplyProtoPDef { - string pDefUuid = 1; - repeated string comChannelUUIDs = 2; -} diff --git a/src/DocumentElements/documentelements.apply_pt_config.proto b/src/DocumentElements/documentelements.apply_pt_config.proto deleted file mode 100644 index c89488f..0000000 --- a/src/DocumentElements/documentelements.apply_pt_config.proto +++ /dev/null @@ -1,5 +0,0 @@ - -message ProtoApplyPtConfig { - string ptConfigUuid = 1; - repeated string comChannelUUIDs = 2; -} diff --git a/src/DocumentElements/documentelements.apply_ul_config.proto b/src/DocumentElements/documentelements.apply_ul_config.proto deleted file mode 100644 index ba6607d..0000000 --- a/src/DocumentElements/documentelements.apply_ul_config.proto +++ /dev/null @@ -1,5 +0,0 @@ - -message ProtoApplyUlConfig { - string ulConfigUuid = 1; - repeated string comChannelUUIDs = 2; -} diff --git a/src/DocumentElements/documentelements.barcode.proto b/src/DocumentElements/documentelements.barcode.proto deleted file mode 100644 index 3e65015..0000000 --- a/src/DocumentElements/documentelements.barcode.proto +++ /dev/null @@ -1,22 +0,0 @@ -message ProtoBarcode { - // like BrickBody::Brick - ProtoBarcodeType type = 1; - ProtoMeasure x = 2; - ProtoMeasure y = 3; - ProtoImageReferencePoint referencePoint = 4; - // Rotation in degrees, counter-clockwise - float rotation = 5; - ProtoMeasure width = 6; - ProtoMeasure height = 7; - ProtoMeasure padding = 8; - // keeps the evaluated code - string data = 9; - bool positionAbsolute = 10; - repeated string comChannelUUIDs = 11; - string uuid = 12; - // keeps the original code, which gives us the possibility to re-evaluate it and save it in data - // it will be empty if the barcode type is SwissQR - string code = 13; - // will only be set if the barcode type is SwissQR - ProtoSwissQRData swissQRData = 14; -} diff --git a/src/DocumentElements/documentelements.branch_document_element.proto b/src/DocumentElements/documentelements.branch_document_element.proto deleted file mode 100644 index eba920a..0000000 --- a/src/DocumentElements/documentelements.branch_document_element.proto +++ /dev/null @@ -1,9 +0,0 @@ -message ProtoBranchDocumentElement { - repeated ProtoDocumentElement _children = 1; - - //extends DocumentElement - ProtoDocumentElement parent = 2; - //extends DocumentElement - repeated string comChannelUUIDs = 3; - -} diff --git a/src/DocumentElements/documentelements.brick.proto b/src/DocumentElements/documentelements.brick.proto deleted file mode 100644 index d2cdf20..0000000 --- a/src/DocumentElements/documentelements.brick.proto +++ /dev/null @@ -1,14 +0,0 @@ -message ProtoBrick { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - // like BrickBody::Brick - uint64 id = 3; - string internName = 4; - string uuid = 5; - bool editable = 6; - repeated string comChannelUUIDs = 7; - string name = 8; -} diff --git a/src/DocumentElements/documentelements.brick_reference.proto b/src/DocumentElements/documentelements.brick_reference.proto deleted file mode 100644 index 20209d5..0000000 --- a/src/DocumentElements/documentelements.brick_reference.proto +++ /dev/null @@ -1,6 +0,0 @@ -message ProtoBrickReference { - // comparable with BricksTemplates::BRICK - string internName = 1; - uint32 version = 2; - repeated string comChannelUUIDs = 3; -} diff --git a/src/DocumentElements/documentelements.carry_over.proto b/src/DocumentElements/documentelements.carry_over.proto deleted file mode 100644 index 2470b81..0000000 --- a/src/DocumentElements/documentelements.carry_over.proto +++ /dev/null @@ -1,8 +0,0 @@ -message ProtoCarryOver { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - repeated string comChannelUUIDs = 3; -} diff --git a/src/DocumentElements/documentelements.cdef.proto b/src/DocumentElements/documentelements.cdef.proto deleted file mode 100644 index 69e44f5..0000000 --- a/src/DocumentElements/documentelements.cdef.proto +++ /dev/null @@ -1,10 +0,0 @@ - - - -message ProtoCDef { - ProtoColumnSettings columSettings = 1; - ProtoBoxedBool applyToHeaderFooter = 2; - ProtoBoxedBool applyImmediate = 3; - string Uuid = 4; - repeated string comChannelUUIDs = 5; -} diff --git a/src/DocumentElements/documentelements.color_def.proto b/src/DocumentElements/documentelements.color_def.proto deleted file mode 100644 index d6cb393..0000000 --- a/src/DocumentElements/documentelements.color_def.proto +++ /dev/null @@ -1,4 +0,0 @@ -message ProtoColorDef { - ProtoColor color = 1; - repeated string comChannelUUIDs = 2; -} diff --git a/src/DocumentElements/documentelements.condition.proto b/src/DocumentElements/documentelements.condition.proto deleted file mode 100644 index eb35343..0000000 --- a/src/DocumentElements/documentelements.condition.proto +++ /dev/null @@ -1,11 +0,0 @@ -message ProtoCondition { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - string uuid = 3; - repeated string comChannelUUIDs = 4; - string code = 5; - bool result = 6; - bool regenerate = 7; -} diff --git a/src/DocumentElements/documentelements.directory.proto b/src/DocumentElements/documentelements.directory.proto deleted file mode 100644 index 7eac1c1..0000000 --- a/src/DocumentElements/documentelements.directory.proto +++ /dev/null @@ -1,12 +0,0 @@ -message ProtoDirectory { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string uuid = 3; - repeated string comChannelUUIDs = 4; - ProtoSemanticType semanticType = 5; - bool editable = 6; - string name = 7; -} diff --git a/src/DocumentElements/documentelements.dmscript.proto b/src/DocumentElements/documentelements.dmscript.proto deleted file mode 100644 index 889d93d..0000000 --- a/src/DocumentElements/documentelements.dmscript.proto +++ /dev/null @@ -1,8 +0,0 @@ -message ProtoDmScript { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - string content = 2; - repeated string comChannelUUIDs = 3; - string uuid = 4; -} diff --git a/src/DocumentElements/documentelements.doctype_script.proto b/src/DocumentElements/documentelements.doctype_script.proto deleted file mode 100644 index 3e51c5f..0000000 --- a/src/DocumentElements/documentelements.doctype_script.proto +++ /dev/null @@ -1,17 +0,0 @@ -enum ProtoDoctypeOutputMode { - DOCTYPE_OUTPUT_MODE_NOT_SET = 0; - DOCTYPE = 1; - JSON = 2; -} - -// These elements are actually script snippets (usually dmSCRIPT), whichs result (String) is used -// as docTYPE code. -message ProtoDoctypeScript { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - string content = 2; - ProtoDoctypeOutputMode outputMode = 3; - repeated string comChannelUUIDs = 4; - string uuid = 5; -} diff --git a/src/DocumentElements/documentelements.document_element.proto b/src/DocumentElements/documentelements.document_element.proto deleted file mode 100644 index 8665cfe..0000000 --- a/src/DocumentElements/documentelements.document_element.proto +++ /dev/null @@ -1,4 +0,0 @@ -message ProtoDocumentElement { - ProtoDocumentElement parent = 1; - repeated string comChannelUUIDs = 2; -} diff --git a/src/DocumentElements/documentelements.dynamic_template.proto b/src/DocumentElements/documentelements.dynamic_template.proto deleted file mode 100644 index 7f6858c..0000000 --- a/src/DocumentElements/documentelements.dynamic_template.proto +++ /dev/null @@ -1,8 +0,0 @@ -message ProtoDynamicTemplate { - // extends DocumentElement - ProtoDocumentElement parent = 1; - string uuid = 2; - - string script = 3; - repeated string comChannelUUIDs = 4; -} diff --git a/src/DocumentElements/documentelements.footer.proto b/src/DocumentElements/documentelements.footer.proto deleted file mode 100644 index d749869..0000000 --- a/src/DocumentElements/documentelements.footer.proto +++ /dev/null @@ -1,17 +0,0 @@ -enum ProtoFooterMode { - FOOTER_MODE_APPEND_INITIAL = 0; - FOOTER_MODE_APPEND = 1; - FOOTER_MODE_EXTEND = 2; - FOOTER_MODE_REPLACE = 3; -} - -message ProtoFooter { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string uuid = 3; - repeated string comChannelUUIDs = 4; - ProtoFooterMode mode = 5; -} diff --git a/src/DocumentElements/documentelements.formatted.proto b/src/DocumentElements/documentelements.formatted.proto deleted file mode 100644 index b94dade..0000000 --- a/src/DocumentElements/documentelements.formatted.proto +++ /dev/null @@ -1,14 +0,0 @@ -message ProtoFormatted { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - bool dteditorSyntax = 2; - string doctypeContent = 3; - string doctypeCode = 4; - string htmlContent = 5; - string htmlCode = 6; - string textContent = 7; - string textCode = 8; - repeated string comChannelUUIDs = 9; -} diff --git a/src/DocumentElements/documentelements.header.proto b/src/DocumentElements/documentelements.header.proto deleted file mode 100644 index 946d054..0000000 --- a/src/DocumentElements/documentelements.header.proto +++ /dev/null @@ -1,17 +0,0 @@ -enum ProtoHeaderMode { - HEADER_MODE_APPEND_INITIAL = 0; - HEADER_MODE_APPEND = 1; - HEADER_MODE_EXTEND = 2; - HEADER_MODE_REPLACE = 3; -} - -message ProtoHeader { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string uuid = 3; - repeated string comChannelUUIDs = 4; - ProtoHeaderMode mode = 5; -} diff --git a/src/DocumentElements/documentelements.image.proto b/src/DocumentElements/documentelements.image.proto deleted file mode 100644 index ec7064f..0000000 --- a/src/DocumentElements/documentelements.image.proto +++ /dev/null @@ -1,56 +0,0 @@ -enum ProtoImageScaleType { - IMAGE_SCALE_TYPE_DO_NOT_USE_AT_ALL = 0; - IMAGE_SCALE_TYPE_RELATIVE = 1; - IMAGE_SCALE_TYPE_ABSOLUTE = 2; - IMAGE_SCALE_TYPE_RELATIVE_TO_COLUMN = 3; -} - -enum ProtoImageUAMode{ - IMAGE_UA_MODE_DO_NOT_USE_AT_ALL = 0; - IMAGE_UA_MODE_INHERITED = 1; - IMAGE_UA_MODE_SIMPLE = 2; - IMAGE_UA_MODE_ADVANCED = 3; - -} - -enum ProtoImageContentType{ - IMAGE_CONTENT_UUID_REFERENCE_INLINE = 0; - IMAGE_CONTENT_UUID_REFERENCE_LOCAL = 1; - IMAGE_CONTENT_UUID_REFERENCE_GLOBAL = 2; - IMAGE_CONTENT_DMSCRIPT = 3; - IMAGE_CONTENT_IMAGE_DATA = 4; -} - - -message ProtoImage { - //extends DocumentElement - ProtoDocumentElement parent = 1; - //extends DocumentElement - - string alt = 2; - string name = 3; - string src = 4; - string filename = 5; - ProtoBoxedDouble scale = 6; - ProtoBoxedDouble columnScale = 7; - ProtoBoxedMeasure width = 8; - ProtoBoxedMeasure height = 9; - ProtoBoxedMeasure x = 10; - ProtoBoxedMeasure y = 11; - ProtoBoxedBool positionAbsolute = 12; - double rotation = 13; - ProtoFlipSettings flipSettings = 14; - ProtoCropSettings cropSettings = 15; - ProtoAdvancedIllustrationAreaImageSettings aia = 16; - string uuid = 17; - ProtoImageReferencePoint referencePoint = 18; - string hyperlink = 19; - repeated string comChannelUUIDs = 20; - ProtoImageContentType imageContentType = 21; - string imageContent = 22; - ProtoImageScaleType scaleType = 23; - ProtoImageUAMode uaMode = 24; - string uaDescription = 25; - ProtoBoxedBool leftBorderIsLeftMeasure = 26; -} - diff --git a/src/DocumentElements/documentelements.indentation.proto b/src/DocumentElements/documentelements.indentation.proto deleted file mode 100644 index 298da70..0000000 --- a/src/DocumentElements/documentelements.indentation.proto +++ /dev/null @@ -1,11 +0,0 @@ -message ProtoIndentation { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - ProtoBoxedMeasure left = 3; - ProtoBoxedMeasure right = 4; - string uuid = 5; - repeated string comChannelUUIDs = 6; -} diff --git a/src/DocumentElements/documentelements.input_field.proto b/src/DocumentElements/documentelements.input_field.proto deleted file mode 100644 index 31f9f74..0000000 --- a/src/DocumentElements/documentelements.input_field.proto +++ /dev/null @@ -1,61 +0,0 @@ -message ProtoInputFieldText { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - ProtoBaseInputField base = 2; - PDFPrintingBehavior pdf_printing_behavior = 3; - ProtoBoxedMeasure pdf_size = 4; - string pdf_form_name = 5; - repeated string comChannelUUIDs = 6; - string uuid = 7; -} - -message ProtoInputFieldDate { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - ProtoBaseInputField base = 2; - repeated string comChannelUUIDs = 3; - string uuid = 4; -} - -message ProtoInputFieldCheckbox { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - ProtoBaseInputField base = 2; - repeated string comChannelUUIDs = 3; - string uuid = 4; -} - -message ProtoInputFieldLabel { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - ProtoBaseInputField base = 2; - repeated string comChannelUUIDs = 3; - string uuid = 4; -} - -message ProtoInputFieldDropdown { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - ProtoBaseInputField base = 2; - - repeated ProtoOption options = 3; - - // If bindOptionsCode is true, the result of the optionsCode evaluation will be written to the options field, and re-evaluated for every - // time the input field is rendered. - // if bindOptionsCode is false, the optionsCode will be evaluated once and the result will be copied to the options field. - bool bindOptionsCode = 4; - - // Options code has to return one of the following types: - // - An array of Strings, containing the possible options - // - An array of Hashes with keys "key" (containing the "hidden" key) and "value" (containing the displayed value) - // - A hash with keys (containing the "hidden" key) and "value" (containing the displayed value) - string optionsCode = 5; - repeated string comChannelUUIDs = 6; - string uuid = 7; -} - diff --git a/src/DocumentElements/documentelements.layout.proto b/src/DocumentElements/documentelements.layout.proto deleted file mode 100644 index e49b428..0000000 --- a/src/DocumentElements/documentelements.layout.proto +++ /dev/null @@ -1,7 +0,0 @@ -message ProtoLayout { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - string name = 2; - repeated string comChannelUUIDs = 3; -} diff --git a/src/DocumentElements/documentelements.linebreak.proto b/src/DocumentElements/documentelements.linebreak.proto deleted file mode 100644 index 5d3366a..0000000 --- a/src/DocumentElements/documentelements.linebreak.proto +++ /dev/null @@ -1,9 +0,0 @@ -message ProtoLinebreak { - //extends DocumentElement - ProtoDocumentElement parent = 1; - //extends DocumentElement - repeated string comChannelUUIDs = 2; - - string uuid = 3; - ProtoBoxedUint32 count = 4; -} diff --git a/src/DocumentElements/documentelements.link.proto b/src/DocumentElements/documentelements.link.proto deleted file mode 100644 index 1031e91..0000000 --- a/src/DocumentElements/documentelements.link.proto +++ /dev/null @@ -1,8 +0,0 @@ -message ProtoLink { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - // extends BranchDocumentElement - - string url = 2; - repeated string comChannelUUIDs = 3; -} diff --git a/src/DocumentElements/documentelements.list_level_setting.proto b/src/DocumentElements/documentelements.list_level_setting.proto deleted file mode 100644 index 558cf1d..0000000 --- a/src/DocumentElements/documentelements.list_level_setting.proto +++ /dev/null @@ -1,122 +0,0 @@ -enum ProtoNumberType { - ARABIC = 0; - ROM_UPPERCASE = 1; - ROM_LOWERCASE = 2; - LETTER_UPPERCASE = 3; - LETTER_LOWERCASE = 4; -} - -enum ProtoListLevelSettingType { - UNNUMBERED = 0; - NUMERIC = 1; - IMAGE = 2; -} - -// go-gen:ignore -message ProtoListLevelSetting { - string listSettingName = 1; - ProtoBoxedUint32 fontSize = 2; - ProtoListLevelSettingType type = 3; - int32 level = 4; - string prefix = 5; - string suffix = 6; - ProtoFont fixFontFamily = 7; - bool fixBold = 8; - bool fixItalic = 9; - int32 indentionWidth = 10; - ProtoColor color = 11; - - string imageName = 12; - - ProtoFont fontFamily = 13; - ProtoBoxedBool bold = 14; - ProtoBoxedBool italic = 15; - - ProtoNumberType numberType = 16; - - string character = 17; -} - -// go-gen:ignore -message ProtoImageListLevelSetting { - // extends ListLevelSetting - string listSettingName = 1; - ProtoBoxedUint32 fontSize = 2; - ProtoListLevelSettingType type = 3; - int32 level = 4; - string prefix = 5; - string suffix = 6; - ProtoFont fixFontFamily = 7; - bool fixBold = 8; - bool fixItalic = 9; - int32 indentionWidth = 10; - ProtoColor color = 11; - // extends ListLevelSetting - - string imageName = 12; -} - -// go-gen:ignore -message ProtoTextListLevelSetting { - // extends ListLevelSetting - string listSettingName = 1; - ProtoBoxedUint32 fontSize = 2; - ProtoListLevelSettingType type = 3; - int32 level = 4; - string prefix = 5; - string suffix = 6; - ProtoFont fixFontFamily = 7; - bool fixBold = 8; - bool fixItalic = 9; - int32 indentionWidth = 10; - ProtoColor color = 11; - // extends ListLevelSetting - - ProtoFont fontFamily = 12; - ProtoBoxedBool bold = 13; - ProtoBoxedBool italic = 14; -} - -// go-gen:ignore -message ProtoNumberListLevelSetting { - // extends TextListLevelSetting - string listSettingName = 1; - ProtoBoxedUint32 fontSize = 2; - ProtoListLevelSettingType type = 3; - int32 level = 4; - string prefix = 5; - string suffix = 6; - ProtoFont fixFontFamily = 7; - bool fixBold = 8; - bool fixItalic = 9; - int32 indentionWidth = 10; - ProtoColor color = 11; - ProtoFont fontFamily = 12; - ProtoBoxedBool bold = 13; - ProtoBoxedBool italic = 14; - // extends TextListLevelSetting - - ProtoNumberType numberType = 15; -} - -// go-gen:ignore -message ProtoUnnumberedListLevelSetting { - // extends TextListLevelSetting - string listSettingName = 1; - ProtoBoxedUint32 fontSize = 2; - ProtoListLevelSettingType type = 3; - int32 level = 4; - string prefix = 5; - string suffix = 6; - ProtoFont fixFontFamily = 7; - bool fixBold = 8; - bool fixItalic = 9; - int32 indentionWidth = 10; - ProtoColor color = 11; - ProtoFont fontFamily = 12; - ProtoBoxedBool bold = 13; - ProtoBoxedBool italic = 14; - // extends TextListLevelSetting - - string character = 15; -} diff --git a/src/DocumentElements/documentelements.list_setting.proto b/src/DocumentElements/documentelements.list_setting.proto deleted file mode 100644 index 9d7042f..0000000 --- a/src/DocumentElements/documentelements.list_setting.proto +++ /dev/null @@ -1,16 +0,0 @@ -message ProtoListSetting { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - string name = 2; - repeated ProtoListLevelSetting listLevelSettings = 3; - ProtoListLevelSetting defaultListLevelSetting = 4; - repeated string comChannelUUIDs = 5; -} - -// go-gen:ignore -message ProtoBoxedListSetting { - ProtoListSetting value = 1; - bool isNull = 2; -} diff --git a/src/DocumentElements/documentelements.locale.proto b/src/DocumentElements/documentelements.locale.proto deleted file mode 100644 index 763e95a..0000000 --- a/src/DocumentElements/documentelements.locale.proto +++ /dev/null @@ -1,10 +0,0 @@ -message ProtoLocale { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - string uuid = 3; - repeated string comChannelUUIDs = 4; - repeated string languageUUIDs = 5; - repeated string regionUUIDs = 6; -} diff --git a/src/DocumentElements/documentelements.loop.proto b/src/DocumentElements/documentelements.loop.proto deleted file mode 100644 index cdcc298..0000000 --- a/src/DocumentElements/documentelements.loop.proto +++ /dev/null @@ -1,10 +0,0 @@ -message ProtoLoop { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string path = 3; - string uuid = 4; - repeated string comChannelUUIDs = 5; -} diff --git a/src/DocumentElements/documentelements.loop_entry.proto b/src/DocumentElements/documentelements.loop_entry.proto deleted file mode 100644 index 4855ae1..0000000 --- a/src/DocumentElements/documentelements.loop_entry.proto +++ /dev/null @@ -1,11 +0,0 @@ -message ProtoLoopEntry { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string path = 3; - uint64 index = 4; - string uuid = 5; - repeated string comChannelUUIDs = 6; -} diff --git a/src/DocumentElements/documentelements.named_string.proto b/src/DocumentElements/documentelements.named_string.proto deleted file mode 100644 index f4593ba..0000000 --- a/src/DocumentElements/documentelements.named_string.proto +++ /dev/null @@ -1,13 +0,0 @@ -message ProtoNamedString { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string name = 3; - repeated string comChannelUUIDs = 4; - string uuid = 5; - string description = 6; - string nameCode = 7; - bool codeMode = 8; -} diff --git a/src/DocumentElements/documentelements.new_page.proto b/src/DocumentElements/documentelements.new_page.proto deleted file mode 100644 index d2d7924..0000000 --- a/src/DocumentElements/documentelements.new_page.proto +++ /dev/null @@ -1,30 +0,0 @@ -enum ProtoPageMode { - NEXT_PAGE = 0; - NEXT_RECTO_PAGE = 1; - NEXT_VERSO_PAGE = 2; -} - -enum ProtoPageOrientation { - UNSET = 0; - PORTRAIT = 1; - LANDSCAPE = 2; - INVERSE_PORTRAIT = 3; - INVERSE_LANDSCAPE = 4; -} - -message ProtoNewPage { - string uuid = 1; - // Identifies the paper tray to be used for the following page. - string paperTrayUuid = 2; - // Inherited from the referenced tray itself, not set directly. - uint32 paperTrayNumber = 3; - // Page count for the referenced tray. Might be set directly. - uint32 paperCount = 4; - ProtoPageMode pageMode = 5; - ProtoPageOrientation pageOrientation = 6; - // An optional page definition to be used for the new page. - string pDefUuid = 7; - // An optional column definition to be used for the new page. - string cDefUuid = 8; - repeated string comChannelUUIDs = 9; -} diff --git a/src/DocumentElements/documentelements.page_condition.proto b/src/DocumentElements/documentelements.page_condition.proto deleted file mode 100644 index 374a8fa..0000000 --- a/src/DocumentElements/documentelements.page_condition.proto +++ /dev/null @@ -1,9 +0,0 @@ -message ProtoPageCondition { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - string uuid = 3; - repeated string comChannelUUIDs = 4; - string code = 5; -} diff --git a/src/DocumentElements/documentelements.paragraph.proto b/src/DocumentElements/documentelements.paragraph.proto deleted file mode 100644 index 0e5eb16..0000000 --- a/src/DocumentElements/documentelements.paragraph.proto +++ /dev/null @@ -1,12 +0,0 @@ -message ProtoParagraph { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - ProtoParagraphFormat format = 3; - ProtoParagraphFormat overwrite = 4; - repeated string comChannelUUIDs = 5; - string paragraphFormatUUID = 6; - string uuid = 7; -} diff --git a/src/DocumentElements/documentelements.paragraph_format.proto b/src/DocumentElements/documentelements.paragraph_format.proto deleted file mode 100644 index 1a212a9..0000000 --- a/src/DocumentElements/documentelements.paragraph_format.proto +++ /dev/null @@ -1,31 +0,0 @@ -message ProtoParagraphFormat { - ProtoParagraphFormat baseFormat = 1; - ProtoBoxedString name = 2; - ProtoBoxedBool default = 3; - ProtoBoxedFont font = 4; - ProtoBoxedBool bold = 5; - ProtoBoxedBool italic = 6; - ProtoBoxedColor fontColor = 7; - ProtoBoxedUnderlineSpec underline = 8; - ProtoBoxedMeasure fontSize = 9; - ProtoBoxedMeasure characterWidth = 10; - ProtoBoxedMeasure characterSpacing = 11; - ProtoBoxedMeasure lineFeed = 12; - ProtoBoxedHorizontalAlignment alignment = 13; - ProtoBoxedMeasure indentionWidth = 14; - ProtoBoxedInt32 indentionLevel = 15; - ProtoBoxedMeasure spaceAbove = 16; - ProtoBoxedMeasure spaceBelow = 17; - ProtoBoxedInt32 widowSetting = 18; - ProtoBoxedInt32 orphanSetting = 19; - ProtoBoxedInt32 widowPriority = 20; - ProtoBoxedStrikethroughSpec strikethrough = 21; - ProtoBoxedSPBMode superscriptSubscript = 22; - ProtoBoxedColor backgroundColor = 23; - ProtoBoxedListSetting listSetting = 24; - ProtoBoxedBool hyphenation = 25; - ProtoBoxedString preNamedString = 26; - ProtoBoxedString postNamedString = 27; - ProtoBoxedString semanticType = 28; - repeated string comChannelUUIDs = 29; -} diff --git a/src/DocumentElements/documentelements.paragraph_set_default.proto b/src/DocumentElements/documentelements.paragraph_set_default.proto deleted file mode 100644 index f70c616..0000000 --- a/src/DocumentElements/documentelements.paragraph_set_default.proto +++ /dev/null @@ -1,10 +0,0 @@ -message ProtoParagraphSetDefault { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - string name = 2; - string paragraphFormatUUID = 3; - string uuid = 4; - repeated string comChannelUUIDs = 5; -} diff --git a/src/DocumentElements/documentelements.pdef.proto b/src/DocumentElements/documentelements.pdef.proto deleted file mode 100644 index cecda60..0000000 --- a/src/DocumentElements/documentelements.pdef.proto +++ /dev/null @@ -1,7 +0,0 @@ - -message ProtoPDef { - ProtoBoxedMeasure pageWidth = 1; - ProtoBoxedMeasure pageDepth = 2; - string Uuid = 3; - repeated string comChannelUUIDs = 4; -} diff --git a/src/DocumentElements/documentelements.pt_config.proto b/src/DocumentElements/documentelements.pt_config.proto deleted file mode 100644 index bbff751..0000000 --- a/src/DocumentElements/documentelements.pt_config.proto +++ /dev/null @@ -1,9 +0,0 @@ - -message ProtoPtConfig { - ProtoBoxedMeasure height = 1; - ProtoBoxedMeasure lineFeed = 2; - ProtoBoxedMeasure characterWidth = 3; - ProtoBoxedMeasure spaceWidth = 4; - string Uuid = 5; - repeated string comChannelUUIDs = 6; -} diff --git a/src/DocumentElements/documentelements.section.proto b/src/DocumentElements/documentelements.section.proto deleted file mode 100644 index d6c0330..0000000 --- a/src/DocumentElements/documentelements.section.proto +++ /dev/null @@ -1,11 +0,0 @@ -message ProtoSection { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string uuid = 3; - string cDefUuid = 4; - - repeated string comChannelUUIDs = 5; -} diff --git a/src/DocumentElements/documentelements.selection.proto b/src/DocumentElements/documentelements.selection.proto deleted file mode 100644 index c7c48da..0000000 --- a/src/DocumentElements/documentelements.selection.proto +++ /dev/null @@ -1,14 +0,0 @@ -message ProtoSelection { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string uuid = 3; - repeated string comChannelUUIDs = 4; - string internalName = 5; - string name = 6; - bool multi = 7; - uint64 min = 8; - uint64 max = 9; -} diff --git a/src/DocumentElements/documentelements.selection_entry.proto b/src/DocumentElements/documentelements.selection_entry.proto deleted file mode 100644 index 94b04c5..0000000 --- a/src/DocumentElements/documentelements.selection_entry.proto +++ /dev/null @@ -1,12 +0,0 @@ -message ProtoSelectionEntry { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string uuid = 3; - repeated string comChannelUUIDs = 4; - string internalName = 5; - string name = 6; - bool selected = 7; -} diff --git a/src/DocumentElements/documentelements.space_vertically.proto b/src/DocumentElements/documentelements.space_vertically.proto deleted file mode 100644 index 18b0962..0000000 --- a/src/DocumentElements/documentelements.space_vertically.proto +++ /dev/null @@ -1,8 +0,0 @@ -message ProtoSpaceVertically { - //extends DocumentElement - ProtoDocumentElement parent = 1; - //extends DocumentElement - - ProtoMeasure space = 2; - repeated string comChannelUUIDs = 3; -} diff --git a/src/DocumentElements/documentelements.span.proto b/src/DocumentElements/documentelements.span.proto deleted file mode 100644 index 2eb82b7..0000000 --- a/src/DocumentElements/documentelements.span.proto +++ /dev/null @@ -1,15 +0,0 @@ -message ProtoSpan { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - ProtoBoxedBool bold = 3; - ProtoBoxedBool italic = 4; - ProtoColor color = 5; - ProtoBoxedBool subscript = 6; - ProtoBoxedBool superscript = 7; - ProtoBoxedBool underline = 8; - ProtoBoxedBool strikethrough = 9; - repeated string comChannelUUIDs = 10; -} diff --git a/src/DocumentElements/documentelements.sub_total.proto b/src/DocumentElements/documentelements.sub_total.proto deleted file mode 100644 index 5b32540..0000000 --- a/src/DocumentElements/documentelements.sub_total.proto +++ /dev/null @@ -1,17 +0,0 @@ -enum ProtoSubTotalPosition { - POSITION_ABOVE_FOOTER = 0; - POSITION_BELOW_CONTENT = 1; -} - -message ProtoSubTotal { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - bool apply_immediate = 3; - ProtoSubTotalPosition position = 4; - ProtoMeasure height = 5; - repeated string comChannelUUIDs = 6; -} - diff --git a/src/DocumentElements/documentelements.table.proto b/src/DocumentElements/documentelements.table.proto deleted file mode 100644 index fafbb83..0000000 --- a/src/DocumentElements/documentelements.table.proto +++ /dev/null @@ -1,276 +0,0 @@ -message ProtoTable { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - ProtoTableSettings settings = 3; - string configName = 4; - - Node carryOver = 5; - Node subTotal = 6; - repeated string comChannelUUIDs = 7; - ProtoTableElementProperties elementProperties = 8; -} - -message ProtoTableConfig { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - ProtoTableSettings settings = 2; - string configName = 3; - repeated string comChannelUUIDs = 4; -} - -// go-gen:ignore -message ProtoTableSettings { - ProtoMeasure xOffset = 1; - ProtoBoxedBool leftMeasure = 2; - ProtoMeasure width = 3; - ProtoBoxedUint32 repeatHeader = 4; - ProtoTableWS ws = 5; -} - - -enum ProtoTableContentGroupType { - HEADER = 0; - BODY = 1; - FOOTER = 2; - SUB_HEADER = 3; -} - -// go-gen:ignore -message ProtoBoxedTableContentGroupType { - ProtoTableContentGroupType value = 1; - bool isNull = 2; -} - -message ProtoTableContentGroup { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - ProtoTableContentGroupSettings settings = 3; - repeated string comChannelUUIDs = 4; - ProtoTableElementProperties elementProperties = 5; -} - -message ProtoTableContentGroupConfig { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - ProtoTableContentGroupSettings settings = 2; - string configName = 3; - repeated string comChannelUUIDs = 4; -} - -// go-gen:ignore -message ProtoTableContentGroupSettings { - ProtoBoxedTableContentGroupType contentGroupType = 1; - repeated ProtoColor backgroundColors = 2; - ProtoTableWS ws = 3; -} - - -message ProtoTableRow { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - ProtoTableRowSettings settings = 3; - ProtoBoxedUint32 rowConfigNumber = 4; - repeated string comChannelUUIDs = 5; - ProtoTableElementProperties elementProperties = 6; -} - -message ProtoTableRowConfig { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - ProtoTableRowSettings settings = 2; - string configName = 3; - string rowHeader = 4; - string rowFooter = 5; - repeated string comChannelUUIDs = 6; -} - -// go-gen:ignore -message ProtoTableRowSettings { - ProtoMeasure minHeight = 1; - ProtoTableWS ws = 2; -} - -enum ProtoTableCellType { - TABLE_CELL_BODY = 0; - TABLE_CELL_ROW_HEADER = 1; - TABLE_CELL_ROW_FOOTER = 2; -} - -// go-gen:ignore -message ProtoBoxedTableCellType { - ProtoTableCellType value = 1; - bool isNull = 2; -} - -message ProtoTableCell { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - ProtoTableCellSettings settings = 3; - ProtoBoxedUint32 cellConfigNumber = 4; - // Indicates if this table cell should merged with the left table cell. - bool mergedLeft = 5; - // Indicates if this table cell should be merged with the cell above. - bool mergedUp = 6; - repeated string comChannelUUIDs = 7; - ProtoTableElementProperties elementProperties = 8; -} - -message ProtoTableCellConfig { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - ProtoTableCellSettings settings = 2; - string configName = 3; - ProtoBoxedTableCellType cellType = 4; - repeated string comChannelUUIDs = 5; -} - -// go-gen:ignore -message ProtoTableCellSettings { - ProtoMeasure width = 1; - ProtoBoxedHorizontalAlignment align = 2; - ProtoBoxedVerticalAlignment valign = 3; - ProtoColor backgroundColor = 4; - ProtoSideMeasures padding = 5; - ProtoSideBorders border = 6; - ProtoSideMeasures margin = 7; - ProtoBoxedDouble rotation = 8; - // If defaultParagraphFormat is not null, it contains the name of - // a paragraph format, which should be used as default paragraph format - // for content in a table cell using these settings. - ProtoBoxedString defaultParagraphFormat = 9; -} - -// go-gen:ignore -message ProtoTableWS { - uint32 minLinesBefore = 1; - uint32 minLinesAfter = 2; - uint32 priority = 3; -} - -// go-gen:ignore -message ProtoTableElementProperties { - Inheritance widthInheritance = 1; - ProtoMeasure width = 2; - string widthCode = 3; - - Inheritance alignInheritance = 4; - ProtoBoxedHorizontalAlignment align = 5; - string alignCode = 6; - - Inheritance valignInheritance = 7; - ProtoBoxedVerticalAlignment valign = 8; - string valignCode = 9; - - Inheritance backgroundColorInheritance = 10; - repeated ProtoColor backgroundColor = 11; - string backgroundColorCode = 12; - - Inheritance paddingTopInheritance = 13; - ProtoMeasure paddingTop = 14; - string paddingTopCode = 15; - - Inheritance paddingRightInheritance = 16; - ProtoMeasure paddingRight = 17; - string paddingRightCode = 18; - - Inheritance paddingBottomInheritance = 19; - ProtoMeasure paddingBottom = 20; - string paddingBottomCode = 21; - - Inheritance paddingLeftInheritance = 22; - ProtoMeasure paddingLeft = 23; - string paddingLeftCode = 24; - - Inheritance borderTopColorInheritance = 25; - ProtoColor borderTopColor = 26; - string borderTopColorCode = 27; - - Inheritance borderTopWeightInheritance = 28; - ProtoMeasure borderTopWeight = 29; - string borderTopWeightCode = 30; - - Inheritance borderRightColorInheritance = 31; - ProtoColor borderRightColor = 32; - string borderRightColorCode = 33; - - Inheritance borderRightWeightInheritance = 34; - ProtoMeasure borderRightWeight = 35; - string borderRightWeightCode = 36; - - Inheritance borderBottomColorInheritance = 37; - ProtoColor borderBottomColor = 38; - string borderBottomColorCode = 39; - - Inheritance borderBottomWeightInheritance = 40; - ProtoMeasure borderBottomWeight = 41; - string borderBottomWeightCode = 42; - - Inheritance borderLeftColorInheritance = 43; - ProtoColor borderLeftColor = 44; - string borderLeftColorCode = 45; - - Inheritance borderLeftWeightInheritance = 46; - ProtoMeasure borderLeftWeight = 47; - string borderLeftWeightCode = 48; - - Inheritance marginTopInheritance = 49; - ProtoMeasure marginTop = 50; - string marginTopCode = 51; - - Inheritance marginRightInheritance = 52; - ProtoMeasure marginRight = 53; - string marginRightCode = 54; - - Inheritance marginBottomInheritance = 55; - ProtoMeasure marginBottom = 56; - string marginBottomCode = 57; - - Inheritance marginLeftInheritance = 58; - ProtoMeasure marginLeft = 59; - string marginLeftCode = 60; - - Inheritance rotationInheritance = 61; - ProtoBoxedDouble rotation = 62; - string rotationCode = 63; - - Inheritance defaultParagraphFormatUUIDInheritance = 64; - ProtoBoxedString defaultParagraphFormatUUID = 65; - string defaultParagraphFormatUUIDCode = 66; - - Inheritance tableContentGroupTypeInheritance = 67; - ProtoBoxedTableContentGroupType tableContentGroupType = 68; - string tableContentGroupTypeCode = 69; - - Inheritance cellTypeInheritance = 70; - ProtoBoxedTableCellType cellType = 71; - string cellTypeCode = 72; - - Inheritance minRowHeightInheritance = 73; - ProtoMeasure minRowHeight = 74; - string minRowHeightCode = 75; - - Inheritance wsInheritance = 76; - ProtoTableWS ws = 77; - string wsCode = 78; -} - diff --git a/src/DocumentElements/documentelements.tag.proto b/src/DocumentElements/documentelements.tag.proto deleted file mode 100644 index 411d2a4..0000000 --- a/src/DocumentElements/documentelements.tag.proto +++ /dev/null @@ -1,12 +0,0 @@ -message ProtoTag { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - string name = 2; - repeated string comChannelUUIDs = 3; - string uuid = 4; - repeated string params = 5; - string nameCode = 6; - bool codeMode = 7; -} diff --git a/src/DocumentElements/documentelements.template.proto b/src/DocumentElements/documentelements.template.proto deleted file mode 100644 index 0fddaa7..0000000 --- a/src/DocumentElements/documentelements.template.proto +++ /dev/null @@ -1,17 +0,0 @@ -message ProtoTemplate { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - repeated string comChannelUUIDs = 3; - string uuid = 4; - ColumnBalancing columnBalancing = 5; - ProtoSemanticType semanticType = 6; - string templateUuid = 7; -} - -enum ColumnBalancing { - NO_BALANCING = 0; - BALANCING = 1; -} diff --git a/src/DocumentElements/documentelements.text.proto b/src/DocumentElements/documentelements.text.proto deleted file mode 100644 index c36ca3c..0000000 --- a/src/DocumentElements/documentelements.text.proto +++ /dev/null @@ -1,8 +0,0 @@ -message ProtoText { - // extends DocumentElement - ProtoDocumentElement parent = 1; - // extends DocumentElement - - string content = 2; - repeated string comChannelUUIDs = 3; -} diff --git a/src/DocumentElements/documentelements.textbrick.proto b/src/DocumentElements/documentelements.textbrick.proto deleted file mode 100644 index 658e5b7..0000000 --- a/src/DocumentElements/documentelements.textbrick.proto +++ /dev/null @@ -1,12 +0,0 @@ -message ProtoTextBrick { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - string uuid = 3; - uint64 id = 4; - repeated string comChannelUUIDs = 5; - bool editable = 6; - string name = 7; -} diff --git a/src/DocumentElements/documentelements.ul_config.proto b/src/DocumentElements/documentelements.ul_config.proto deleted file mode 100644 index 5f127fe..0000000 --- a/src/DocumentElements/documentelements.ul_config.proto +++ /dev/null @@ -1,6 +0,0 @@ - -message ProtoUlConfig { - ProtoUnderlineMode mode = 1; - string Uuid = 2; - repeated string comChannelUUIDs = 3; -} diff --git a/src/DocumentElements/documentelements.variable.proto b/src/DocumentElements/documentelements.variable.proto deleted file mode 100644 index d130bca..0000000 --- a/src/DocumentElements/documentelements.variable.proto +++ /dev/null @@ -1,24 +0,0 @@ -message ProtoVariable { - // extends DocumentElement - ProtoDocumentElement parent = 1; - - string path = 2; - string content = 3; // Should this be optional or "empty string" - string formatUuid = 4; - ProtoVariableSpecialType specialType = 5; - string uuid = 6; - repeated string comChannelUUIDs = 7; -} - -enum ProtoVariableSpecialType { - NOT_SPECIAL = 0; - TABLE_NUMBER = 1; - DOC_PAGE_COUNT = 2; - DOC_CUR_PAGE = 3; - CUR_PAGE = 4; - PAGE_COUNT = 5; - PREV_PAGE = 6; - SECTION_PAGE = 7; - UPDATED_AT = 8; - GENERATED_AT = 9; -} diff --git a/src/DocumentElements/documentelements.ws_area.proto b/src/DocumentElements/documentelements.ws_area.proto deleted file mode 100644 index 9fa6f6e..0000000 --- a/src/DocumentElements/documentelements.ws_area.proto +++ /dev/null @@ -1,8 +0,0 @@ -message ProtoWsArea { - // extends BranchDocumentElement - repeated ProtoDocumentElement _children = 1; - ProtoDocumentElement parent = 2; - // extends BranchDocumentElement - - repeated string comChannelUUIDs = 3; -} diff --git a/src/Util/util.advanced_illustration_area_image_settings.proto b/src/Util/util.advanced_illustration_area_image_settings.proto deleted file mode 100644 index adae2e1..0000000 --- a/src/Util/util.advanced_illustration_area_image_settings.proto +++ /dev/null @@ -1,17 +0,0 @@ -enum ProtoAdvancedIllustrationAreaTextFlowType { - DO_NOT_USE_AT_ALL = 0; - AROUND = 1; - NO_FLOW = 2; - FOREGROUND = 3; - BACKGROUND = 4; -} - -message ProtoBoxedAdvancedIllustrationAreaTextFlowType { - ProtoAdvancedIllustrationAreaTextFlowType value = 1; - bool isNull = 2; -} - -message ProtoAdvancedIllustrationAreaImageSettings { - ProtoBoxedAdvancedIllustrationAreaTextFlowType textFlow = 1; - ProtoSideMeasures margin = 2; -} diff --git a/src/Util/util.align.proto b/src/Util/util.align.proto deleted file mode 100644 index 881b463..0000000 --- a/src/Util/util.align.proto +++ /dev/null @@ -1,24 +0,0 @@ -enum ProtoHorizontalAlignment { - ALIGN_LEFT = 0; - ALIGN_CENTER = 1; - ALIGN_RIGHT = 2; - ALIGN_JUSTIFY = 3; - ALIGN_FULL_JUSTIFY = 4; - ALIGN_CENTER_ON_PAGE = 5; -} - -enum ProtoVerticalAlignment { - TOP = 0; - MIDDLE = 1; - BOTTOM = 2; -} - -message ProtoBoxedHorizontalAlignment { - ProtoHorizontalAlignment value = 1; - bool isNull = 2; -} - -message ProtoBoxedVerticalAlignment { - ProtoVerticalAlignment value = 1; - bool isNull = 2; -} diff --git a/src/Util/util.barcode.proto b/src/Util/util.barcode.proto deleted file mode 100644 index d8907a2..0000000 --- a/src/Util/util.barcode.proto +++ /dev/null @@ -1,44 +0,0 @@ -enum ProtoBarcodeType { - PDF417 = 0; - DATAMATRIX = 1; - BC128 = 2; - QR = 3; - ITF = 4; - EAN8 = 5; - EAN13 = 6; - CODE39 = 7; - SWISSQR = 8; - AZTEC = 9; -} - -message ProtoSwissQRCreditor { - string addressType = 1; - string name = 2; - string postalCode = 3; - string town = 4; - string country = 5; - string streetOrAddressLine1 = 6; - string buildingNumberOrAddressLine2 = 7; - string iban = 8; - string amount = 9; - string currency = 10; -} - -message ProtoSwissQRDebitor { - string addressType = 1; - string name = 2; - string postalCode = 3; - string town = 4; - string country = 5; - string streetOrAddressLine1 = 6; - string buildingNumberOrAddressLine2 = 7; - string paymentReferenceType = 8; - string paymentReference = 9; - string unstructuredReference = 10; - string billInformation = 11; -} - -message ProtoSwissQRData { - ProtoSwissQRCreditor creditor = 1; - ProtoSwissQRDebitor debitor = 2; -} diff --git a/src/Util/util.column_settings.proto b/src/Util/util.column_settings.proto deleted file mode 100644 index 67f7d48..0000000 --- a/src/Util/util.column_settings.proto +++ /dev/null @@ -1,20 +0,0 @@ -enum ProtoPositionMode { - CENTER = 0; - LEFT = 1; - FOLIO = 2; - RIGHT = 3; - REVERSE_FOLIO = 4; -} - -message ProtoBoxedPositionMode { - ProtoPositionMode value = 1; - bool isNull = 2; -} - -message ProtoColumnSettings { - ProtoBoxedMeasure width = 1; - ProtoBoxedMeasure interColumnSpace = 2; - ProtoBoxedMeasure positionOffset = 3; - ProtoPositionMode positionMode = 4; - ProtoBoxedMeasure outsideMargin = 5; -} diff --git a/src/Util/util.graphic_state.proto b/src/Util/util.graphic_state.proto deleted file mode 100644 index 17defef..0000000 --- a/src/Util/util.graphic_state.proto +++ /dev/null @@ -1,9 +0,0 @@ -message ProtoGraphicState { - ProtoBoxedBool bold = 1; - ProtoBoxedBool italic = 2; - repeated ProtoColor colorStack = 3; - ProtoBoxedBool subscript = 4; - ProtoBoxedBool superscript = 5; - ProtoBoxedBool underline = 6; - ProtoBoxedBool strikethrough = 7; -} diff --git a/src/Util/util.html_parser.proto b/src/Util/util.html_parser.proto deleted file mode 100644 index 1c16be7..0000000 --- a/src/Util/util.html_parser.proto +++ /dev/null @@ -1,3 +0,0 @@ -message ProtoHtmlParser { - -} diff --git a/src/Util/util.image_settings.proto b/src/Util/util.image_settings.proto deleted file mode 100644 index 3b8ea84..0000000 --- a/src/Util/util.image_settings.proto +++ /dev/null @@ -1,20 +0,0 @@ -message ProtoCropSettings { - ProtoBoxedMeasure x = 1; - ProtoBoxedMeasure y = 2; - ProtoBoxedMeasure width = 3; - ProtoBoxedMeasure height = 4; -} - -message ProtoFlipSettings { - bool x = 1; - bool y = 2; -} - -enum ProtoImageReferencePoint { - REF_POINT_DO_NOT_USE_AT_ALL = 0; - REF_POINT_BOTTOM_LEFT = 1; - REF_POINT_TOP_LEFT = 2; - REF_POINT_CENTER = 3; - REF_POINT_BOTTOM_RIGHT = 4; - REF_POINT_TOP_RIGHT = 5; -} diff --git a/src/Util/util.inheritance.proto b/src/Util/util.inheritance.proto deleted file mode 100644 index a2cb13f..0000000 --- a/src/Util/util.inheritance.proto +++ /dev/null @@ -1,12 +0,0 @@ -enum Inheritance { - // Inherit from parent element - INHERITANCE_INHERIT = 0; - // Evaluate provided code once - INHERITANCE_CODE = 1; - // Evaluate provided code every time - INHERITANCE_BIND_CODE = 2; - // Use the static value - INHERITANCE_STATIC = 3; - // Reset the value to "no value" -> default behaviour - INHERITANCE_RESET = 4; -} diff --git a/src/Util/util.rule_style.proto b/src/Util/util.rule_style.proto deleted file mode 100644 index 4888fb7..0000000 --- a/src/Util/util.rule_style.proto +++ /dev/null @@ -1,16 +0,0 @@ -enum ProtoRuleStyle { - DUMMY_RULE_STYLE = 0; // dummy is needed here, because otherwise protoc command produces error - SOLID = 1; - SPARSE_SHADING = 2; - MEDIUM_SHADING = 3; - DENSE_SHADING = 4; - LIGHT_DOTTED = 5; - MEDIUM_DOTTED = 6; - HEAVY_DOTTED = 7; - LIGHT_DASHED = 8; - MEDIUM_DASHED = 9; - HEAVY_DASHED = 10; - DASH_PATTERN = 11; - - DOUBLE = 254; -} diff --git a/src/Util/util.semantic_type.proto b/src/Util/util.semantic_type.proto deleted file mode 100644 index e050a1e..0000000 --- a/src/Util/util.semantic_type.proto +++ /dev/null @@ -1,7 +0,0 @@ -enum ProtoSemanticType { - SEMANTIC_TYPE_NONE = 0; - SEMANTIC_TYPE_PART = 1; - SEMANTIC_TYPE_ART = 2; - SEMANTIC_TYPE_SECT = 3; - SEMANTIC_TYPE_DIV = 4; -} diff --git a/src/Util/util.spb_mode.proto b/src/Util/util.spb_mode.proto deleted file mode 100644 index 5d0bebc..0000000 --- a/src/Util/util.spb_mode.proto +++ /dev/null @@ -1,10 +0,0 @@ -enum ProtoSPBMode { - NONE = 0; - SUPERSCRIPT = 1; - SUBSCRIPT = 2; -} - -message ProtoBoxedSPBMode { - ProtoSPBMode value = 1; - bool isNull = 2; -} diff --git a/src/Util/util.text.proto b/src/Util/util.text.proto deleted file mode 100644 index e69de29..0000000 diff --git a/src/Util/util.underline_spec.proto b/src/Util/util.underline_spec.proto deleted file mode 100644 index c7f31f4..0000000 --- a/src/Util/util.underline_spec.proto +++ /dev/null @@ -1,20 +0,0 @@ -enum ProtoUnderlineMode { - DUMMY_UNDERLINE_MODE = 0; // dummy is needed here, because otherwise protoc command produces error - WORDS_NO_BLANKS = 1; - WORDS_AND_BLANKS = 2; - CHARACTERS_NO_BLANKS = 3; - CHARACTERS_AND_BLANKS = 4; -} - -message ProtoUnderlineSpec { - ProtoMeasure weight = 1; - ProtoUnderlineMode mode = 2; - ProtoColor color = 3; - int32 offsetEm = 4; - ProtoRuleStyle style = 5; -} - -message ProtoBoxedUnderlineSpec { - ProtoUnderlineSpec value = 1; - bool isNull = 2; -} diff --git a/src/node.proto b/src/node.proto deleted file mode 100644 index 97f2709..0000000 --- a/src/node.proto +++ /dev/null @@ -1,142 +0,0 @@ -option csharp_namespace = "Docframe"; - -message Node { - repeated Node children = 1; - - oneof object { - ProtoListSetting list_setting = 2; - ProtoColorDef colorDef = 3; - ProtoBrick brick = 4; - ProtoTemplate template = 5; - ProtoFormatted formatted = 6; - ProtoImage image = 7; - ProtoParagraphFormat paragraph_format = 8; - ProtoTextBrick text_brick = 9; - ProtoText text = 10; - ProtoLinebreak linebreak = 11; - ProtoSpaceVertically space_vertically = 12; - ProtoFooter footer = 13; - ProtoHeader header = 14; - ProtoTable table = 15; - ProtoTableRow table_row = 16; - ProtoTableCell table_cell = 17; - ProtoCDef c_def = 18; - ProtoPDef p_def = 19; - ProtoApplyProtoCDef apply_c_def = 20; - ProtoApplyProtoPDef apply_p_def = 21; - ProtoApplyPtConfig apply_pt_config = 22; - ProtoApplyUlConfig apply_ul_config = 23; - ProtoPtConfig pt_config = 24; - ProtoUlConfig ul_config = 25; - ProtoNewPage new_page = 26; - ProtoVariable variable = 27; - ProtoNamedString named_string = 28; - ProtoParagraph paragraph = 30; - ProtoSection section = 31; - ProtoSpan span = 32; - ProtoLink link = 33; - ProtoDirectory directory = 34; - ProtoTableContentGroup table_content_group = 35; - ProtoTableConfig table_config = 36; - ProtoTableCellConfig table_cell_config = 37; - ProtoTableRowConfig table_row_config = 38; - ProtoTableContentGroupConfig table_content_group_config = 39; - ProtoBrickReference brick_reference = 40; - ProtoIndentation indentation = 55; - ProtoBarcode barcode = 56; - ProtoWsArea ws_area = 57; - ProtoCarryOver carry_over = 58; - ProtoSubTotal sub_total = 59; - ProtoLoop loop = 60; - ProtoLoopEntry loop_entry = 61; - ProtoRule rule = 62; - ProtoLayout layout = 63; - ProtoAdvancedIllustrationArea advanced_illustration_area = 64; - ProtoAdjustHorizontally adjust_horizontally = 65; - ProtoDoctypeScript doctypeScript = 66; - ProtoDmScript dmScript = 67; - ProtoDynamicTemplate dynamic_template = 68; - ProtoSelection selection = 69; - ProtoSelectionEntry selection_entry = 70; - ProtoCondition condition = 71; - ProtoPageCondition page_condition = 72; - ProtoLocale locale = 73; - ProtoTag tag = 74; - ProtoParagraphSetDefault paragraph_set_default = 75; - ProtoInputFieldText input_field_text = 76; - ProtoInputFieldDate input_field_date = 77; - ProtoInputFieldCheckbox input_field_checkbox = 78; - ProtoInputFieldLabel input_field_label = 79; - ProtoInputFieldDropdown input_field_dropdown = 80; - } -} - -enum NodeType { - DOCUMENT_ELEMENT_BRANCH_DOCUMENT_ELEMENT = 0; - DOCUMENT_ELEMENT_BRICK_REFERENCE = 1; - DOCUMENT_ELEMENT_BRICK = 2; - DOCUMENT_ELEMENT_DOCUMENT_ELEMENT = 3; - DOCUMENT_ELEMENT_LINEBREAK = 4; - DOCUMENT_ELEMENT_LIST_SETTING = 6; - DOCUMENT_ELEMENT_PARAGRAPH_FORMAT = 7; - DOCUMENT_ELEMENT_PARAGRAPH = 8; - DOCUMENT_ELEMENT_SECTION = 9; - DOCUMENT_ELEMENT_SPAN = 10; - DOCUMENT_ELEMENT_TABLE = 11; - DOCUMENT_ELEMENT_TABLE_CELL = 12; - DOCUMENT_ELEMENT_TABLE_ROW = 13; - DOCUMENT_ELEMENT_TEMPLATE = 15; - DOCUMENT_ELEMENT_TEXT = 16; - DOCUMENT_ELEMENT_COLOR_DEF = 19; - DOCUMENT_ELEMENT_IMAGE = 30; - DOCUMENT_ELEMENT_NAMED_STRING = 34; - DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP = 35; - DOCUMENT_ELEMENT_TABLE_CONFIG = 36; - DOCUMENT_ELEMENT_TABLE_CELL_CONFIG = 37; - DOCUMENT_ELEMENT_TABLE_ROW_CONFIG = 38; - DOCUMENT_ELEMENT_TABLE_CONTENT_GROUP_CONFIG = 39; - DOCUMENT_ELEMENT_LINK = 40; - DOCUMENT_ELEMENT_DIRECTORY = 41; - DOCUMENT_ELEMENT_TEXT_BRICK = 42; - DOCUMENT_ELEMENT_VARIABLE = 44; - DOCUMENT_ELEMENT_SPACE_VERTICALLY = 45; - DOCUMENT_ELEMENT_FORMATTED = 46; - DOCUMENT_ELEMENT_APPLY_C_DEF = 47; - DOCUMENT_ELEMENT_APPLY_P_DEF = 48; - DOCUMENT_ELEMENT_APPLY_PT_CONFIG = 49; - DOCUMENT_ELEMENT_APPLY_UL_CONFIG = 50; - DOCUMENT_ELEMENT_C_DEF = 51; - DOCUMENT_ELEMENT_P_DEF = 52; - DOCUMENT_ELEMENT_PT_CONFIG = 53; - DOCUMENT_ELEMENT_UL_CONFIG = 54; - DOCUMENT_ELEMENT_NEW_PAGE = 55; - DOCUMENT_ELEMENT_HEADER = 56; - DOCUMENT_ELEMENT_FOOTER = 57; - DOCUMENT_ELEMENT_INDENTATION = 60; - DOCUMENT_ELEMENT_BARCODE = 61; - DOCUMENT_ELEMENT_WS_AREA = 62; - DOCUMENT_ELEMENT_CARRY_OVER = 63; - DOCUMENT_ELEMENT_SUB_TOTAL = 64; - DOCUMENT_ELEMENT_LOOP = 65; - DOCUMENT_ELEMENT_LOOP_ENTRY = 66; - DOCUMENT_ELEMENT_RULE = 67; - DOCUMENT_ELEMENT_LIST_LEVEL_SETTING = 68; - DOCUMENT_ELEMENT_LAYOUT = 69; - DOCUMENT_ELEMENT_ADVANCED_ILLUSTRATION_AREA = 70; - DOCUMENT_ELEMENT_ADJUST_HORIZONTALLY = 71; - DOCUMENT_ELEMENT_DOCTYPE_SCRIPT = 72; - DOCUMENT_ELEMENT_DM_SCRIPT = 73; - DOCUMENT_ELEMENT_DYNAMIC_TEMPLATE = 74; - DOCUMENT_ELEMENT_SELECTION = 75; - DOCUMENT_ELEMENT_SELECTION_ENTRY = 76; - DOCUMENT_ELEMENT_CONDITION = 77; - DOCUMENT_ELEMENT_PAGE_CONDITION = 78; - DOCUMENT_ELEMENT_LOCALE = 79; - DOCUMENT_ELEMENT_TAG = 80; - DOCUMENT_ELEMENT_PARAGRAPH_SET_DEFAULT = 81; - DOCUMENT_ELEMENT_INPUT_FIELD_TEXT = 82; - DOCUMENT_ELEMENT_INPUT_FIELD_DATE = 83; - DOCUMENT_ELEMENT_INPUT_FIELD_CHECKBOX = 84; - DOCUMENT_ELEMENT_INPUT_FIELD_LABEL = 85; - DOCUMENT_ELEMENT_INPUT_FIELD_DROPDOWN = 86; -} diff --git a/tools/proto_node_generator/proto_node_generator.go b/tools/proto_node_generator/proto_node_generator.go index 48fd9d7..91c43bc 100644 --- a/tools/proto_node_generator/proto_node_generator.go +++ b/tools/proto_node_generator/proto_node_generator.go @@ -19,17 +19,29 @@ import ( const ignoreTypeComment = "// go-gen:ignore" func main() { - protoDocumentElementDir := flag.String("proto-document-element-dir", "", "The directory which contains the proto file per document element") - protoUtilDir := flag.String("proto-util-dir", "", "The directory which contains the proto file per util message") - destinationDir := flag.String("destination-dir", "", "The directory which should contain the generated files.") + protoDocumentElementsDir := flag.String( + "proto-document-element-dir", + "", + "The directory which contains the proto file per document element", + ) + protoUtilsDir := flag.String( + "proto-util-dir", + "", + "The directory which contains the proto file per util message", + ) + destinationDir := flag.String( + "destination-dir", + "", + "The directory which should contain the generated files.", + ) flag.Parse() - if *protoDocumentElementDir == "" { + if *protoDocumentElementsDir == "" { logrus.Errorf("No document element proto source folder specified!") os.Exit(1) } - if *protoUtilDir == "" { + if *protoUtilsDir == "" { logrus.Errorf("No util proto source folder specified!") os.Exit(1) } @@ -39,11 +51,60 @@ func main() { os.Exit(1) } - err := workDir(*protoDocumentElementDir, *destinationDir) + err := workDir(*protoDocumentElementsDir, *destinationDir) if err != nil { - logrus.Errorf("Error processing directory %s: %s", *protoDocumentElementDir, err.Error()) + logrus.Errorf("Error processing directory %s: %s", *protoDocumentElementsDir, err.Error()) os.Exit(1) } + + converterFile, err := os.Create(filepath.Join(*destinationDir, "converter_generated.go")) + if err != nil { + logrus.Errorf("Error creating message file: %s", err.Error()) + os.Exit(1) + } + defer converterFile.Close() + + converterFile.WriteString(`// Code generated by go generate; DO NOT EDIT. +// This file was generated by docframe document element generator +package document_elementv1 + +import ( + "fmt" + + "google.golang.org/protobuf/proto" +) + +type Message interface { + proto.Message + + ToNode(children ...Message) *Node +} + +func (n *Node) ToNode(...Message) *Node { + return n +} + +type Protos []Message + +func (protos Protos) ToProtoBytes() ([]byte, error) { + rootNode := &Node{} + + var err error + + rootNode.Children = make([]*Node, len(protos)) + + for i, p := range protos { + rootNode.Children[i] = p.ToNode() + } + + data, err := proto.Marshal(rootNode) + if err != nil { + return nil, fmt.Errorf("error marshalling root node: %w", err) + } + + return data, nil +} +`) } func workDir(dir string, destinationDir string) error { @@ -54,13 +115,12 @@ func workDir(dir string, destinationDir string) error { for _, file := range entries { fileName := file.Name() - if fileName == "documentelements.branch_document_element.proto" || fileName == "documentelements.document_element.proto" { - continue - } - if strings.HasSuffix(fileName, ".proto") { goFile := strings.ReplaceAll(fileName, ".proto", "_generated.go") - err = generateFromProto(filepath.Join(dir, fileName), filepath.Join(destinationDir, goFile)) + err = generateFromProto( + filepath.Join(dir, fileName), + filepath.Join(destinationDir, goFile), + ) if err != nil { return fmt.Errorf("error generating Go file out of %q: %w", fileName, err) } @@ -72,12 +132,13 @@ func workDir(dir string, destinationDir string) error { var messageRegex = regexp.MustCompile(`message (\w+)\s*\{`) -var elementTemplate = template.Must(template.New("").Parse(`// Code generated by go generate; DO NOT EDIT. +var elementTemplate = template.Must( + template.New("").Parse(`// Code generated by go generate; DO NOT EDIT. // This file was generated by docframe document element generator -package docframepb +package document_elementv1 {{ range .Elements }} -func ({{ .CamelTypeName }} *{{ .ProtoTypeName }}) ToNode(children ...Message) *Node { +func ({{ .CamelProtoType }} *{{ .ProtoTypeName }}) ToNode(children ...Message) *Node { nodeChildren := make([]*Node, len(children)) for i, c := range children { nodeChildren[i] = c.ToNode() @@ -85,7 +146,7 @@ func ({{ .CamelTypeName }} *{{ .ProtoTypeName }}) ToNode(children ...Message) *N node := &Node{ Object: &Node_{{ .TypeName }}{ - {{ .TypeName }}: {{ .CamelTypeName }}, + {{ .TypeName }}: {{ .CamelProtoType }}, }, Children: nodeChildren, } @@ -93,12 +154,13 @@ func ({{ .CamelTypeName }} *{{ .ProtoTypeName }}) ToNode(children ...Message) *N return node } {{ end }} -`)) +`), +) type ElementData struct { - ProtoTypeName string - TypeName string - CamelTypeName string + CamelProtoType string + ProtoTypeName string + TypeName string } func generateFromProto(protoFile string, goFile string) error { @@ -137,9 +199,9 @@ func generateFromProto(protoFile string, goFile string) error { } currentElement = &ElementData{ - ProtoTypeName: match[1], - CamelTypeName: strcase.ToLowerCamel(typeName), - TypeName: typeName, + ProtoTypeName: match[1], + CamelProtoType: strcase.ToLowerCamel(match[1]), + TypeName: typeName, } } diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..fd3da5f --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "declaration": true, + "emitDeclarationOnly": true, + "outDir": "gen", + "allowJs": true, + "checkJs": false, + "moduleResolution": "node", + "target": "ES2020", + "module": "ES2020", + "esModuleInterop": true, + "skipLibCheck": true, + "rootDir": "gen" + }, + "include": ["gen/index.ts"], + "exclude": [] +}